(This page was automatically generated by the tools in the opsboy project on 04:51:57 11-Oct-2024 GMT.)
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 |
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 "hello world, 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' |
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 58) | |
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 59) | |
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 60) | |
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 61) | |
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 62) | |
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 63) | |
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 64) | |
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 65) | |
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 66) | |
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 67) | |
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 68) | |
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 69) | |
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 70) | |
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 71) | |
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 72) | |
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 73) | |
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 74) | |
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 75) | |
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 76) | |
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 77) | |
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 78) | |
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 79) | |
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 80) | |
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 81) | |
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 82) | |
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 83) | |
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 84) | |
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 85) | |
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 86) | |
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 87) | |
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 88) | |
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 89) | |
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 90) | |
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 91) | |
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 92) | |
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 93) | |
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 94) | |
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 95) | |
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 96) | |
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 97) | |
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 98) | |
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 99) | |
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 100) | |
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 101) | |
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 102) | |
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 103) | |
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 104) | |
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 105) | |
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 106) | |
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 107) | |
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 108) | |
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 109) | |
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 110) | |
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 111) | |
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 112) | |
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 113) | |
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 114) | |
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 115) | |
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 116) | |
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 117) | |
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 118) | |
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 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 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:05 [error] 24725\#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 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
exit.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
exit.t | TEST 1: sanity - status code ok |
got: '' expected: '403' |
exit.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:403 Forbidden)' |
master-pid-single-process.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
master-pid-single-process.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
master-pid-single-process.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
master-pid-single-process.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:\Aok got: \d+ \(number\) \z)' |
master-pid-single-process.t | TEST 1: sanity - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):\d loop\])" should match a line in error.log (req 0) | |
master-pid-single-process.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:18 [error] 24927\#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' ' |
master-pid-single-process.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
master-pid-single-process.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
master-pid-single-process.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:\Aok got: \d+ \(number\) \z)' |
master-pid-single-process.t | TEST 1: sanity - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):\d loop\])" should match a line in error.log (req 1) | |
master-pid-single-process.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:18 [error] 24927\#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' ' |
master-pid.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
master-pid.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
master-pid.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
master-pid.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:\Aok got: \d+ \(number\) \z)' |
master-pid.t | TEST 1: sanity - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):\d loop\])" should match a line in error.log (req 0) | |
master-pid.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:23 [error] 24957\#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' ' |
master-pid.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
master-pid.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
master-pid.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:\Aok got: \d+ \(number\) \z)' |
master-pid.t | TEST 1: sanity - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):\d loop\])" should match a line in error.log (req 1) | |
master-pid.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:23 [error] 24957\#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' ' |
md5-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5-bin.t | TEST 1: set md5_bin (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 1: set md5_bin (string) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 1: set md5_bin (string) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 1: set md5_bin (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5-bin.t | TEST 1: set md5_bin (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:28 [error] 24993\#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' ' |
md5-bin.t | TEST 1: set md5_bin (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 1: set md5_bin (string) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 1: set md5_bin (string) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 1: set md5_bin (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5-bin.t | TEST 1: set md5_bin (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:28 [error] 24993\#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' ' |
md5-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5-bin.t | TEST 4: set md5_bin (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 4: set md5_bin (boolean) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 4: set md5_bin (boolean) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 4: set md5_bin (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5-bin.t | TEST 4: set md5_bin (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:33 [error] 25020\#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' ' |
md5-bin.t | TEST 4: set md5_bin (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 4: set md5_bin (boolean) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 4: set md5_bin (boolean) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 4: set md5_bin (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5-bin.t | TEST 4: set md5_bin (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:33 [error] 25020\#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' ' |
md5-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5-bin.t | TEST 2: set md5_bin (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 2: set md5_bin (nil) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 2: set md5_bin (nil) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 2: set md5_bin (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5-bin.t | TEST 2: set md5_bin (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:37 [error] 25047\#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' ' |
md5-bin.t | TEST 2: set md5_bin (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 2: set md5_bin (nil) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 2: set md5_bin (nil) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 2: set md5_bin (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5-bin.t | TEST 2: set md5_bin (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:37 [error] 25047\#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' ' |
md5-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5-bin.t | TEST 3: set md5_bin (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 3: set md5_bin (number) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 3: set md5_bin (number) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 3: set md5_bin (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5-bin.t | TEST 3: set md5_bin (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:42 [error] 25080\#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' ' |
md5-bin.t | TEST 3: set md5_bin (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5-bin.t | TEST 3: set md5_bin (number) - status code ok |
got: '' expected: '200' |
md5-bin.t | TEST 3: set md5_bin (number) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "16\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
md5-bin.t | TEST 3: set md5_bin (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5-bin.t | TEST 3: set md5_bin (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:42 [error] 25080\#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' ' |
md5.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5.t | TEST 4: number to ngx.md5 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 4: number to ngx.md5 - status code ok |
got: '' expected: '200' |
md5.t | TEST 4: number to ngx.md5 - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "4beed3b9c4a886067de0e3a094246f78\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 4: number to ngx.md5 - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5.t | TEST 4: number to ngx.md5 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:46 [error] 25110\#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' ' |
md5.t | TEST 4: number to ngx.md5 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 4: number to ngx.md5 - status code ok |
got: '' expected: '200' |
md5.t | TEST 4: number to ngx.md5 - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "4beed3b9c4a886067de0e3a094246f78\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 4: number to ngx.md5 - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5.t | TEST 4: number to ngx.md5 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:46 [error] 25110\#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' ' |
md5.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5.t | TEST 1: set md5 hello - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 1: set md5 hello - status code ok |
got: '' expected: '200' |
md5.t | TEST 1: set md5 hello - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "5d41402abc4b2a76b9719d911017c592\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 1: set md5 hello - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5.t | TEST 1: set md5 hello - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:51 [error] 25137\#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' ' |
md5.t | TEST 1: set md5 hello - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 1: set md5 hello - status code ok |
got: '' expected: '200' |
md5.t | TEST 1: set md5 hello - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "5d41402abc4b2a76b9719d911017c592\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 1: set md5 hello - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5.t | TEST 1: set md5 hello - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:51 [error] 25137\#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' ' |
md5.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5.t | TEST 3: empty string to ngx.md5 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 3: empty string to ngx.md5 - status code ok |
got: '' expected: '200' |
md5.t | TEST 3: empty string to ngx.md5 - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "d41d8cd98f00b204e9800998ecf8427e\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 3: empty string to ngx.md5 - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5.t | TEST 3: empty string to ngx.md5 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:55 [error] 25170\#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' ' |
md5.t | TEST 3: empty string to ngx.md5 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 3: empty string to ngx.md5 - status code ok |
got: '' expected: '200' |
md5.t | TEST 3: empty string to ngx.md5 - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "d41d8cd98f00b204e9800998ecf8427e\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 3: empty string to ngx.md5 - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5.t | TEST 3: empty string to ngx.md5 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:54:55 [error] 25170\#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' ' |
md5.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
md5.t | TEST 2: nil string to ngx.md5 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 2: nil string to ngx.md5 - status code ok |
got: '' expected: '200' |
md5.t | TEST 2: nil string to ngx.md5 - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "d41d8cd98f00b204e9800998ecf8427e\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 2: nil string to ngx.md5 - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
md5.t | TEST 2: nil string to ngx.md5 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:00 [error] 25197\#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' ' |
md5.t | TEST 2: nil string to ngx.md5 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
md5.t | TEST 2: nil string to ngx.md5 - status code ok |
got: '' expected: '200' |
md5.t | TEST 2: nil string to ngx.md5 - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "d41d8cd98f00b204e9800998ecf8427e\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
md5.t | TEST 2: nil string to ngx.md5 - pattern "(?^:\[TRACE\s+1 content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
md5.t | TEST 2: nil string to ngx.md5 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:00 [error] 25197\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 5: base.check_subsystem with non-http subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 5: base.check_subsystem with non-http subsystem - status code ok |
got: '' expected: '500' |
misc.t | TEST 5: base.check_subsystem with non-http subsystem - pattern "unsupported subsystem: http" should match a line in error.log (req 0) | |
misc.t | TEST 5: base.check_subsystem with non-http subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 5: base.check_subsystem with non-http subsystem - status code ok |
got: '' expected: '500' |
misc.t | TEST 5: base.check_subsystem with non-http subsystem - pattern "unsupported subsystem: http" should match a line in error.log (req 1) | |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 6: not internal request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 6: not internal request - status code ok |
got: '' expected: '200' |
misc.t | TEST 6: not internal request - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "not internal\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 6: not internal request - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:09 [error] 25260\#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' ' |
misc.t | TEST 6: not internal request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 6: not internal request - status code ok |
got: '' expected: '200' |
misc.t | TEST 6: not internal request - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "not internal\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 6: not internal request - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:09 [error] 25260\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 2: ngx.headers_sent (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 2: ngx.headers_sent (false) - status code ok |
got: '' expected: '200' |
misc.t | TEST 2: ngx.headers_sent (false) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "headers sent: false\x{0a}" length: 20 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 2: ngx.headers_sent (false) - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
misc.t | TEST 2: ngx.headers_sent (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:14 [error] 25287\#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' ' |
misc.t | TEST 2: ngx.headers_sent (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 2: ngx.headers_sent (false) - status code ok |
got: '' expected: '200' |
misc.t | TEST 2: ngx.headers_sent (false) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "headers sent: false\x{0a}" length: 20 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 2: ngx.headers_sent (false) - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
misc.t | TEST 2: ngx.headers_sent (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:14 [error] 25287\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 7: internal request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 7: internal request - status code ok |
got: '' expected: '200' |
misc.t | TEST 7: internal request - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "internal\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 7: internal request - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:18 [error] 25314\#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' ' |
misc.t | TEST 7: internal request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 7: internal request - status code ok |
got: '' expected: '200' |
misc.t | TEST 7: internal request - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "internal\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 7: internal request - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:18 [error] 25314\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 1: ngx.is_subrequest - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 1: ngx.is_subrequest - status code ok |
got: '' expected: '201' |
misc.t | TEST 1: ngx.is_subrequest - pattern "is subrequest: false," should match a line in error.log (req 0) | |
misc.t | TEST 1: ngx.is_subrequest - pattern "(?^:\[TRACE\s+\d+\s+header_filter_by_lua\(nginx.conf:58\):3 loop\])" should match a line in error.log (req 0) | |
misc.t | TEST 1: ngx.is_subrequest - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:23 [error] 25341\#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' ' |
misc.t | TEST 1: ngx.is_subrequest - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 1: ngx.is_subrequest - status code ok |
got: '' expected: '201' |
misc.t | TEST 1: ngx.is_subrequest - pattern "is subrequest: false," should match a line in error.log (req 1) | |
misc.t | TEST 1: ngx.is_subrequest - pattern "(?^:\[TRACE\s+\d+\s+header_filter_by_lua\(nginx.conf:58\):3 loop\])" should match a line in error.log (req 1) | |
misc.t | TEST 1: ngx.is_subrequest - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:23 [error] 25341\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 4: base.check_subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 4: base.check_subsystem - status code ok |
got: '' expected: '200' |
misc.t | TEST 4: base.check_subsystem - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "ok\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 4: base.check_subsystem - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:27 [error] 25374\#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' ' |
misc.t | TEST 4: base.check_subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 4: base.check_subsystem - status code ok |
got: '' expected: '200' |
misc.t | TEST 4: base.check_subsystem - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "ok\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 4: base.check_subsystem - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:27 [error] 25374\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 8: bad context - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 8: bad context - status code ok |
got: '' expected: '200' |
misc.t | TEST 8: bad context - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "false\x{0a}true\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 8: bad context - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:32 [error] 25401\#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' ' |
misc.t | TEST 8: bad context - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 8: bad context - status code ok |
got: '' expected: '200' |
misc.t | TEST 8: bad context - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "false\x{0a}true\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 8: bad context - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:32 [error] 25401\#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' ' |
misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
misc.t | TEST 3: ngx.headers_sent (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 3: ngx.headers_sent (true) - status code ok |
got: '' expected: '200' |
misc.t | TEST 3: ngx.headers_sent (true) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "headers sent: true\x{0a}" length: 19 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 3: ngx.headers_sent (true) - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
misc.t | TEST 3: ngx.headers_sent (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:36 [error] 25428\#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' ' |
misc.t | TEST 3: ngx.headers_sent (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
misc.t | TEST 3: ngx.headers_sent (true) - status code ok |
got: '' expected: '200' |
misc.t | TEST 3: ngx.headers_sent (true) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "headers sent: true\x{0a}" length: 19 strings begin to differ at char 1 (line 1 column 1) |
misc.t | TEST 3: ngx.headers_sent (true) - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
misc.t | TEST 3: ngx.headers_sent (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:36 [error] 25428\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
ndk.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}a b\x{0a}%20%3A\x{0a}a b\x{0a}" length: 22 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 1: sanity - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):13 loop\])" should match a line in error.log (req 0) | |
ndk.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:41 [error] 25464\#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' ' |
ndk.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
ndk.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}a b\x{0a}%20%3A\x{0a}a b\x{0a}" length: 22 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 1: sanity - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):13 loop\])" should match a line in error.log (req 1) | |
ndk.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:41 [error] 25464\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 5: call directive failed - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 5: call directive failed - status code ok |
got: '' expected: '500' |
ndk.t | TEST 5: call directive failed - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 5: call directive failed - pattern "calling directive set_decode_hex failed with code -1" should match a line in error.log (req 0) | |
ndk.t | TEST 5: call directive failed - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 5: call directive failed - status code ok |
got: '' expected: '500' |
ndk.t | TEST 5: call directive failed - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 5: call directive failed - pattern "calling directive set_decode_hex failed with code -1" should match a line in error.log (req 1) | |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 9: call in timer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 9: call in timer - status code ok |
got: '' expected: '200' |
ndk.t | TEST 9: call in timer - pattern "s = %20%3A" should match a line in error.log (req 0) | |
ndk.t | TEST 9: call in timer - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:50 [error] 25518\#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' ' |
ndk.t | TEST 9: call in timer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 9: call in timer - status code ok |
got: '' expected: '200' |
ndk.t | TEST 9: call in timer - pattern "s = %20%3A" should match a line in error.log (req 1) | |
ndk.t | TEST 9: call in timer - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:50 [error] 25518\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 4: set directive not allowed - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 4: set directive not allowed - status code ok |
got: '' expected: '500' |
ndk.t | TEST 4: set directive not allowed - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 4: set directive not allowed - pattern "not allowed" should match a line in error.log (req 0) | |
ndk.t | TEST 4: set directive not allowed - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 4: set directive not allowed - status code ok |
got: '' expected: '500' |
ndk.t | TEST 4: set directive not allowed - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 4: set directive not allowed - pattern "not allowed" should match a line in error.log (req 1) | |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 11: call in log_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 11: call in log_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 11: call in log_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "ok\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 11: call in log_by_lua - pattern "s = %20%3A" should match a line in error.log (req 0) | |
ndk.t | TEST 11: call in log_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:59 [error] 25576\#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' ' |
ndk.t | TEST 11: call in log_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 11: call in log_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 11: call in log_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "ok\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 11: call in log_by_lua - pattern "s = %20%3A" should match a line in error.log (req 1) | |
ndk.t | TEST 11: call in log_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:55:59 [error] 25576\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - status code ok |
got: '' expected: '200' |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:04 [error] 25605\#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' ' |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - status code ok |
got: '' expected: '200' |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 13: cache the function in init_worker_by_lua and call in other phases - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:04 [error] 25605\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 7: convert directive argument to string - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 7: convert directive argument to string - status code ok |
got: '' expected: '200' |
ndk.t | TEST 7: convert directive argument to string - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "1\x{0a}" length: 2 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 7: convert directive argument to string - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:08 [error] 25632\#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' ' |
ndk.t | TEST 7: convert directive argument to string - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 7: convert directive argument to string - status code ok |
got: '' expected: '200' |
ndk.t | TEST 7: convert directive argument to string - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "1\x{0a}" length: 2 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 7: convert directive argument to string - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:08 [error] 25632\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 12: call in init_worker_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 12: call in init_worker_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 12: call in init_worker_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 12: call in init_worker_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:13 [error] 25659\#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' ' |
ndk.t | TEST 12: call in init_worker_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 12: call in init_worker_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 12: call in init_worker_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 12: call in init_worker_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:13 [error] 25659\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 10: call in header_filter_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 10: call in header_filter_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 10: call in header_filter_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 10: call in header_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:17 [error] 25686\#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' ' |
ndk.t | TEST 10: call in header_filter_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 10: call in header_filter_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 10: call in header_filter_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 10: call in header_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:17 [error] 25686\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 8: call in set_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 8: call in set_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 8: call in set_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 8: call in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:22 [error] 25719\#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' ' |
ndk.t | TEST 8: call in set_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 8: call in set_by_lua - status code ok |
got: '' expected: '200' |
ndk.t | TEST 8: call in set_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%3A\x{0a}" length: 7 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 8: call in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:22 [error] 25719\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - status code ok |
got: '' expected: '200' |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "68o32c9e64o2sc9j5co30c1g\x{0a}'2011.10.13+0000'\x{0a}" length: 43 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:26 [error] 25746\#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' ' |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - status code ok |
got: '' expected: '200' |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "68o32c9e64o2sc9j5co30c1g\x{0a}'2011.10.13+0000'\x{0a}" length: 43 strings begin to differ at char 1 (line 1 column 1) |
ndk.t | TEST 3: ndk.set_var initialize ngx_http_variable_value_t variable properly - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:26 [error] 25746\#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' ' |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 2: directive not found - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 2: directive not found - status code ok |
got: '' expected: '500' |
ndk.t | TEST 2: directive not found - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 2: directive not found - pattern "ndk.set_var: directive "set_escape_uri_blah_blah" not found or does not use ndk_set_var_value" should match a line in error.log (req 0) | |
ndk.t | TEST 2: directive not found - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 2: directive not found - status code ok |
got: '' expected: '500' |
ndk.t | TEST 2: directive not found - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 2: directive not found - pattern "ndk.set_var: directive "set_escape_uri_blah_blah" not found or does not use ndk_set_var_value" should match a line in error.log (req 1) | |
ndk.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ndk.t | TEST 6: convert directive type to string - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 6: convert directive type to string - status code ok |
got: '' expected: '500' |
ndk.t | TEST 6: convert directive type to string - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 6: convert directive type to string - pattern "ndk.set_var: directive "1" not found or does not use ndk_set_var_value" should match a line in error.log (req 0) | |
ndk.t | TEST 6: convert directive type to string - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ndk.t | TEST 6: convert directive type to string - status code ok |
got: '' expected: '500' |
ndk.t | TEST 6: convert directive type to string - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
ndk.t | TEST 6: convert directive type to string - pattern "ndk.set_var: directive "1" not found or does not use ndk_set_var_value" should match a line in error.log (req 1) | |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:40 [error] 25836\#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' ' |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
ngx-req.t | TEST 1: ngx_req.add_header (jitted) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:40 [error] 25836\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Foo: bar, baz, 2 ' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:44 [error] 25863\#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' ' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Foo: bar, baz, 2 ' |
ngx-req.t | TEST 2: ngx_req.add_header (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:44 [error] 25863\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Foo: bar, baz, 123 ' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:49 [error] 25890\#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' ' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Foo: bar, baz, 123 ' |
ngx-req.t | TEST 6: ngx_req.add_header (multiple values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:49 [error] 25890\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -bad 'value' argument: string or table expected, got nil -bad 'value' argument: string or table expected, got nil -bad 'value' argument: non-empty table expected ' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:53 [error] 25923\#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' ' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -bad 'value' argument: string or table expected, got nil -bad 'value' argument: string or table expected, got nil -bad 'value' argument: non-empty table expected ' |
ngx-req.t | TEST 11: ngx_req.add_header (invalid header values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:53 [error] 25923\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader: valueä¸æ–‡)' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:58 [error] 25950\#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' ' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader: valueä¸æ–‡)' |
ngx-req.t | TEST 15: ngx_req.add_header (header value with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:56:58 [error] 25950\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Foo: [bar, 123] ' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:02 [error] 25977\#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' ' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Foo: [bar, 123] ' |
ngx-req.t | TEST 4: ngx_req.add_header (non-string single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:02 [error] 25977\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader%E4%B8%AD%E6%96%87: value)' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:07 [error] 26004\#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' ' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader%E4%B8%AD%E6%96%87: value)' |
ngx-req.t | TEST 14: ngx_req.add_header (header name with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:07 [error] 26004\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Foo: bar, baz, 2 ' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:11 [error] 26031\#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' ' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Foo: bar, baz, 2 ' |
ngx-req.t | TEST 8: ngx_req.add_header (added header is inherited by subrequests) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:11 [error] 26031\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Foo: [bar, ] ' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:16 [error] 26064\#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' ' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Foo: [bar, ] ' |
ngx-req.t | TEST 3: ngx_req.add_header (empty single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:16 [error] 26064\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader%0D%0Aabc: value\r\n)' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:20 [error] 26091\#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' ' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader%0D%0Aabc: value\r\n)' |
ngx-req.t | TEST 12: ngx_req.add_header (header name with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:20 [error] 26091\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader: value%0D%0Aabc\r\n)' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:25 [error] 26118\#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' ' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - response_body_like - response is expected () |
'' doesn't match '(?^s:\bheader: value%0D%0Aabc\r\n)' |
ngx-req.t | TEST 13: ngx_req.add_header (header value with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:25 [error] 26118\#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' ' |
ngx-req.t | TEST 9: ngx_req.add_header (invalid context) - pattern "API disabled in the current context" should match a line in error.log (req 0) | |
ngx-req.t | TEST 9: ngx_req.add_header (invalid context) - pattern "API disabled in the current context" should match a line in error.log (req 1) | |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '123: [456, 789] ' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:33 [error] 26170\#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' ' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '123: [456, 789] ' |
ngx-req.t | TEST 5: ngx_req.add_header (non-string header name) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:33 [error] 26170\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'UA: Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 ' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:38 [error] 26197\#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' ' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'UA: Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0 ' |
ngx-req.t | TEST 7: ngx_req.add_header (override builtin header) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:38 [error] 26197\#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' ' |
ngx-req.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -bad 'name' argument: string expected, got nil -ok -ok ' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:42 [error] 26230\#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' ' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - status code ok |
got: '' expected: '200' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -bad 'name' argument: string expected, got nil -ok -ok ' |
ngx-req.t | TEST 10: ngx_req.add_header (header names edge-cases) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:42 [error] 26230\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - header head%0D%0A ok |
got: '' expected: 'value' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:47 [error] 26260\#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' ' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - header head%0D%0A ok |
got: '' expected: 'value' |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 7: ngx.resp.add_header (header name with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:47 [error] 26260\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Date: now\x{0a}" length: 10 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:52 [error] 26287\#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' ' |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Date: now\x{0a}" length: 10 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 5: ngx.resp.add_header (override builtin header) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:52 [error] 26287\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - header head ok |
got: '' expected: 'value%0D%0A' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:56 [error] 26320\#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' ' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - header head ok |
got: '' expected: 'value%0D%0A' |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 8: ngx.resp.add_header (header value with control characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:57:56 [error] 26320\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - header head ok |
got: '' expected: 'valueä¸æ–‡' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:01 [error] 26347\#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' ' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - header head ok |
got: '' expected: 'valueä¸æ–‡' |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 10: ngx.resp.add_header (header value with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:01 [error] 26347\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: aaa\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:05 [error] 26374\#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' ' |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: aaa\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 6: ngx.resp.add_header (empty table) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:05 [error] 26374\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: bar, baz\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:10 [error] 26401\#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' ' |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: bar, baz\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 3: ngx.resp.add_header (multi-value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:10 [error] 26401\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: bar, 2\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:14 [error] 26434\#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' ' |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: bar, 2\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 1: ngx.resp.add_header (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:14 [error] 26434\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "fruit: apple, banana, cherry\x{0a}" length: 29 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:19 [error] 26461\#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' ' |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "fruit: apple, banana, cherry\x{0a}" length: 29 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 4: ngx.resp.add_header (append header) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:19 [error] 26461\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "invalid header value\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:23 [error] 26488\#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' ' |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "invalid header value\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 2: ngx.resp.add_header (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:23 [error] 26488\#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' ' |
ngx-resp.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - header head%E4%B8%AD%E6%96%87 ok |
got: '' expected: 'value' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:28 [error] 26515\#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' ' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - status code ok |
got: '' expected: '200' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - header head%E4%B8%AD%E6%96%87 ok |
got: '' expected: 'value' |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "OK\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
ngx-resp.t | TEST 9: ngx.resp.add_header (header name with Chinese characters) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:28 [error] 26515\#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' ' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - pattern "failed to create OCSP request: no issuer certificate in chain" should match a line in error.log (req 0) | |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - pattern "failed to create OCSP request: no issuer certificate in chain" should match a line in error.log (req 1) | |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - pattern "failed to create OCSP request: d2i_X509_bio() failed" should match a line in error.log (req 0) | |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - pattern "failed to create OCSP request: d2i_X509_bio() failed" should match a line in error.log (req 1) | |
ocsp.t | TEST 2: get OCSP responder (not found) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "OCSP responder not found" should match a line in error.log (req 0) | |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:47 [error] 26624\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:58:47 [debug] 26624\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:58:47 [debug] 26624\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:58:47 [debug] 26624\#0: *4 http lua fake request count:1 2022/05/27 15:58:47 [debug] 26624\#0: *4 http lua close fake request 2022/05/27 15:58:47 [debug] 26624\#0: *4 http lua close fake http connection 04A7E128 ' |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:47 [error] 26624\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:58:47 [debug] 26624\#0: *1 event timer del: 10: 1463260 2022/05/27 15:58:47 [debug] 26624\#0: *1 lua tcp socket handle connect error 2022/05/27 15:58:47 [debug] 26624\#0: *1 lua finalize socket 2022/05/27 15:58:47 [debug] 26624\#0: *1 lua http cleanup free: 04A84588 2022/05/27 15:58:47 [debug] 26624\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:58:47 [debug] 26624\#0: *1 lua close socket connection 2022/05/27 15:58:47 [debug] 26624\#0: *1 free: 04A84FF0, unused: 0 2022/05/27 15:58:47 [debug] 26624\#0: *1 reusable connection: 0 2022/05/27 15:58:47 [debug] 26624\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 2: get OCSP responder (not found) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "OCSP responder not found" should match a line in error.log (req 1) | |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:48 [error] 26624\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:58:48 [debug] 26624\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:58:48 [debug] 26624\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:58:48 [debug] 26624\#0: *8 http lua fake request count:1 2022/05/27 15:58:48 [debug] 26624\#0: *8 http lua close fake request 2022/05/27 15:58:48 [debug] 26624\#0: *8 http lua close fake http connection 04A7E128 ' |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:48 [error] 26624\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:58:48 [debug] 26624\#0: *5 event timer del: 10: 1464828 2022/05/27 15:58:48 [debug] 26624\#0: *5 lua tcp socket handle connect error 2022/05/27 15:58:48 [debug] 26624\#0: *5 lua finalize socket 2022/05/27 15:58:48 [debug] 26624\#0: *5 lua http cleanup free: 04ACD150 2022/05/27 15:58:48 [debug] 26624\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:58:48 [debug] 26624\#0: *5 lua close socket connection 2022/05/27 15:58:48 [debug] 26624\#0: *5 free: 04ACDBB8, unused: 0 2022/05/27 15:58:48 [debug] 26624\#0: *5 reusable connection: 0 2022/05/27 15:58:48 [debug] 26624\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "OCSP url found: http:/," should match a line in error.log (req 0) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "still get an error: truncated" should match a line in error.log (req 0) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:53 [error] 26656\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:58:53 [debug] 26656\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:58:53 [debug] 26656\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:58:53 [debug] 26656\#0: *4 http lua fake request count:1 2022/05/27 15:58:53 [debug] 26656\#0: *4 http lua close fake request 2022/05/27 15:58:53 [debug] 26656\#0: *4 http lua close fake http connection 04A7E2D0 ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:54 [error] 26656\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:58:54 [debug] 26656\#0: *1 event timer del: 10: 1469528 2022/05/27 15:58:54 [debug] 26656\#0: *1 lua tcp socket handle connect error 2022/05/27 15:58:54 [debug] 26656\#0: *1 lua finalize socket 2022/05/27 15:58:54 [debug] 26656\#0: *1 lua http cleanup free: 04A84730 2022/05/27 15:58:54 [debug] 26656\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:58:54 [debug] 26656\#0: *1 lua close socket connection 2022/05/27 15:58:54 [debug] 26656\#0: *1 free: 04A85198, unused: 0 2022/05/27 15:58:54 [debug] 26656\#0: *1 reusable connection: 0 2022/05/27 15:58:54 [debug] 26656\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "OCSP url found: http:/," should match a line in error.log (req 1) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "still get an error: truncated" should match a line in error.log (req 1) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:55 [error] 26656\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:58:55 [debug] 26656\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:58:55 [debug] 26656\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:58:55 [debug] 26656\#0: *8 http lua fake request count:1 2022/05/27 15:58:55 [debug] 26656\#0: *8 http lua close fake request 2022/05/27 15:58:55 [debug] 26656\#0: *8 http lua close fake http connection 04A7E2D0 ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:58:55 [error] 26656\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:58:55 [debug] 26656\#0: *5 event timer del: 10: 1471124 2022/05/27 15:58:55 [debug] 26656\#0: *5 lua tcp socket handle connect error 2022/05/27 15:58:55 [debug] 26656\#0: *5 lua finalize socket 2022/05/27 15:58:55 [debug] 26656\#0: *5 lua http cleanup free: 04ACD390 2022/05/27 15:58:55 [debug] 26656\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:58:55 [debug] 26656\#0: *5 lua close socket connection 2022/05/27 15:58:55 [debug] 26656\#0: *5 free: 04ACDDF8, unused: 0 2022/05/27 15:58:55 [debug] 26656\#0: *5 reusable connection: 0 2022/05/27 15:58:55 [debug] 26656\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - pattern "failed to validate OCSP response: certificate status "revoked" in the OCSP response" should match a line in error.log (req 0) | |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - pattern "failed to validate OCSP response: certificate status "revoked" in the OCSP response" should match a line in error.log (req 1) | |
ocsp.t | TEST 10: validate good OCSP response - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 10: validate good OCSP response - pattern "OCSP response validation ok" should match a line in error.log (req 0) | |
ocsp.t | TEST 10: validate good OCSP response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:06 [error] 26730\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:06 [debug] 26730\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:59:06 [debug] 26730\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:06 [debug] 26730\#0: *4 http lua fake request count:1 2022/05/27 15:59:06 [debug] 26730\#0: *4 http lua close fake request 2022/05/27 15:59:06 [debug] 26730\#0: *4 http lua close fake http connection 04A7E180 ' |
ocsp.t | TEST 10: validate good OCSP response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:06 [error] 26730\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:59:06 [debug] 26730\#0: *1 event timer del: 10: 1482148 2022/05/27 15:59:06 [debug] 26730\#0: *1 lua tcp socket handle connect error 2022/05/27 15:59:06 [debug] 26730\#0: *1 lua finalize socket 2022/05/27 15:59:06 [debug] 26730\#0: *1 lua http cleanup free: 04A845E0 2022/05/27 15:59:06 [debug] 26730\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:59:06 [debug] 26730\#0: *1 lua close socket connection 2022/05/27 15:59:06 [debug] 26730\#0: *1 free: 04A85048, unused: 0 2022/05/27 15:59:06 [debug] 26730\#0: *1 reusable connection: 0 2022/05/27 15:59:06 [debug] 26730\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 10: validate good OCSP response - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 10: validate good OCSP response - pattern "OCSP response validation ok" should match a line in error.log (req 1) | |
ocsp.t | TEST 10: validate good OCSP response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:07 [error] 26730\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:07 [debug] 26730\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:59:07 [debug] 26730\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:07 [debug] 26730\#0: *8 http lua fake request count:1 2022/05/27 15:59:07 [debug] 26730\#0: *8 http lua close fake request 2022/05/27 15:59:07 [debug] 26730\#0: *8 http lua close fake http connection 04A7E180 ' |
ocsp.t | TEST 10: validate good OCSP response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:07 [error] 26730\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:59:07 [debug] 26730\#0: *5 event timer del: 10: 1483724 2022/05/27 15:59:07 [debug] 26730\#0: *5 lua tcp socket handle connect error 2022/05/27 15:59:07 [debug] 26730\#0: *5 lua finalize socket 2022/05/27 15:59:07 [debug] 26730\#0: *5 lua http cleanup free: 04ACD358 2022/05/27 15:59:07 [debug] 26730\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:59:07 [debug] 26730\#0: *5 lua close socket connection 2022/05/27 15:59:07 [debug] 26730\#0: *5 free: 04ACDDC0, unused: 0 2022/05/27 15:59:07 [debug] 26730\#0: *5 reusable connection: 0 2022/05/27 15:59:07 [debug] 26730\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - pattern "failed to get OCSP responder: no issuer certificate in chain" should match a line in error.log (req 0) | |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - pattern "failed to get OCSP responder: no issuer certificate in chain" should match a line in error.log (req 1) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "OCSP response validation ok" should match a line in error.log (req 0) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:19 [error] 26804\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:19 [debug] 26804\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:59:19 [debug] 26804\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:19 [debug] 26804\#0: *4 http lua fake request count:1 2022/05/27 15:59:19 [debug] 26804\#0: *4 http lua close fake request 2022/05/27 15:59:19 [debug] 26804\#0: *4 http lua close fake http connection 04A7E1C8 ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:19 [error] 26804\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:59:19 [debug] 26804\#0: *1 event timer del: 10: 1494673 2022/05/27 15:59:19 [debug] 26804\#0: *1 lua tcp socket handle connect error 2022/05/27 15:59:19 [debug] 26804\#0: *1 lua finalize socket 2022/05/27 15:59:19 [debug] 26804\#0: *1 lua http cleanup free: 04A84628 2022/05/27 15:59:19 [debug] 26804\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:59:19 [debug] 26804\#0: *1 lua close socket connection 2022/05/27 15:59:19 [debug] 26804\#0: *1 free: 04A85090, unused: 0 2022/05/27 15:59:19 [debug] 26804\#0: *1 reusable connection: 0 2022/05/27 15:59:19 [debug] 26804\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "OCSP response validation ok" should match a line in error.log (req 1) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:20 [error] 26804\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:20 [debug] 26804\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:59:20 [debug] 26804\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:20 [debug] 26804\#0: *8 http lua fake request count:1 2022/05/27 15:59:20 [debug] 26804\#0: *8 http lua close fake request 2022/05/27 15:59:20 [debug] 26804\#0: *8 http lua close fake http connection 04A7E1C8 ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:20 [error] 26804\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:59:20 [debug] 26804\#0: *5 event timer del: 10: 1496249 2022/05/27 15:59:20 [debug] 26804\#0: *5 lua tcp socket handle connect error 2022/05/27 15:59:20 [debug] 26804\#0: *5 lua finalize socket 2022/05/27 15:59:20 [debug] 26804\#0: *5 lua http cleanup free: 04ACD400 2022/05/27 15:59:20 [debug] 26804\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:59:20 [debug] 26804\#0: *5 lua close socket connection 2022/05/27 15:59:20 [debug] 26804\#0: *5 free: 04ACDE68, unused: 0 2022/05/27 15:59:20 [debug] 26804\#0: *5 reusable connection: 0 2022/05/27 15:59:20 [debug] 26804\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - pattern "failed to get OCSP responder: issuer certificate not next to leaf" should match a line in error.log (req 0) | |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - pattern "failed to get OCSP responder: issuer certificate not next to leaf" should match a line in error.log (req 1) | |
ocsp.t | TEST 7: create OCSP request (buffer too small) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - pattern "failed to create OCSP request: output buffer too small: 68 > 67" should match a line in error.log (req 0) | |
ocsp.t | TEST 7: create OCSP request (buffer too small) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - pattern "failed to create OCSP request: output buffer too small: 68 > 67" should match a line in error.log (req 1) | |
ocsp.t | TEST 6: create OCSP request (good) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 6: create OCSP request (good) - pattern "OCSP request created with length 68" should match a line in error.log (req 0) | |
ocsp.t | TEST 6: create OCSP request (good) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:37 [error] 26909\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:37 [debug] 26909\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:59:37 [debug] 26909\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:37 [debug] 26909\#0: *4 http lua fake request count:1 2022/05/27 15:59:37 [debug] 26909\#0: *4 http lua close fake request 2022/05/27 15:59:37 [debug] 26909\#0: *4 http lua close fake http connection 04A7E5A8 ' |
ocsp.t | TEST 6: create OCSP request (good) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:37 [error] 26909\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:59:37 [debug] 26909\#0: *1 event timer del: 10: 1513369 2022/05/27 15:59:37 [debug] 26909\#0: *1 lua tcp socket handle connect error 2022/05/27 15:59:37 [debug] 26909\#0: *1 lua finalize socket 2022/05/27 15:59:37 [debug] 26909\#0: *1 lua http cleanup free: 04A84A08 2022/05/27 15:59:37 [debug] 26909\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:59:37 [debug] 26909\#0: *1 lua close socket connection 2022/05/27 15:59:37 [debug] 26909\#0: *1 free: 04A85470, unused: 0 2022/05/27 15:59:37 [debug] 26909\#0: *1 reusable connection: 0 2022/05/27 15:59:37 [debug] 26909\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 6: create OCSP request (good) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 6: create OCSP request (good) - pattern "OCSP request created with length 68" should match a line in error.log (req 1) | |
ocsp.t | TEST 6: create OCSP request (good) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:39 [error] 26909\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:39 [debug] 26909\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:59:39 [debug] 26909\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:39 [debug] 26909\#0: *8 http lua fake request count:1 2022/05/27 15:59:39 [debug] 26909\#0: *8 http lua close fake request 2022/05/27 15:59:39 [debug] 26909\#0: *8 http lua close fake http connection 04A7E5A8 ' |
ocsp.t | TEST 6: create OCSP request (good) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:39 [error] 26909\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:59:39 [debug] 26909\#0: *5 event timer del: 10: 1514929 2022/05/27 15:59:39 [debug] 26909\#0: *5 lua tcp socket handle connect error 2022/05/27 15:59:39 [debug] 26909\#0: *5 lua finalize socket 2022/05/27 15:59:39 [debug] 26909\#0: *5 lua http cleanup free: 04ACD888 2022/05/27 15:59:39 [debug] 26909\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:59:39 [debug] 26909\#0: *5 lua close socket connection 2022/05/27 15:59:39 [debug] 26909\#0: *5 free: 04ACE2F0, unused: 0 2022/05/27 15:59:39 [debug] 26909\#0: *5 reusable connection: 0 2022/05/27 15:59:39 [debug] 26909\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "OCSP response validation ok" should match a line in error.log (req 0) | |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:44 [error] 26946\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:44 [debug] 26946\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:59:44 [debug] 26946\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:44 [debug] 26946\#0: *4 http lua fake request count:1 2022/05/27 15:59:44 [debug] 26946\#0: *4 http lua close fake request 2022/05/27 15:59:44 [debug] 26946\#0: *4 http lua close fake http connection 04A7E1A0 ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:44 [error] 26946\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:59:44 [debug] 26946\#0: *1 event timer del: 10: 1519622 2022/05/27 15:59:44 [debug] 26946\#0: *1 lua tcp socket handle connect error 2022/05/27 15:59:44 [debug] 26946\#0: *1 lua finalize socket 2022/05/27 15:59:44 [debug] 26946\#0: *1 lua http cleanup free: 04A84600 2022/05/27 15:59:44 [debug] 26946\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:59:44 [debug] 26946\#0: *1 lua close socket connection 2022/05/27 15:59:44 [debug] 26946\#0: *1 free: 04A85068, unused: 0 2022/05/27 15:59:44 [debug] 26946\#0: *1 reusable connection: 0 2022/05/27 15:59:44 [debug] 26946\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "OCSP response validation ok" should match a line in error.log (req 1) | |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:45 [error] 26946\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 15:59:45 [debug] 26946\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:59:45 [debug] 26946\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:45 [debug] 26946\#0: *8 http lua fake request count:1 2022/05/27 15:59:45 [debug] 26946\#0: *8 http lua close fake request 2022/05/27 15:59:45 [debug] 26946\#0: *8 http lua close fake http connection 04A7E1A0 ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:45 [error] 26946\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:59:45 [debug] 26946\#0: *5 event timer del: 10: 1521214 2022/05/27 15:59:45 [debug] 26946\#0: *5 lua tcp socket handle connect error 2022/05/27 15:59:45 [debug] 26946\#0: *5 lua finalize socket 2022/05/27 15:59:45 [debug] 26946\#0: *5 lua http cleanup free: 04ACD380 2022/05/27 15:59:45 [debug] 26946\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:59:45 [debug] 26946\#0: *5 lua close socket connection 2022/05/27 15:59:45 [debug] 26946\#0: *5 free: 04ACDDE8, unused: 0 2022/05/27 15:59:45 [debug] 26946\#0: *5 reusable connection: 0 2022/05/27 15:59:45 [debug] 26946\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 17: no status req from client - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 17: no status req from client - pattern "ocsp status resp set ok: no status req," should match a line in error.log (req 0) | |
ocsp.t | TEST 17: no status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:50 [error] 26983\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:45574 2022/05/27 15:59:50 [debug] 26983\#0: *4 lua request cleanup: forcible=0 2022/05/27 15:59:50 [debug] 26983\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:50 [debug] 26983\#0: *4 http lua fake request count:1 2022/05/27 15:59:50 [debug] 26983\#0: *4 http lua close fake request 2022/05/27 15:59:50 [debug] 26983\#0: *4 http lua close fake http connection 04A7DA08 ' |
ocsp.t | TEST 17: no status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:50 [error] 26983\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 15:59:50 [debug] 26983\#0: *1 event timer del: 10: 1526010 2022/05/27 15:59:50 [debug] 26983\#0: *1 lua tcp socket handle connect error 2022/05/27 15:59:50 [debug] 26983\#0: *1 lua finalize socket 2022/05/27 15:59:50 [debug] 26983\#0: *1 lua http cleanup free: 04A83E80 2022/05/27 15:59:50 [debug] 26983\#0: *1 poll del event: fd:10 ev:1 2022/05/27 15:59:50 [debug] 26983\#0: *1 lua close socket connection 2022/05/27 15:59:50 [debug] 26983\#0: *1 free: 04A84BB0, unused: 0 2022/05/27 15:59:50 [debug] 26983\#0: *1 reusable connection: 0 2022/05/27 15:59:50 [debug] 26983\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 17: no status req from client - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 17: no status req from client - pattern "ocsp status resp set ok: no status req," should match a line in error.log (req 1) | |
ocsp.t | TEST 17: no status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:51 [error] 26983\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:45574 2022/05/27 15:59:51 [debug] 26983\#0: *8 lua request cleanup: forcible=0 2022/05/27 15:59:51 [debug] 26983\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 15:59:51 [debug] 26983\#0: *8 http lua fake request count:1 2022/05/27 15:59:51 [debug] 26983\#0: *8 http lua close fake request 2022/05/27 15:59:51 [debug] 26983\#0: *8 http lua close fake http connection 04A7DA08 ' |
ocsp.t | TEST 17: no status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 15:59:51 [error] 26983\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 15:59:51 [debug] 26983\#0: *5 event timer del: 10: 1527514 2022/05/27 15:59:51 [debug] 26983\#0: *5 lua tcp socket handle connect error 2022/05/27 15:59:51 [debug] 26983\#0: *5 lua finalize socket 2022/05/27 15:59:51 [debug] 26983\#0: *5 lua http cleanup free: 04ACBD70 2022/05/27 15:59:51 [debug] 26983\#0: *5 poll del event: fd:10 ev:1 2022/05/27 15:59:51 [debug] 26983\#0: *5 lua close socket connection 2022/05/27 15:59:51 [debug] 26983\#0: *5 free: 04ACCAA0, unused: 0 2022/05/27 15:59:51 [debug] 26983\#0: *5 reusable connection: 0 2022/05/27 15:59:51 [debug] 26983\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - pattern "failed to validate OCSP response: no issuer certificate in chain" should match a line in error.log (req 0) | |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - pattern "failed to validate OCSP response: no issuer certificate in chain" should match a line in error.log (req 1) | |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - pattern "failed to validate OCSP response: OCSP_basic_verify() failed" should match a line in error.log (req 0) | |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - pattern "failed to validate OCSP response: OCSP_basic_verify() failed" should match a line in error.log (req 1) | |
ocsp.t | TEST 16: good status req from client - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 16: good status req from client - pattern "ocsp status resp set ok: nil," should match a line in error.log (req 0) | |
ocsp.t | TEST 16: good status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:09 [error] 27094\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:45660 2022/05/27 16:00:09 [debug] 27094\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:00:09 [debug] 27094\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:00:09 [debug] 27094\#0: *4 http lua fake request count:1 2022/05/27 16:00:09 [debug] 27094\#0: *4 http lua close fake request 2022/05/27 16:00:09 [debug] 27094\#0: *4 http lua close fake http connection 04A7DA08 ' |
ocsp.t | TEST 16: good status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:09 [error] 27094\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:00:09 [debug] 27094\#0: *1 event timer del: 10: 1544906 2022/05/27 16:00:09 [debug] 27094\#0: *1 lua tcp socket handle connect error 2022/05/27 16:00:09 [debug] 27094\#0: *1 lua finalize socket 2022/05/27 16:00:09 [debug] 27094\#0: *1 lua http cleanup free: 04A83E80 2022/05/27 16:00:09 [debug] 27094\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:00:09 [debug] 27094\#0: *1 lua close socket connection 2022/05/27 16:00:09 [debug] 27094\#0: *1 free: 04A84BB0, unused: 0 2022/05/27 16:00:09 [debug] 27094\#0: *1 reusable connection: 0 2022/05/27 16:00:09 [debug] 27094\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 16: good status req from client - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 16: good status req from client - pattern "ocsp status resp set ok: nil," should match a line in error.log (req 1) | |
ocsp.t | TEST 16: good status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:10 [error] 27094\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:45660 2022/05/27 16:00:10 [debug] 27094\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:00:10 [debug] 27094\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:00:10 [debug] 27094\#0: *8 http lua fake request count:1 2022/05/27 16:00:10 [debug] 27094\#0: *8 http lua close fake request 2022/05/27 16:00:10 [debug] 27094\#0: *8 http lua close fake http connection 04A7DA08 ' |
ocsp.t | TEST 16: good status req from client - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:10 [error] 27094\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:00:10 [debug] 27094\#0: *5 event timer del: 10: 1546387 2022/05/27 16:00:10 [debug] 27094\#0: *5 lua tcp socket handle connect error 2022/05/27 16:00:10 [debug] 27094\#0: *5 lua finalize socket 2022/05/27 16:00:10 [debug] 27094\#0: *5 lua http cleanup free: 04ACBE58 2022/05/27 16:00:10 [debug] 27094\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:00:10 [debug] 27094\#0: *5 lua close socket connection 2022/05/27 16:00:10 [debug] 27094\#0: *5 free: 04ACCB88, unused: 0 2022/05/27 16:00:10 [debug] 27094\#0: *5 reusable connection: 0 2022/05/27 16:00:10 [debug] 27094\#0: *5 lua tcp socket waking up the current request ' |
ocsp.t | TEST 1: get OCSP responder (good case) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "OCSP url found: http://127.0.0.1:8888/ocsp?foo=1," should match a line in error.log (req 0) | |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:15 [error] 27131\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:00:15 [debug] 27131\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:00:15 [debug] 27131\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:00:15 [debug] 27131\#0: *4 http lua fake request count:1 2022/05/27 16:00:15 [debug] 27131\#0: *4 http lua close fake request 2022/05/27 16:00:15 [debug] 27131\#0: *4 http lua close fake http connection 04A7E108 ' |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:15 [error] 27131\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:00:15 [debug] 27131\#0: *1 event timer del: 10: 1551127 2022/05/27 16:00:15 [debug] 27131\#0: *1 lua tcp socket handle connect error 2022/05/27 16:00:15 [debug] 27131\#0: *1 lua finalize socket 2022/05/27 16:00:15 [debug] 27131\#0: *1 lua http cleanup free: 04A84578 2022/05/27 16:00:15 [debug] 27131\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:00:15 [debug] 27131\#0: *1 lua close socket connection 2022/05/27 16:00:15 [debug] 27131\#0: *1 free: 04A84FE0, unused: 0 2022/05/27 16:00:15 [debug] 27131\#0: *1 reusable connection: 0 2022/05/27 16:00:15 [debug] 27131\#0: *1 lua tcp socket waking up the current request ' |
ocsp.t | TEST 1: get OCSP responder (good case) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "OCSP url found: http://127.0.0.1:8888/ocsp?foo=1," should match a line in error.log (req 1) | |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:16 [error] 27131\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:00:16 [debug] 27131\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:00:16 [debug] 27131\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:00:16 [debug] 27131\#0: *8 http lua fake request count:1 2022/05/27 16:00:16 [debug] 27131\#0: *8 http lua close fake request 2022/05/27 16:00:16 [debug] 27131\#0: *8 http lua close fake http connection 04A7E108 ' |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:16 [error] 27131\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:00:16 [debug] 27131\#0: *5 event timer del: 10: 1552691 2022/05/27 16:00:16 [debug] 27131\#0: *5 lua tcp socket handle connect error 2022/05/27 16:00:16 [debug] 27131\#0: *5 lua finalize socket 2022/05/27 16:00:16 [debug] 27131\#0: *5 lua http cleanup free: 04ACC610 2022/05/27 16:00:16 [debug] 27131\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:00:16 [debug] 27131\#0: *5 lua close socket connection 2022/05/27 16:00:16 [debug] 27131\#0: *5 free: 04ACD078, unused: 0 2022/05/27 16:00:16 [debug] 27131\#0: *5 reusable connection: 0 2022/05/27 16:00:16 [debug] 27131\#0: *5 lua tcp socket waking up the current request ' |
os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - status code ok |
got: '' expected: '200' |
os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "old\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - pattern "[notice]" should match a line in error.log (req 0) | |
os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:20 [error] 27174\#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' ' |
os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - status code ok |
got: '' expected: '200' |
os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - pattern "(?^:\[notice\] .*? \(SIGHUP\) received)" should match a line in error.log (req 0) | |
os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:24 [error] 27202\#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' ' |
os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - status code ok |
got: '' expected: '200' |
os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - response_body_like - response is expected () |
'' doesn't match '(?^s:\s)' |
os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - pattern "(?^:\[notice\] .*? \(SIGHUP\) received)" should match a line in error.log (req 0) | |
os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:28 [error] 27230\#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' ' |
os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - status code ok |
got: '' expected: '200' |
os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - pattern "(?^:\[notice\] .*? \(SIGHUP\) received)" should match a line in error.log (req 0) | |
os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:33 [error] 27260\#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' ' |
os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - status code ok |
got: '' expected: '200' |
os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "old\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - pattern "(?^:\[notice\] .*? \(SIGHUP\) received)" should match a line in error.log (req 0) | |
os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:37 [error] 27310\#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' ' |
os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - status code ok |
got: '' expected: '200' |
os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - pattern "(?^:\[notice\] .*? \(SIGHUP\) received)" should match a line in error.log (req 0) | |
os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:42 [error] 27339\#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' ' |
os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - response_body - response is expected (repeated req 0, req 0) |
got: "FOO=hello\x{0a}os.getenv() overwrite was not reverted\x{0a}" length: 49 expected: "FOO=hello\x{0a}os.getenv() overwrite was reverted\x{0a}" length: 45 strings begin to differ at char 37 (line 2 column 27) |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 4: env directives with no value are ignored - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 4: env directives with no value are ignored - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 4: env directives with no value are ignored - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}nil\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 4: env directives with no value are ignored - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:51 [error] 27393\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello\x{0a}hello\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:55 [error] 27419\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}nil\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:00:59 [error] 27445\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello\x{0a}hello\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:04 [error] 27489\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 6: env explicit set vs environment set - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 6: env explicit set vs environment set - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 6: env explicit set vs environment set - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "goodbye\x{0a}goodbye\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 6: env explicit set vs environment set - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:08 [error] 27516\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 5: env is visible from environment - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 5: env is visible from environment - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 5: env is visible from environment - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "world\x{0a}world\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 5: env is visible from environment - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:13 [error] 27542\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "os.getenv() overwrite was reverted\x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - grep_error_log_out (req 0) |
got: "" length: 0 expected: "FOO: hello\x{0a}FOO: hello\x{0a}FOO: hello\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:17 [error] 27568\#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' ' |
os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
os-getenv.t | TEST 7: env directive with empty value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
os-getenv.t | TEST 7: env directive with empty value - status code ok |
got: '' expected: '200' |
os-getenv.t | TEST 7: env directive with empty value - response_body_like - response is expected () |
'' doesn't match '(?^s:in init:\s+ in content:\s+ )' |
os-getenv.t | TEST 7: env directive with empty value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:22 [error] 27594\#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' ' |
param.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
param.t | TEST 1: ngx.arg getter in set_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
param.t | TEST 1: ngx.arg getter in set_by_lua - status code ok |
got: '' expected: '200' |
param.t | TEST 1: ngx.arg getter in set_by_lua - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "3\x{0a}" length: 2 strings begin to differ at char 1 (line 1 column 1) |
param.t | TEST 1: ngx.arg getter in set_by_lua - pattern "(?^:\[TRACE\s+\d+ set_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
param.t | TEST 1: ngx.arg getter in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:26 [error] 27629\#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' ' |
param.t | TEST 1: ngx.arg getter in set_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
param.t | TEST 1: ngx.arg getter in set_by_lua - status code ok |
got: '' expected: '200' |
param.t | TEST 1: ngx.arg getter in set_by_lua - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "3\x{0a}" length: 2 strings begin to differ at char 1 (line 1 column 1) |
param.t | TEST 1: ngx.arg getter in set_by_lua - pattern "(?^:\[TRACE\s+\d+ set_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
param.t | TEST 1: ngx.arg getter in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:26 [error] 27629\#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' ' |
param.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - status code ok |
got: '' expected: '200' |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - pattern "(?^:\[TRACE\s+\d+ body_filter_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:31 [error] 27656\#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' ' |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - status code ok |
got: '' expected: '200' |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - pattern "(?^:\[TRACE\s+\d+ body_filter_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
param.t | TEST 2: ngx.arg getter in body_filter_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:31 [error] 27656\#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' ' |
phase.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
phase.t | TEST 1: get_phase - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
phase.t | TEST 1: get_phase - status code ok |
got: '' expected: '200' |
phase.t | TEST 1: get_phase - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "content\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
phase.t | TEST 1: get_phase - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
phase.t | TEST 1: get_phase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:36 [error] 27686\#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' ' |
phase.t | TEST 1: get_phase - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
phase.t | TEST 1: get_phase - status code ok |
got: '' expected: '200' |
phase.t | TEST 1: get_phase - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "content\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
phase.t | TEST 1: get_phase - pattern "(?^:\[TRACE\s+\d+\s+content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
phase.t | TEST 1: get_phase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:36 [error] 27686\#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' ' |
pipe-cpu-affinity.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - status code ok |
got: '' expected: '200' |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - response_body_like - response is expected () |
'' doesn't match '(?^s:(ok|pid \d+'s current affinity list: 0[-,]\d+) )' |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:40 [error] 27722\#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' ' |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - status code ok |
got: '' expected: '200' |
pipe-cpu-affinity.t | TEST 1: reset the cpu affinity in the sub-process - response_body_like - response is expected () |
'' doesn't match '(?^s:(ok|pid \d+'s current affinity list: 0[-,]\d+) )' |
pipe-multi-workers.t | nginx: [emerg] | reuseport is not supported on this platform, ignored in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:53 |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -stderr: -closed -stdout: -timeout ' |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:50 [error] 27788\#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' ' |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 18: read stderr while read stdout in other request, individual error - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -stderr: -closed -stdout: -timeout ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - response_body - response is expected (repeated req 0, req 0) |
@@ -1,14 +0,0 @@ -reading stdout all -hello -world -more -data -more -data -reading any -hello -world -more -data -more -data ' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:1 buffer_size:4096)" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:54 [error] 27815\#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' ' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - response_body - response is expected (repeated req 1, req 0) |
@@ -1,14 +0,0 @@ -reading stdout all -hello -world -more -data -more -data -reading any -hello -world -more -data -more -data ' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:1 buffer_size:4096)" should match a line in error.log (req 1) | |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:01:59 [error] 27842\#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' ' |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 22: read stdout as stderr, aborted by uthread kill, merge_stderr is true - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -pipe busy reading -hello -world ' |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:03 [error] 27869\#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' ' |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 16: more than one coroutines read stderr of a process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -pipe busy reading -hello -world ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello ' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe proc read stderr cleanup" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:08 [error] 27902\#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' ' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello ' |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 1) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe proc read stderr cleanup" should match a line in error.log (req 1) | |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -stderr: -world -more -data -stdout: -hello -data -more ' |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:12 [error] 27929\#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' ' |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 17: read stderr while read stdout in other request - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -stderr: -world -more -data -stdout: -hello -data -more ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -stderr: -hello -stdout: -closed ' |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:17 [error] 27956\#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' ' |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 19: read stderr while read stdout in other request, individual result - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -stderr: -hello -stdout: -closed ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'stderr err: timeout ' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:21 [error] 27983\#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' ' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'stderr err: timeout ' |
pipe-stderr.t | TEST 24: spawn process with stderr_read_timeout option - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 1) | |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello w ' |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:26 [error] 28016\#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' ' |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 10: read stderr, without yield, pattern is read bytes - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello w ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:30 [error] 28043\#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' ' |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 11: read stderr, without yield, pattern is read all - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello world ' |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:35 [error] 28070\#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' ' |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 1: read stderr, pattern is read line - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello world ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'bad len argument ' |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:39 [error] 28097\#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' ' |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 4: read stderr, bytes length is less than zero - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'bad len argument ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello - world ' |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:44 [error] 28124\#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' ' |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 2: read stderr, pattern is read bytes - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello - world ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:48 [error] 28157\#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' ' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 23: read stderr, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:53 [error] 28184\#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' ' |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -merged to stdout -merged to stdout -merged to stdout -merged to stdout ' |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:02:57 [error] 28211\#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' ' |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 21: read stderr, merge_stderr is true - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -merged to stdout -merged to stdout -merged to stdout -merged to stdout ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'helloworld ' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:02 [error] 28238\#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' ' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 12: read stderr, without yield, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'helloworld ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'helloworld ' |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:06 [error] 28271\#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' ' |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 6: read stderr, pattern is read all - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'helloworld ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'data: ' |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:11 [error] 28298\#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' ' |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 3: read stderr, bytes length is zero - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'data: ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'bad max argument ' |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:15 [error] 28325\#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' ' |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 8: read stderr, pattern is read any, with limited, max <= 0 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'bad max argument ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +0,0 @@ -reading any -world -more -reading 3 -dat -reading line -a -reading all -data ' |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:20 [error] 28352\#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' ' |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 13: read stderr, mix read pattern and stdout/stderr - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +0,0 @@ -reading any -world -more -reading 3 -dat -reading line -a -reading all -data ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 9: read stderr, without yield - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 9: read stderr, without yield - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 9: read stderr, without yield - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello world ' |
pipe-stderr.t | TEST 9: read stderr, without yield - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:24 [error] 28384\#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' ' |
pipe-stderr.t | TEST 9: read stderr, without yield - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 9: read stderr, without yield - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 9: read stderr, without yield - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello world ' |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 14: read stderr, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 14: read stderr, timeout - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 14: read stderr, timeout - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe-stderr.t | TEST 14: read stderr, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 14: read stderr, timeout - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:29 [error] 28412\#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' ' |
pipe-stderr.t | TEST 14: read stderr, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 14: read stderr, timeout - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 14: read stderr, timeout - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe-stderr.t | TEST 14: read stderr, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 1) | |
pipe-stderr.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:33 [error] 28439\#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' ' |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - status code ok |
got: '' expected: '200' |
pipe-stderr.t | TEST 5: read stderr, bytes length is more than data - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 8: write and read process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 8: write and read process - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 8: write and read process - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'payload ' |
pipe-stdin.t | TEST 8: write and read process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:38 [error] 28475\#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' ' |
pipe-stdin.t | TEST 8: write and read process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 8: write and read process - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 8: write and read process - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'payload ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 2: write process, bad pipe - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 2: write process, bad pipe - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 2: write process, bad pipe - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe-stdin.t | TEST 2: write process, bad pipe - pattern "(?^:lua pipe write data error pipe:[0-9A-F]+ \(\d+: Broken pipe\))" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 2: write process, bad pipe - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 2: write process, bad pipe - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 2: write process, bad pipe - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe-stdin.t | TEST 2: write process, bad pipe - pattern "(?^:lua pipe write data error pipe:[0-9A-F]+ \(\d+: Broken pipe\))" should match a line in error.log (req 1) | |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 1: write process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 1: write process - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 1: write process - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -0 -5 -6 -hello world ' |
pipe-stdin.t | TEST 1: write process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:47 [error] 28529\#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' ' |
pipe-stdin.t | TEST 1: write process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 1: write process - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 1: write process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -0 -5 -6 -hello world ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 5: write process, yield and write again - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 5: write process, yield and write again - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 5: write process, yield and write again - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -timeout -8192 ' |
pipe-stdin.t | TEST 5: write process, yield and write again - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 5: write process, yield and write again - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:52 [error] 28556\#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' ' |
pipe-stdin.t | TEST 5: write process, yield and write again - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 5: write process, yield and write again - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 5: write process, yield and write again - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -timeout -8192 ' |
pipe-stdin.t | TEST 5: write process, yield and write again - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:03:56 [error] 28583\#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' ' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 12: spawn process with write_timeout option - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -bad data arg: string, number, or table expected, got boolean -bad data arg: string, number, or table expected, got nil -bad data arg: string, number, or table expected, got userdata ' |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:00 [error] 28616\#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' ' |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 10: write process, throw error if bad argument is written - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -bad data arg: string, number, or table expected, got boolean -bad data arg: string, number, or table expected, got nil -bad data arg: string, number, or table expected, got userdata ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -2 -11 -10hello world ' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:05 [error] 28643\#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' ' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 9: write process, support table, number and boolean arguments - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -2 -11 -10hello world ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 3: write process after waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 3: write process after waiting - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 3: write process after waiting - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe-stdin.t | TEST 3: write process after waiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:10 [error] 28670\#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' ' |
pipe-stdin.t | TEST 3: write process after waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 3: write process after waiting - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 3: write process after waiting - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 4: write process, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 4: write process, timeout - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 4: write process, timeout - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:14 [error] 28697\#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' ' |
pipe-stdin.t | TEST 4: write process, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 4: write process, timeout - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 4: write process, timeout - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:18 [error] 28730\#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' ' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -timeout -timeout ' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe proc write cleanup" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:23 [error] 28757\#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' ' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -timeout -timeout ' |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe proc write cleanup" should match a line in error.log (req 1) | |
pipe-stdin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdin.t | TEST 6: more than one coroutines write - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 6: more than one coroutines write - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 6: more than one coroutines write - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -timeout -pipe busy writing -timeout -timeout ' |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:27 [error] 28784\#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' ' |
pipe-stdin.t | TEST 6: more than one coroutines write - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdin.t | TEST 6: more than one coroutines write - status code ok |
got: '' expected: '200' |
pipe-stdin.t | TEST 6: more than one coroutines write - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -timeout -pipe busy writing -timeout -timeout ' |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:32 [error] 28820\#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' ' |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 6: read process, bytes length is more than data - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 4: read process, bytes length is zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 4: read process, bytes length is zero - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 4: read process, bytes length is zero - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'data: ' |
pipe-stdout.t | TEST 4: read process, bytes length is zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:37 [error] 28847\#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' ' |
pipe-stdout.t | TEST 4: read process, bytes length is zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 4: read process, bytes length is zero - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 4: read process, bytes length is zero - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'data: ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello ' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe proc read stdout cleanup" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:41 [error] 28874\#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' ' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello ' |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 1) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe proc read stdout cleanup" should match a line in error.log (req 1) | |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'stdout err: timeout ' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:46 [error] 28901\#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' ' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'stdout err: timeout ' |
pipe-stdout.t | TEST 34: spawn process with stdout_read_timeout option - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 2: read process, read line without line break - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 2: read process, read line without line break - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 2: read process, read line without line break - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -closed -hello world ' |
pipe-stdout.t | TEST 2: read process, read line without line break - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:50 [error] 28934\#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' ' |
pipe-stdout.t | TEST 2: read process, read line without line break - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 2: read process, read line without line break - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 2: read process, read line without line break - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -closed -hello world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:55 [error] 28961\#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' ' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'data: ' |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:04:59 [error] 28988\#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' ' |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 23: read process, no data to read, use read all - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'data: ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 21: read process, mix read pattern - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 21: read process, mix read pattern - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 21: read process, mix read pattern - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:04 [error] 29015\#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' ' |
pipe-stdout.t | TEST 21: read process, mix read pattern - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 21: read process, mix read pattern - status code ok |
got: '' expected: '200' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'bad max argument ' |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:08 [error] 29042\#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' ' |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 9: read process, pattern is read any, with limited, max <= 0 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'bad max argument ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'bad len argument ' |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:13 [error] 29075\#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' ' |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 5: read process, bytes length is less than zero - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'bad len argument ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 35: start a daemon process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 35: start a daemon process - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 35: start a daemon process - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'OK ' |
pipe-stdout.t | TEST 35: start a daemon process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:17 [error] 29102\#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' ' |
pipe-stdout.t | TEST 35: start a daemon process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 35: start a daemon process - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 35: start a daemon process - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'OK ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:22 [error] 29129\#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' ' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 1) | |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 22: read process, no data to read - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 22: read process, no data to read - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 22: read process, no data to read - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe-stdout.t | TEST 22: read process, no data to read - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:26 [error] 29156\#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' ' |
pipe-stdout.t | TEST 22: read process, no data to read - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 22: read process, no data to read - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 22: read process, no data to read - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 28: read process while waiting process in other request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 28: read process while waiting process in other request - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 28: read process while waiting process in other request - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -hello world -exit -2 ' |
pipe-stdout.t | TEST 28: read process while waiting process in other request - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:31 [error] 29189\#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' ' |
pipe-stdout.t | TEST 28: read process while waiting process in other request - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 28: read process while waiting process in other request - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 28: read process while waiting process in other request - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -hello world -exit -2 ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -closed -hello world ' |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:35 [error] 29216\#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' ' |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 13: read process, without yield, get partial data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -closed -hello world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 26: read process, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 26: read process, timeout - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 26: read process, timeout - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe-stdout.t | TEST 26: read process, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 26: read process, timeout - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:40 [error] 29243\#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' ' |
pipe-stdout.t | TEST 26: read process, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 26: read process, timeout - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 26: read process, timeout - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe-stdout.t | TEST 26: read process, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 8: read process, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 8: read process, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 8: read process, pattern is read any - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:44 [error] 29270\#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' ' |
pipe-stdout.t | TEST 8: read process, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 8: read process, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 12: read process, without yield - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 12: read process, without yield - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 12: read process, without yield - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello world ' |
pipe-stdout.t | TEST 12: read process, without yield - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:49 [error] 29303\#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' ' |
pipe-stdout.t | TEST 12: read process, without yield - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 12: read process, without yield - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 12: read process, without yield - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:53 [error] 29312\#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' ' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 17: read process, without yield, read more data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:05:58 [error] 29315\#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' ' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 1) | |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:02 [error] 29342\#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' ' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -timeout -signal -15 ' |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:07 [error] 29369\#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' ' |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 29: read process while waiting process in other request, return error - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -timeout -signal -15 ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 25: more than one coroutines read a process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 25: more than one coroutines read a process - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 25: more than one coroutines read a process - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -pipe busy reading -hello -world ' |
pipe-stdout.t | TEST 25: more than one coroutines read a process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:11 [error] 29396\#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' ' |
pipe-stdout.t | TEST 25: more than one coroutines read a process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 25: more than one coroutines read a process - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 25: more than one coroutines read a process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -pipe busy reading -hello -world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:16 [error] 29423\#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' ' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 18: read process, without yield, read more partial data than preallocated buffer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -closed -ok ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello - world ' |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:20 [error] 29456\#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' ' |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 3: read process, pattern is read bytes - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello - world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello wor ' |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:25 [error] 29483\#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' ' |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 14: read process, without yield, pattern is read bytes - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello wor ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:29 [error] 29510\#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' ' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - status code ok |
got: '' expected: '200' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - response_body_like - response is expected () |
'' doesn't match '(?^s:.+ API disabled in the context of init_worker_by_lua\* )' |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:34 [error] 29537\#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' ' |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 31: ensure reading process in phases without yield support is disabled - response_body_like - response is expected () |
'' doesn't match '(?^s:.+ API disabled in the context of init_worker_by_lua\* )' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'helloworld ' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:38 [error] 29569\#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' ' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 16: read process, without yield, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'helloworld ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 1: read process, pattern is read line - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 1: read process, pattern is read line - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 1: read process, pattern is read line - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello world ' |
pipe-stdout.t | TEST 1: read process, pattern is read line - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:43 [error] 29597\#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' ' |
pipe-stdout.t | TEST 1: read process, pattern is read line - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 1: read process, pattern is read line - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 1: read process, pattern is read line - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 7: read process, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 7: read process, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 7: read process, pattern is read all - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'helloworld ' |
pipe-stdout.t | TEST 7: read process, pattern is read all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:47 [error] 29624\#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' ' |
pipe-stdout.t | TEST 7: read process, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 7: read process, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 7: read process, pattern is read all - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'helloworld ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello world ' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:52 [error] 29651\#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' ' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 32: but we could spawn it in init_worker_by_lua and read it later - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:06:56 [error] 29678\#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' ' |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 15: read process, without yield, pattern is read all - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 24: read process after waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 24: read process after waiting - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 24: read process after waiting - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe-stdout.t | TEST 24: read process after waiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:01 [error] 29711\#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' ' |
pipe-stdout.t | TEST 24: read process after waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 24: read process after waiting - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 24: read process after waiting - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe-stdout.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe-stdout.t | TEST 30: user case with read and wait - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 30: user case with read and wait - status code ok |
got: '' expected: '200' |
pipe-stdout.t | TEST 30: user case with read and wait - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:05 [error] 29738\#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' ' |
pipe-stdout.t | TEST 30: user case with read and wait - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe-stdout.t | TEST 30: user case with read and wait - status code ok |
got: '' expected: '200' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 29: interact with bc - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 29: interact with bc - status code ok |
got: '' expected: '200' |
pipe.t | TEST 29: interact with bc - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 29: interact with bc - pattern "bc say 3" should match a line in error.log (req 0) | |
pipe.t | TEST 29: interact with bc - pattern "bc say 8" should match a line in error.log (req 0) | |
pipe.t | TEST 29: interact with bc - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:10 [error] 29774\#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' ' |
pipe.t | TEST 29: interact with bc - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 29: interact with bc - status code ok |
got: '' expected: '200' |
pipe.t | TEST 29: interact with bc - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 29: interact with bc - pattern "bc say 3" should match a line in error.log (req 1) | |
pipe.t | TEST 29: interact with bc - pattern "bc say 8" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - status code ok |
got: '' expected: '200' |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:15 [error] 29801\#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' ' |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - status code ok |
got: '' expected: '200' |
pipe.t | TEST 40: avoid shell cmd's constants being GCed - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 34: kill process with invalid signal - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 34: kill process with invalid signal - status code ok |
got: '' expected: '200' |
pipe.t | TEST 34: kill process with invalid signal - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -bad signal arg: number expected, got nil -invalid signal ' |
pipe.t | TEST 34: kill process with invalid signal - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:19 [error] 29828\#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' ' |
pipe.t | TEST 34: kill process with invalid signal - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 34: kill process with invalid signal - status code ok |
got: '' expected: '200' |
pipe.t | TEST 34: kill process with invalid signal - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -bad signal arg: number expected, got nil -invalid signal ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 35: kill exited process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 35: kill exited process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 35: kill exited process - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -exited -exited ' |
pipe.t | TEST 35: kill exited process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:24 [error] 29855\#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' ' |
pipe.t | TEST 35: kill exited process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 35: kill exited process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 35: kill exited process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -exited -exited ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 23: shutdown unknown direction - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 23: shutdown unknown direction - status code ok |
got: '' expected: '200' |
pipe.t | TEST 23: shutdown unknown direction - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -bad shutdown arg: read -bad shutdown arg: 0 ' |
pipe.t | TEST 23: shutdown unknown direction - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:28 [error] 29885\#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' ' |
pipe.t | TEST 23: shutdown unknown direction - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 23: shutdown unknown direction - status code ok |
got: '' expected: '200' |
pipe.t | TEST 23: shutdown unknown direction - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -bad shutdown arg: read -bad shutdown arg: 0 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 51: spawn process with wait_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 51: spawn process with wait_timeout option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 51: spawn process with wait_timeout option - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe.t | TEST 51: spawn process with wait_timeout option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:33 [error] 29915\#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' ' |
pipe.t | TEST 51: spawn process with wait_timeout option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 51: spawn process with wait_timeout option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 51: spawn process with wait_timeout option - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:37 [error] 29942\#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' ' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - status code ok |
got: '' expected: '200' |
pipe.t | TEST 44: wait process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 33: wait process, process exited normally after waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 33: wait process, process exited normally after waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 33: wait process, process exited normally after waiting - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -ok: true -exit status: 0 ' |
pipe.t | TEST 33: wait process, process exited normally after waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 33: wait process, process exited normally after waiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:42 [error] 29969\#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' ' |
pipe.t | TEST 33: wait process, process exited normally after waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 33: wait process, process exited normally after waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 33: wait process, process exited normally after waiting - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -ok: true -exit status: 0 ' |
pipe.t | TEST 33: wait process, process exited normally after waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - status code ok |
got: '' expected: '200' |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -stdin: closed -stdout: closed -stderr: closed ' |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:46 [error] 29996\#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' ' |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - status code ok |
got: '' expected: '200' |
pipe.t | TEST 21: shutdown after write/stdout_read/stderr_read - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -stdin: closed -stdout: closed -stderr: closed ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 10: wait process, process exited before waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 10: wait process, process exited before waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 10: wait process, process exited before waiting - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -ok: true -exit status: 0 ' |
pipe.t | TEST 10: wait process, process exited before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 10: wait process, process exited before waiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:51 [error] 30029\#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' ' |
pipe.t | TEST 10: wait process, process exited before waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 10: wait process, process exited before waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 10: wait process, process exited before waiting - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -ok: true -exit status: 0 ' |
pipe.t | TEST 10: wait process, process exited before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 31: specify a string to spawn works like os.execute - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 31: specify a string to spawn works like os.execute - status code ok |
got: '' expected: '200' |
pipe.t | TEST 31: specify a string to spawn works like os.execute - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -stdout: hello -stderr: world ' |
pipe.t | TEST 31: specify a string to spawn works like os.execute - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:07:55 [error] 30056\#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' ' |
pipe.t | TEST 31: specify a string to spawn works like os.execute - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 31: specify a string to spawn works like os.execute - status code ok |
got: '' expected: '200' |
pipe.t | TEST 31: specify a string to spawn works like os.execute - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -stdout: hello -stderr: world ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 45: spawn process, with environ option (sanity) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 45: spawn process, with environ option (sanity) - status code ok |
got: '' expected: '200' |
pipe.t | TEST 45: spawn process, with environ option (sanity) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'blahblah ' |
pipe.t | TEST 45: spawn process, with environ option (sanity) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:00 [error] 30083\#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' ' |
pipe.t | TEST 45: spawn process, with environ option (sanity) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 45: spawn process, with environ option (sanity) - status code ok |
got: '' expected: '200' |
pipe.t | TEST 45: spawn process, with environ option (sanity) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'blahblah ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 19: user case with send and shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 19: user case with send and shutdown - status code ok |
got: '' expected: '200' |
pipe.t | TEST 19: user case with send and shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -0 -1 -5 -8192 ' |
pipe.t | TEST 19: user case with send and shutdown - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:04 [error] 30110\#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' ' |
pipe.t | TEST 19: user case with send and shutdown - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 19: user case with send and shutdown - status code ok |
got: '' expected: '200' |
pipe.t | TEST 19: user case with send and shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -0 -1 -5 -8192 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 3: ensure process is destroyed in GC - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 3: ensure process is destroyed in GC - status code ok |
got: '' expected: '200' |
pipe.t | TEST 3: ensure process is destroyed in GC - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 3: ensure process is destroyed in GC - pattern "lua pipe destroy process:" should match a line in error.log (req 0) | |
pipe.t | TEST 3: ensure process is destroyed in GC - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:09 [error] 30143\#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' ' |
pipe.t | TEST 3: ensure process is destroyed in GC - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 3: ensure process is destroyed in GC - status code ok |
got: '' expected: '200' |
pipe.t | TEST 3: ensure process is destroyed in GC - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 3: ensure process is destroyed in GC - pattern "lua pipe destroy process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 49: spawn process, with invalid environ option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 49: spawn process, with invalid environ option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 49: spawn process, with invalid environ option - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -TEST_ENV: -TEST_ENV: 1 -TEST_ENV:=1 ' |
pipe.t | TEST 49: spawn process, with invalid environ option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:13 [error] 30170\#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' ' |
pipe.t | TEST 49: spawn process, with invalid environ option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 49: spawn process, with invalid environ option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 49: spawn process, with invalid environ option - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -TEST_ENV: -TEST_ENV: 1 -TEST_ENV:=1 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - status code ok |
got: '' expected: '200' |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -true -exit -0 ' |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:18 [error] 30197\#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' ' |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - status code ok |
got: '' expected: '200' |
pipe.t | TEST 43: spawn sub-process when error_log is configured with syslog - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -true -exit -0 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 1: check pipe spawn arguments - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 1: check pipe spawn arguments - status code ok |
got: '' expected: '200' |
pipe.t | TEST 1: check pipe spawn arguments - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -bad args arg: table expected, got nil -bad args arg: non-empty table expected -bad buffer_size option -bad buffer_size option -ok -bad buffer_size option ' |
pipe.t | TEST 1: check pipe spawn arguments - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:22 [error] 30224\#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' ' |
pipe.t | TEST 1: check pipe spawn arguments - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 1: check pipe spawn arguments - status code ok |
got: '' expected: '200' |
pipe.t | TEST 1: check pipe spawn arguments - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -bad args arg: table expected, got nil -bad args arg: non-empty table expected -bad buffer_size option -bad buffer_size option -ok -bad buffer_size option ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - response_body_like - response is expected () |
'' doesn't match '(?^s:lua pipe child execvp\(\) failed while executing no-such-cmd \(2: No such file or directory\) )' |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:27 [error] 30252\#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' ' |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 39: avoided overwritting log fd when stderr is used as destination. - response_body_like - response is expected () |
'' doesn't match '(?^s:lua pipe child execvp\(\) failed while executing no-such-cmd \(2: No such file or directory\) )' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 17: wait process, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 17: wait process, timeout - status code ok |
got: '' expected: '200' |
pipe.t | TEST 17: wait process, timeout - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe add timer for waiting: 100(ms)" should match a line in error.log (req 0) | |
pipe.t | TEST 17: wait process, timeout - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:31 [error] 30284\#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' ' |
pipe.t | TEST 17: wait process, timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 17: wait process, timeout - status code ok |
got: '' expected: '200' |
pipe.t | TEST 17: wait process, timeout - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe add timer for waiting: 100(ms)" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - status code ok |
got: '' expected: '200' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - pattern "(?^:\[notice\] .* signal \d+ \(SIGCHLD\) received from \d+)" should match a line in error.log (req 0) | |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:36 [error] 30311\#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' ' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - status code ok |
got: '' expected: '200' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 41: log the signal info like what Nginx does for SIGCHLD - pattern "(?^:\[notice\] .* signal \d+ \(SIGCHLD\) received from \d+)" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 2: spawn process, with buffer_size option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 2: spawn process, with buffer_size option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 2: spawn process, with buffer_size option - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 2: spawn process, with buffer_size option - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:0 buffer_size:256)" should match a line in error.log (req 0) | |
pipe.t | TEST 2: spawn process, with buffer_size option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:40 [error] 30338\#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' ' |
pipe.t | TEST 2: spawn process, with buffer_size option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 2: spawn process, with buffer_size option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 2: spawn process, with buffer_size option - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 2: spawn process, with buffer_size option - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:0 buffer_size:256)" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:45 [error] 30365\#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' ' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - pattern "lua pipe destroy process:" should match a line in error.log | |
pipe.t | TEST 38: kill living sub-process during Lua VM destruction. - pattern "lua pipe kill process:" should match a line in error.log | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe destroy process:" should match a line in error.log (req 0) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe kill process:" should match a line in error.log (req 0) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:49 [error] 30398\#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' ' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe destroy process:" should match a line in error.log (req 1) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe kill process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - status code ok |
got: '' expected: '200' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -read stdout err: aborted -read stderr err: aborted -write stdin err: timeout -write stdin err: aborted ' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - grep_error_log_out (req 0) |
@@ -1,4 +0,0 @@ -lua pipe read yielding -lua pipe read yielding -lua pipe write yielding -lua pipe write yielding ' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:54 [error] 30425\#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' ' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - status code ok |
got: '' expected: '200' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -read stdout err: aborted -read stderr err: aborted -write stdin err: timeout -write stdin err: aborted ' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -lua pipe read yielding -lua pipe read yielding -lua pipe write yielding -lua pipe write yielding ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'exit status: 2 ' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:08:58 [error] 30452\#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' ' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'exit status: 2 ' |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 12: wait process, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 12: wait process, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe.t | TEST 12: wait process, aborted by uthread kill - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe proc wait cleanup" should match a line in error.log (req 0) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:03 [error] 30479\#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' ' |
pipe.t | TEST 12: wait process, aborted by uthread kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 12: wait process, aborted by uthread kill - status code ok |
got: '' expected: '200' |
pipe.t | TEST 12: wait process, aborted by uthread kill - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe proc wait cleanup" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 52: validate timeout options when spawning process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 52: validate timeout options when spawning process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 52: validate timeout options when spawning process - response_body - response is expected (repeated req 0, req 0) |
@@ -1,15 +0,0 @@ -write_timeout: -bad write_timeout option -bad write_timeout option - -stdout_read_timeout: -bad stdout_read_timeout option -bad stdout_read_timeout option - -stderr_read_timeout: -bad stderr_read_timeout option -bad stderr_read_timeout option - -wait_timeout: -bad wait_timeout option -bad wait_timeout option ' |
pipe.t | TEST 52: validate timeout options when spawning process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:07 [error] 30512\#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' ' |
pipe.t | TEST 52: validate timeout options when spawning process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 52: validate timeout options when spawning process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 52: validate timeout options when spawning process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,15 +0,0 @@ -write_timeout: -bad write_timeout option -bad write_timeout option - -stdout_read_timeout: -bad stdout_read_timeout option -bad stdout_read_timeout option - -stderr_read_timeout: -bad stderr_read_timeout option -bad stderr_read_timeout option - -wait_timeout: -bad wait_timeout option -bad wait_timeout option ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - status code ok |
got: '' expected: '200' |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -1 -1 - -1 -1 ' |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:12 [error] 30539\#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' ' |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - status code ok |
got: '' expected: '200' |
pipe.t | TEST 50: spawn process, with environ option containing nil holes - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -1 -1 - -1 -1 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - status code ok |
got: '' expected: '200' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -nil -timeout ' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:16 [error] 30566\#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' ' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - status code ok |
got: '' expected: '200' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -nil -timeout ' |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - status code ok |
got: '' expected: '200' |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - response_body_like - response is expected () |
'' doesn't match '(?^s:MD5\([^)]+\)= 8bc944dbd052ef51652e70a5104492e3 )' |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:21 [error] 30593\#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' ' |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - status code ok |
got: '' expected: '200' |
pipe.t | TEST 26: interrupt signals which break io.popen should not break ngx.pipe IO - response_body_like - response is expected () |
'' doesn't match '(?^s:MD5\([^)]+\)= 8bc944dbd052ef51652e70a5104492e3 )' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - status code ok |
got: '' expected: '200' |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -stdin: closed -stdout: closed -stderr: closed ' |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:25 [error] 30625\#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' ' |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - status code ok |
got: '' expected: '200' |
pipe.t | TEST 20: shutdown before write/stdout_read/stderr_read - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -stdin: closed -stdout: closed -stderr: closed ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 25: shutdown when merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 25: shutdown when merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe.t | TEST 25: shutdown when merge_stderr is true - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -shutdown stdout after read -stdout: closed -shutdown stdout before read -stdout: closed -shutdown stderr -shutdown: merged to stdout ' |
pipe.t | TEST 25: shutdown when merge_stderr is true - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:30 [error] 30653\#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' ' |
pipe.t | TEST 25: shutdown when merge_stderr is true - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 25: shutdown when merge_stderr is true - status code ok |
got: '' expected: '200' |
pipe.t | TEST 25: shutdown when merge_stderr is true - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -shutdown stdout after read -stdout: closed -shutdown stdout before read -stdout: closed -shutdown stderr -shutdown: merged to stdout ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 14: wait process which terminated by signal - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 14: wait process which terminated by signal - status code ok |
got: '' expected: '200' |
pipe.t | TEST 14: wait process which terminated by signal - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -signal -15 ' |
pipe.t | TEST 14: wait process which terminated by signal - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:34 [error] 30680\#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' ' |
pipe.t | TEST 14: wait process which terminated by signal - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 14: wait process which terminated by signal - status code ok |
got: '' expected: '200' |
pipe.t | TEST 14: wait process which terminated by signal - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -signal -15 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 22: shutdown repeatedly is harmless - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 22: shutdown repeatedly is harmless - status code ok |
got: '' expected: '200' |
pipe.t | TEST 22: shutdown repeatedly is harmless - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -stdin: closed -stdout: closed -stderr: closed ' |
pipe.t | TEST 22: shutdown repeatedly is harmless - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:39 [error] 30707\#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' ' |
pipe.t | TEST 22: shutdown repeatedly is harmless - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 22: shutdown repeatedly is harmless - status code ok |
got: '' expected: '200' |
pipe.t | TEST 22: shutdown repeatedly is harmless - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -stdin: closed -stdout: closed -stderr: closed ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 9: wait process, process killed by signal before waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'signal status: 2 ' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 9: wait process, process killed by signal before waiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:43 [error] 30734\#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' ' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - status code ok |
got: '' expected: '200' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'signal status: 2 ' |
pipe.t | TEST 9: wait process, process killed by signal before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - status code ok |
got: '' expected: '200' |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -signal -15 ' |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:48 [error] 30767\#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' ' |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - status code ok |
got: '' expected: '200' |
pipe.t | TEST 36: wait process which is terminated by a signal, using proc.kill - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -signal -15 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 18: wait process, timeout, test for race condition - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 18: wait process, timeout, test for race condition - status code ok |
got: '' expected: '200' |
pipe.t | TEST 18: wait process, timeout, test for race condition - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
pipe.t | TEST 18: wait process, timeout, test for race condition - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:52 [error] 30794\#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' ' |
pipe.t | TEST 18: wait process, timeout, test for race condition - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 18: wait process, timeout, test for race condition - status code ok |
got: '' expected: '200' |
pipe.t | TEST 18: wait process, timeout, test for race condition - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 13: wait process which exited abnormally - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 13: wait process which exited abnormally - status code ok |
got: '' expected: '200' |
pipe.t | TEST 13: wait process which exited abnormally - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -exit -2 ' |
pipe.t | TEST 13: wait process which exited abnormally - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:09:57 [error] 30821\#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' ' |
pipe.t | TEST 13: wait process which exited abnormally - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 13: wait process which exited abnormally - status code ok |
got: '' expected: '200' |
pipe.t | TEST 13: wait process which exited abnormally - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -exit -2 ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 16: avoid setting negative timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 16: avoid setting negative timeout - status code ok |
got: '' expected: '200' |
pipe.t | TEST 16: avoid setting negative timeout - response_body - response is expected (repeated req 0, req 0) |
@@ -1,13 +0,0 @@ -set_timeouts: ok - -write_timeout: -failed to set timeouts: bad write_timeout option - -stdout_read_timeout: -failed to set timeouts: bad stdout_read_timeout option - -stderr_read_timeout: -failed to set timeouts: bad stderr_read_timeout option - -wait_timeout: -failed to set timeouts: bad wait_timeout option ' |
pipe.t | TEST 16: avoid setting negative timeout - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:01 [error] 30848\#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' ' |
pipe.t | TEST 16: avoid setting negative timeout - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 16: avoid setting negative timeout - status code ok |
got: '' expected: '200' |
pipe.t | TEST 16: avoid setting negative timeout - response_body - response is expected (repeated req 1, req 0) |
@@ -1,13 +0,0 @@ -set_timeouts: ok - -write_timeout: -failed to set timeouts: bad write_timeout option - -stdout_read_timeout: -failed to set timeouts: bad stdout_read_timeout option - -stderr_read_timeout: -failed to set timeouts: bad stderr_read_timeout option - -wait_timeout: -failed to set timeouts: bad wait_timeout option ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'closed ' |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:06 [error] 30881\#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' ' |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 27: ensure signals ignored by Nginx are reset. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'closed ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 53: validate timeout options when spawning process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 53: validate timeout options when spawning process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad write_timeout option)" should match a line in error.log (req 0) | |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad stdout_read_timeout option)" should match a line in error.log (req 0) | |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad stderr_read_timeout option)" should match a line in error.log (req 0) | |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad wait_timeout option)" should match a line in error.log (req 0) | |
pipe.t | TEST 53: validate timeout options when spawning process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 53: validate timeout options when spawning process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad write_timeout option)" should match a line in error.log (req 1) | |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad stdout_read_timeout option)" should match a line in error.log (req 1) | |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad stderr_read_timeout option)" should match a line in error.log (req 1) | |
pipe.t | TEST 53: validate timeout options when spawning process - pattern "(?^:\[error\] .*? content_by_lua\(nginx\.conf:\d+\):\d+: .*? bad wait_timeout option)" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 11: pid() return process pid - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 11: pid() return process pid - status code ok |
got: '' expected: '200' |
pipe.t | TEST 11: pid() return process pid - response_body_like - response is expected () |
'' doesn't match '(?^s:pid: \d+ type: number pid: \d+ type: number )' |
pipe.t | TEST 11: pid() return process pid - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:15 [error] 30935\#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' ' |
pipe.t | TEST 11: pid() return process pid - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 11: pid() return process pid - status code ok |
got: '' expected: '200' |
pipe.t | TEST 11: pid() return process pid - response_body_like - response is expected () |
'' doesn't match '(?^s:pid: \d+ type: number pid: \d+ type: number )' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'API disabled in the current context ' |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:19 [error] 30962\#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' ' |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - status code ok |
got: '' expected: '200' |
pipe.t | TEST 28: ensure spawning process in init_by_lua is disabled. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'API disabled in the current context ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 6: wait an already waited process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 6: wait an already waited process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 6: wait an already waited process - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'exited ' |
pipe.t | TEST 6: wait an already waited process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:24 [error] 30995\#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' ' |
pipe.t | TEST 6: wait an already waited process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 6: wait an already waited process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 6: wait an already waited process - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'exited ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 30: allow to specify nil as terminator - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 30: allow to specify nil as terminator - status code ok |
got: '' expected: '200' |
pipe.t | TEST 30: allow to specify nil as terminator - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello ' |
pipe.t | TEST 30: allow to specify nil as terminator - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:28 [error] 31022\#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' ' |
pipe.t | TEST 30: allow to specify nil as terminator - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 30: allow to specify nil as terminator - status code ok |
got: '' expected: '200' |
pipe.t | TEST 30: allow to specify nil as terminator - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 15: avoid set_timeouts overflow - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 15: avoid set_timeouts overflow - status code ok |
got: '' expected: '200' |
pipe.t | TEST 15: avoid set_timeouts overflow - response_body - response is expected (repeated req 0, req 0) |
@@ -1,15 +0,0 @@ -write_timeout: -set_timeouts: ok -failed to set timeouts: bad write_timeout option - -stdout_read_timeout: -set_timeouts: ok -failed to set timeouts: bad stdout_read_timeout option - -stderr_read_timeout: -set_timeouts: ok -failed to set timeouts: bad stderr_read_timeout option - -wait_timeout: -set_timeouts: ok -failed to set timeouts: bad wait_timeout option ' |
pipe.t | TEST 15: avoid set_timeouts overflow - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:33 [error] 31049\#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' ' |
pipe.t | TEST 15: avoid set_timeouts overflow - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 15: avoid set_timeouts overflow - status code ok |
got: '' expected: '200' |
pipe.t | TEST 15: avoid set_timeouts overflow - response_body - response is expected (repeated req 1, req 0) |
@@ -1,15 +0,0 @@ -write_timeout: -set_timeouts: ok -failed to set timeouts: bad write_timeout option - -stdout_read_timeout: -set_timeouts: ok -failed to set timeouts: bad stdout_read_timeout option - -stderr_read_timeout: -set_timeouts: ok -failed to set timeouts: bad stderr_read_timeout option - -wait_timeout: -set_timeouts: ok -failed to set timeouts: bad wait_timeout option ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 7: more than one coroutines wait a process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 7: more than one coroutines wait a process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 7: more than one coroutines wait a process - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -pipe busy waiting -exited ' |
pipe.t | TEST 7: more than one coroutines wait a process - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:37 [error] 31076\#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' ' |
pipe.t | TEST 7: more than one coroutines wait a process - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 7: more than one coroutines wait a process - status code ok |
got: '' expected: '200' |
pipe.t | TEST 7: more than one coroutines wait a process - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -pipe busy waiting -exited ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 4: check phase for process wait - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 4: check phase for process wait - status code ok |
got: '' expected: '200' |
pipe.t | TEST 4: check phase for process wait - pattern "API disabled in the context of log_by_lua" should match a line in error.log (req 0) | |
pipe.t | TEST 4: check phase for process wait - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 4: check phase for process wait - status code ok |
got: '' expected: '200' |
pipe.t | TEST 4: check phase for process wait - pattern "API disabled in the context of log_by_lua" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - status code ok |
got: '' expected: '200' |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'blahblah hello ' |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:46 [error] 31136\#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' ' |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - status code ok |
got: '' expected: '200' |
pipe.t | TEST 46: spawn process, with environ option (multiple values) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'blahblah hello ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 5: check process wait arguments - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 5: check process wait arguments - status code ok |
got: '' expected: '500' |
pipe.t | TEST 5: check process wait arguments - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf\:\d+\):\d+: not a process instance)" should match a line in error.log (req 0) | |
pipe.t | TEST 5: check process wait arguments - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 5: check process wait arguments - status code ok |
got: '' expected: '500' |
pipe.t | TEST 5: check process wait arguments - pattern "(?^:\[error\] .*? runtime error: content_by_lua\(nginx\.conf\:\d+\):\d+: not a process instance)" should match a line in error.log (req 1) | |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 48: spawn process, with invalid environ option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 48: spawn process, with invalid environ option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 48: spawn process, with invalid environ option - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -bad environ option: table expected, got string -bad value at index 2 of environ option: string expected, got number -bad value at index 1 of environ option: 'name=[value]' format expected, got 'TEST_ENV' -bad value at index 1 of environ option: 'name=[value]' format expected, got '=1' ' |
pipe.t | TEST 48: spawn process, with invalid environ option - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:10:55 [error] 31190\#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' ' |
pipe.t | TEST 48: spawn process, with invalid environ option - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 48: spawn process, with invalid environ option - status code ok |
got: '' expected: '200' |
pipe.t | TEST 48: spawn process, with invalid environ option - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -bad environ option: table expected, got string -bad value at index 2 of environ option: string expected, got number -bad value at index 1 of environ option: 'name=[value]' format expected, got 'TEST_ENV' -bad value at index 1 of environ option: 'name=[value]' format expected, got '=1' ' |
pipe.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - status code ok |
got: '' expected: '200' |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'TEST_ENV: ' |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:00 [error] 31217\#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' ' |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - status code ok |
got: '' expected: '200' |
pipe.t | TEST 47: spawn process, with empty environ option (no values) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'TEST_ENV: ' |
process-type-cache.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-cache.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-cache.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-cache.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-cache.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):\d+ loop\] )' |
process-type-cache.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:04 [error] 31253\#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' ' |
process-type-cache.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-cache.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-cache.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-cache.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):\d+ loop\] )' |
process-type-cache.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:04 [error] 31253\#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' ' |
process-type-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-hup.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-hup.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-hup.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'type: worker ' |
process-type-hup.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:10 [error] 31292\#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' ' |
process-type-hup.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-hup.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-hup.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'type: worker ' |
process-type-hup.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:10 [error] 31292\#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' ' |
process-type-master.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-master.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-master.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-master.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "process type: master\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
process-type-master.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\A\[TRACE\s+\d+ init_by_lua\(nginx.conf:\d+\):\d+ loop\] \z)' |
process-type-master.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:15 [error] 31329\#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' ' |
process-type-master.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-master.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-master.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "process type: master\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
process-type-master.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\A\[TRACE\s+\d+ init_by_lua\(nginx.conf:\d+\):\d+ loop\] \z)' |
process-type-master.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:15 [error] 31329\#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' ' |
process-type-privileged-agent-connections.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent-connections.t | TEST 5: enable_privileged_agent with bad connections - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent-connections.t | TEST 5: enable_privileged_agent with bad connections - status code ok |
got: '' expected: '200' |
process-type-privileged-agent-connections.t | TEST 5: enable_privileged_agent with bad connections - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent-connections.t | TEST 5: enable_privileged_agent with bad connections - pattern "0 worker_connection is not enough, privileged agent process cannot be spawned" should match a line in error.log (req 0) | |
process-type-privileged-agent-connections.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent-connections.t | TEST 2: connections exceed limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent-connections.t | TEST 2: connections exceed limit - status code ok |
got: '' expected: '200' |
process-type-privileged-agent-connections.t | TEST 2: connections exceed limit - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent-connections.t | TEST 2: connections exceed limit - pattern "connect failed" should match a line in error.log (req 0) | |
process-type-privileged-agent-connections.t | TEST 2: connections exceed limit - pattern "worker_connections are not enough" should match a line in error.log (req 0) | |
process-type-privileged-agent-connections.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent-connections.t | TEST 3: enable_privileged_agent with bad connections - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent-connections.t | TEST 3: enable_privileged_agent with bad connections - status code ok |
got: '' expected: '200' |
process-type-privileged-agent-connections.t | TEST 3: enable_privileged_agent with bad connections - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent-connections.t | TEST 3: enable_privileged_agent with bad connections - pattern "enable_privileged_agent failed: bad 'connections' argument" should match a line in error.log (req 0) | |
process-type-privileged-agent-connections.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent-connections.t | TEST 4: enable_privileged_agent with bad connections - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent-connections.t | TEST 4: enable_privileged_agent with bad connections - status code ok |
got: '' expected: '200' |
process-type-privileged-agent-connections.t | TEST 4: enable_privileged_agent with bad connections - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent-connections.t | TEST 4: enable_privileged_agent with bad connections - pattern "enable_privileged_agent failed: bad 'connections' argument" should match a line in error.log (req 0) | |
process-type-privileged-agent-connections.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent-connections.t | TEST 1: specify connections to enable_privileged_agent - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent-connections.t | TEST 1: specify connections to enable_privileged_agent - status code ok |
got: '' expected: '200' |
process-type-privileged-agent-connections.t | TEST 1: specify connections to enable_privileged_agent - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent-connections.t | TEST 1: specify connections to enable_privileged_agent - pattern "connect ok" should match a line in error.log (req 0) | |
process-type-privileged-agent.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent.t | TEST 4: connections exceed limits - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent.t | TEST 4: connections exceed limits - status code ok |
got: '' expected: '500' |
process-type-privileged-agent.t | TEST 4: connections exceed limits - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
process-type-privileged-agent.t | TEST 4: connections exceed limits - pattern "worker_connections are not enough" should match a line in error.log (req 0) | |
process-type-privileged-agent.t | TEST 4: connections exceed limits - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent.t | TEST 4: connections exceed limits - status code ok |
got: '' expected: '500' |
process-type-privileged-agent.t | TEST 4: connections exceed limits - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
process-type-privileged-agent.t | TEST 4: connections exceed limits - pattern "worker_connections are not enough" should match a line in error.log (req 1) | |
process-type-privileged-agent.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-privileged-agent.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] (?:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] )?\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):\d+ loop\] init_worker_by_lua\(nginx.conf:\d+\):10: process type: privileged )' |
process-type-privileged-agent.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:48 [error] 31537\#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' ' |
process-type-privileged-agent.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-privileged-agent.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
process-type-privileged-agent.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] (?:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] )?\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):\d+ loop\] init_worker_by_lua\(nginx.conf:\d+\):10: process type: privileged )' |
process-type-privileged-agent.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:48 [error] 31537\#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' ' |
process-type-privileged-agent.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - status code ok |
got: '' expected: '500' |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - pattern "(?^:\[error\] .*? API disabled in the current context)" should match a line in error.log (req 0) | |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - status code ok |
got: '' expected: '500' |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - response_body_like - response is expected () |
'' doesn't match '(?^s:500 Internal Server Error)' |
process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - pattern "(?^:\[error\] .*? API disabled in the current context)" should match a line in error.log (req 1) | |
process-type-single.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-single.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-single.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
process-type-single.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua\(nginx.conf:\d+\):\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua\(nginx.conf:\d+\):10: process type: single )' |
process-type-single.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:57 [error] 31600\#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' ' |
process-type-single.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-single.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
process-type-single.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua\(nginx.conf:\d+\):\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua\(nginx.conf:\d+\):10: process type: single )' |
process-type-single.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:11:57 [error] 31600\#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' ' |
process-type-worker.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
process-type-worker.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-worker.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-worker.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "process type: worker\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
process-type-worker.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):4 loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] init_worker_by_lua\(nginx.conf:\d+\):8: process type: worker )' |
process-type-worker.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:02 [error] 31630\#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' ' |
process-type-worker.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
process-type-worker.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
process-type-worker.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "process type: worker\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
process-type-worker.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua\(nginx.conf:\d+\):4 loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] init_worker_by_lua\(nginx.conf:\d+\):8: process type: worker )' |
process-type-worker.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:02 [error] 31630\#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' ' |
re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ä½ ' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:07 [error] 31666\#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' ' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ä½ ' |
re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:07 [error] 31666\#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' ' |
re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-base.t | TEST 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 2: bad UTF-8 - status code ok |
got: '' expected: '200' |
re-base.t | TEST 2: bad UTF-8 - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_exec\(\) failed: -10)' |
re-base.t | TEST 2: bad UTF-8 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:12 [error] 31693\#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' ' |
re-base.t | TEST 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 2: bad UTF-8 - status code ok |
got: '' expected: '200' |
re-base.t | TEST 2: bad UTF-8 - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_exec\(\) failed: -10)' |
re-base.t | TEST 2: bad UTF-8 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:12 [error] 31693\#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' ' |
re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ä½ ' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:16 [error] 31720\#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' ' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ä½ ' |
re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:16 [error] 31720\#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' ' |
re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-base.t | TEST 6: just not hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 6: just not hit match limit - status code ok |
got: '' expected: '200' |
re-base.t | TEST 6: just not hit match limit - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to match ' |
re-base.t | TEST 6: just not hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 6: just not hit match limit - status code ok |
got: '' expected: '200' |
re-base.t | TEST 6: just not hit match limit - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to match ' |
re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 5: just hit match limit - status code ok |
got: '' expected: '200' |
re-base.t | TEST 5: just hit match limit - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_exec() failed: -8 ' |
re-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 5: just hit match limit - status code ok |
got: '' expected: '200' |
re-base.t | TEST 5: just hit match limit - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_exec() failed: -8 ' |
re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-base.t | TEST 1: bad pattern - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 1: bad pattern - status code ok |
got: '' expected: '200' |
re-base.t | TEST 1: bad pattern - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_compile() failed: missing ) in "(abc" ' |
re-base.t | TEST 1: bad pattern - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:30 [error] 31807\#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' ' |
re-base.t | TEST 1: bad pattern - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-base.t | TEST 1: bad pattern - status code ok |
got: '' expected: '200' |
re-base.t | TEST 1: bad pattern - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_compile() failed: missing ) in "(abc" ' |
re-base.t | TEST 1: bad pattern - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:30 [error] 31807\#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' ' |
re-bugs.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-bugs.t | TEST 6: bug: sub incorrectly dropped the last character(replace function) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-bugs.t | TEST 6: bug: sub incorrectly dropped the last character(replace function) - status code ok |
got: '' expected: '200' |
re-bugs.t | TEST 6: bug: sub incorrectly dropped the last character(replace function) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -abc[]d -1 ' |
re-bugs.t | TEST 6: bug: sub incorrectly dropped the last character(replace function) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-bugs.t | TEST 6: bug: sub incorrectly dropped the last character(replace function) - status code ok |
got: '' expected: '200' |
re-bugs.t | TEST 6: bug: sub incorrectly dropped the last character(replace function) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -abc[]d -1 ' |
re-bugs.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-bugs.t | TEST 5: bug: sub incorrectly dropped the last character - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-bugs.t | TEST 5: bug: sub incorrectly dropped the last character - status code ok |
got: '' expected: '200' |
re-bugs.t | TEST 5: bug: sub incorrectly dropped the last character - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -abc.d -1 ' |
re-bugs.t | TEST 5: bug: sub incorrectly dropped the last character - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-bugs.t | TEST 5: bug: sub incorrectly dropped the last character - status code ok |
got: '' expected: '200' |
re-bugs.t | TEST 5: bug: sub incorrectly dropped the last character - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -abc.d -1 ' |
re-bugs.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - status code ok |
got: '' expected: '200' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -c0 -c0 ' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:43 [error] 31897\#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' ' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - status code ok |
got: '' expected: '200' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -c0 -c0 ' |
re-bugs.t | TEST 4: PCRE MAP_JIT workaround is not in effect under other OSs - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:43 [error] 31897\#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' ' |
re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:48 [error] 31933\#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' ' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:48 [error] 31933\#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' ' |
re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:53 [error] 31960\#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' ' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:53 [error] 31960\#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' ' |
re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-find.t | TEST 6: specify the group (2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 6: specify the group (2) - status code ok |
got: '' expected: '200' |
re-find.t | TEST 6: specify the group (2) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 9 -to: 11 -matched: 234 ' |
re-find.t | TEST 6: specify the group (2) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-find.t | TEST 6: specify the group (2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:57 [error] 31987\#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' ' |
re-find.t | TEST 6: specify the group (2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 6: specify the group (2) - status code ok |
got: '' expected: '200' |
re-find.t | TEST 6: specify the group (2) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 9 -to: 11 -matched: 234 ' |
re-find.t | TEST 6: specify the group (2) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-find.t | TEST 6: specify the group (2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:12:57 [error] 31987\#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' ' |
re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-find.t | TEST 5: nil submatch (1st) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 5: nil submatch (1st) - status code ok |
got: '' expected: '200' |
re-find.t | TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not matched! ' |
re-find.t | TEST 5: nil submatch (1st) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-find.t | TEST 5: nil submatch (1st) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:02 [error] 32014\#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' ' |
re-find.t | TEST 5: nil submatch (1st) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 5: nil submatch (1st) - status code ok |
got: '' expected: '200' |
re-find.t | TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not matched! ' |
re-find.t | TEST 5: nil submatch (1st) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-find.t | TEST 5: nil submatch (1st) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:02 [error] 32014\#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' ' |
re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:06 [error] 32046\#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' ' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:06 [error] 32046\#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' ' |
re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-find.t | TEST 4: nil submatch (2nd) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 4: nil submatch (2nd) - status code ok |
got: '' expected: '200' |
re-find.t | TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not matched! ' |
re-find.t | TEST 4: nil submatch (2nd) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-find.t | TEST 4: nil submatch (2nd) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:11 [error] 32074\#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' ' |
re-find.t | TEST 4: nil submatch (2nd) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-find.t | TEST 4: nil submatch (2nd) - status code ok |
got: '' expected: '200' |
re-find.t | TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not matched! ' |
re-find.t | TEST 4: nil submatch (2nd) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-find.t | TEST 4: nil submatch (2nd) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:11 [error] 32074\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched iter1 (1/2): 9 -matched iter2 (1/2): 1 -matched iter1 (2/2): 8 -matched iter2 (2/2): 2 ' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:16 [error] 32104\#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' ' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched iter1 (1/2): 9 -matched iter2 (1/2): 1 -matched iter1 (2/2): 8 -matched iter2 (2/2): 2 ' |
re-gmatch.t | TEST 14: each gmatch iterator is separate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:16 [error] 32104\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:20 [error] 32137\#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' ' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:20 [error] 32137\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 8: unmatched captures are false - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 8: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -hello! -hello -false -! -world! -world -false -! ' |
re-gmatch.t | TEST 8: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 8: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:25 [error] 32164\#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' ' |
re-gmatch.t | TEST 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 8: unmatched captures are false - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 8: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -hello! -hello -false -! -world! -world -false -! ' |
re-gmatch.t | TEST 8: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 8: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:25 [error] 32164\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 10: unmatched named captures are false - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,14 +0,0 @@ -hello! -hello -false -! -hello -false -! -world! -world -false -! -world -false -! ' |
re-gmatch.t | TEST 10: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 10: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:29 [error] 32191\#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' ' |
re-gmatch.t | TEST 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 10: unmatched named captures are false - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,14 +0,0 @@ -hello! -hello -false -! -hello -false -! -world! -world -false -! -world -false -! ' |
re-gmatch.t | TEST 10: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 10: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:29 [error] 32191\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:34 [error] 32218\#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' ' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:34 [error] 32218\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:38 [error] 32245\#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' ' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:38 [error] 32245\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:42 [error] 32278\#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' ' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:42 [error] 32278\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:47 [error] 32305\#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' ' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
re-gmatch.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:47 [error] 32305\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 11: subject is not a string type - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 11: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -12 -345 ' |
re-gmatch.t | TEST 11: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:52 [error] 32332\#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' ' |
re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 11: subject is not a string type - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 11: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -12 -345 ' |
re-gmatch.t | TEST 11: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:52 [error] 32332\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:56 [error] 32359\#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' ' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:13:56 [error] 32359\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:00 [error] 32392\#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' ' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:00 [error] 32392\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 7: named submatches - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 7: named submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +0,0 @@ -matched: hello -$1: h -$2: ello -$first: h -$second: nil -matched: world -$1: w -$2: orld -$first: w -$second: nil ' |
re-gmatch.t | TEST 7: named submatches - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 7: named submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:05 [error] 32419\#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' ' |
re-gmatch.t | TEST 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 7: named submatches - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 7: named submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +0,0 @@ -matched: hello -$1: h -$2: ello -$first: h -$second: nil -matched: world -$1: w -$2: orld -$first: w -$second: nil ' |
re-gmatch.t | TEST 7: named submatches - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 7: named submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:05 [error] 32419\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -error: pcre_exec() failed: -10 -not matched ' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:09 [error] 32446\#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' ' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -error: pcre_exec() failed: -10 -not matched ' |
re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:09 [error] 32446\#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' ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 15: gmatch (empty matched string) - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] ' |
re-gmatch.t | TEST 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 15: gmatch (empty matched string) - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] ' |
re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -matched: hello -matched: nil -matched: nil ' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:18 [error] 32505\#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' ' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -matched: hello -matched: nil -matched: nil ' |
re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:18 [error] 32505\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 11: unmatched captures are false - status code ok |
got: '' expected: '200' |
re-match.t | TEST 11: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello! -hello -false -! ' |
re-match.t | TEST 11: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-match.t | TEST 11: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:23 [error] 32536\#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' ' |
re-match.t | TEST 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 11: unmatched captures are false - status code ok |
got: '' expected: '200' |
re-match.t | TEST 11: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello! -hello -false -! ' |
re-match.t | TEST 11: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-match.t | TEST 11: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:23 [error] 32536\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:28 [error] 32563\#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' ' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:28 [error] 32563\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
re-match.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-match.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:32 [error] 32595\#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' ' |
re-match.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
re-match.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-match.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:32 [error] 32595\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
re-match.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:37 [error] 32623\#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' ' |
re-match.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
re-match.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:37 [error] 32623\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - status code ok |
got: '' expected: '200' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello, 1234 -hello -hello -nil ' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:41 [error] 32650\#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' ' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - status code ok |
got: '' expected: '200' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello, 1234 -hello -hello -nil ' |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:41 [error] 32650\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 10: captures input table in ngx.re.match - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 10: captures input table in ngx.re.match - status code ok |
got: '' expected: '200' |
re-match.t | TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -1234 -1 -2 -3 -4 -hello ' |
re-match.t | TEST 10: captures input table in ngx.re.match - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-match.t | TEST 10: captures input table in ngx.re.match - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:46 [error] 32677\#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' ' |
re-match.t | TEST 10: captures input table in ngx.re.match - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 10: captures input table in ngx.re.match - status code ok |
got: '' expected: '200' |
re-match.t | TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -1234 -1 -2 -3 -4 -hello ' |
re-match.t | TEST 10: captures input table in ngx.re.match - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-match.t | TEST 10: captures input table in ngx.re.match - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:46 [error] 32677\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 12: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
re-match.t | TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
re-match.t | TEST 12: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-match.t | TEST 12: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:50 [error] 32704\#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' ' |
re-match.t | TEST 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 12: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
re-match.t | TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
re-match.t | TEST 12: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-match.t | TEST 12: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:50 [error] 32704\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:55 [error] 32737\#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' ' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:55 [error] 32737\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:59 [error] 32764\#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' ' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:14:59 [error] 32764\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok |
got: '' expected: '200' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:hello, 1234 h ello h|ello nil )' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:04 [error] 324\#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' ' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok |
got: '' expected: '200' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:hello, 1234 h ello h|ello nil )' |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:04 [error] 324\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 14: subject is not a string type - status code ok |
got: '' expected: '200' |
re-match.t | TEST 14: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -12345 -12345 ' |
re-match.t | TEST 14: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:08 [error] 351\#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' ' |
re-match.t | TEST 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 14: subject is not a string type - status code ok |
got: '' expected: '200' |
re-match.t | TEST 14: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -12345 -12345 ' |
re-match.t | TEST 14: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:08 [error] 351\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok |
got: '' expected: '200' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:13 [error] 384\#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' ' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok |
got: '' expected: '200' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)' |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:13 [error] 384\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 13: unmatched named captures are false - status code ok |
got: '' expected: '200' |
re-match.t | TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,7 +0,0 @@ -hello! -hello -false -! -hello -false -! ' |
re-match.t | TEST 13: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
re-match.t | TEST 13: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:17 [error] 411\#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' ' |
re-match.t | TEST 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 13: unmatched named captures are false - status code ok |
got: '' expected: '200' |
re-match.t | TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,7 +0,0 @@ -hello! -hello -false -! -hello -false -! ' |
re-match.t | TEST 13: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
re-match.t | TEST 13: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:17 [error] 411\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:22 [error] 438\#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' ' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:22 [error] 438\#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' ' |
re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-match.t | TEST 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 15: subject is not a string type - status code ok |
got: '' expected: '200' |
re-match.t | TEST 15: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '123 ' |
re-match.t | TEST 15: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:26 [error] 465\#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' ' |
re-match.t | TEST 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-match.t | TEST 15: subject is not a string type - status code ok |
got: '' expected: '200' |
re-match.t | TEST 15: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '123 ' |
re-match.t | TEST 15: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:26 [error] 465\#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' ' |
re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-opt.t | TEST 1: default jit_stack_size too small - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 1: default jit_stack_size too small - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_exec() failed: -27 ' |
re-opt.t | TEST 1: default jit_stack_size too small - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:31 [error] 501\#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' ' |
re-opt.t | TEST 1: default jit_stack_size too small - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 1: default jit_stack_size too small - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_exec() failed: -27 ' |
re-opt.t | TEST 1: default jit_stack_size too small - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:31 [error] 501\#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' ' |
re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'from: 8 to: 8 ' |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'from: 8 to: 8 ' |
re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - grep_error_log_out (req 1) |
got: '' expected: 'changing jit stack size is not allowed when some regexs have already been compiled and cached ' |
re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 2: increase jit_stack_size - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'from: 1 to: 1563 ' |
re-opt.t | TEST 2: increase jit_stack_size - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:40 [error] 555\#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' ' |
re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 2: increase jit_stack_size - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'from: 1 to: 1563 ' |
re-opt.t | TEST 2: increase jit_stack_size - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:40 [error] 555\#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' ' |
re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () |
'' doesn't match '(?^s:unrecognized option name$)' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:45 [error] 589\#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' ' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok |
got: '' expected: '200' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () |
'' doesn't match '(?^s:unrecognized option name$)' |
re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:45 [error] 589\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok |
got: '' expected: '200' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a , b , c,d,e ' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:49 [error] 620\#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' ' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok |
got: '' expected: '200' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a , b , c,d,e ' |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:49 [error] 620\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:54 [error] 648\#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' ' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:54 [error] 648\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 29: no match separator bis (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a::b::c::d len: 7 ' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:58 [error] 681\#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' ' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a::b::c::d len: 7 ' |
re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:15:58 [error] 681\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 17: split matches, trailing subjects - status code ok |
got: '' expected: '200' |
re-split.t | TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '_blank_ a b c d ' |
re-split.t | TEST 17: split matches, trailing subjects - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 17: split matches, trailing subjects - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:03 [error] 708\#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' ' |
re-split.t | TEST 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 17: split matches, trailing subjects - status code ok |
got: '' expected: '200' |
re-split.t | TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '_blank_ a b c d ' |
re-split.t | TEST 17: split matches, trailing subjects - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 17: split matches, trailing subjects - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:03 [error] 708\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 20: subject is not a string type - status code ok |
got: '' expected: '200' |
re-split.t | TEST 20: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 451 45 ' |
re-split.t | TEST 20: subject is not a string type - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 20: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:07 [error] 735\#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' ' |
re-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 20: subject is not a string type - status code ok |
got: '' expected: '200' |
re-split.t | TEST 20: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 451 45 ' |
re-split.t | TEST 20: subject is not a string type - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 20: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:07 [error] 735\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 23: regex is "" with max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 23: regex is "" with max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 2 345 len: 3 ' |
re-split.t | TEST 23: regex is "" with max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 23: regex is "" with max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:12 [error] 762\#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' ' |
re-split.t | TEST 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 23: regex is "" with max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 23: regex is "" with max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 2 345 len: 3 ' |
re-split.t | TEST 23: regex is "" with max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 23: regex is "" with max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:12 [error] 762\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 10: split matches + max limiter set to 1 - status code ok |
got: '' expected: '200' |
re-split.t | TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a,b,c,d,e ' |
re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:16 [error] 789\#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' ' |
re-split.t | TEST 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 10: split matches + max limiter set to 1 - status code ok |
got: '' expected: '200' |
re-split.t | TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a,b,c,d,e ' |
re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:16 [error] 789\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 13: split matches, provided res table + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:21 [error] 822\#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' ' |
re-split.t | TEST 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 13: split matches, provided res table + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:21 [error] 822\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 32: behavior with /^()/m (capture) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab ::cd ::ef len: 5 ' |
re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:25 [error] 853\#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' ' |
re-split.t | TEST 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 32: behavior with /^()/m (capture) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab ::cd ::ef len: 5 ' |
re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:25 [error] 853\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '15 1|T|||||||||||||15 15 1|T|T||||||||||||15 15 1|T|T|T|||||||||||15 ' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:30 [error] 881\#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' ' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '15 1|T|||||||||||||15 15 1|T|T||||||||||||15 15 1|T|T|T|||||||||||15 ' |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:30 [error] 881\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 6: split matches + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 6: split matches + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
re-split.t | TEST 6: split matches + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 6: split matches + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:34 [error] 908\#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' ' |
re-split.t | TEST 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 6: split matches + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 6: split matches + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
re-split.t | TEST 6: split matches + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 6: split matches + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:34 [error] 908\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - status code ok |
got: '' expected: '200' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:39 [error] 941\#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' ' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - status code ok |
got: '' expected: '200' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:39 [error] 941\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 26: regex is "" with pos & max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '2 345 len: 2 ' |
re-split.t | TEST 26: regex is "" with pos & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 26: regex is "" with pos & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:43 [error] 968\#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' ' |
re-split.t | TEST 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 26: regex is "" with pos & max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '2 345 len: 2 ' |
re-split.t | TEST 26: regex is "" with pos & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 26: regex is "" with pos & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:43 [error] 968\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - status code ok |
got: '' expected: '200' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab cd ef len: 1 ' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:48 [error] 995\#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' ' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - status code ok |
got: '' expected: '200' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab cd ef len: 1 ' |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:48 [error] 995\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d ' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:52 [error] 1022\#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' ' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d ' |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:52 [error] 1022\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 18: split matches, real use-case - status code ok |
got: '' expected: '200' |
re-split.t | TEST 18: split matches, real use-case - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'abcd erfg ghij hello world aaa ' |
re-split.t | TEST 18: split matches, real use-case - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 18: split matches, real use-case - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:57 [error] 1055\#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' ' |
re-split.t | TEST 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 18: split matches, real use-case - status code ok |
got: '' expected: '200' |
re-split.t | TEST 18: split matches, real use-case - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'abcd erfg ghij hello world aaa ' |
re-split.t | TEST 18: split matches, real use-case - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 18: split matches, real use-case - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:16:57 [error] 1055\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :1:cdefg :2:hij len: 5 ' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:01 [error] 1083\#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' ' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :1:cdefg :2:hij len: 5 ' |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:01 [error] 1083\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '12 |||||||||||15 13 ||||||||||||15 13 |T|||||||||||15 ' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:06 [error] 1112\#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' ' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '12 |||||||||||15 13 ||||||||||||15 13 |T|||||||||||15 ' |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:06 [error] 1112\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 27: no match separator (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 27: no match separator (github issue \#104) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a:b:c:d len: 4 ' |
re-split.t | TEST 27: no match separator (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 27: no match separator (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:10 [error] 1144\#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' ' |
re-split.t | TEST 27: no match separator (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 27: no match separator (github issue \#104) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a:b:c:d len: 4 ' |
re-split.t | TEST 27: no match separator (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 27: no match separator (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:10 [error] 1144\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 33: behavior with /^/m & max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cd ef len: 2 ' |
re-split.t | TEST 33: behavior with /^/m & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 33: behavior with /^/m & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:15 [error] 1174\#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' ' |
re-split.t | TEST 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 33: behavior with /^/m & max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cd ef len: 2 ' |
re-split.t | TEST 33: behavior with /^/m & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 33: behavior with /^/m & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:15 [error] 1174\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 34: behavior with /^\d/m - status code ok |
got: '' expected: '200' |
re-split.t | TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cdefg :hij len: 3 ' |
re-split.t | TEST 34: behavior with /^\d/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 34: behavior with /^\d/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:19 [error] 1208\#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' ' |
re-split.t | TEST 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 34: behavior with /^\d/m - status code ok |
got: '' expected: '200' |
re-split.t | TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cdefg :hij len: 3 ' |
re-split.t | TEST 34: behavior with /^\d/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 34: behavior with /^\d/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:19 [error] 1208\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 a,b,cd,,, 2 a|b,cd,,, 3 a|b|cd,,, 4 a|b|cd|,, 5 a|b|cd||, 6 a|b|cd||| 6 a|b|cd||| ' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:24 [error] 1235\#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' ' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 a,b,cd,,, 2 a|b,cd,,, 3 a|b|cd,,, 4 a|b|cd|,, 5 a|b|cd||, 6 a|b|cd||| 6 a|b|cd||| ' |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:24 [error] 1235\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 22: regex is "" - status code ok |
got: '' expected: '200' |
re-split.t | TEST 22: regex is "" - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 2 3 4 5 len: 5 ' |
re-split.t | TEST 22: regex is "" - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 22: regex is "" - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:28 [error] 1262\#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' ' |
re-split.t | TEST 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 22: regex is "" - status code ok |
got: '' expected: '200' |
re-split.t | TEST 22: regex is "" - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 2 3 4 5 len: 5 ' |
re-split.t | TEST 22: regex is "" - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 22: regex is "" - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:28 [error] 1262\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 5: split matches + submatch (not matching) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 5: split matches + submatch (not matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 5: split matches + submatch (not matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:33 [error] 1289\#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' ' |
re-split.t | TEST 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 5: split matches + submatch (not matching) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 5: split matches + submatch (not matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 5: split matches + submatch (not matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:33 [error] 1289\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 7: split matches + submatch + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a , b , c,d,e ' |
re-split.t | TEST 7: split matches + submatch + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 7: split matches + submatch + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:37 [error] 1322\#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' ' |
re-split.t | TEST 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 7: split matches + submatch + max limiter - status code ok |
got: '' expected: '200' |
re-split.t | TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a , b , c,d,e ' |
re-split.t | TEST 7: split matches + submatch + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 7: split matches + submatch + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:37 [error] 1322\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 21: split matches, pos is larger than subject length - status code ok |
got: '' expected: '200' |
re-split.t | TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'len: 0 ' |
re-split.t | TEST 21: split matches, pos is larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:42 [error] 1350\#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' ' |
re-split.t | TEST 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 21: split matches, pos is larger than subject length - status code ok |
got: '' expected: '200' |
re-split.t | TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'len: 0 ' |
re-split.t | TEST 21: split matches, pos is larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:42 [error] 1350\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 8: split matches + max limiter set to 0 - status code ok |
got: '' expected: '200' |
re-split.t | TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:46 [error] 1380\#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' ' |
re-split.t | TEST 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 8: split matches + max limiter set to 0 - status code ok |
got: '' expected: '200' |
re-split.t | TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:46 [error] 1380\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 16: split matches, ctx arg - status code ok |
got: '' expected: '200' |
re-split.t | TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'c d e ' |
re-split.t | TEST 16: split matches, ctx arg - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 16: split matches, ctx arg - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:51 [error] 1408\#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' ' |
re-split.t | TEST 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 16: split matches, ctx arg - status code ok |
got: '' expected: '200' |
re-split.t | TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'c d e ' |
re-split.t | TEST 16: split matches, ctx arg - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 16: split matches, ctx arg - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:51 [error] 1408\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - status code ok |
got: '' expected: '200' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'len: 0 ' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:55 [error] 1444\#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' ' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - status code ok |
got: '' expected: '200' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'len: 0 ' |
re-split.t | TEST 25: regex is "" with pos larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:17:55 [error] 1444\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '3 a|b|cd ' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:00 [error] 1472\#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' ' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '3 a|b|cd ' |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:00 [error] 1472\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d ' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:04 [error] 1501\#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' ' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d ' |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:04 [error] 1501\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 24: regex is "" with pos - status code ok |
got: '' expected: '200' |
re-split.t | TEST 24: regex is "" with pos - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '2 3 4 5 len: 4 ' |
re-split.t | TEST 24: regex is "" with pos - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 24: regex is "" with pos - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:09 [error] 1529\#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' ' |
re-split.t | TEST 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 24: regex is "" with pos - status code ok |
got: '' expected: '200' |
re-split.t | TEST 24: regex is "" with pos - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '2 3 4 5 len: 4 ' |
re-split.t | TEST 24: regex is "" with pos - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 24: regex is "" with pos - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:09 [error] 1529\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 31: behavior with /^/m - status code ok |
got: '' expected: '200' |
re-split.t | TEST 31: behavior with /^/m - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
re-split.t | TEST 31: behavior with /^/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 31: behavior with /^/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:13 [error] 1556\#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' ' |
re-split.t | TEST 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 31: behavior with /^/m - status code ok |
got: '' expected: '200' |
re-split.t | TEST 31: behavior with /^/m - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
re-split.t | TEST 31: behavior with /^/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 31: behavior with /^/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:13 [error] 1556\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:18 [error] 1596\#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' ' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:18 [error] 1596\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d;e ' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:22 [error] 1625\#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' ' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d;e ' |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:22 [error] 1625\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 11: split matches, provided res table - status code ok |
got: '' expected: '200' |
re-split.t | TEST 11: split matches, provided res table - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 11: split matches, provided res table - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 11: split matches, provided res table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:27 [error] 1652\#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' ' |
re-split.t | TEST 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 11: split matches, provided res table - status code ok |
got: '' expected: '200' |
re-split.t | TEST 11: split matches, provided res table - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
re-split.t | TEST 11: split matches, provided res table - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 11: split matches, provided res table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:27 [error] 1652\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 4: split matches + submatch (matching) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a ; b ; c ; d,e ' |
re-split.t | TEST 4: split matches + submatch (matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 4: split matches + submatch (matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:31 [error] 1679\#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' ' |
re-split.t | TEST 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 4: split matches + submatch (matching) - status code ok |
got: '' expected: '200' |
re-split.t | TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a ; b ; c ; d,e ' |
re-split.t | TEST 4: split matches + submatch (matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 4: split matches + submatch (matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:31 [error] 1679\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 28: no match separator (github issue \#104) & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a:bcd len: 2 ' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:36 [error] 1712\#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' ' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - status code ok |
got: '' expected: '200' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a:bcd len: 2 ' |
re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:36 [error] 1712\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - status code ok |
got: '' expected: '200' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no support for 'ngx.re' module: OpenResty was compiled without PCRE support ' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:40 [error] 1739\#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' ' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - status code ok |
got: '' expected: '200' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no support for 'ngx.re' module: OpenResty was compiled without PCRE support ' |
re-split.t | TEST 40: cannot load ngx.re module when lacking PCRE support - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:40 [error] 1739\#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' ' |
re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-split.t | TEST 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 19: split no matches - status code ok |
got: '' expected: '200' |
re-split.t | TEST 19: split no matches - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'abcd ' |
re-split.t | TEST 19: split no matches - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
re-split.t | TEST 19: split no matches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:45 [error] 1766\#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' ' |
re-split.t | TEST 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-split.t | TEST 19: split no matches - status code ok |
got: '' expected: '200' |
re-split.t | TEST 19: split no matches - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'abcd ' |
re-split.t | TEST 19: split no matches - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
re-split.t | TEST 19: split no matches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:45 [error] 1766\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 4: replace template + submatches - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 4: replace template + submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
re-sub.t | TEST 4: replace template + submatches - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-sub.t | TEST 4: replace template + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:50 [error] 1802\#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' ' |
re-sub.t | TEST 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 4: replace template + submatches - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 4: replace template + submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
re-sub.t | TEST 4: replace template + submatches - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-sub.t | TEST 4: replace template + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:50 [error] 1802\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ - INNER_REPLACED - INNER_REPLACED ' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:54 [error] 1829\#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' ' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ - INNER_REPLACED - INNER_REPLACED ' |
re-sub.t | TEST 7: ngx.re.gsub: use of ngx.var in the user callback - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:54 [error] 1829\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 9: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 9: string replace subj is not a string type - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 9: string replace subj is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '534 ' |
re-sub.t | TEST 9: string replace subj is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:59 [error] 1856\#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' ' |
re-sub.t | TEST 9: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 9: string replace subj is not a string type - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 9: string replace subj is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '534 ' |
re-sub.t | TEST 9: string replace subj is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:18:59 [error] 1856\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello, 55 ' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:03 [error] 1883\#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' ' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello, 55 ' |
re-sub.t | TEST 11: func replace return is not a string type (ngx.re.gsub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:03 [error] 1883\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ - OUTER {FIRST} - OUTER REPLACED ' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:08 [error] 1916\#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' ' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ - OUTER {FIRST} - OUTER REPLACED ' |
re-sub.t | TEST 8: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:08 [error] 1916\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello, 534 ' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:12 [error] 1943\#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' ' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello, 534 ' |
re-sub.t | TEST 10: func replace return is not a string type (ngx.re.sub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:12 [error] 1943\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 3: func + submatches - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 3: func + submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
re-sub.t | TEST 3: func + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:17 [error] 1970\#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' ' |
re-sub.t | TEST 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 3: func + submatches - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 3: func + submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
re-sub.t | TEST 3: func + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:17 [error] 1970\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:21 [error] 1997\#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' ' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:21 [error] 1997\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:26 [error] 2024\#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' ' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:26 [error] 2024\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:30 [error] 2057\#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' ' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:30 [error] 2057\#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' ' |
re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ - INNER_REPLACED - INNER_REPLACED ' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:35 [error] 2084\#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' ' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - status code ok |
got: '' expected: '200' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ - INNER_REPLACED - INNER_REPLACED ' |
re-sub.t | TEST 6: ngx.re.gsub: use of ngx.req.get_headers in the user callback - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:35 [error] 2084\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 15: ngx.req.set_header (nil value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 15: ngx.req.set_header (nil value) - status code ok |
got: '' expected: '200' |
request.t | TEST 15: ngx.req.set_header (nil value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "header foo: nil\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 15: ngx.req.set_header (nil value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 15: ngx.req.set_header (nil value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:39 [error] 2116\#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' ' |
request.t | TEST 15: ngx.req.set_header (nil value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 15: ngx.req.set_header (nil value) - status code ok |
got: '' expected: '200' |
request.t | TEST 15: ngx.req.set_header (nil value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "header foo: nil\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 15: ngx.req.set_header (nil value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 15: ngx.req.set_header (nil value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:39 [error] 2116\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - status code ok |
got: '' expected: '200' |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "method: PUT\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:44 [error] 2147\#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' ' |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - status code ok |
got: '' expected: '200' |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "method: PUT\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 13: ngx.req.set_method (GET -> PUT) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:44 [error] 2147\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 7: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 7: ngx.req.start_time() - status code ok |
got: '' expected: '200' |
request.t | TEST 7: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "true\x{0a}>= 0.099: true\x{0a}< 0.11: true\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 7: ngx.req.start_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 7: ngx.req.start_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:49 [error] 2180\#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' ' |
request.t | TEST 7: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 7: ngx.req.start_time() - status code ok |
got: '' expected: '200' |
request.t | TEST 7: ngx.req.start_time() - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "true\x{0a}>= 0.099: true\x{0a}< 0.11: true\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 7: ngx.req.start_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 7: ngx.req.start_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:49 [error] 2180\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - status code ok |
got: '' expected: '200' |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "method: OPTIONS\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:54 [error] 2207\#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' ' |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - status code ok |
got: '' expected: '200' |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "method: OPTIONS\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 9: ngx.req.get_method (OPTIONS) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:54 [error] 2207\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 6: ngx.req.get_uri_args (empty) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 6: ngx.req.get_uri_args (empty) - status code ok |
got: '' expected: '200' |
request.t | TEST 6: ngx.req.get_uri_args (empty) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 6: ngx.req.get_uri_args (empty) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:59 [error] 2240\#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' ' |
request.t | TEST 6: ngx.req.get_uri_args (empty) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 6: ngx.req.get_uri_args (empty) - status code ok |
got: '' expected: '200' |
request.t | TEST 6: ngx.req.get_uri_args (empty) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 6: ngx.req.get_uri_args (empty) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:19:59 [error] 2240\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 16: ngx.req.clear_header - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 16: ngx.req.clear_header - status code ok |
got: '' expected: '200' |
request.t | TEST 16: ngx.req.clear_header - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "header foo: nil\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 16: ngx.req.clear_header - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 16: ngx.req.clear_header - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:05 [error] 2294\#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' ' |
request.t | TEST 16: ngx.req.clear_header - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 16: ngx.req.clear_header - status code ok |
got: '' expected: '200' |
request.t | TEST 16: ngx.req.clear_header - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "header foo: nil\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 16: ngx.req.clear_header - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 16: ngx.req.clear_header - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:05 [error] 2294\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 17: ngx.req.set_header (multiple values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 17: ngx.req.set_header (multiple values) - status code ok |
got: '' expected: '200' |
request.t | TEST 17: ngx.req.set_header (multiple values) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: baz, 123\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 17: ngx.req.set_header (multiple values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:10 [error] 2466\#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' ' |
request.t | TEST 17: ngx.req.set_header (multiple values) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 17: ngx.req.set_header (multiple values) - status code ok |
got: '' expected: '200' |
request.t | TEST 17: ngx.req.set_header (multiple values) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: baz, 123\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 17: ngx.req.set_header (multiple values) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:10 [error] 2466\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 4: ngx.req.get_headers (metatable) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 4: ngx.req.get_headers (metatable) - status code ok |
got: '' expected: '200' |
request.t | TEST 4: ngx.req.get_headers (metatable) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "foo_BAR: foo\x{0a}baz: baz\x{0a}connection: close\x{0a}foo-bar: f"... length: 69 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 4: ngx.req.get_headers (metatable) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:16 [error] 3030\#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' ' |
request.t | TEST 4: ngx.req.get_headers (metatable) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 4: ngx.req.get_headers (metatable) - status code ok |
got: '' expected: '200' |
request.t | TEST 4: ngx.req.get_headers (metatable) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "foo_BAR: foo\x{0a}baz: baz\x{0a}connection: close\x{0a}foo-bar: f"... length: 69 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 4: ngx.req.get_headers (metatable) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:16 [error] 3030\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 2: ngx.req.get_headers (raw) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 2: ngx.req.get_headers (raw) - status code ok |
got: '' expected: '200' |
request.t | TEST 2: ngx.req.get_headers (raw) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Bar: bar\x{0a}Baz: baz\x{0a}Connection: close\x{0a}Foo: foo\x{0a}Host:"... length: 61 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 2: ngx.req.get_headers (raw) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:22 [error] 3643\#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' ' |
request.t | TEST 2: ngx.req.get_headers (raw) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 2: ngx.req.get_headers (raw) - status code ok |
got: '' expected: '200' |
request.t | TEST 2: ngx.req.get_headers (raw) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Bar: bar\x{0a}Baz: baz\x{0a}Connection: close\x{0a}Foo: foo\x{0a}Host:"... length: 61 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 2: ngx.req.get_headers (raw) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:22 [error] 3643\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 14: ngx.req.set_header (single number value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 14: ngx.req.set_header (single number value) - status code ok |
got: '' expected: '200' |
request.t | TEST 14: ngx.req.set_header (single number value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "header foo: 500\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 14: ngx.req.set_header (single number value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 14: ngx.req.set_header (single number value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:28 [error] 4258\#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' ' |
request.t | TEST 14: ngx.req.set_header (single number value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 14: ngx.req.set_header (single number value) - status code ok |
got: '' expected: '200' |
request.t | TEST 14: ngx.req.set_header (single number value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "header foo: 500\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 14: ngx.req.set_header (single number value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 14: ngx.req.set_header (single number value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:28 [error] 4258\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 20: get_uri_args allows to reuse table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 20: get_uri_args allows to reuse table - status code ok |
got: '' expected: '200' |
request.t | TEST 20: get_uri_args allows to reuse table - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "a: 3 0, hello\x{0a}blah: true\x{0a}foo bar: \x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 20: get_uri_args allows to reuse table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:34 [error] 4867\#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' ' |
request.t | TEST 20: get_uri_args allows to reuse table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 20: get_uri_args allows to reuse table - status code ok |
got: '' expected: '200' |
request.t | TEST 20: get_uri_args allows to reuse table - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "a: 3 0, hello\x{0a}blah: true\x{0a}foo bar: \x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 20: get_uri_args allows to reuse table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:34 [error] 4867\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 1: ngx.req.get_headers - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 1: ngx.req.get_headers - status code ok |
got: '' expected: '200' |
request.t | TEST 1: ngx.req.get_headers - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "bar: bar\x{0a}baz: baz\x{0a}connection: close\x{0a}foo: foo\x{0a}host:"... length: 61 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 1: ngx.req.get_headers - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:39 [error] 5432\#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' ' |
request.t | TEST 1: ngx.req.get_headers - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 1: ngx.req.get_headers - status code ok |
got: '' expected: '200' |
request.t | TEST 1: ngx.req.get_headers - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "bar: bar\x{0a}baz: baz\x{0a}connection: close\x{0a}foo: foo\x{0a}host:"... length: 61 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 1: ngx.req.get_headers - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:39 [error] 5432\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 5: ngx.req.get_uri_args - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 5: ngx.req.get_uri_args - status code ok |
got: '' expected: '200' |
request.t | TEST 5: ngx.req.get_uri_args - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "a: 3 0, hello\x{0a}blah: true\x{0a}foo bar: \x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 5: ngx.req.get_uri_args - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 0) | |
request.t | TEST 5: ngx.req.get_uri_args - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:45 [error] 6042\#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' ' |
request.t | TEST 5: ngx.req.get_uri_args - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 5: ngx.req.get_uri_args - status code ok |
got: '' expected: '200' |
request.t | TEST 5: ngx.req.get_uri_args - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "a: 3 0, hello\x{0a}blah: true\x{0a}foo bar: \x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 5: ngx.req.get_uri_args - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 1) | |
request.t | TEST 5: ngx.req.get_uri_args - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:45 [error] 6042\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - status code ok |
got: '' expected: '200' |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "0\x{0a}" length: 2 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:51 [error] 6634\#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' ' |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - status code ok |
got: '' expected: '200' |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "0\x{0a}" length: 2 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 21: get_uri_args allows to reuse table (empty) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:51 [error] 6634\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 8: ngx.req.get_method (GET) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 8: ngx.req.get_method (GET) - status code ok |
got: '' expected: '200' |
request.t | TEST 8: ngx.req.get_method (GET) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "method: GET\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 8: ngx.req.get_method (GET) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 8: ngx.req.get_method (GET) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:57 [error] 7180\#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' ' |
request.t | TEST 8: ngx.req.get_method (GET) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 8: ngx.req.get_method (GET) - status code ok |
got: '' expected: '200' |
request.t | TEST 8: ngx.req.get_method (GET) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "method: GET\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 8: ngx.req.get_method (GET) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 8: ngx.req.get_method (GET) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:20:57 [error] 7180\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 12: ngx.req.get_method (CONNECT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 12: ngx.req.get_method (CONNECT) - status code ok |
got: '' expected: '200' |
request.t | TEST 12: ngx.req.get_method (CONNECT) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "method: CONNECT\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 12: ngx.req.get_method (CONNECT) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 12: ngx.req.get_method (CONNECT) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:03 [error] 7777\#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' ' |
request.t | TEST 12: ngx.req.get_method (CONNECT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 12: ngx.req.get_method (CONNECT) - status code ok |
got: '' expected: '200' |
request.t | TEST 12: ngx.req.get_method (CONNECT) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "method: CONNECT\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 12: ngx.req.get_method (CONNECT) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 12: ngx.req.get_method (CONNECT) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:03 [error] 7777\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 18: ngx.req.get_header (metatable is nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 18: ngx.req.get_header (metatable is nil) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "table,table\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 18: ngx.req.get_header (metatable is nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 18: ngx.req.get_header (metatable is nil) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "table,table\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 11: ngx.req.get_method (unknown method) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 11: ngx.req.get_method (unknown method) - status code ok |
got: '' expected: '200' |
request.t | TEST 11: ngx.req.get_method (unknown method) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "method: BLAH\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 11: ngx.req.get_method (unknown method) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 11: ngx.req.get_method (unknown method) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:14 [error] 9065\#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' ' |
request.t | TEST 11: ngx.req.get_method (unknown method) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 11: ngx.req.get_method (unknown method) - status code ok |
got: '' expected: '200' |
request.t | TEST 11: ngx.req.get_method (unknown method) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "method: BLAH\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 11: ngx.req.get_method (unknown method) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 11: ngx.req.get_method (unknown method) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:14 [error] 9065\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 3: ngx.req.get_headers (count is 2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 3: ngx.req.get_headers (count is 2) - status code ok |
got: '' expected: '200' |
request.t | TEST 3: ngx.req.get_headers (count is 2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Connection: close\x{0a}Host: localhost\x{0a}" length: 34 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 3: ngx.req.get_headers (count is 2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:19 [error] 9381\#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' ' |
request.t | TEST 3: ngx.req.get_headers (count is 2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 3: ngx.req.get_headers (count is 2) - status code ok |
got: '' expected: '200' |
request.t | TEST 3: ngx.req.get_headers (count is 2) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Connection: close\x{0a}Host: localhost\x{0a}" length: 34 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 3: ngx.req.get_headers (count is 2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:19 [error] 9381\#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' ' |
request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
request.t | TEST 10: ngx.req.get_method (POST) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 10: ngx.req.get_method (POST) - status code ok |
got: '' expected: '200' |
request.t | TEST 10: ngx.req.get_method (POST) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "method: POST\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 10: ngx.req.get_method (POST) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 10: ngx.req.get_method (POST) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:24 [error] 9408\#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' ' |
request.t | TEST 10: ngx.req.get_method (POST) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
request.t | TEST 10: ngx.req.get_method (POST) - status code ok |
got: '' expected: '200' |
request.t | TEST 10: ngx.req.get_method (POST) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "method: POST\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
request.t | TEST 10: ngx.req.get_method (POST) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
request.t | TEST 10: ngx.req.get_method (POST) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:24 [error] 9408\#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' ' |
require.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
require.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
require.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - status code ok |
got: '' expected: '200' |
require.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - response_body - like (repeated req 0, req 0) |
'' doesn't match '(?^ms:failed to load foo: .*/html/foo.lua:10: /opt/luajit21/lib/libluajit-5.1.so.2: undefined symbol: xxxx failed to load foo again: ./lib/resty/core/base.lua:\d+: loop or previous error loading module 'foo')' |
require.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:29 [error] 9444\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - status code ok |
got: '' expected: '200' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - header Cache-Control ok |
got: '' expected: 'no-cache, blah, foo' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - response_body_like - response is expected () |
'' doesn't match '(?^s:^Cache-Control: no-cache[;,] blah[;,] foo$)' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 (?:loop|-> \d+)\])" should match a line in error.log (req 0) | |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:34 [error] 9479\#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' ' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - status code ok |
got: '' expected: '200' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - header Cache-Control ok |
got: '' expected: 'no-cache, blah, foo' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - response_body_like - response is expected () |
'' doesn't match '(?^s:^Cache-Control: no-cache[;,] blah[;,] foo$)' |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 (?:loop|-> \d+)\])" should match a line in error.log (req 1) | |
response.t | TEST 7: set multi values to cache-control and override it with multiple values - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:34 [error] 9479\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 4: read from ngx.header.HEADER (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 4: read from ngx.header.HEADER (single value) - status code ok |
got: '' expected: '200' |
response.t | TEST 4: read from ngx.header.HEADER (single value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: 100\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 4: read from ngx.header.HEADER (single value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
response.t | TEST 4: read from ngx.header.HEADER (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:39 [error] 9506\#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' ' |
response.t | TEST 4: read from ngx.header.HEADER (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 4: read from ngx.header.HEADER (single value) - status code ok |
got: '' expected: '200' |
response.t | TEST 4: read from ngx.header.HEADER (single value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: 100\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 4: read from ngx.header.HEADER (single value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
response.t | TEST 4: read from ngx.header.HEADER (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:39 [error] 9506\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - status code ok |
got: '' expected: '200' |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: 200, 201\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 0) | |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:43 [error] 9533\#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' ' |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - status code ok |
got: '' expected: '200' |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: 200, 201\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 1) | |
response.t | TEST 3: write to ngx.header.HEADER (multi-value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:43 [error] 9533\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - status code ok |
got: '' expected: '200' |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: foo, bar\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:48 [error] 9560\#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' ' |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - status code ok |
got: '' expected: '200' |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: foo, bar\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
response.t | TEST 6: read from ngx.header.HEADER (multi-value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:48 [error] 9560\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 1: write to ngx.header.HEADER (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 1: write to ngx.header.HEADER (single value) - status code ok |
got: '' expected: '200' |
response.t | TEST 1: write to ngx.header.HEADER (single value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: 100\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 1: write to ngx.header.HEADER (single value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 0) | |
response.t | TEST 1: write to ngx.header.HEADER (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:52 [error] 9593\#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' ' |
response.t | TEST 1: write to ngx.header.HEADER (single value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 1: write to ngx.header.HEADER (single value) - status code ok |
got: '' expected: '200' |
response.t | TEST 1: write to ngx.header.HEADER (single value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: 100\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 1: write to ngx.header.HEADER (single value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 1) | |
response.t | TEST 1: write to ngx.header.HEADER (single value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:52 [error] 9593\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 2: write to ngx.header.HEADER (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 2: write to ngx.header.HEADER (nil) - status code ok |
got: '' expected: '200' |
response.t | TEST 2: write to ngx.header.HEADER (nil) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: nil\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 2: write to ngx.header.HEADER (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 0) | |
response.t | TEST 2: write to ngx.header.HEADER (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:57 [error] 9620\#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' ' |
response.t | TEST 2: write to ngx.header.HEADER (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 2: write to ngx.header.HEADER (nil) - status code ok |
got: '' expected: '200' |
response.t | TEST 2: write to ngx.header.HEADER (nil) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: nil\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 2: write to ngx.header.HEADER (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):2 loop\])" should match a line in error.log (req 1) | |
response.t | TEST 2: write to ngx.header.HEADER (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:21:57 [error] 9620\#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' ' |
response.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
response.t | TEST 5: read from ngx.header.HEADER (not found) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 5: read from ngx.header.HEADER (not found) - status code ok |
got: '' expected: '200' |
response.t | TEST 5: read from ngx.header.HEADER (not found) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "Foo: nil\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 5: read from ngx.header.HEADER (not found) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
response.t | TEST 5: read from ngx.header.HEADER (not found) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:02 [error] 9652\#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' ' |
response.t | TEST 5: read from ngx.header.HEADER (not found) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
response.t | TEST 5: read from ngx.header.HEADER (not found) - status code ok |
got: '' expected: '200' |
response.t | TEST 5: read from ngx.header.HEADER (not found) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "Foo: nil\x{0a}" length: 9 strings begin to differ at char 1 (line 1 column 1) |
response.t | TEST 5: read from ngx.header.HEADER (not found) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
response.t | TEST 5: read from ngx.header.HEADER (not found) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:02 [error] 9652\#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' ' |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 11: semaphore in access_by_lua (all allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 11: semaphore in access_by_lua (all allowed) - 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 ' |
semaphore.t | TEST 11: semaphore in access_by_lua (all allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 11: semaphore in access_by_lua (all allowed) - 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 ' |
semaphore.t | TEST 15: semaphore in body_filter_by_lua (wait not allowed) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 15: semaphore in body_filter_by_lua (wait not allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 15: semaphore in body_filter_by_lua (wait not allowed) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 15: semaphore in body_filter_by_lua (wait not allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 32: semaphore wait time is zero - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 32: semaphore wait time is zero - 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: 'timeout ' |
semaphore.t | TEST 32: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:29 [error] 9814\#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:48):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:22:29 [debug] 9814\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:22:29 [debug] 9814\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:22:29 [debug] 9814\#0: *1 http special response: 500, "/test?" 2022/05/27 16:22:29 [debug] 9814\#0: *1 http set discard body 2022/05/27 16:22:29 [debug] 9814\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 32: semaphore wait time is zero - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 32: semaphore wait time is zero - 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: 'timeout ' |
semaphore.t | TEST 32: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:31 [error] 9814\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:48):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:48):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:22:31 [debug] 9814\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:22:31 [debug] 9814\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:22:31 [debug] 9814\#0: *2 http special response: 500, "/test?" 2022/05/27 16:22:31 [debug] 9814\#0: *2 http set discard body 2022/05/27 16:22:31 [debug] 9814\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 20: semaphore wait in timer.at - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 20: semaphore wait in timer.at - 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 ' |
semaphore.t | TEST 20: semaphore wait in timer.at - pattern "wait success" should match a line in error.log (req 0) | |
semaphore.t | TEST 20: semaphore wait in timer.at - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 20: semaphore wait in timer.at - 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 ' |
semaphore.t | TEST 20: semaphore wait in timer.at - pattern "wait success" should match a line in error.log (req 1) | |
semaphore.t | TEST 33: test semaphore gc - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 33: test semaphore gc - 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: 'success ' |
semaphore.t | TEST 33: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 0) | |
semaphore.t | TEST 33: test semaphore gc - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 33: test semaphore gc - 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: 'success ' |
semaphore.t | TEST 33: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 1) | |
semaphore.t | TEST 19: semaphore wait post in rewrite_by_lua - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 19: semaphore wait post in rewrite_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,7 @@ -enter wait +<html> -enter post +<head><title>500 Internal Server Error</title></head> -post success +<body> -wait success +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 19: semaphore wait post in rewrite_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:46 [error] 9907\#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' rewrite_by_lua(nginx.conf:65):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:22:46 [debug] 9907\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:22:46 [debug] 9907\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:22:46 [debug] 9907\#0: *1 http special response: 500, "/test?" 2022/05/27 16:22:46 [debug] 9907\#0: *1 http set discard body 2022/05/27 16:22:46 [debug] 9907\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 19: semaphore wait post in rewrite_by_lua - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 19: semaphore wait post in rewrite_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,7 @@ -enter wait +<html> -enter post +<head><title>500 Internal Server Error</title></head> -post success +<body> -wait success +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 19: semaphore wait post in rewrite_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:48 [error] 9907\#0: *2 lua entry thread aborted: runtime error: rewrite_by_lua(nginx.conf:65):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' rewrite_by_lua(nginx.conf:65):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:22:48 [debug] 9907\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:22:48 [debug] 9907\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:22:48 [debug] 9907\#0: *2 http special response: 500, "/test?" 2022/05/27 16:22:48 [debug] 9907\#0: *2 http set discard body 2022/05/27 16:22:48 [debug] 9907\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 30: main thread wait a light thread that is waiting on a semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 30: main thread wait a light thread that is waiting on a semaphore - 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: 'err: timeout ' |
semaphore.t | TEST 30: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:52 [error] 9938\#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:57):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:22:52 [debug] 9938\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:22:52 [debug] 9938\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:22:52 [debug] 9938\#0: *1 http special response: 500, "/test?" 2022/05/27 16:22:52 [debug] 9938\#0: *1 http set discard body 2022/05/27 16:22:52 [debug] 9938\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 30: main thread wait a light thread that is waiting on a semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 30: main thread wait a light thread that is waiting on a semaphore - 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: 'err: timeout ' |
semaphore.t | TEST 30: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:22:53 [error] 9938\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:57):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:57):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:22:53 [debug] 9938\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:22:53 [debug] 9938\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:22:53 [debug] 9938\#0: *2 http special response: 500, "/test?" 2022/05/27 16:22:53 [debug] 9938\#0: *2 http set discard body 2022/05/27 16:22:53 [debug] 9938\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 34: basic semaphore_mm alloc - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 34: basic semaphore_mm alloc - 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 ' |
semaphore.t | TEST 34: basic semaphore_mm alloc - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 34: basic semaphore_mm alloc - 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 ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,7 @@ -enter wait +<html> -enter post +<head><title>500 Internal Server Error</title></head> -post success +<body> -wait success +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:03 [error] 10006\#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' access_by_lua(nginx.conf:65):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:03 [debug] 10006\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:03 [debug] 10006\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:03 [debug] 10006\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:03 [debug] 10006\#0: *1 http set discard body 2022/05/27 16:23:03 [debug] 10006\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,7 @@ -enter wait +<html> -enter post +<head><title>500 Internal Server Error</title></head> -post success +<body> -wait success +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:05 [error] 10006\#0: *2 lua entry thread aborted: runtime error: access_by_lua(nginx.conf:65):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' access_by_lua(nginx.conf:65):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:05 [debug] 10006\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:05 [debug] 10006\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:05 [debug] 10006\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:05 [debug] 10006\#0: *2 http set discard body 2022/05/27 16:23:05 [debug] 10006\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 3: semaphore wait time=0 - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +1,7 @@ -wait success +<html> -err: timeout +<head><title>500 Internal Server Error</title></head> -enter 1s wait +<body> -back in main thread +<center><h1>500 Internal Server Error</h1></center> -err: timeout +<hr><center>nginx/1.15.8 (no pool)</center> -err: timeout +</body> -still in main thread +</html> -wait success in 1s wait -wait success -main thread end ' |
semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:09 [error] 10037\#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:85):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:09 [debug] 10037\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:09 [debug] 10037\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:09 [debug] 10037\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:09 [debug] 10037\#0: *1 http set discard body 2022/05/27 16:23:09 [debug] 10037\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 3: semaphore wait time=0 - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +1,7 @@ -wait success +<html> -err: timeout +<head><title>500 Internal Server Error</title></head> -enter 1s wait +<body> -back in main thread +<center><h1>500 Internal Server Error</h1></center> -err: timeout +<hr><center>nginx/1.15.8 (no pool)</center> -err: timeout +</body> -still in main thread +</html> -wait success in 1s wait -wait success -main thread end ' |
semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:10 [error] 10037\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:85):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:85):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:10 [debug] 10037\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:10 [debug] 10037\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:10 [debug] 10037\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:10 [debug] 10037\#0: *2 http set discard body 2022/05/27 16:23:10 [debug] 10037\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 1: basic semaphore in uthread - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,7 @@ -enter waiting +<html> -back in main thread +<head><title>500 Internal Server Error</title></head> -still in main thread +<body> -wait success +<center><h1>500 Internal Server Error</h1></center> -main thread end +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:14 [error] 10068\#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:67):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:14 [debug] 10068\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:14 [debug] 10068\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:14 [debug] 10068\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:14 [debug] 10068\#0: *1 http set discard body 2022/05/27 16:23:14 [debug] 10068\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 1: basic semaphore in uthread - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,7 @@ -enter waiting +<html> -back in main thread +<head><title>500 Internal Server Error</title></head> -still in main thread +<body> -wait success +<center><h1>500 Internal Server Error</h1></center> -main thread end +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:16 [error] 10068\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:67):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:67):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:16 [debug] 10068\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:16 [debug] 10068\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:16 [debug] 10068\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:16 [debug] 10068\#0: *2 http set discard body 2022/05/27 16:23:16 [debug] 10068\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 9: semaphore in set_by_lua (wait is not allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 9: semaphore in set_by_lua (wait is not allowed) - 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 ' |
semaphore.t | TEST 9: semaphore in set_by_lua (wait is not allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 9: semaphore in set_by_lua (wait is not allowed) - 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 ' |
semaphore.t | TEST 14: semaphore in header_filter_by_lua (wait not allowed) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 14: semaphore in header_filter_by_lua (wait not allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 14: semaphore in header_filter_by_lua (wait not allowed) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 14: semaphore in header_filter_by_lua (wait not allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
semaphore.t | TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,7 @@ -sem waiting start +<html> -thread waiting start +<head><title>500 Internal Server Error</title></head> -thread kill success +<body> -sem wait err: timeout +<center><h1>500 Internal Server Error</h1></center> -sem waiting done +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:29 [error] 10155\#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:77):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:29 [debug] 10155\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:29 [debug] 10155\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:29 [debug] 10155\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:29 [debug] 10155\#0: *1 http set discard body 2022/05/27 16:23:29 [debug] 10155\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,7 @@ -sem waiting start +<html> -thread waiting start +<head><title>500 Internal Server Error</title></head> -thread kill success +<body> -sem wait err: timeout +<center><h1>500 Internal Server Error</h1></center> -sem waiting done +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:30 [error] 10155\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:77):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:77):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:30 [debug] 10155\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:30 [debug] 10155\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:30 [debug] 10155\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:30 [debug] 10155\#0: *2 http set discard body 2022/05/27 16:23:30 [debug] 10155\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 21: semaphore post in header_filter_by_lua (subrequest) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ +500 + 200 -wait + -200 -post ' |
semaphore.t | TEST 21: semaphore post in header_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:34 [error] 10186\#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:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:34 [debug] 10186\#0: *1 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua restoring write event handler 2022/05/27 16:23:34 [debug] 10186\#0: *1 malloc: 04A75590:8 ' |
semaphore.t | TEST 21: semaphore post in header_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:34 [error] 10186\#0: *1 failed to run header_filter_by_lua*: header_filter_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 0) |
stack traceback: [C]: in function 'require' header_filter_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua exit with code 200 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua resume returned 1 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua thread yielded 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua thread aborting request with status 200 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:34 [debug] 10186\#0: *1 lua sending last buf of the response body ' |
semaphore.t | TEST 21: semaphore post in header_filter_by_lua (subrequest) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,4 @@ +500 + 200 -wait + -200 -post ' |
semaphore.t | TEST 21: semaphore post in header_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:36 [error] 10186\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:72):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:36 [debug] 10186\#0: *2 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua restoring write event handler 2022/05/27 16:23:36 [debug] 10186\#0: *2 malloc: 04A7CF70:8 ' |
semaphore.t | TEST 21: semaphore post in header_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:36 [error] 10186\#0: *2 failed to run header_filter_by_lua*: header_filter_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: [C]: in function 'require' header_filter_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua exit with code 200 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua resume returned 1 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua thread yielded 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua thread aborting request with status 200 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:36 [debug] 10186\#0: *2 lua sending last buf of the response body ' |
semaphore.t | TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - 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: 'true, nil ' |
semaphore.t | TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:39 [error] 10217\#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:66):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:39 [debug] 10217\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:39 [debug] 10217\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:39 [debug] 10217\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:39 [debug] 10217\#0: *1 http set discard body 2022/05/27 16:23:39 [debug] 10217\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - 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: 'true, nil ' |
semaphore.t | TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:41 [error] 10217\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:66):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:66):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:41 [debug] 10217\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:41 [debug] 10217\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:41 [debug] 10217\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:41 [debug] 10217\#0: *2 http set discard body 2022/05/27 16:23:41 [debug] 10217\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 25: two thread wait for each other - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 25: two thread wait for each other - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,7 @@ -count in B: 0 +<html> -count in A: 0 +<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> ' |
semaphore.t | TEST 25: two thread wait for each other - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:45 [error] 10248\#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:74):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:45 [debug] 10248\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:45 [debug] 10248\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:45 [debug] 10248\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:45 [debug] 10248\#0: *1 http set discard body 2022/05/27 16:23:45 [debug] 10248\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 25: two thread wait for each other - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 25: two thread wait for each other - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,7 @@ -count in B: 0 +<html> -count in A: 0 +<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> ' |
semaphore.t | TEST 25: two thread wait for each other - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:47 [error] 10248\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:74):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:74):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:47 [debug] 10248\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:47 [debug] 10248\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:47 [debug] 10248\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:47 [debug] 10248\#0: *2 http set discard body 2022/05/27 16:23:47 [debug] 10248\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 26: kill a light thread that is waiting on a semaphore (no resource) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 26: kill a light thread that is waiting on a semaphore (no resource) - 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 ' |
semaphore.t | TEST 26: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:51 [error] 10283\#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:58):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:51 [debug] 10283\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:23:51 [debug] 10283\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:51 [debug] 10283\#0: *1 http special response: 500, "/test?" 2022/05/27 16:23:51 [debug] 10283\#0: *1 http set discard body 2022/05/27 16:23:51 [debug] 10283\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 26: kill a light thread that is waiting on a semaphore (no resource) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 26: kill a light thread that is waiting on a semaphore (no resource) - 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 ' |
semaphore.t | TEST 26: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:23:52 [error] 10283\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:58):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:58):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:23:52 [debug] 10283\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:23:52 [debug] 10283\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:23:52 [debug] 10283\#0: *2 http special response: 500, "/test?" 2022/05/27 16:23:52 [debug] 10283\#0: *2 http set discard body 2022/05/27 16:23:52 [debug] 10283\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
semaphore.t | TEST 27: kill a light thread that is waiting on a semaphore (after post) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 27: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,7 @@ -ok +<html> -count: 1 +<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> ' |
semaphore.t | TEST 27: kill a light thread that is waiting on a semaphore (after post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:01 [error] 10343\#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:66):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:01 [debug] 10343\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:01 [debug] 10343\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:01 [debug] 10343\#0: *1 http special response: 500, "/test?" 2022/05/27 16:24:01 [debug] 10343\#0: *1 http set discard body 2022/05/27 16:24:01 [debug] 10343\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 27: kill a light thread that is waiting on a semaphore (after post) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 27: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,7 @@ -ok +<html> -count: 1 +<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> ' |
semaphore.t | TEST 27: kill a light thread that is waiting on a semaphore (after post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:02 [error] 10343\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:66):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:66):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:02 [debug] 10343\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:02 [debug] 10343\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:02 [debug] 10343\#0: *2 http special response: 500, "/test?" 2022/05/27 16:24:02 [debug] 10343\#0: *2 http set discard body 2022/05/27 16:24:02 [debug] 10343\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,7 @@ -sem waiting +<html> -ok +<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> ' |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - pattern "http lua semaphore cleanup" should match a line in error.log (req 0) | |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,7 @@ -sem waiting +<html> -ok +<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> ' |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - pattern "http lua semaphore cleanup" should match a line in error.log (req 1) | |
semaphore.t | TEST 23: semaphore post in set_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ -200 +500 -wait + -200 +500 -post + ' |
semaphore.t | TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:12 [error] 10405\#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:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:24:12 [debug] 10405\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:12 [debug] 10405\#0: *1 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:24:12 [debug] 10405\#0: *1 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:24:12 [debug] 10405\#0: *1 lua restoring write event handler 2022/05/27 16:24:12 [debug] 10405\#0: *1 malloc: 04A75A10:8 ' |
semaphore.t | TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:12 [error] 10405\#0: *1 failed to run set_by_lua*: set_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 0) |
stack traceback: [C]: in function 'require' set_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:24:12 [debug] 10405\#0: *1 http finalize request: 500, "/sem_post?" a:0, c:2 2022/05/27 16:24:12 [debug] 10405\#0: *1 lua run post subrequest handler, rc:500 c:2 2022/05/27 16:24:12 [debug] 10405\#0: *1 lua restoring write event handler 2022/05/27 16:24:12 [debug] 10405\#0: *1 malloc: 04A76E78:8 2022/05/27 16:24:12 [debug] 10405\#0: *1 malloc: 04A76EB0:8 2022/05/27 16:24:12 [debug] 10405\#0: *1 lua capture header filter, uri "/sem_post" ' |
semaphore.t | TEST 23: semaphore post in set_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,4 @@ -200 +500 -wait + -200 +500 -post + ' |
semaphore.t | TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:13 [error] 10405\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:72):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:24:13 [debug] 10405\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:13 [debug] 10405\#0: *2 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:24:13 [debug] 10405\#0: *2 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:24:13 [debug] 10405\#0: *2 lua restoring write event handler 2022/05/27 16:24:13 [debug] 10405\#0: *2 malloc: 04A7CB40:8 ' |
semaphore.t | TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:13 [error] 10405\#0: *2 failed to run set_by_lua*: set_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: [C]: in function 'require' set_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:24:13 [debug] 10405\#0: *2 http finalize request: 500, "/sem_post?" a:0, c:2 2022/05/27 16:24:13 [debug] 10405\#0: *2 lua run post subrequest handler, rc:500 c:2 2022/05/27 16:24:13 [debug] 10405\#0: *2 lua restoring write event handler 2022/05/27 16:24:13 [debug] 10405\#0: *2 malloc: 04A7D040:8 2022/05/27 16:24:13 [debug] 10405\#0: *2 malloc: 04A7D078:8 2022/05/27 16:24:13 [debug] 10405\#0: *2 lua capture header filter, uri "/sem_post" ' |
semaphore.t | TEST 31: multi wait and mult post with one semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 31: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +1,7 @@ -wait: 1 +<html> -wait: 2 +<head><title>500 Internal Server Error</title></head> -wait: 3 +<body> -post: 1 +<center><h1>500 Internal Server Error</h1></center> -post: 2 +<hr><center>nginx/1.15.8 (no pool)</center> -post: 3 +</body> -wait success: 1 +</html> -wait success: 2 -wait success: 3 ' |
semaphore.t | TEST 31: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:17 [error] 10436\#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:73):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:17 [debug] 10436\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:17 [debug] 10436\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:17 [debug] 10436\#0: *1 http special response: 500, "/test?" 2022/05/27 16:24:17 [debug] 10436\#0: *1 http set discard body 2022/05/27 16:24:17 [debug] 10436\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 31: multi wait and mult post with one semaphore - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 31: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,7 @@ -wait: 1 +<html> -wait: 2 +<head><title>500 Internal Server Error</title></head> -wait: 3 +<body> -post: 1 +<center><h1>500 Internal Server Error</h1></center> -post: 2 +<hr><center>nginx/1.15.8 (no pool)</center> -post: 3 +</body> -wait success: 1 +</html> -wait success: 2 -wait success: 3 ' |
semaphore.t | TEST 31: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:19 [error] 10436\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:73):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:73):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:19 [debug] 10436\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:19 [debug] 10436\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:19 [debug] 10436\#0: *2 http special response: 500, "/test?" 2022/05/27 16:24:19 [debug] 10436\#0: *2 http set discard body 2022/05/27 16:24:19 [debug] 10436\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 12: semaphore in content_by_lua (all allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 12: semaphore in content_by_lua (all allowed) - 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 ' |
semaphore.t | TEST 12: semaphore in content_by_lua (all allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 12: semaphore in content_by_lua (all allowed) - 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 ' |
semaphore.t | TEST 2: semaphore wait order - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 2: semaphore wait order - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +1,7 @@ -enter waiting, id: 1 +<html> -enter waiting, id: 2 +<head><title>500 Internal Server Error</title></head> -back in main thread +<body> -wait failed in main thread: timeout +<center><h1>500 Internal Server Error</h1></center> -still in main thread +<hr><center>nginx/1.15.8 (no pool)</center> -wait success, id: 1 +</body> -wait success, id: 2 +</html> -wait failed in main thread: timeout -main thread end ' |
semaphore.t | TEST 2: semaphore wait order - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:29 [error] 10504\#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:82):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:29 [debug] 10504\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:29 [debug] 10504\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:29 [debug] 10504\#0: *1 http special response: 500, "/test?" 2022/05/27 16:24:29 [debug] 10504\#0: *1 http set discard body 2022/05/27 16:24:29 [debug] 10504\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 2: semaphore wait order - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 2: semaphore wait order - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,7 @@ -enter waiting, id: 1 +<html> -enter waiting, id: 2 +<head><title>500 Internal Server Error</title></head> -back in main thread +<body> -wait failed in main thread: timeout +<center><h1>500 Internal Server Error</h1></center> -still in main thread +<hr><center>nginx/1.15.8 (no pool)</center> -wait success, id: 1 +</body> -wait success, id: 2 +</html> -wait failed in main thread: timeout -main thread end ' |
semaphore.t | TEST 2: semaphore wait order - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:30 [error] 10504\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:82):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:82):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:30 [debug] 10504\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:30 [debug] 10504\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:30 [debug] 10504\#0: *2 http special response: 500, "/test?" 2022/05/27 16:24:30 [debug] 10504\#0: *2 http set discard body 2022/05/27 16:24:30 [debug] 10504\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - 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 ' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 0) | |
semaphore.t | TEST 36: basic semaphore_mm free insert head - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - 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 ' |
semaphore.t | TEST 36: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 1) | |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - 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 ' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 0) | |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - 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 ' |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 1) | |
semaphore.t | TEST 24: semaphore post in timer.at - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 24: semaphore post in timer.at - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,7 @@ -200 +<html> -wait +<head><title>500 Internal Server Error</title></head> -200 +<body> -post +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 24: semaphore post in timer.at - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:45 [error] 10619\#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:52):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:45 [debug] 10619\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:45 [debug] 10619\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:45 [debug] 10619\#0: *1 http special response: 500, "/test?" 2022/05/27 16:24:45 [debug] 10619\#0: *1 http set discard body 2022/05/27 16:24:45 [debug] 10619\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 24: semaphore post in timer.at - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 24: semaphore post in timer.at - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,7 @@ -200 +<html> -wait +<head><title>500 Internal Server Error</title></head> -200 +<body> -post +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 24: semaphore post in timer.at - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:47 [error] 10619\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:52):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:52):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:47 [debug] 10619\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:47 [debug] 10619\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:47 [debug] 10619\#0: *2 http special response: 500, "/test?" 2022/05/27 16:24:47 [debug] 10619\#0: *2 http set discard body 2022/05/27 16:24:47 [debug] 10619\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 38: basic semaphore count - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 38: basic semaphore count - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,7 @@ -10 +<html> -9 +<head><title>500 Internal Server Error</title></head> -12 +<body> +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 38: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:51 [error] 10653\#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:54):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:51 [debug] 10653\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:51 [debug] 10653\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:51 [debug] 10653\#0: *1 http special response: 500, "/test?" 2022/05/27 16:24:51 [debug] 10653\#0: *1 http set discard body 2022/05/27 16:24:51 [debug] 10653\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 38: basic semaphore count - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 38: basic semaphore count - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,7 @@ -10 +<html> -9 +<head><title>500 Internal Server Error</title></head> -12 +<body> +<center><h1>500 Internal Server Error</h1></center> +<hr><center>nginx/1.15.8 (no pool)</center> +</body> +</html> ' |
semaphore.t | TEST 38: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:53 [error] 10653\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:54):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:54):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:24:53 [debug] 10653\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:53 [debug] 10653\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:24:53 [debug] 10653\#0: *2 http special response: 500, "/test?" 2022/05/27 16:24:53 [debug] 10653\#0: *2 http set discard body 2022/05/27 16:24:53 [debug] 10653\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 4: basic semaphore in subrequest - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ -200 +500 -wait + -200 +500 -post + ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:57 [error] 10684\#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:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:24:57 [debug] 10684\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:57 [debug] 10684\#0: *1 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:24:57 [debug] 10684\#0: *1 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:24:57 [debug] 10684\#0: *1 lua restoring write event handler 2022/05/27 16:24:57 [debug] 10684\#0: *1 malloc: 04A75B08:8 ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:57 [error] 10684\#0: *1 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:94):2: loop or previous error loading module 'ngx.semaphore'" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:94):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:24:57 [debug] 10684\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:24:57 [debug] 10684\#0: *1 http finalize request: 500, "/sem_post?" a:0, c:2 2022/05/27 16:24:57 [debug] 10684\#0: *1 lua run post subrequest handler, rc:500 c:2 2022/05/27 16:24:57 [debug] 10684\#0: *1 lua restoring write event handler 2022/05/27 16:24:57 [debug] 10684\#0: *1 malloc: 04A772C0:8 ' |
semaphore.t | TEST 4: basic semaphore in subrequest - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,4 @@ -200 +500 -wait + -200 +500 -post + ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:58 [error] 10684\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:72):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:24:58 [debug] 10684\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:58 [debug] 10684\#0: *2 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:24:58 [debug] 10684\#0: *2 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:24:58 [debug] 10684\#0: *2 lua restoring write event handler 2022/05/27 16:24:58 [debug] 10684\#0: *2 malloc: 04A7CF80:8 ' |
semaphore.t | TEST 4: basic semaphore in subrequest - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:24:58 [error] 10684\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:94):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:94):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:24:58 [debug] 10684\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:24:58 [debug] 10684\#0: *2 http finalize request: 500, "/sem_post?" a:0, c:2 2022/05/27 16:24:58 [debug] 10684\#0: *2 lua run post subrequest handler, rc:500 c:2 2022/05/27 16:24:58 [debug] 10684\#0: *2 lua restoring write event handler 2022/05/27 16:24:58 [debug] 10684\#0: *2 malloc: 04A7D2D8:8 ' |
semaphore.t | TEST 37: semaphore_mm free block (load <= 50% & the on the older side) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 37: semaphore_mm free block (load <= 50% & the on the older side) - 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 ' |
semaphore.t | TEST 37: semaphore_mm free block (load <= 50% & the on the older side) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 37: semaphore_mm free block (load <= 50% & the on the older side) - 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 ' |
semaphore.t | TEST 39: basic semaphore count (negative number) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 39: basic semaphore count (negative number) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,7 @@ -0 +<html> --1 +<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> ' |
semaphore.t | TEST 39: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:12 [error] 10777\#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:54):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:25:12 [debug] 10777\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:25:12 [debug] 10777\#0: *1 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:25:12 [debug] 10777\#0: *1 http special response: 500, "/test?" 2022/05/27 16:25:12 [debug] 10777\#0: *1 http set discard body 2022/05/27 16:25:12 [debug] 10777\#0: *1 lua capture header filter, uri "/test" ' |
semaphore.t | TEST 39: basic semaphore count (negative number) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 39: basic semaphore count (negative number) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,7 @@ -0 +<html> --1 +<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> ' |
semaphore.t | TEST 39: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:14 [error] 10777\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:54):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:54):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", host: "localhost" 2022/05/27 16:25:14 [debug] 10777\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:25:14 [debug] 10777\#0: *2 http finalize request: 500, "/test?" a:1, c:1 2022/05/27 16:25:14 [debug] 10777\#0: *2 http special response: 500, "/test?" 2022/05/27 16:25:14 [debug] 10777\#0: *2 http set discard body 2022/05/27 16:25:14 [debug] 10777\#0: *2 lua capture header filter, uri "/test" ' |
semaphore.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
semaphore.t | TEST 10: semaphore in rewrite_by_lua (all allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 10: semaphore in rewrite_by_lua (all allowed) - 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 ' |
semaphore.t | TEST 10: semaphore in rewrite_by_lua (all allowed) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 10: semaphore in rewrite_by_lua (all allowed) - 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 ' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - 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: 'sem wait successfully. ' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:27 [error] 10866\#0: init_worker_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/ngx/semaphore.lua:7: in main chunk [C]: in function 'require' init_worker_by_lua:2: in main chunk 2022/05/27 16:25:27 [debug] 10866\#0: free: 04A655F8, unused: 0 2022/05/27 16:25:27 [debug] 10866\#0: free: 04A654B0, unused: 0 ' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:28 [error] 10866\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:63):3: attempt to index local 'sem' (a nil value)" (req 0) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:63): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2022/05/27 16:25:28 [debug] 10866\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:25:28 [debug] 10866\#0: *2 http finalize request: 500, "/t?" a:1, c:1 2022/05/27 16:25:28 [debug] 10866\#0: *2 http special response: 500, "/t?" 2022/05/27 16:25:28 [debug] 10866\#0: *2 http set discard body 2022/05/27 16:25:28 [debug] 10866\#0: *2 lua capture header filter, uri "/t" 2022/05/27 16:25:28 [debug] 10866\#0: *2 malloc: 04A7AC78:52 ' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - status code ok |
got: '500' expected: '200' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - 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: 'sem wait successfully. ' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:30 [error] 10866\#0: *3 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:63):3: attempt to index local 'sem' (a nil value)" (req 1) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:63): in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2022/05/27 16:25:30 [debug] 10866\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:25:30 [debug] 10866\#0: *3 http finalize request: 500, "/t?" a:1, c:1 2022/05/27 16:25:30 [debug] 10866\#0: *3 http special response: 500, "/t?" 2022/05/27 16:25:30 [debug] 10866\#0: *3 http set discard body 2022/05/27 16:25:30 [debug] 10866\#0: *3 lua capture header filter, uri "/t" 2022/05/27 16:25:30 [debug] 10866\#0: *3 malloc: 04A7CAF8:52 ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -200 -wait -200 -post ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:34 [error] 10903\#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:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua request cleanup: forcible=0 2022/05/27 16:25:34 [debug] 10903\#0: *1 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua restoring write event handler 2022/05/27 16:25:34 [debug] 10903\#0: *1 malloc: 04A75598:8 ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:34 [error] 10903\#0: *1 failed to run body_filter_by_lua*: body_filter_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 0) |
stack traceback: [C]: in function 'require' body_filter_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:25:34 [debug] 10903\#0: *1 http copy filter: -1 "/sem_post?" 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua exit with code 200 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua resume returned 1 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua thread yielded 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua thread aborting request with status 200 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua request cleanup: forcible=0 ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:34 [error] 10903\#0: *1 failed to run body_filter_by_lua*: body_filter_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 0) |
stack traceback: [C]: in function 'require' body_filter_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:25:34 [debug] 10903\#0: *1 http copy filter: -1 "/sem_post?" 2022/05/27 16:25:34 [debug] 10903\#0: *1 http finalize request: -1, "/sem_post?" a:0, c:2 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua run post subrequest handler, rc:-1 c:2 2022/05/27 16:25:34 [debug] 10903\#0: *1 lua restoring write event handler 2022/05/27 16:25:34 [debug] 10903\#0: *1 malloc: 04A77368:8 2022/05/27 16:25:34 [debug] 10903\#0: *1 malloc: 04A773A0:8 ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - status code ok |
got: '' expected: '200' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -200 -wait -200 -post ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:34 [error] 10903\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:72):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:72):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_wait", host: "localhost" 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua request cleanup: forcible=0 2022/05/27 16:25:34 [debug] 10903\#0: *2 http finalize request: 500, "/sem_wait?" a:0, c:3 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua run post subrequest handler, rc:500 c:3 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua restoring write event handler 2022/05/27 16:25:34 [debug] 10903\#0: *2 malloc: 04A7AC48:8 ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:34 [error] 10903\#0: *2 failed to run body_filter_by_lua*: body_filter_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: [C]: in function 'require' body_filter_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:25:34 [debug] 10903\#0: *2 http copy filter: -1 "/sem_post?" 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua exit with code 200 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua resume returned 1 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua thread yielded 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua thread aborting request with status 200 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua request cleanup: forcible=0 ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:34 [error] 10903\#0: *2 failed to run body_filter_by_lua*: body_filter_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: [C]: in function 'require' body_filter_by_lua:2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /test HTTP/1.1", subrequest: "/sem_post", host: "localhost" 2022/05/27 16:25:34 [debug] 10903\#0: *2 http copy filter: -1 "/sem_post?" 2022/05/27 16:25:34 [debug] 10903\#0: *2 http finalize request: -1, "/sem_post?" a:0, c:2 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua run post subrequest handler, rc:-1 c:2 2022/05/27 16:25:34 [debug] 10903\#0: *2 lua restoring write event handler 2022/05/27 16:25:34 [debug] 10903\#0: *2 malloc: 04A7B368:8 2022/05/27 16:25:34 [debug] 10903\#0: *2 malloc: 04A7B3A0:8 ' |
sha1-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
sha1-bin.t | TEST 2: set sha1_bin (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 2: set sha1_bin (nil) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 2: set sha1_bin (nil) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 2: set sha1_bin (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
sha1-bin.t | TEST 2: set sha1_bin (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:36 [error] 10925\#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' ' |
sha1-bin.t | TEST 2: set sha1_bin (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 2: set sha1_bin (nil) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 2: set sha1_bin (nil) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 2: set sha1_bin (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
sha1-bin.t | TEST 2: set sha1_bin (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:36 [error] 10925\#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' ' |
sha1-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
sha1-bin.t | TEST 3: set sha1_bin (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 3: set sha1_bin (number) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 3: set sha1_bin (number) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 3: set sha1_bin (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
sha1-bin.t | TEST 3: set sha1_bin (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:41 [error] 10952\#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' ' |
sha1-bin.t | TEST 3: set sha1_bin (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 3: set sha1_bin (number) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 3: set sha1_bin (number) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 3: set sha1_bin (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
sha1-bin.t | TEST 3: set sha1_bin (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:41 [error] 10952\#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' ' |
sha1-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:45 [error] 10985\#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' ' |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
sha1-bin.t | TEST 4: set sha1_bin (boolean) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:45 [error] 10985\#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' ' |
sha1-bin.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
sha1-bin.t | TEST 1: set sha1_bin (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 1: set sha1_bin (string) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 1: set sha1_bin (string) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 1: set sha1_bin (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
sha1-bin.t | TEST 1: set sha1_bin (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:50 [error] 11012\#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' ' |
sha1-bin.t | TEST 1: set sha1_bin (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
sha1-bin.t | TEST 1: set sha1_bin (string) - status code ok |
got: '' expected: '200' |
sha1-bin.t | TEST 1: set sha1_bin (string) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "20\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
sha1-bin.t | TEST 1: set sha1_bin (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
sha1-bin.t | TEST 1: set sha1_bin (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:50 [error] 11012\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 1: shared.ttl errors on nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 1: shared.ttl errors on nil key - status code ok |
got: '' expected: '200' |
shared.t | TEST 1: shared.ttl errors on nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get ttl: nil key ' |
shared.t | TEST 1: shared.ttl errors on nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:55 [error] 11042\#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' ' |
shared.t | TEST 1: shared.ttl errors on nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 1: shared.ttl errors on nil key - status code ok |
got: '' expected: '200' |
shared.t | TEST 1: shared.ttl errors on nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get ttl: nil key ' |
shared.t | TEST 1: shared.ttl errors on nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:55 [error] 11042\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - status code ok |
got: '' expected: '200' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'after 0.2s: true after 0.4s: nil ' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:59 [error] 11075\#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' ' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - status code ok |
got: '' expected: '200' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'after 0.2s: true after 0.4s: nil ' |
shared.t | TEST 12: shared.expire updates ttl of key with non-default ttl - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:25:59 [error] 11075\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - status code ok |
got: '' expected: '200' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '0 sleep for 0.1s... 0 ' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:04 [error] 11102\#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' ' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - status code ok |
got: '' expected: '200' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '0 sleep for 0.1s... 0 ' |
shared.t | TEST 6: shared.ttl returns key ttl for default ttl (0) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:04 [error] 11102\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 11: shared.expire returns error on not found key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 11: shared.expire returns error on not found key - status code ok |
got: '' expected: '200' |
shared.t | TEST 11: shared.expire returns error on not found key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set ttl: not found ' |
shared.t | TEST 11: shared.expire returns error on not found key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:08 [error] 11129\#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' ' |
shared.t | TEST 11: shared.expire returns error on not found key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 11: shared.expire returns error on not found key - status code ok |
got: '' expected: '200' |
shared.t | TEST 11: shared.expire returns error on not found key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set ttl: not found ' |
shared.t | TEST 11: shared.expire returns error on not found key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:08 [error] 11129\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - status code ok |
got: '' expected: '200' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - response_body_like - response is expected () |
'' doesn't match '(?^s:\A0.1 sleep for 0.2s... -0.\d* \z)' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:13 [error] 11156\#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' ' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - status code ok |
got: '' expected: '200' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - response_body_like - response is expected () |
'' doesn't match '(?^s:\A0.1 sleep for 0.2s... -0.\d* \z)' |
shared.t | TEST 5: shared.ttl returns key ttl for non-default (negative) ttl - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:13 [error] 11156\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - status code ok |
got: '' expected: '200' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:17 [error] 11183\#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' ' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - status code ok |
got: '' expected: '200' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:17 [error] 11183\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 7: shared.ttl JIT compiles - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 7: shared.ttl JIT compiles - status code ok |
got: '' expected: '200' |
shared.t | TEST 7: shared.ttl JIT compiles - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
shared.t | TEST 7: shared.ttl JIT compiles - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:22 [error] 11216\#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' ' |
shared.t | TEST 7: shared.ttl JIT compiles - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 7: shared.ttl JIT compiles - status code ok |
got: '' expected: '200' |
shared.t | TEST 7: shared.ttl JIT compiles - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
shared.t | TEST 7: shared.ttl JIT compiles - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:22 [error] 11216\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 3: shared.ttl returns error on not found key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 3: shared.ttl returns error on not found key - status code ok |
got: '' expected: '200' |
shared.t | TEST 3: shared.ttl returns error on not found key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get ttl: not found ' |
shared.t | TEST 3: shared.ttl returns error on not found key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:26 [error] 11243\#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' ' |
shared.t | TEST 3: shared.ttl returns error on not found key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 3: shared.ttl returns error on not found key - status code ok |
got: '' expected: '200' |
shared.t | TEST 3: shared.ttl returns error on not found key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get ttl: not found ' |
shared.t | TEST 3: shared.ttl returns error on not found key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:26 [error] 11243\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 8: shared.expire errors on invalid exptime - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 8: shared.expire errors on invalid exptime - status code ok |
got: '' expected: '200' |
shared.t | TEST 8: shared.expire errors on invalid exptime - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'bad "exptime" argument ' |
shared.t | TEST 8: shared.expire errors on invalid exptime - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:31 [error] 11270\#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' ' |
shared.t | TEST 8: shared.expire errors on invalid exptime - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 8: shared.expire errors on invalid exptime - status code ok |
got: '' expected: '200' |
shared.t | TEST 8: shared.expire errors on invalid exptime - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'bad "exptime" argument ' |
shared.t | TEST 8: shared.expire errors on invalid exptime - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:31 [error] 11270\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 2: shared.ttl errors on empty key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 2: shared.ttl errors on empty key - status code ok |
got: '' expected: '200' |
shared.t | TEST 2: shared.ttl errors on empty key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get ttl: empty key ' |
shared.t | TEST 2: shared.ttl errors on empty key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:35 [error] 11297\#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' ' |
shared.t | TEST 2: shared.ttl errors on empty key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 2: shared.ttl errors on empty key - status code ok |
got: '' expected: '200' |
shared.t | TEST 2: shared.ttl errors on empty key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get ttl: empty key ' |
shared.t | TEST 2: shared.ttl errors on empty key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:35 [error] 11297\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 9: shared.expire returns error on nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 9: shared.expire returns error on nil key - status code ok |
got: '' expected: '200' |
shared.t | TEST 9: shared.expire returns error on nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set ttl: nil key ' |
shared.t | TEST 9: shared.expire returns error on nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:40 [error] 11330\#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' ' |
shared.t | TEST 9: shared.expire returns error on nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 9: shared.expire returns error on nil key - status code ok |
got: '' expected: '200' |
shared.t | TEST 9: shared.expire returns error on nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set ttl: nil key ' |
shared.t | TEST 9: shared.expire returns error on nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:40 [error] 11330\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - status code ok |
got: '' expected: '200' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'after set: true after 0.4s: nil ' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:44 [error] 11357\#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' ' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - status code ok |
got: '' expected: '200' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'after set: true after 0.4s: nil ' |
shared.t | TEST 13: shared.expire updates ttl of key with default ttl (0) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:44 [error] 11357\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 10: shared.expire returns error on empty key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 10: shared.expire returns error on empty key - status code ok |
got: '' expected: '200' |
shared.t | TEST 10: shared.expire returns error on empty key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set ttl: empty key ' |
shared.t | TEST 10: shared.expire returns error on empty key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:49 [error] 11384\#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' ' |
shared.t | TEST 10: shared.expire returns error on empty key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 10: shared.expire returns error on empty key - status code ok |
got: '' expected: '200' |
shared.t | TEST 10: shared.expire returns error on empty key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set ttl: empty key ' |
shared.t | TEST 10: shared.expire returns error on empty key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:49 [error] 11384\#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' ' |
shared.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shared.t | TEST 14: shared.expire JIT compiles - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 14: shared.expire JIT compiles - status code ok |
got: '' expected: '200' |
shared.t | TEST 14: shared.expire JIT compiles - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 0) | |
shared.t | TEST 14: shared.expire JIT compiles - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:53 [error] 11411\#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' ' |
shared.t | TEST 14: shared.expire JIT compiles - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shared.t | TEST 14: shared.expire JIT compiles - status code ok |
got: '' expected: '200' |
shared.t | TEST 14: shared.expire JIT compiles - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 1) | |
shared.t | TEST 14: shared.expire JIT compiles - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:53 [error] 11411\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 5: get a number value (int) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 5: get a number value (int) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
shdict.t | TEST 5: get a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 5: get a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:58 [error] 11447\#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' ' |
shdict.t | TEST 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 5: get a number value (int) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 5: get a number value (int) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
shdict.t | TEST 5: get a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 5: get a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:26:58 [error] 11447\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 3: get a boolean value (true) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
shdict.t | TEST 3: get a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 3: get a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:03 [error] 11474\#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' ' |
shdict.t | TEST 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 3: get a boolean value (true) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
shdict.t | TEST 3: get a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 3: get a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:03 [error] 11474\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 9: get_stale (true) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 9: get_stale (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: true ' |
shdict.t | TEST 9: get_stale (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):13 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 9: get_stale (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:07 [error] 11501\#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' ' |
shdict.t | TEST 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 9: get_stale (true) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 9: get_stale (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: true ' |
shdict.t | TEST 9: get_stale (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):13 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 9: get_stale (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:07 [error] 11501\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 24: get nil key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 24: get nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get: nil key ' |
shdict.t | TEST 24: get nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:12 [error] 11533\#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' ' |
shdict.t | TEST 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 24: get nil key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 24: get nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get: nil key ' |
shdict.t | TEST 24: get nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:12 [error] 11533\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 13: set a boolean value (true) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
shdict.t | TEST 13: set a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 13: set a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:16 [error] 11561\#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' ' |
shdict.t | TEST 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 13: set a boolean value (true) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
shdict.t | TEST 13: set a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 13: set a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:16 [error] 11561\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 6: get a number value (double) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 6: get a number value (double) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
shdict.t | TEST 6: get a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 6: get a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:21 [error] 11588\#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' ' |
shdict.t | TEST 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 6: get a number value (double) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 6: get a number value (double) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
shdict.t | TEST 6: get a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 6: get a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:21 [error] 11588\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 7: get a large string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 7: get a large string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
shdict.t | TEST 7: get a large string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 7: get a large string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:25 [error] 11615\#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' ' |
shdict.t | TEST 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 7: get a large string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 7: get a large string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
shdict.t | TEST 7: get a large string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 7: get a large string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:25 [error] 11615\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok |
got: '' expected: '200' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:30 [error] 11642\#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' ' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok |
got: '' expected: '200' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:30 [error] 11642\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 12: set a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 12: set a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 12: set a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 12: set a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:34 [error] 11675\#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' ' |
shdict.t | TEST 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 12: set a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 12: set a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 12: set a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 12: set a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:34 [error] 11675\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 22: set a number value and delete - status code ok |
got: '' expected: '200' |
shdict.t | TEST 22: set a number value and delete - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 22: set a number value and delete - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 22: set a number value and delete - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:39 [error] 11702\#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' ' |
shdict.t | TEST 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 22: set a number value and delete - status code ok |
got: '' expected: '200' |
shdict.t | TEST 22: set a number value and delete - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 22: set a number value and delete - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 22: set a number value and delete - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:39 [error] 11702\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -incr: 10502 nil false -incr: 10502 nil true -foo = 10502 -foo after init_ttl = nil ' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:43 [error] 11729\#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' ' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -incr: 10502 nil false -incr: 10502 nil true -foo = 10502 -foo after init_ttl = nil ' |
shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:43 [error] 11729\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10502 nil -foo = 10502 -foo after init_ttl = nil ' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:48 [error] 11756\#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' ' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10502 nil -foo = 10502 -foo after init_ttl = nil ' |
shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:48 [error] 11756\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 16: set a number value (double) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 16: set a number value (double) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
shdict.t | TEST 16: set a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 16: set a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:52 [error] 11789\#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' ' |
shdict.t | TEST 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 16: set a number value (double) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 16: set a number value (double) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
shdict.t | TEST 16: set a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 16: set a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:52 [error] 11789\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok |
got: '' expected: '200' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:57 [error] 11816\#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' ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok |
got: '' expected: '200' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:27:57 [error] 11816\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 26: incr key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 26: incr key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to incr: nil key ' |
shdict.t | TEST 26: incr key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:01 [error] 11843\#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' ' |
shdict.t | TEST 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 26: incr key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 26: incr key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to incr: nil key ' |
shdict.t | TEST 26: incr key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:01 [error] 11843\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:06 [error] 11870\#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' ' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:06 [error] 11870\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '500' |
shdict.t | TEST 30: incr, init is not number - response_body_like - response is expected () |
'' doesn't match '(?^s:500)' |
shdict.t | TEST 30: incr, init is not number - pattern "number expected, got string" should match a line in error.log (req 0) | |
shdict.t | TEST 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '500' |
shdict.t | TEST 30: incr, init is not number - response_body_like - response is expected () |
'' doesn't match '(?^s:500)' |
shdict.t | TEST 30: incr, init is not number - pattern "number expected, got string" should match a line in error.log (req 1) | |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 41: incr init_ttl argument without init - status code ok |
got: '' expected: '200' |
shdict.t | TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: must provide "init" when providing "init_ttl" ' |
shdict.t | TEST 41: incr init_ttl argument without init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:15 [error] 11930\#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' ' |
shdict.t | TEST 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 41: incr init_ttl argument without init - status code ok |
got: '' expected: '200' |
shdict.t | TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: must provide "init" when providing "init_ttl" ' |
shdict.t | TEST 41: incr init_ttl argument without init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:15 [error] 11930\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 10: incr int - status code ok |
got: '' expected: '200' |
shdict.t | TEST 10: incr int - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -value: 256 -err: nil ' |
shdict.t | TEST 10: incr int - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 10: incr int - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:19 [error] 11957\#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' ' |
shdict.t | TEST 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 10: incr int - status code ok |
got: '' expected: '200' |
shdict.t | TEST 10: incr int - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -value: 256 -err: nil ' |
shdict.t | TEST 10: incr int - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 10: incr int - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:19 [error] 11957\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 17: set a number value and a nil - status code ok |
got: '' expected: '200' |
shdict.t | TEST 17: set a number value and a nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 17: set a number value and a nil - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 17: set a number value and a nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:24 [error] 11984\#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' ' |
shdict.t | TEST 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 17: set a number value and a nil - status code ok |
got: '' expected: '200' |
shdict.t | TEST 17: set a number value and a nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 17: set a number value and a nil - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 17: set a number value and a nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:24 [error] 11984\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 14: set a boolean value (false) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
shdict.t | TEST 14: set a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 14: set a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:28 [error] 12011\#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' ' |
shdict.t | TEST 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 14: set a boolean value (false) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
shdict.t | TEST 14: set a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 14: set a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:28 [error] 12011\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 38: free_space, full (100k) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 38: free_space, full (100k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=736 )?free_page_bytes type: number free_page_bytes: (?:0|32768) \z)' |
shdict.t | TEST 38: free_space, full (100k) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:33 [error] 12044\#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' ' |
shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 38: free_space, full (100k) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 38: free_space, full (100k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=736 )?free_page_bytes type: number free_page_bytes: (?:0|32768) \z)' |
shdict.t | TEST 38: free_space, full (100k) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:33 [error] 12044\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 34: free_space, about half full, one page left - status code ok |
got: '' expected: '200' |
shdict.t | TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
shdict.t | TEST 34: free_space, about half full, one page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:37 [error] 12071\#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' ' |
shdict.t | TEST 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 34: free_space, about half full, one page left - status code ok |
got: '' expected: '200' |
shdict.t | TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
shdict.t | TEST 34: free_space, about half full, one page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:37 [error] 12071\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 4: get a boolean value (false) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
shdict.t | TEST 4: get a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 4: get a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:42 [error] 12098\#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' ' |
shdict.t | TEST 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 4: get a boolean value (false) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
shdict.t | TEST 4: get a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 4: get a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:42 [error] 12098\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 29: incr with init - status code ok |
got: '' expected: '200' |
shdict.t | TEST 29: incr with init - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -failed to incr: not found -incr ok, value: 20, forcible: false ' |
shdict.t | TEST 29: incr with init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:46 [error] 12125\#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' ' |
shdict.t | TEST 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 29: incr with init - status code ok |
got: '' expected: '200' |
shdict.t | TEST 29: incr with init - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -failed to incr: not found -incr ok, value: 20, forcible: false ' |
shdict.t | TEST 29: incr with init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:46 [error] 12125\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 35: free_space, about half full, no page left - status code ok |
got: '' expected: '200' |
shdict.t | TEST 35: free_space, about half full, no page left - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:0|4096) \z)' |
shdict.t | TEST 35: free_space, about half full, no page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:51 [error] 12158\#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' ' |
shdict.t | TEST 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 35: free_space, about half full, no page left - status code ok |
got: '' expected: '200' |
shdict.t | TEST 35: free_space, about half full, no page left - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:0|4096) \z)' |
shdict.t | TEST 35: free_space, about half full, no page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:51 [error] 12158\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 50: check zone argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 50: check zone argument - status code ok |
got: '' expected: '200' |
shdict.t | TEST 50: check zone argument - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -ok -bad "zone" argument -bad "zone" argument -bad "zone" argument ' |
shdict.t | TEST 50: check zone argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:55 [error] 12185\#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' ' |
shdict.t | TEST 50: check zone argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 50: check zone argument - status code ok |
got: '' expected: '200' |
shdict.t | TEST 50: check zone argument - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -ok -bad "zone" argument -bad "zone" argument -bad "zone" argument ' |
shdict.t | TEST 50: check zone argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:28:55 [error] 12185\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 25: get stale key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 25: get stale key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 25: get stale key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get stale: nil key ' |
shdict.t | TEST 25: get stale key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:00 [error] 12212\#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' ' |
shdict.t | TEST 25: get stale key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 25: get stale key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 25: get stale key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get stale: nil key ' |
shdict.t | TEST 25: get stale key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:00 [error] 12212\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 1: get a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 1: get a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 1: get a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 1: get a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:04 [error] 12239\#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' ' |
shdict.t | TEST 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 1: get a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 1: get a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 1: get a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 1: get a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:04 [error] 12239\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 11: incr double - status code ok |
got: '' expected: '200' |
shdict.t | TEST 11: incr double - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -value: 371 -err: nil ' |
shdict.t | TEST 11: incr double - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 11: incr double - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:09 [error] 12271\#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' ' |
shdict.t | TEST 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 11: incr double - status code ok |
got: '' expected: '200' |
shdict.t | TEST 11: incr double - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -value: 371 -err: nil ' |
shdict.t | TEST 11: incr double - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 11: incr double - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:09 [error] 12271\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 19: add a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 19: add a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 19: add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 19: add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:13 [error] 12299\#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' ' |
shdict.t | TEST 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 19: add a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 19: add a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 19: add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 19: add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:13 [error] 12299\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 36: free_space, full - status code ok |
got: '' expected: '200' |
shdict.t | TEST 36: free_space, full - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 0 ' |
shdict.t | TEST 36: free_space, full - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:18 [error] 12326\#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' ' |
shdict.t | TEST 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 36: free_space, full - status code ok |
got: '' expected: '200' |
shdict.t | TEST 36: free_space, full - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 0 ' |
shdict.t | TEST 36: free_space, full - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:18 [error] 12326\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 33: free_space, empty (100k zone) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:90112|94208) \z)' |
shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:22 [error] 12353\#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' ' |
shdict.t | TEST 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 33: free_space, empty (100k zone) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:90112|94208) \z)' |
shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:22 [error] 12353\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 27: flush_all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 27: flush_all - status code ok |
got: '' expected: '200' |
shdict.t | TEST 27: flush_all - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 27: flush_all - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 27: flush_all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:27 [error] 12380\#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' ' |
shdict.t | TEST 27: flush_all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 27: flush_all - status code ok |
got: '' expected: '200' |
shdict.t | TEST 27: flush_all - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 27: flush_all - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 27: flush_all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:27 [error] 12380\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 15: set a number value (int) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 15: set a number value (int) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
shdict.t | TEST 15: set a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 15: set a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:31 [error] 12413\#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' ' |
shdict.t | TEST 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 15: set a number value (int) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 15: set a number value (int) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
shdict.t | TEST 15: set a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 15: set a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:31 [error] 12413\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 37: free_space, got forcible - status code ok |
got: '' expected: '200' |
shdict.t | TEST 37: free_space, got forcible - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=64 )?free_page_bytes type: number free_page_bytes: 0 \z)' |
shdict.t | TEST 37: free_space, got forcible - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:36 [error] 12440\#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' ' |
shdict.t | TEST 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 37: free_space, got forcible - status code ok |
got: '' expected: '200' |
shdict.t | TEST 37: free_space, got forcible - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=64 )?free_page_bytes type: number free_page_bytes: 0 \z)' |
shdict.t | TEST 37: free_space, got forcible - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:36 [error] 12440\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 8: get_stale (false) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 8: get_stale (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: false ' |
shdict.t | TEST 8: get_stale (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 8: get_stale (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:40 [error] 12467\#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' ' |
shdict.t | TEST 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 8: get_stale (false) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 8: get_stale (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: false ' |
shdict.t | TEST 8: get_stale (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 8: get_stale (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:40 [error] 12467\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 21: replace a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 21: replace a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar100 -flags: 72 ' |
shdict.t | TEST 21: replace a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 21: replace a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:45 [error] 12494\#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' ' |
shdict.t | TEST 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 21: replace a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 21: replace a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar100 -flags: 72 ' |
shdict.t | TEST 21: replace a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 21: replace a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:45 [error] 12494\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 40: incr init_ttl argument is not a number - status code ok |
got: '' expected: '200' |
shdict.t | TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad init_ttl arg: number expected, got string ' |
shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:49 [error] 12527\#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' ' |
shdict.t | TEST 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 40: incr init_ttl argument is not a number - status code ok |
got: '' expected: '200' |
shdict.t | TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: bad init_ttl arg: number expected, got string ' |
shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:49 [error] 12527\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 18: safe set a number value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 18: safe set a number value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
shdict.t | TEST 18: safe set a number value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 18: safe set a number value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:54 [error] 12554\#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' ' |
shdict.t | TEST 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 18: safe set a number value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 18: safe set a number value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
shdict.t | TEST 18: safe set a number value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 18: safe set a number value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:29:54 [error] 12554\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '500' |
shdict.t | TEST 28: incr, value is not number - response_body_like - response is expected () |
'' doesn't match '(?^s:500)' |
shdict.t | TEST 28: incr, value is not number - pattern "cannot convert 'nil' to 'double'" should match a line in error.log (req 0) | |
shdict.t | TEST 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '500' |
shdict.t | TEST 28: incr, value is not number - response_body_like - response is expected () |
'' doesn't match '(?^s:500)' |
shdict.t | TEST 28: incr, value is not number - pattern "cannot convert 'nil' to 'double'" should match a line in error.log (req 1) | |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10534 nil -foo = 10534 -foo after incr init_ttl = 10534 ' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:03 [error] 12608\#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' ' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10534 nil -foo = 10534 -foo after incr init_ttl = 10534 ' |
shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:03 [error] 12608\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 39: incr bad init_ttl argument - status code ok |
got: '' expected: '200' |
shdict.t | TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad "init_ttl" argument ' |
shdict.t | TEST 39: incr bad init_ttl argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:07 [error] 12640\#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' ' |
shdict.t | TEST 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 39: incr bad init_ttl argument - status code ok |
got: '' expected: '200' |
shdict.t | TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: bad "init_ttl" argument ' |
shdict.t | TEST 39: incr bad init_ttl argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:07 [error] 12640\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 23: set nil key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 23: set nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set: nil key ' |
shdict.t | TEST 23: set nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:12 [error] 12668\#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' ' |
shdict.t | TEST 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 23: set nil key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 23: set nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set: nil key ' |
shdict.t | TEST 23: set nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:12 [error] 12668\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 31: capacity - status code ok |
got: '' expected: '200' |
shdict.t | TEST 31: capacity - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -capacity type: number -capacity: 16384 ' |
shdict.t | TEST 31: capacity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:16 [error] 12695\#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' ' |
shdict.t | TEST 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 31: capacity - status code ok |
got: '' expected: '200' |
shdict.t | TEST 31: capacity - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -capacity type: number -capacity: 16384 ' |
shdict.t | TEST 31: capacity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:16 [error] 12695\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 20: safe add a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 20: safe add a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 20: safe add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 20: safe add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:21 [error] 12722\#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' ' |
shdict.t | TEST 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 20: safe add a string value - status code ok |
got: '' expected: '200' |
shdict.t | TEST 20: safe add a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
shdict.t | TEST 20: safe add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 20: safe add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:21 [error] 12722\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:25 [error] 12749\#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' ' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:25 [error] 12749\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 32: free_space, empty (16k zone) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:30 [error] 12782\#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' ' |
shdict.t | TEST 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 32: free_space, empty (16k zone) - status code ok |
got: '' expected: '200' |
shdict.t | TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:30 [error] 12782\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok |
got: '' expected: '200' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:34 [error] 12809\#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' ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok |
got: '' expected: '200' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:34 [error] 12809\#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' ' |
shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
shdict.t | TEST 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 2: get an nonexistent key - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
shdict.t | TEST 2: get an nonexistent key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:39 [error] 12836\#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' ' |
shdict.t | TEST 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
shdict.t | TEST 2: get an nonexistent key - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
shdict.t | TEST 2: get an nonexistent key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:39 [error] 12836\#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' ' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 1: no parameters. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 1: no parameters. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 1: no parameters. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'getoption failed: missing the "option" argument ' |
socket-tcp-getoption.t | TEST 1: no parameters. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:44 [error] 12872\#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' ' |
socket-tcp-getoption.t | TEST 1: no parameters. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 1: no parameters. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 1: no parameters. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'getoption failed: missing the "option" argument ' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'getoption abc failed: unsupported option abc ' |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:48 [error] 12899\#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' ' |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 2: unsuppotrted option name. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'getoption abc failed: unsupported option abc ' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 4: get keepalive. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 4: get keepalive. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 4: get keepalive. - response_body_like - response is expected () |
'' doesn't match '(?^:keepalive: \d+)' |
socket-tcp-getoption.t | TEST 4: get keepalive. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:53 [error] 12926\#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' ' |
socket-tcp-getoption.t | TEST 4: get keepalive. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 4: get keepalive. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 4: get keepalive. - response_body_like - response is expected () |
'' doesn't match '(?^:keepalive: \d+)' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:rcvbuf: \d+)' |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:30:57 [error] 12953\#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' ' |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 8: get rcvbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:rcvbuf: \d+)' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - response_body_like - response is expected () |
'' doesn't match '(?^:tcp-nodelay: \d+)' |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:02 [error] 12986\#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' ' |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 6: get tcp-nodelay. - response_body_like - response is expected () |
'' doesn't match '(?^:tcp-nodelay: \d+)' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - response_body_like - response is expected () |
'' doesn't match '(?^:reuseaddr: \d+)' |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:06 [error] 13013\#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' ' |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 5: get reuseaddr. - response_body_like - response is expected () |
'' doesn't match '(?^:reuseaddr: \d+)' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 7: get sndbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 7: get sndbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 7: get sndbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:sndbuf: \d+)' |
socket-tcp-getoption.t | TEST 7: get sndbuf. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:11 [error] 13040\#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' ' |
socket-tcp-getoption.t | TEST 7: get sndbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 7: get sndbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-getoption.t | TEST 7: get sndbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:sndbuf: \d+)' |
socket-tcp-getoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-getoption.t | TEST 3: getoption before calling connect. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 3: getoption before calling connect. - status code ok |
got: '' expected: '500' |
socket-tcp-getoption.t | TEST 3: getoption before calling connect. - pattern "socket is never created nor connected" should match a line in error.log (req 0) | |
socket-tcp-getoption.t | TEST 3: getoption before calling connect. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-getoption.t | TEST 3: getoption before calling connect. - status code ok |
got: '' expected: '500' |
socket-tcp-getoption.t | TEST 3: getoption before calling connect. - pattern "socket is never created nor connected" should match a line in error.log (req 1) | |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'setoption abc failed: unsupported option abc ' |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:20 [error] 13103\#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' ' |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 2: unsuppotrted option name. - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'setoption abc failed: unsupported option abc ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -keepalive changes from 0 to 1 -keepalive changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:24 [error] 13130\#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' ' |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 6: keepalive set by ~0/0. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -keepalive changes from 0 to 1 -keepalive changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -reuseaddr changes from 0 to 1 -reuseaddr changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:29 [error] 13157\#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' ' |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 7: reuseaddr set by 1/0. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -reuseaddr changes from 0 to 1 -reuseaddr changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -tcp-nodelay changes from 0 to 1 -tcp-nodelay changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:33 [error] 13185\#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' ' |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 12: tcp-nodelay set by ~0/0. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -tcp-nodelay changes from 0 to 1 -tcp-nodelay changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 1: no parameters. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 1: no parameters. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 1: no parameters. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -setoption failed: missing the "option" argument -setoption failed: missing the "value" argument ' |
socket-tcp-setoption.t | TEST 1: no parameters. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:38 [error] 13217\#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' ' |
socket-tcp-setoption.t | TEST 1: no parameters. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 1: no parameters. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 1: no parameters. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -setoption failed: missing the "option" argument -setoption failed: missing the "value" argument ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -keepalive changes from 0 to 1 -keepalive changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:42 [error] 13244\#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' ' |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 4: keepalive set by 1/0. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -keepalive changes from 0 to 1 -keepalive changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 14: rcvbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 14: rcvbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 14: rcvbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:\Arcvbuf changes from \d+ to \d+\n\z)' |
socket-tcp-setoption.t | TEST 14: rcvbuf. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:47 [error] 13271\#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' ' |
socket-tcp-setoption.t | TEST 14: rcvbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 14: rcvbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 14: rcvbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:\Arcvbuf changes from \d+ to \d+\n\z)' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -keepalive changes from 0 to 1 -keepalive changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:51 [error] 13298\#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' ' |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 5: keepalive set by true/false. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -keepalive changes from 0 to 1 -keepalive changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -tcp-nodelay changes from 0 to 1 -tcp-nodelay changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:31:56 [error] 13331\#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' ' |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 11: tcp-nodelay set by true/false. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -tcp-nodelay changes from 0 to 1 -tcp-nodelay changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -reuseaddr changes from 0 to 1 -reuseaddr changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:00 [error] 13358\#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' ' |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 8: reuseaddr set by true/false. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -reuseaddr changes from 0 to 1 -reuseaddr changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -tcp-nodelay changes from 0 to 1 -tcp-nodelay changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:05 [error] 13385\#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' ' |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 10: tcp-nodelay set by 1/0. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -tcp-nodelay changes from 0 to 1 -tcp-nodelay changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -reuseaddr changes from 0 to 1 -reuseaddr changes from 1 to 0 ' |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:09 [error] 13412\#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' ' |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 9: reuseaddr set by ~0/0. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -reuseaddr changes from 0 to 1 -reuseaddr changes from 1 to 0 ' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 15: strerr. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 15: strerr. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 15: strerr. - response_body_like - response is expected () |
'' doesn't match '(?^:\Aenabling rcvbuf failed: [/\s\w]+\n\z)' |
socket-tcp-setoption.t | TEST 15: strerr. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:14 [error] 13445\#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' ' |
socket-tcp-setoption.t | TEST 15: strerr. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 15: strerr. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 15: strerr. - response_body_like - response is expected () |
'' doesn't match '(?^:\Aenabling rcvbuf failed: [/\s\w]+\n\z)' |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 3: getoption before calling connect. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 3: getoption before calling connect. - status code ok |
got: '' expected: '500' |
socket-tcp-setoption.t | TEST 3: getoption before calling connect. - pattern "socket is never created nor connected" should match a line in error.log (req 0) | |
socket-tcp-setoption.t | TEST 3: getoption before calling connect. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 3: getoption before calling connect. - status code ok |
got: '' expected: '500' |
socket-tcp-setoption.t | TEST 3: getoption before calling connect. - pattern "socket is never created nor connected" should match a line in error.log (req 1) | |
socket-tcp-setoption.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
socket-tcp-setoption.t | TEST 13: sndbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 13: sndbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 13: sndbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:\Asndbuf changes from \d+ to \d+\n\z)' |
socket-tcp-setoption.t | TEST 13: sndbuf. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:23 [error] 13499\#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' ' |
socket-tcp-setoption.t | TEST 13: sndbuf. - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
socket-tcp-setoption.t | TEST 13: sndbuf. - status code ok |
got: '' expected: '200' |
socket-tcp-setoption.t | TEST 13: sndbuf. - response_body_like - response is expected () |
'' doesn't match '(?^:\Asndbuf changes from \d+ to \d+\n\z)' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - grep_error_log_out (req 1) |
'' doesn't match '(?^s:ssl_session_fetch_by_lua\(nginx.conf:\d+\):4: session id: [a-fA-f\d]+)' |
ssl-session-fetch.t | TEST 1: get resume session id serialized - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:32 [error] 13538\#0: *7 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:32 [debug] 13538\#0: *7 lua request cleanup: forcible=0 2022/05/27 16:32:32 [debug] 13538\#0: *7 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:32:32 [debug] 13538\#0: *7 http lua fake request count:1 2022/05/27 16:32:32 [debug] 13538\#0: *7 http lua close fake request 2022/05/27 16:32:32 [debug] 13538\#0: *7 http lua close fake http connection 04A77320 ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - grep_error_log_out (req 0) |
'' doesn't match '(?^s:^ssl_session_fetch_by_lua\(nginx.conf:\d+\):\d+: session id: [a-fA-F\d]+ failed to resume session: failed to de-serialize session ssl_session_store_by_lua\(nginx.conf:\d+\):\d+: session id: [a-fA-F\d]+ $)' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:38 [error] 13581\#0: *3 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' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: 127.0.0.1, server: 0.0.0.0:59688 2022/05/27 16:32:38 [debug] 13581\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:32:38 [debug] 13581\#0: *3 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:32:38 [debug] 13581\#0: *3 http lua fake request count:1 2022/05/27 16:32:38 [debug] 13581\#0: *3 http lua close fake request 2022/05/27 16:32:38 [debug] 13581\#0: *3 http lua close fake http connection 04A7FCC4 ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:39 [error] 13581\#0: *4 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 0) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: 127.0.0.1, server: 0.0.0.0:59688 2022/05/27 16:32:39 [debug] 13581\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:32:39 [debug] 13581\#0: *4 http lua fake request count:1 2022/05/27 16:32:39 [debug] 13581\#0: *4 http lua close fake request 2022/05/27 16:32:39 [debug] 13581\#0: *4 http lua close fake http connection 04A7FCC4 2022/05/27 16:32:39 [debug] 13581\#0: free: 04AD3AA8, unused: 0 2022/05/27 16:32:39 [debug] 13581\#0: free: 04AD3310, unused: 0 ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - grep_error_log_out (req 1) |
'' doesn't match '(?^s:^ssl_session_fetch_by_lua\(nginx.conf:\d+\):\d+: session id: [a-fA-F\d]+ failed to resume session: failed to de-serialize session ssl_session_store_by_lua\(nginx.conf:\d+\):\d+: session id: [a-fA-F\d]+ $)' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:40 [error] 13581\#0: *7 lua entry thread aborted: runtime error: ssl_session_fetch_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: 127.0.0.1, server: 0.0.0.0:59688 2022/05/27 16:32:40 [debug] 13581\#0: *7 lua request cleanup: forcible=0 2022/05/27 16:32:40 [debug] 13581\#0: *7 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:32:40 [debug] 13581\#0: *7 http lua fake request count:1 2022/05/27 16:32:40 [debug] 13581\#0: *7 http lua close fake request 2022/05/27 16:32:40 [debug] 13581\#0: *7 http lua close fake http connection 04A7FCC4 ' |
ssl-session-fetch.t | TEST 5: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:40 [error] 13581\#0: *8 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: 127.0.0.1, server: 0.0.0.0:59688 2022/05/27 16:32:40 [debug] 13581\#0: *8 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:32:40 [debug] 13581\#0: *8 http lua fake request count:1 2022/05/27 16:32:40 [debug] 13581\#0: *8 http lua close fake request 2022/05/27 16:32:40 [debug] 13581\#0: *8 http lua close fake http connection 04A7FCC4 2022/05/27 16:32:40 [debug] 13581\#0: free: 04B25AD8, unused: 0 2022/05/27 16:32:40 [debug] 13581\#0: free: 04B25990, unused: 0 ' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:46 [error] 13632\#0: *4 failed to run session_store_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/ssl/session.lua:4: in main chunk [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:46 [debug] 13632\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:32:46 [debug] 13632\#0: *4 http lua fake request count:1 ' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:47 [error] 13632\#0: *8 lua entry thread aborted: runtime error: ssl_session_fetch_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:47 [debug] 13632\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:32:47 [debug] 13632\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:32:47 [debug] 13632\#0: *8 http lua fake request count:1 2022/05/27 16:32:47 [debug] 13632\#0: *8 http lua close fake request 2022/05/27 16:32:47 [debug] 13632\#0: *8 http lua close fake http connection 04A77618 ' |
ssl-session-fetch.t | TEST 6: store new session, and resume it, avoid memory leak when calling repeatly - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:47 [error] 13632\#0: *9 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:47 [debug] 13632\#0: *9 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:32:47 [debug] 13632\#0: *9 http lua fake request count:1 2022/05/27 16:32:47 [debug] 13632\#0: *9 http lua close fake request 2022/05/27 16:32:47 [debug] 13632\#0: *9 http lua close fake http connection 04A77618 2022/05/27 16:32:47 [debug] 13632\#0: free: 04B85160, unused: 0 2022/05/27 16:32:47 [debug] 13632\#0: free: 04B85018, unused: 0 ' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - grep_error_log_out (req 0) |
'' doesn't match '(?^s:^ssl_session_store_by_lua\(nginx.conf:\d+\):5: session id: [a-fA-F\d]+$)' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:54 [error] 13675\#0: *4 failed to run session_store_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/ssl/session.lua:4: in main chunk [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:54 [debug] 13675\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:32:54 [debug] 13675\#0: *4 http lua fake request count:1 ' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - grep_error_log_out (req 1) |
'' doesn't match '(?^s:^ssl_session_fetch_by_lua\(nginx.conf:\d+\):4: session id: [a-fA-F\d]+ failed to resume session: failed to de-serialize session ssl_session_store_by_lua\(nginx.conf:\d+\):5: session id: [a-fA-F\d]+ $)' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:55 [error] 13675\#0: *8 lua entry thread aborted: runtime error: ssl_session_fetch_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:55 [debug] 13675\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:32:55 [debug] 13675\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:32:55 [debug] 13675\#0: *8 http lua fake request count:1 2022/05/27 16:32:55 [debug] 13675\#0: *8 http lua close fake request 2022/05/27 16:32:55 [debug] 13675\#0: *8 http lua close fake http connection 04A77CD8 ' |
ssl-session-fetch.t | TEST 4: attempt to resume a corrupted session - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:32:55 [error] 13675\#0: *9 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:32:55 [debug] 13675\#0: *9 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:32:55 [debug] 13675\#0: *9 http lua fake request count:1 2022/05/27 16:32:55 [debug] 13675\#0: *9 http lua close fake request 2022/05/27 16:32:55 [debug] 13675\#0: *9 http lua close fake http connection 04A77CD8 2022/05/27 16:32:55 [debug] 13675\#0: free: 04B857C8, unused: 0 2022/05/27 16:32:55 [debug] 13675\#0: free: 04B85680, unused: 0 ' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - grep_error_log_out (req 1) |
got: '' expected: 'get session error: bad session in lua context ' |
ssl-session-fetch.t | TEST 2: attempt to fetch new session in lua_ctx during resumption. - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:03 [error] 13718\#0: *7 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:03 [debug] 13718\#0: *7 lua request cleanup: forcible=0 2022/05/27 16:33:03 [debug] 13718\#0: *7 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:03 [debug] 13718\#0: *7 http lua fake request count:1 2022/05/27 16:33:03 [debug] 13718\#0: *7 http lua close fake request 2022/05/27 16:33:03 [debug] 13718\#0: *7 http lua close fake http connection 04A77518 ' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - grep_error_log_out (req 0) |
'' doesn't match '(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):5: session id: [a-fA-F\d]+)' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:09 [error] 13761\#0: *4 failed to run session_store_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/ssl/session.lua:4: in main chunk [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:09 [debug] 13761\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:09 [debug] 13761\#0: *4 http lua fake request count:1 ' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - grep_error_log_out (req 1) |
'' doesn't match '(?^s:ssl_session_fetch_by_lua\(nginx.conf:\d+\):4: session id: [a-fA-F\d]+)' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:10 [error] 13761\#0: *8 lua entry thread aborted: runtime error: ssl_session_fetch_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_session_fetch_by_lua_block:2: in main chunk, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:10 [debug] 13761\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:33:10 [debug] 13761\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:10 [debug] 13761\#0: *8 http lua fake request count:1 2022/05/27 16:33:10 [debug] 13761\#0: *8 http lua close fake request 2022/05/27 16:33:10 [debug] 13761\#0: *8 http lua close fake http connection 04A781F0 ' |
ssl-session-fetch.t | TEST 3: store new session, and resume it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:10 [error] 13761\#0: *9 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:10 [debug] 13761\#0: *9 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:10 [debug] 13761\#0: *9 http lua fake request count:1 2022/05/27 16:33:10 [debug] 13761\#0: *9 http lua close fake request 2022/05/27 16:33:10 [debug] 13761\#0: *9 http lua close fake http connection 04A781F0 2022/05/27 16:33:10 [debug] 13761\#0: free: 04B864D0, unused: 0 2022/05/27 16:33:10 [debug] 13761\#0: free: 04B86388, unused: 0 ' |
ssl-session-store.t | TEST 1: get new session serialized - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-store.t | TEST 1: get new session serialized - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):4: session size: \d+)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 1: get new session serialized - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:17 [error] 13810\#0: *4 failed to run session_store_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/ssl/session.lua:4: in main chunk [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:17 [debug] 13810\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:17 [debug] 13810\#0: *4 http lua fake request count:1 ' |
ssl-session-store.t | TEST 1: get new session serialized - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-store.t | TEST 1: get new session serialized - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):4: session size: \d+)" should match a line in error.log (req 1) | |
ssl-session-store.t | TEST 1: get new session serialized - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:18 [error] 13810\#0: *8 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:18 [debug] 13810\#0: *8 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:18 [debug] 13810\#0: *8 http lua fake request count:1 2022/05/27 16:33:18 [debug] 13810\#0: *8 http lua close fake request 2022/05/27 16:33:18 [debug] 13810\#0: *8 http lua close fake http connection 04A76EA8 2022/05/27 16:33:18 [debug] 13810\#0: free: 04B82D78, unused: 0 2022/05/27 16:33:18 [debug] 13810\#0: free: 04B82BA8, unused: 0 ' |
ssl-session-store.t | TEST 2: get new session id serialized - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-store.t | TEST 2: get new session id serialized - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):4: session id: [a-fA-f\d]+)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 2: get new session id serialized - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:24 [error] 13856\#0: *4 failed to run session_store_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/ssl/session.lua:4: in main chunk [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:24 [debug] 13856\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:24 [debug] 13856\#0: *4 http lua fake request count:1 ' |
ssl-session-store.t | TEST 2: get new session id serialized - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-store.t | TEST 2: get new session id serialized - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):4: session id: [a-fA-f\d]+)" should match a line in error.log (req 1) | |
ssl-session-store.t | TEST 2: get new session id serialized - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:26 [error] 13856\#0: *8 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:26 [debug] 13856\#0: *8 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:26 [debug] 13856\#0: *8 http lua fake request count:1 2022/05/27 16:33:26 [debug] 13856\#0: *8 http lua close fake request 2022/05/27 16:33:26 [debug] 13856\#0: *8 http lua close fake http connection 04A76E80 2022/05/27 16:33:26 [debug] 13856\#0: free: 04B82D98, unused: 0 2022/05/27 16:33:26 [debug] 13856\#0: free: 04B82BC8, unused: 0 ' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):32: session id: [a-fA-f\d]+)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):34: session size: \d+)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:received memc reply: STORED)" should match a line in error.log (req 0) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:32 [error] 13909\#0: *4 failed to run session_store_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/ssl/session.lua:4: in main chunk [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:32 [debug] 13909\#0: *4 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:32 [debug] 13909\#0: *4 http lua fake request count:1 ' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -ssl handshake: cdata +ssl handshake: userdata close: 1 nil ' |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):32: session id: [a-fA-f\d]+)" should match a line in error.log (req 1) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:ssl_session_store_by_lua\(nginx.conf:\d+\):34: session size: \d+)" should match a line in error.log (req 1) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "(?^s:received memc reply: STORED)" should match a line in error.log (req 1) | |
ssl-session-store.t | TEST 3: store the session via timer to memcached - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:34 [error] 13909\#0: *8 failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: loop or previous error loading module 'ngx.ssl.session'" (req 1) |
stack traceback: [C]: in function 'require' ssl_session_store_by_lua_block:2: in main chunk, context: ssl_session_store_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:34 [debug] 13909\#0: *8 http lua finalize fake request: 2, a:1, c:1 2022/05/27 16:33:34 [debug] 13909\#0: *8 http lua fake request count:1 2022/05/27 16:33:34 [debug] 13909\#0: *8 http lua close fake request 2022/05/27 16:33:34 [debug] 13909\#0: *8 http lua close fake http connection 04A78300 2022/05/27 16:33:34 [debug] 13909\#0: free: 04B86690, unused: 0 2022/05/27 16:33:34 [debug] 13909\#0: free: 04B864C0, unused: 0 ' |
ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "(?^:\[error\] .*? failed to parse pem key: PEM_read_bio_PrivateKey\(\) failed)" should match a line in error.log (req 0) | |
ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:33:39 [crit] 13962\#0: *3 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2022/05/27 16:33:39 [debug] 13962\#0: *3 close http connection: 11 2022/05/27 16:33:39 [debug] 13962\#0: *3 event timer del: 11: 3612822 2022/05/27 16:33:39 [debug] 13962\#0: *3 poll del event: fd:11 ev:1 2022/05/27 16:33:39 [debug] 13962\#0: *3 reusable connection: 0 2022/05/27 16:33:39 [debug] 13962\#0: *3 free: 04AA9928, unused: 0 2022/05/27 16:33:39 [debug] 13962\#0: *3 free: 04AA9238, unused: 0 2022/05/27 16:33:39 [debug] 13962\#0: *3 free: 04A97238, unused: 0 2022/05/27 16:33:39 [debug] 13962\#0: *3 free: 04A971A0, unused: 0 2022/05/27 16:33:39 [debug] 13962\#0: *3 free: 04A97128, unused: 0 ' |
ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "(?^:\[error\] .*? failed to parse pem key: PEM_read_bio_PrivateKey\(\) failed)" should match a line in error.log (req 1) | |
ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:33:41 [crit] 13962\#0: *7 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2022/05/27 16:33:41 [debug] 13962\#0: *7 close http connection: 11 2022/05/27 16:33:41 [debug] 13962\#0: *7 event timer del: 11: 3614134 2022/05/27 16:33:41 [debug] 13962\#0: *7 poll del event: fd:11 ev:1 2022/05/27 16:33:41 [debug] 13962\#0: *7 reusable connection: 0 2022/05/27 16:33:41 [debug] 13962\#0: *7 free: 04AF26B8, unused: 0 2022/05/27 16:33:41 [debug] 13962\#0: *7 free: 04AF1FC8, unused: 0 2022/05/27 16:33:41 [debug] 13962\#0: *7 free: 04ADFFC8, unused: 0 2022/05/27 16:33:41 [debug] 13962\#0: *7 free: 04ADFF30, unused: 0 2022/05/27 16:33:41 [debug] 13962\#0: *7 free: 04ADFEB8, unused: 0 ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 0) | |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:46 [error] 13999\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:32725 2022/05/27 16:33:46 [debug] 13999\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:33:46 [debug] 13999\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:46 [debug] 13999\#0: *4 http lua fake request count:1 2022/05/27 16:33:46 [debug] 13999\#0: *4 http lua close fake request 2022/05/27 16:33:46 [debug] 13999\#0: *4 http lua close fake http connection 04A7F4D0 ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:46 [error] 13999\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:33:46 [debug] 13999\#0: *1 event timer del: 10: 3561910 2022/05/27 16:33:46 [debug] 13999\#0: *1 lua tcp socket handle connect error 2022/05/27 16:33:46 [debug] 13999\#0: *1 lua finalize socket 2022/05/27 16:33:46 [debug] 13999\#0: *1 lua http cleanup free: 04A869C0 2022/05/27 16:33:46 [debug] 13999\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:33:46 [debug] 13999\#0: *1 lua close socket connection 2022/05/27 16:33:46 [debug] 13999\#0: *1 free: 04A876F0, unused: 0 2022/05/27 16:33:46 [debug] 13999\#0: *1 reusable connection: 0 2022/05/27 16:33:46 [debug] 13999\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 1) | |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:47 [error] 13999\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:32725 2022/05/27 16:33:47 [debug] 13999\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:33:47 [debug] 13999\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:47 [debug] 13999\#0: *8 http lua fake request count:1 2022/05/27 16:33:47 [debug] 13999\#0: *8 http lua close fake request 2022/05/27 16:33:47 [debug] 13999\#0: *8 http lua close fake http connection 04A7F4D0 ' |
ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:47 [error] 13999\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:33:47 [debug] 13999\#0: *5 event timer del: 10: 3563382 2022/05/27 16:33:47 [debug] 13999\#0: *5 lua tcp socket handle connect error 2022/05/27 16:33:47 [debug] 13999\#0: *5 lua finalize socket 2022/05/27 16:33:47 [debug] 13999\#0: *5 lua http cleanup free: 04ACEDC8 2022/05/27 16:33:47 [debug] 13999\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:33:47 [debug] 13999\#0: *5 lua close socket connection 2022/05/27 16:33:47 [debug] 13999\#0: *5 free: 04ACFAF8, unused: 0 2022/05/27 16:33:47 [debug] 13999\#0: *5 reusable connection: 0 2022/05/27 16:33:47 [debug] 13999\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 24: verify client without CA certificates - status code ok |
got: '502' expected: '200' |
ssl.t | TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.15.8 (no pool)</center> </body> </html> ' expected: 'FAILED:self signed certificate ' |
ssl.t | TEST 24: verify client without CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 0) | |
ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:52 [error] 14030\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:52 [debug] 14030\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:33:52 [debug] 14030\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:52 [debug] 14030\#0: *4 http lua fake request count:1 2022/05/27 16:33:52 [debug] 14030\#0: *4 http lua close fake request 2022/05/27 16:33:52 [debug] 14030\#0: *4 http lua close fake http connection 04A77258 ' |
ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:52 [error] 14030\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock:/t\", host: \"localhost\"" (req 0) |
2022/05/27 16:33:52 [debug] 14030\#0: *1 http upstream ssl handshake: "/t?" 2022/05/27 16:33:52 [debug] 14030\#0: *1 http next upstream, 2 2022/05/27 16:33:52 [debug] 14030\#0: *1 free rr peer 1 4 2022/05/27 16:33:52 [debug] 14030\#0: *1 finalize http upstream request: 502 2022/05/27 16:33:52 [debug] 14030\#0: *1 finalize http proxy request 2022/05/27 16:33:52 [debug] 14030\#0: *1 close http upstream connection: 10 2022/05/27 16:33:52 [debug] 14030\#0: *1 free: 04A7C4B8, unused: 0 2022/05/27 16:33:52 [debug] 14030\#0: *1 event timer del: 10: 3625051 2022/05/27 16:33:52 [debug] 14030\#0: *1 poll del event: fd:10 ev:1 ' |
ssl.t | TEST 24: verify client without CA certificates - status code ok |
got: '502' expected: '200' |
ssl.t | TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.15.8 (no pool)</center> </body> </html> ' expected: 'FAILED:self signed certificate ' |
ssl.t | TEST 24: verify client without CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 1) | |
ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:53 [error] 14030\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:53 [debug] 14030\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:33:53 [debug] 14030\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:53 [debug] 14030\#0: *8 http lua fake request count:1 2022/05/27 16:33:53 [debug] 14030\#0: *8 http lua close fake request 2022/05/27 16:33:53 [debug] 14030\#0: *8 http lua close fake http connection 04A77258 ' |
ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:53 [error] 14030\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock:/t\", host: \"localhost\"" (req 1) |
2022/05/27 16:33:53 [debug] 14030\#0: *5 http upstream ssl handshake: "/t?" 2022/05/27 16:33:53 [debug] 14030\#0: *5 http next upstream, 2 2022/05/27 16:33:53 [debug] 14030\#0: *5 free rr peer 1 4 2022/05/27 16:33:53 [debug] 14030\#0: *5 finalize http upstream request: 502 2022/05/27 16:33:53 [debug] 14030\#0: *5 finalize http proxy request 2022/05/27 16:33:53 [debug] 14030\#0: *5 close http upstream connection: 10 2022/05/27 16:33:53 [debug] 14030\#0: *5 free: 04AC2CF0, unused: 0 2022/05/27 16:33:53 [debug] 14030\#0: *5 event timer del: 10: 3626859 2022/05/27 16:33:53 [debug] 14030\#0: *5 poll del event: fd:10 ev:1 ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 0) | |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:59 [error] 14073\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:33:59 [debug] 14073\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:33:59 [debug] 14073\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:33:59 [debug] 14073\#0: *4 http lua fake request count:1 2022/05/27 16:33:59 [debug] 14073\#0: *4 http lua close fake request 2022/05/27 16:33:59 [debug] 14073\#0: *4 http lua close fake http connection 04A7E6A8 ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:33:59 [error] 14073\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:33:59 [debug] 14073\#0: *1 event timer del: 10: 3574883 2022/05/27 16:33:59 [debug] 14073\#0: *1 lua tcp socket handle connect error 2022/05/27 16:33:59 [debug] 14073\#0: *1 lua finalize socket 2022/05/27 16:33:59 [debug] 14073\#0: *1 lua http cleanup free: 04A85AD8 2022/05/27 16:33:59 [debug] 14073\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:33:59 [debug] 14073\#0: *1 lua close socket connection 2022/05/27 16:33:59 [debug] 14073\#0: *1 free: 04A86540, unused: 0 2022/05/27 16:33:59 [debug] 14073\#0: *1 reusable connection: 0 2022/05/27 16:33:59 [debug] 14073\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 1) | |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:00 [error] 14073\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:00 [debug] 14073\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:00 [debug] 14073\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:00 [debug] 14073\#0: *8 http lua fake request count:1 2022/05/27 16:34:00 [debug] 14073\#0: *8 http lua close fake request 2022/05/27 16:34:00 [debug] 14073\#0: *8 http lua close fake http connection 04A7E6A8 ' |
ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:00 [error] 14073\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:00 [debug] 14073\#0: *5 event timer del: 10: 3576427 2022/05/27 16:34:00 [debug] 14073\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:00 [debug] 14073\#0: *5 lua finalize socket 2022/05/27 16:34:00 [debug] 14073\#0: *5 lua http cleanup free: 04ACCE98 2022/05/27 16:34:00 [debug] 14073\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:00 [debug] 14073\#0: *5 lua close socket connection 2022/05/27 16:34:00 [debug] 14073\#0: *5 free: 04ACD900, unused: 0 2022/05/27 16:34:00 [debug] 14073\#0: *5 reusable connection: 0 2022/05/27 16:34:00 [debug] 14073\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 28: PEM key protected by passphrase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 28: PEM key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:05 [error] 14110\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:05 [debug] 14110\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:05 [debug] 14110\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:05 [debug] 14110\#0: *4 http lua fake request count:1 2022/05/27 16:34:05 [debug] 14110\#0: *4 http lua close fake request 2022/05/27 16:34:05 [debug] 14110\#0: *4 http lua close fake http connection 04A7D078 ' |
ssl.t | TEST 28: PEM key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:05 [error] 14110\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:05 [debug] 14110\#0: *1 event timer del: 10: 3581159 2022/05/27 16:34:05 [debug] 14110\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:05 [debug] 14110\#0: *1 lua finalize socket 2022/05/27 16:34:05 [debug] 14110\#0: *1 lua http cleanup free: 04A844A8 2022/05/27 16:34:05 [debug] 14110\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:05 [debug] 14110\#0: *1 lua close socket connection 2022/05/27 16:34:05 [debug] 14110\#0: *1 free: 04A84F10, unused: 0 2022/05/27 16:34:05 [debug] 14110\#0: *1 reusable connection: 0 2022/05/27 16:34:05 [debug] 14110\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 28: PEM key protected by passphrase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 28: PEM key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:06 [error] 14110\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:06 [debug] 14110\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:06 [debug] 14110\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:06 [debug] 14110\#0: *8 http lua fake request count:1 2022/05/27 16:34:06 [debug] 14110\#0: *8 http lua close fake request 2022/05/27 16:34:06 [debug] 14110\#0: *8 http lua close fake http connection 04A7D078 ' |
ssl.t | TEST 28: PEM key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:06 [error] 14110\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:06 [debug] 14110\#0: *5 event timer del: 10: 3582727 2022/05/27 16:34:06 [debug] 14110\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:06 [debug] 14110\#0: *5 lua finalize socket 2022/05/27 16:34:06 [debug] 14110\#0: *5 lua http cleanup free: 04ACD260 2022/05/27 16:34:06 [debug] 14110\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:06 [debug] 14110\#0: *5 lua close socket connection 2022/05/27 16:34:06 [debug] 14110\#0: *5 free: 04ACDCC8, unused: 0 2022/05/27 16:34:06 [debug] 14110\#0: *5 reusable connection: 0 2022/05/27 16:34:06 [debug] 14110\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:11 [error] 14147\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:11 [debug] 14147\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:11 [debug] 14147\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:11 [debug] 14147\#0: *4 http lua fake request count:1 2022/05/27 16:34:11 [debug] 14147\#0: *4 http lua close fake request 2022/05/27 16:34:11 [debug] 14147\#0: *4 http lua close fake http connection 04A7CF58 ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:12 [error] 14147\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:12 [debug] 14147\#0: *1 event timer del: 10: 3587423 2022/05/27 16:34:12 [debug] 14147\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:12 [debug] 14147\#0: *1 lua finalize socket 2022/05/27 16:34:12 [debug] 14147\#0: *1 lua http cleanup free: 04A84388 2022/05/27 16:34:12 [debug] 14147\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:12 [debug] 14147\#0: *1 lua close socket connection 2022/05/27 16:34:12 [debug] 14147\#0: *1 free: 04A84DF0, unused: 0 2022/05/27 16:34:12 [debug] 14147\#0: *1 reusable connection: 0 2022/05/27 16:34:12 [debug] 14147\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:13 [error] 14147\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:13 [debug] 14147\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:13 [debug] 14147\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:13 [debug] 14147\#0: *8 http lua fake request count:1 2022/05/27 16:34:13 [debug] 14147\#0: *8 http lua close fake request 2022/05/27 16:34:13 [debug] 14147\#0: *8 http lua close fake http connection 04A7CF58 ' |
ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:13 [error] 14147\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:13 [debug] 14147\#0: *5 event timer del: 10: 3588979 2022/05/27 16:34:13 [debug] 14147\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:13 [debug] 14147\#0: *5 lua finalize socket 2022/05/27 16:34:13 [debug] 14147\#0: *5 lua http cleanup free: 04ACD0D0 2022/05/27 16:34:13 [debug] 14147\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:13 [debug] 14147\#0: *5 lua close socket connection 2022/05/27 16:34:13 [debug] 14147\#0: *5 free: 04ACDB38, unused: 0 2022/05/27 16:34:13 [debug] 14147\#0: *5 reusable connection: 0 2022/05/27 16:34:13 [debug] 14147\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 23: verify client with CA certificates - status code ok |
got: '502' expected: '200' |
ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.15.8 (no pool)</center> </body> </html> ' expected: 'SUCCESS ' |
ssl.t | TEST 23: verify client with CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 0) | |
ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:17 [error] 14178\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:17 [debug] 14178\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:17 [debug] 14178\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:17 [debug] 14178\#0: *4 http lua fake request count:1 2022/05/27 16:34:17 [debug] 14178\#0: *4 http lua close fake request 2022/05/27 16:34:17 [debug] 14178\#0: *4 http lua close fake http connection 04A77880 ' |
ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:18 [error] 14178\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock:/t\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:18 [debug] 14178\#0: *1 http upstream ssl handshake: "/t?" 2022/05/27 16:34:18 [debug] 14178\#0: *1 http next upstream, 2 2022/05/27 16:34:18 [debug] 14178\#0: *1 free rr peer 1 4 2022/05/27 16:34:18 [debug] 14178\#0: *1 finalize http upstream request: 502 2022/05/27 16:34:18 [debug] 14178\#0: *1 finalize http proxy request 2022/05/27 16:34:18 [debug] 14178\#0: *1 close http upstream connection: 10 2022/05/27 16:34:18 [debug] 14178\#0: *1 free: 04A7CAE0, unused: 0 2022/05/27 16:34:18 [debug] 14178\#0: *1 event timer del: 10: 3650671 2022/05/27 16:34:18 [debug] 14178\#0: *1 poll del event: fd:10 ev:1 ' |
ssl.t | TEST 23: verify client with CA certificates - status code ok |
got: '502' expected: '200' |
ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.15.8 (no pool)</center> </body> </html> ' expected: 'SUCCESS ' |
ssl.t | TEST 23: verify client with CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 1) | |
ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:19 [error] 14178\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:19 [debug] 14178\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:19 [debug] 14178\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:19 [debug] 14178\#0: *8 http lua fake request count:1 2022/05/27 16:34:19 [debug] 14178\#0: *8 http lua close fake request 2022/05/27 16:34:19 [debug] 14178\#0: *8 http lua close fake http connection 04A77880 ' |
ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:19 [error] 14178\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock:/t\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:19 [debug] 14178\#0: *5 http upstream ssl handshake: "/t?" 2022/05/27 16:34:19 [debug] 14178\#0: *5 http next upstream, 2 2022/05/27 16:34:19 [debug] 14178\#0: *5 free rr peer 1 4 2022/05/27 16:34:19 [debug] 14178\#0: *5 finalize http upstream request: 502 2022/05/27 16:34:19 [debug] 14178\#0: *5 finalize http proxy request 2022/05/27 16:34:19 [debug] 14178\#0: *5 close http upstream connection: 10 2022/05/27 16:34:19 [debug] 14178\#0: *5 free: 04AC3B08, unused: 0 2022/05/27 16:34:19 [debug] 14178\#0: *5 event timer del: 10: 3652472 2022/05/27 16:34:19 [debug] 14178\#0: *5 poll del event: fd:10 ev:1 ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:24 [error] 14237\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:24 [debug] 14237\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:24 [debug] 14237\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:24 [debug] 14237\#0: *4 http lua fake request count:1 2022/05/27 16:34:24 [debug] 14237\#0: *4 http lua close fake request 2022/05/27 16:34:24 [debug] 14237\#0: *4 http lua close fake http connection 04A7CFE8 ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:25 [error] 14237\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:25 [debug] 14237\#0: *1 event timer del: 10: 3600436 2022/05/27 16:34:25 [debug] 14237\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:25 [debug] 14237\#0: *1 lua finalize socket 2022/05/27 16:34:25 [debug] 14237\#0: *1 lua http cleanup free: 04A84418 2022/05/27 16:34:25 [debug] 14237\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:25 [debug] 14237\#0: *1 lua close socket connection 2022/05/27 16:34:25 [debug] 14237\#0: *1 free: 04A84E80, unused: 0 2022/05/27 16:34:25 [debug] 14237\#0: *1 reusable connection: 0 2022/05/27 16:34:25 [debug] 14237\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:26 [error] 14237\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:26 [debug] 14237\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:26 [debug] 14237\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:26 [debug] 14237\#0: *8 http lua fake request count:1 2022/05/27 16:34:26 [debug] 14237\#0: *8 http lua close fake request 2022/05/27 16:34:26 [debug] 14237\#0: *8 http lua close fake http connection 04A7CFE8 ' |
ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:26 [error] 14237\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:26 [debug] 14237\#0: *5 event timer del: 10: 3601996 2022/05/27 16:34:26 [debug] 14237\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:26 [debug] 14237\#0: *5 lua finalize socket 2022/05/27 16:34:26 [debug] 14237\#0: *5 lua http cleanup free: 04ACD130 2022/05/27 16:34:26 [debug] 14237\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:26 [debug] 14237\#0: *5 lua close socket connection 2022/05/27 16:34:26 [debug] 14237\#0: *5 free: 04ACDB98, unused: 0 2022/05/27 16:34:26 [debug] 14237\#0: *5 reusable connection: 0 2022/05/27 16:34:26 [debug] 14237\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 13: tls version - TLSv1.2 - pattern "got TLS1 version: TLSv1.2," should match a line in error.log (req 0) | |
ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:31 [error] 14274\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:13671 2022/05/27 16:34:31 [debug] 14274\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:31 [debug] 14274\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:31 [debug] 14274\#0: *4 http lua fake request count:1 2022/05/27 16:34:31 [debug] 14274\#0: *4 http lua close fake request 2022/05/27 16:34:31 [debug] 14274\#0: *4 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:31 [error] 14274\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:31 [debug] 14274\#0: *1 event timer del: 10: 3606836 2022/05/27 16:34:31 [debug] 14274\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:31 [debug] 14274\#0: *1 lua finalize socket 2022/05/27 16:34:31 [debug] 14274\#0: *1 lua http cleanup free: 04A83E20 2022/05/27 16:34:31 [debug] 14274\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:31 [debug] 14274\#0: *1 lua close socket connection 2022/05/27 16:34:31 [debug] 14274\#0: *1 free: 04A84B50, unused: 0 2022/05/27 16:34:31 [debug] 14274\#0: *1 reusable connection: 0 2022/05/27 16:34:31 [debug] 14274\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 13: tls version - TLSv1.2 - pattern "got TLS1 version: TLSv1.2," should match a line in error.log (req 1) | |
ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:32 [error] 14274\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:13671 2022/05/27 16:34:32 [debug] 14274\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:32 [debug] 14274\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:32 [debug] 14274\#0: *8 http lua fake request count:1 2022/05/27 16:34:32 [debug] 14274\#0: *8 http lua close fake request 2022/05/27 16:34:32 [debug] 14274\#0: *8 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:32 [error] 14274\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:32 [debug] 14274\#0: *5 event timer del: 10: 3608308 2022/05/27 16:34:32 [debug] 14274\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:32 [debug] 14274\#0: *5 lua finalize socket 2022/05/27 16:34:32 [debug] 14274\#0: *5 lua http cleanup free: 04ACB4C0 2022/05/27 16:34:32 [debug] 14274\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:32 [debug] 14274\#0: *5 lua close socket connection 2022/05/27 16:34:32 [debug] 14274\#0: *5 free: 04ACC1F0, unused: 0 2022/05/27 16:34:32 [debug] 14274\#0: *5 reusable connection: 0 2022/05/27 16:34:32 [debug] 14274\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 10: tls version - SSLv3 - pattern "got TLS1 version: SSLv3," should match a line in error.log (req 0) | |
ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:37 [error] 14310\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:46440 2022/05/27 16:34:37 [debug] 14310\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:37 [debug] 14310\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:37 [debug] 14310\#0: *4 http lua fake request count:1 2022/05/27 16:34:37 [debug] 14310\#0: *4 http lua close fake request 2022/05/27 16:34:37 [debug] 14310\#0: *4 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:37 [error] 14310\#0: *1 SSL_do_handshake() failed (SSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number 40), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:37 [debug] 14310\#0: *1 event timer del: 10: 3613100 2022/05/27 16:34:37 [debug] 14310\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:37 [debug] 14310\#0: *1 lua finalize socket 2022/05/27 16:34:37 [debug] 14310\#0: *1 lua http cleanup free: 04A83E28 2022/05/27 16:34:37 [debug] 14310\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:37 [debug] 14310\#0: *1 lua close socket connection 2022/05/27 16:34:37 [debug] 14310\#0: *1 free: 04A84B58, unused: 0 2022/05/27 16:34:37 [debug] 14310\#0: *1 reusable connection: 0 2022/05/27 16:34:37 [debug] 14310\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 10: tls version - SSLv3 - pattern "got TLS1 version: SSLv3," should match a line in error.log (req 1) | |
ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:38 [error] 14310\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:46440 2022/05/27 16:34:38 [debug] 14310\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:38 [debug] 14310\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:38 [debug] 14310\#0: *8 http lua fake request count:1 2022/05/27 16:34:38 [debug] 14310\#0: *8 http lua close fake request 2022/05/27 16:34:38 [debug] 14310\#0: *8 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:38 [error] 14310\#0: *5 SSL_do_handshake() failed (SSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number 40), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:38 [debug] 14310\#0: *5 event timer del: 10: 3614564 2022/05/27 16:34:38 [debug] 14310\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:38 [debug] 14310\#0: *5 lua finalize socket 2022/05/27 16:34:38 [debug] 14310\#0: *5 lua http cleanup free: 04ACA970 2022/05/27 16:34:38 [debug] 14310\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:38 [debug] 14310\#0: *5 lua close socket connection 2022/05/27 16:34:38 [debug] 14310\#0: *5 free: 04ACB6A0, unused: 0 2022/05/27 16:34:38 [debug] 14310\#0: *5 reusable connection: 0 2022/05/27 16:34:38 [debug] 14310\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "read server port from Lua: nilunix domain has no port" should match a line in error.log (req 0) | |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:43 [error] 14342\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:43 [debug] 14342\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:43 [debug] 14342\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:43 [debug] 14342\#0: *4 http lua fake request count:1 2022/05/27 16:34:43 [debug] 14342\#0: *4 http lua close fake request 2022/05/27 16:34:43 [debug] 14342\#0: *4 http lua close fake http connection 04A7E720 ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:43 [error] 14342\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:43 [debug] 14342\#0: *1 event timer del: 10: 3619268 2022/05/27 16:34:43 [debug] 14342\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:43 [debug] 14342\#0: *1 lua finalize socket 2022/05/27 16:34:43 [debug] 14342\#0: *1 lua http cleanup free: 04A85B50 2022/05/27 16:34:43 [debug] 14342\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:43 [debug] 14342\#0: *1 lua close socket connection 2022/05/27 16:34:43 [debug] 14342\#0: *1 free: 04A865B8, unused: 0 2022/05/27 16:34:43 [debug] 14342\#0: *1 reusable connection: 0 2022/05/27 16:34:43 [debug] 14342\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "read server port from Lua: nilunix domain has no port" should match a line in error.log (req 1) | |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:44 [error] 14342\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:44 [debug] 14342\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:44 [debug] 14342\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:44 [debug] 14342\#0: *8 http lua fake request count:1 2022/05/27 16:34:44 [debug] 14342\#0: *8 http lua close fake request 2022/05/27 16:34:44 [debug] 14342\#0: *8 http lua close fake http connection 04A7E720 ' |
ssl.t | TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:44 [error] 14342\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:44 [debug] 14342\#0: *5 event timer del: 10: 3620832 2022/05/27 16:34:44 [debug] 14342\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:44 [debug] 14342\#0: *5 lua finalize socket 2022/05/27 16:34:44 [debug] 14342\#0: *5 lua http cleanup free: 04ACD0E0 2022/05/27 16:34:44 [debug] 14342\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:44 [debug] 14342\#0: *5 lua close socket connection 2022/05/27 16:34:44 [debug] 14342\#0: *5 free: 04ACDB48, unused: 0 2022/05/27 16:34:44 [debug] 14342\#0: *5 reusable connection: 0 2022/05/27 16:34:44 [debug] 14342\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:49 [error] 14379\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:49 [debug] 14379\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:49 [debug] 14379\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:49 [debug] 14379\#0: *4 http lua fake request count:1 2022/05/27 16:34:49 [debug] 14379\#0: *4 http lua close fake request 2022/05/27 16:34:49 [debug] 14379\#0: *4 http lua close fake http connection 04A7CCF8 ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:50 [error] 14379\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:50 [debug] 14379\#0: *1 event timer del: 10: 3625529 2022/05/27 16:34:50 [debug] 14379\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:50 [debug] 14379\#0: *1 lua finalize socket 2022/05/27 16:34:50 [debug] 14379\#0: *1 lua http cleanup free: 04A84128 2022/05/27 16:34:50 [debug] 14379\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:50 [debug] 14379\#0: *1 lua close socket connection 2022/05/27 16:34:50 [debug] 14379\#0: *1 free: 04A84B90, unused: 0 2022/05/27 16:34:50 [debug] 14379\#0: *1 reusable connection: 0 2022/05/27 16:34:50 [debug] 14379\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:51 [error] 14379\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:34:51 [debug] 14379\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:51 [debug] 14379\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:51 [debug] 14379\#0: *8 http lua fake request count:1 2022/05/27 16:34:51 [debug] 14379\#0: *8 http lua close fake request 2022/05/27 16:34:51 [debug] 14379\#0: *8 http lua close fake http connection 04A7CCF8 ' |
ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:51 [error] 14379\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:51 [debug] 14379\#0: *5 event timer del: 10: 3627113 2022/05/27 16:34:51 [debug] 14379\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:51 [debug] 14379\#0: *5 lua finalize socket 2022/05/27 16:34:51 [debug] 14379\#0: *5 lua http cleanup free: 04ACCE18 2022/05/27 16:34:51 [debug] 14379\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:51 [debug] 14379\#0: *5 lua close socket connection 2022/05/27 16:34:51 [debug] 14379\#0: *5 free: 04ACD880, unused: 0 2022/05/27 16:34:51 [debug] 14379\#0: *5 reusable connection: 0 2022/05/27 16:34:51 [debug] 14379\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "(?^:read server port from Lua: \d+)" should match a line in error.log (req 0) | |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:56 [error] 14416\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:20006 2022/05/27 16:34:56 [debug] 14416\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:34:56 [debug] 14416\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:56 [debug] 14416\#0: *4 http lua fake request count:1 2022/05/27 16:34:56 [debug] 14416\#0: *4 http lua close fake request 2022/05/27 16:34:56 [debug] 14416\#0: *4 http lua close fake http connection 04A7E5A0 ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:56 [error] 14416\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:34:56 [debug] 14416\#0: *1 event timer del: 10: 3631913 2022/05/27 16:34:56 [debug] 14416\#0: *1 lua tcp socket handle connect error 2022/05/27 16:34:56 [debug] 14416\#0: *1 lua finalize socket 2022/05/27 16:34:56 [debug] 14416\#0: *1 lua http cleanup free: 04A85A90 2022/05/27 16:34:56 [debug] 14416\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:34:56 [debug] 14416\#0: *1 lua close socket connection 2022/05/27 16:34:56 [debug] 14416\#0: *1 free: 04A867C0, unused: 0 2022/05/27 16:34:56 [debug] 14416\#0: *1 reusable connection: 0 2022/05/27 16:34:56 [debug] 14416\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "(?^:read server port from Lua: \d+)" should match a line in error.log (req 1) | |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:57 [error] 14416\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:20006 2022/05/27 16:34:57 [debug] 14416\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:34:57 [debug] 14416\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:34:57 [debug] 14416\#0: *8 http lua fake request count:1 2022/05/27 16:34:57 [debug] 14416\#0: *8 http lua close fake request 2022/05/27 16:34:57 [debug] 14416\#0: *8 http lua close fake http connection 04A7E5A0 ' |
ssl.t | TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:34:57 [error] 14416\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:34:57 [debug] 14416\#0: *5 event timer del: 10: 3633417 2022/05/27 16:34:57 [debug] 14416\#0: *5 lua tcp socket handle connect error 2022/05/27 16:34:57 [debug] 14416\#0: *5 lua finalize socket 2022/05/27 16:34:57 [debug] 14416\#0: *5 lua http cleanup free: 04ACCED8 2022/05/27 16:34:57 [debug] 14416\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:34:57 [debug] 14416\#0: *5 lua close socket connection 2022/05/27 16:34:57 [debug] 14416\#0: *5 free: 04ACDC08, unused: 0 2022/05/27 16:34:57 [debug] 14416\#0: *5 reusable connection: 0 2022/05/27 16:34:57 [debug] 14416\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:02 [error] 14453\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:35:02 [debug] 14453\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:02 [debug] 14453\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:02 [debug] 14453\#0: *4 http lua fake request count:1 2022/05/27 16:35:02 [debug] 14453\#0: *4 http lua close fake request 2022/05/27 16:35:02 [debug] 14453\#0: *4 http lua close fake http connection 04A7E8E0 ' |
ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:02 [error] 14453\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:02 [debug] 14453\#0: *1 event timer del: 10: 3638101 2022/05/27 16:35:02 [debug] 14453\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:02 [debug] 14453\#0: *1 lua finalize socket 2022/05/27 16:35:02 [debug] 14453\#0: *1 lua http cleanup free: 04A85D10 2022/05/27 16:35:02 [debug] 14453\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:02 [debug] 14453\#0: *1 lua close socket connection 2022/05/27 16:35:02 [debug] 14453\#0: *1 free: 04A86778, unused: 0 2022/05/27 16:35:02 [debug] 14453\#0: *1 reusable connection: 0 2022/05/27 16:35:02 [debug] 14453\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:03 [error] 14453\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:35:03 [debug] 14453\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:03 [debug] 14453\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:03 [debug] 14453\#0: *8 http lua fake request count:1 2022/05/27 16:35:03 [debug] 14453\#0: *8 http lua close fake request 2022/05/27 16:35:03 [debug] 14453\#0: *8 http lua close fake http connection 04A7E8E0 ' |
ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:03 [error] 14453\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:03 [debug] 14453\#0: *5 event timer del: 10: 3639681 2022/05/27 16:35:03 [debug] 14453\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:03 [debug] 14453\#0: *5 lua finalize socket 2022/05/27 16:35:03 [debug] 14453\#0: *5 lua http cleanup free: 04ACDE50 2022/05/27 16:35:03 [debug] 14453\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:03 [debug] 14453\#0: *5 lua close socket connection 2022/05/27 16:35:03 [debug] 14453\#0: *5 free: 04ACE8B8, unused: 0 2022/05/27 16:35:03 [debug] 14453\#0: *5 reusable connection: 0 2022/05/27 16:35:03 [debug] 14453\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 0) | |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:08 [error] 14492\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: ::1, server: [::1]:46517 2022/05/27 16:35:08 [debug] 14492\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:08 [debug] 14492\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:08 [debug] 14492\#0: *4 http lua fake request count:1 2022/05/27 16:35:08 [debug] 14492\#0: *4 http lua close fake request 2022/05/27 16:35:08 [debug] 14492\#0: *4 http lua close fake http connection 04A7F4F0 ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:09 [error] 14492\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:09 [debug] 14492\#0: *1 event timer del: 10: 3644545 2022/05/27 16:35:09 [debug] 14492\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:09 [debug] 14492\#0: *1 lua finalize socket 2022/05/27 16:35:09 [debug] 14492\#0: *1 lua http cleanup free: 04A869E8 2022/05/27 16:35:09 [debug] 14492\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:09 [debug] 14492\#0: *1 lua close socket connection 2022/05/27 16:35:09 [debug] 14492\#0: *1 free: 04A87748, unused: 0 2022/05/27 16:35:09 [debug] 14492\#0: *1 reusable connection: 0 2022/05/27 16:35:09 [debug] 14492\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 1) | |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:10 [error] 14492\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: ::1, server: [::1]:46517 2022/05/27 16:35:10 [debug] 14492\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:10 [debug] 14492\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:10 [debug] 14492\#0: *8 http lua fake request count:1 2022/05/27 16:35:10 [debug] 14492\#0: *8 http lua close fake request 2022/05/27 16:35:10 [debug] 14492\#0: *8 http lua close fake http connection 04A7F4F0 ' |
ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:10 [error] 14492\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:10 [debug] 14492\#0: *5 event timer del: 10: 3646053 2022/05/27 16:35:10 [debug] 14492\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:10 [debug] 14492\#0: *5 lua finalize socket 2022/05/27 16:35:10 [debug] 14492\#0: *5 lua http cleanup free: 04ACEDE0 2022/05/27 16:35:10 [debug] 14492\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:10 [debug] 14492\#0: *5 lua close socket connection 2022/05/27 16:35:10 [debug] 14492\#0: *5 free: 04ACFB40, unused: 0 2022/05/27 16:35:10 [debug] 14492\#0: *5 reusable connection: 0 2022/05/27 16:35:10 [debug] 14492\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 12: tls version - TLSv1.1 - pattern "got TLS1 version: TLSv1.1," should match a line in error.log (req 0) | |
ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:15 [error] 14529\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:42486 2022/05/27 16:35:15 [debug] 14529\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:15 [debug] 14529\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:15 [debug] 14529\#0: *4 http lua fake request count:1 2022/05/27 16:35:15 [debug] 14529\#0: *4 http lua close fake request 2022/05/27 16:35:15 [debug] 14529\#0: *4 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:15 [error] 14529\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:15 [debug] 14529\#0: *1 event timer del: 10: 3650857 2022/05/27 16:35:15 [debug] 14529\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:15 [debug] 14529\#0: *1 lua finalize socket 2022/05/27 16:35:15 [debug] 14529\#0: *1 lua http cleanup free: 04A83E28 2022/05/27 16:35:15 [debug] 14529\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:15 [debug] 14529\#0: *1 lua close socket connection 2022/05/27 16:35:15 [debug] 14529\#0: *1 free: 04A84B58, unused: 0 2022/05/27 16:35:15 [debug] 14529\#0: *1 reusable connection: 0 2022/05/27 16:35:15 [debug] 14529\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 12: tls version - TLSv1.1 - pattern "got TLS1 version: TLSv1.1," should match a line in error.log (req 1) | |
ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:16 [error] 14529\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:42486 2022/05/27 16:35:16 [debug] 14529\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:16 [debug] 14529\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:16 [debug] 14529\#0: *8 http lua fake request count:1 2022/05/27 16:35:16 [debug] 14529\#0: *8 http lua close fake request 2022/05/27 16:35:16 [debug] 14529\#0: *8 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:16 [error] 14529\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:16 [debug] 14529\#0: *5 event timer del: 10: 3652333 2022/05/27 16:35:16 [debug] 14529\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:16 [debug] 14529\#0: *5 lua finalize socket 2022/05/27 16:35:16 [debug] 14529\#0: *5 lua http cleanup free: 04ACAE80 2022/05/27 16:35:16 [debug] 14529\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:16 [debug] 14529\#0: *5 lua close socket connection 2022/05/27 16:35:16 [debug] 14529\#0: *5 free: 04ACBBB0, unused: 0 2022/05/27 16:35:16 [debug] 14529\#0: *5 reusable connection: 0 2022/05/27 16:35:16 [debug] 14529\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "read SNI name from Lua: nil, type: nil" should match a line in error.log (req 0) | |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:21 [error] 14566\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:35:21 [debug] 14566\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:21 [debug] 14566\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:21 [debug] 14566\#0: *4 http lua fake request count:1 2022/05/27 16:35:21 [debug] 14566\#0: *4 http lua close fake request 2022/05/27 16:35:21 [debug] 14566\#0: *4 http lua close fake http connection 04A7E560 ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:21 [error] 14566\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:21 [debug] 14566\#0: *1 event timer del: 10: 3657078 2022/05/27 16:35:21 [debug] 14566\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:21 [debug] 14566\#0: *1 lua finalize socket 2022/05/27 16:35:21 [debug] 14566\#0: *1 lua http cleanup free: 04A85938 2022/05/27 16:35:21 [debug] 14566\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:21 [debug] 14566\#0: *1 lua close socket connection 2022/05/27 16:35:21 [debug] 14566\#0: *1 free: 04A863A0, unused: 0 2022/05/27 16:35:21 [debug] 14566\#0: *1 reusable connection: 0 2022/05/27 16:35:21 [debug] 14566\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "read SNI name from Lua: nil, type: nil" should match a line in error.log (req 1) | |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:22 [error] 14566\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:35:22 [debug] 14566\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:22 [debug] 14566\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:22 [debug] 14566\#0: *8 http lua fake request count:1 2022/05/27 16:35:22 [debug] 14566\#0: *8 http lua close fake request 2022/05/27 16:35:22 [debug] 14566\#0: *8 http lua close fake http connection 04A7E560 ' |
ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:22 [error] 14566\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:22 [debug] 14566\#0: *5 event timer del: 10: 3658630 2022/05/27 16:35:22 [debug] 14566\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:22 [debug] 14566\#0: *5 lua finalize socket 2022/05/27 16:35:22 [debug] 14566\#0: *5 lua http cleanup free: 04ACCC60 2022/05/27 16:35:22 [debug] 14566\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:22 [debug] 14566\#0: *5 lua close socket connection 2022/05/27 16:35:22 [debug] 14566\#0: *5 free: 04ACD6C8, unused: 0 2022/05/27 16:35:22 [debug] 14566\#0: *5 reusable connection: 0 2022/05/27 16:35:22 [debug] 14566\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 0) | |
ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 1) | |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0) | |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:33 [error] 14634\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:44819 2022/05/27 16:35:33 [debug] 14634\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:33 [debug] 14634\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:33 [debug] 14634\#0: *4 http lua fake request count:1 2022/05/27 16:35:33 [debug] 14634\#0: *4 http lua close fake request 2022/05/27 16:35:33 [debug] 14634\#0: *4 http lua close fake http connection 04A7E5A0 ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:34 [error] 14634\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:34 [debug] 14634\#0: *1 event timer del: 10: 3669646 2022/05/27 16:35:34 [debug] 14634\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:34 [debug] 14634\#0: *1 lua finalize socket 2022/05/27 16:35:34 [debug] 14634\#0: *1 lua http cleanup free: 04A85A40 2022/05/27 16:35:34 [debug] 14634\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:34 [debug] 14634\#0: *1 lua close socket connection 2022/05/27 16:35:34 [debug] 14634\#0: *1 free: 04A86770, unused: 0 2022/05/27 16:35:34 [debug] 14634\#0: *1 reusable connection: 0 2022/05/27 16:35:34 [debug] 14634\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:35 [error] 14634\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:44819 2022/05/27 16:35:35 [debug] 14634\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:35 [debug] 14634\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:35 [debug] 14634\#0: *8 http lua fake request count:1 2022/05/27 16:35:35 [debug] 14634\#0: *8 http lua close fake request 2022/05/27 16:35:35 [debug] 14634\#0: *8 http lua close fake http connection 04A7E5A0 ' |
ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:35 [error] 14634\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:35 [debug] 14634\#0: *5 event timer del: 10: 3671126 2022/05/27 16:35:35 [debug] 14634\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:35 [debug] 14634\#0: *5 lua finalize socket 2022/05/27 16:35:35 [debug] 14634\#0: *5 lua http cleanup free: 04ACD278 2022/05/27 16:35:35 [debug] 14634\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:35 [debug] 14634\#0: *5 lua close socket connection 2022/05/27 16:35:35 [debug] 14634\#0: *5 free: 04ACDFA8, unused: 0 2022/05/27 16:35:35 [debug] 14634\#0: *5 reusable connection: 0 2022/05/27 16:35:35 [debug] 14634\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 11: tls version - TLSv1 - pattern "got TLS1 version: TLSv1," should match a line in error.log (req 0) | |
ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:40 [error] 14673\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:18051 2022/05/27 16:35:40 [debug] 14673\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:40 [debug] 14673\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:40 [debug] 14673\#0: *4 http lua fake request count:1 2022/05/27 16:35:40 [debug] 14673\#0: *4 http lua close fake request 2022/05/27 16:35:40 [debug] 14673\#0: *4 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:40 [error] 14673\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:40 [debug] 14673\#0: *1 event timer del: 10: 3675922 2022/05/27 16:35:40 [debug] 14673\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:40 [debug] 14673\#0: *1 lua finalize socket 2022/05/27 16:35:40 [debug] 14673\#0: *1 lua http cleanup free: 04A83E20 2022/05/27 16:35:40 [debug] 14673\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:40 [debug] 14673\#0: *1 lua close socket connection 2022/05/27 16:35:40 [debug] 14673\#0: *1 free: 04A84B50, unused: 0 2022/05/27 16:35:40 [debug] 14673\#0: *1 reusable connection: 0 2022/05/27 16:35:40 [debug] 14673\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 11: tls version - TLSv1 - pattern "got TLS1 version: TLSv1," should match a line in error.log (req 1) | |
ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:41 [error] 14673\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:18051 2022/05/27 16:35:41 [debug] 14673\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:41 [debug] 14673\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:41 [debug] 14673\#0: *8 http lua fake request count:1 2022/05/27 16:35:41 [debug] 14673\#0: *8 http lua close fake request 2022/05/27 16:35:41 [debug] 14673\#0: *8 http lua close fake http connection 04A7DA00 ' |
ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:41 [error] 14673\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:41 [debug] 14673\#0: *5 event timer del: 10: 3677394 2022/05/27 16:35:41 [debug] 14673\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:41 [debug] 14673\#0: *5 lua finalize socket 2022/05/27 16:35:41 [debug] 14673\#0: *5 lua http cleanup free: 04ACADE0 2022/05/27 16:35:41 [debug] 14673\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:41 [debug] 14673\#0: *5 lua close socket connection 2022/05/27 16:35:41 [debug] 14673\#0: *5 free: 04ACBB10, unused: 0 2022/05/27 16:35:41 [debug] 14673\#0: *5 reusable connection: 0 2022/05/27 16:35:41 [debug] 14673\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 0) | |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 0) | |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:46 [error] 14710\#0: *3 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 0.0.0.0:63055 2022/05/27 16:35:46 [debug] 14710\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:35:46 [debug] 14710\#0: *3 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:46 [debug] 14710\#0: *3 http lua fake request count:1 2022/05/27 16:35:46 [debug] 14710\#0: *3 http lua close fake request 2022/05/27 16:35:46 [debug] 14710\#0: *3 http lua close fake http connection 04A7E88C ' |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:48 [error] 14710\#0: *1 [lua] content_by_lua(nginx.conf:111):25: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:48 [debug] 14710\#0: *1 lua resume returned 0 2022/05/27 16:35:48 [debug] 14710\#0: *1 lua light thread ended normally 2022/05/27 16:35:48 [debug] 14710\#0: *1 lua deleting light thread 2022/05/27 16:35:48 [debug] 14710\#0: *1 lua capture header filter, uri "/t" 2022/05/27 16:35:48 [debug] 14710\#0: *1 malloc: 04AB4960:8 2022/05/27 16:35:48 [debug] 14710\#0: *1 malloc: 04AB4998:8 2022/05/27 16:35:48 [debug] 14710\#0: *1 malloc: 04AB49D0:52 2022/05/27 16:35:48 [debug] 14710\#0: *1 malloc: 04AB4A38:8 2022/05/27 16:35:48 [debug] 14710\#0: *1 malloc: 04AB4A70:161 ' |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 1) | |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 1) | |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:49 [error] 14710\#0: *6 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 0.0.0.0:63055 2022/05/27 16:35:49 [debug] 14710\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:35:49 [debug] 14710\#0: *6 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:49 [debug] 14710\#0: *6 http lua fake request count:1 2022/05/27 16:35:49 [debug] 14710\#0: *6 http lua close fake request 2022/05/27 16:35:49 [debug] 14710\#0: *6 http lua close fake http connection 04A7E88C ' |
ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:51 [error] 14710\#0: *4 [lua] content_by_lua(nginx.conf:111):25: openssl client handshake timeout, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:51 [debug] 14710\#0: *4 lua resume returned 0 2022/05/27 16:35:51 [debug] 14710\#0: *4 lua light thread ended normally 2022/05/27 16:35:51 [debug] 14710\#0: *4 lua deleting light thread 2022/05/27 16:35:51 [debug] 14710\#0: *4 lua capture header filter, uri "/t" 2022/05/27 16:35:51 [debug] 14710\#0: *4 malloc: 04AC9AE8:8 2022/05/27 16:35:51 [debug] 14710\#0: *4 malloc: 04AC9B20:8 2022/05/27 16:35:51 [debug] 14710\#0: *4 malloc: 04AC9B58:52 2022/05/27 16:35:51 [debug] 14710\#0: *4 malloc: 04AC9BC0:8 2022/05/27 16:35:51 [debug] 14710\#0: *4 malloc: 04AC9BF8:161 ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "(?^:Using unix socket file .*?nginx\.sock)" should match a line in error.log (req 0) | |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:56 [error] 14773\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:35:56 [debug] 14773\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:35:56 [debug] 14773\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:56 [debug] 14773\#0: *4 http lua fake request count:1 2022/05/27 16:35:56 [debug] 14773\#0: *4 http lua close fake request 2022/05/27 16:35:56 [debug] 14773\#0: *4 http lua close fake http connection 04A7F5D8 ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:56 [error] 14773\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:35:56 [debug] 14773\#0: *1 event timer del: 10: 3691991 2022/05/27 16:35:56 [debug] 14773\#0: *1 lua tcp socket handle connect error 2022/05/27 16:35:56 [debug] 14773\#0: *1 lua finalize socket 2022/05/27 16:35:56 [debug] 14773\#0: *1 lua http cleanup free: 04A86A08 2022/05/27 16:35:56 [debug] 14773\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:35:56 [debug] 14773\#0: *1 lua close socket connection 2022/05/27 16:35:56 [debug] 14773\#0: *1 free: 04A87470, unused: 0 2022/05/27 16:35:56 [debug] 14773\#0: *1 reusable connection: 0 2022/05/27 16:35:56 [debug] 14773\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "(?^:Using unix socket file .*?nginx\.sock)" should match a line in error.log (req 1) | |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:57 [error] 14773\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:35:57 [debug] 14773\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:35:57 [debug] 14773\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:35:57 [debug] 14773\#0: *8 http lua fake request count:1 2022/05/27 16:35:57 [debug] 14773\#0: *8 http lua close fake request 2022/05/27 16:35:57 [debug] 14773\#0: *8 http lua close fake http connection 04A7F5D8 ' |
ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:35:57 [error] 14773\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:35:57 [debug] 14773\#0: *5 event timer del: 10: 3693559 2022/05/27 16:35:57 [debug] 14773\#0: *5 lua tcp socket handle connect error 2022/05/27 16:35:57 [debug] 14773\#0: *5 lua finalize socket 2022/05/27 16:35:57 [debug] 14773\#0: *5 lua http cleanup free: 04ACEEA8 2022/05/27 16:35:57 [debug] 14773\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:35:57 [debug] 14773\#0: *5 lua close socket connection 2022/05/27 16:35:57 [debug] 14773\#0: *5 free: 04ACF910, unused: 0 2022/05/27 16:35:57 [debug] 14773\#0: *5 reusable connection: 0 2022/05/27 16:35:57 [debug] 14773\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509\(\) failed)" should match a line in error.log (req 0) | |
ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:36:02 [crit] 14810\#0: *3 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2022/05/27 16:36:02 [debug] 14810\#0: *3 close http connection: 11 2022/05/27 16:36:02 [debug] 14810\#0: *3 event timer del: 11: 3755495 2022/05/27 16:36:02 [debug] 14810\#0: *3 poll del event: fd:11 ev:1 2022/05/27 16:36:02 [debug] 14810\#0: *3 reusable connection: 0 2022/05/27 16:36:02 [debug] 14810\#0: *3 free: 04AA9930, unused: 0 2022/05/27 16:36:02 [debug] 14810\#0: *3 free: 04AA9240, unused: 0 2022/05/27 16:36:02 [debug] 14810\#0: *3 free: 04A97240, unused: 0 2022/05/27 16:36:02 [debug] 14810\#0: *3 free: 04A971A8, unused: 0 2022/05/27 16:36:02 [debug] 14810\#0: *3 free: 04A97130, unused: 0 ' |
ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509\(\) failed)" should match a line in error.log (req 1) | |
ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:36:03 [crit] 14810\#0: *7 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2022/05/27 16:36:03 [debug] 14810\#0: *7 close http connection: 11 2022/05/27 16:36:03 [debug] 14810\#0: *7 event timer del: 11: 3756783 2022/05/27 16:36:03 [debug] 14810\#0: *7 poll del event: fd:11 ev:1 2022/05/27 16:36:03 [debug] 14810\#0: *7 reusable connection: 0 2022/05/27 16:36:03 [debug] 14810\#0: *7 free: 04AF26C0, unused: 0 2022/05/27 16:36:03 [debug] 14810\#0: *7 free: 04AF1FD0, unused: 0 2022/05/27 16:36:03 [debug] 14810\#0: *7 free: 04ADFFD0, unused: 0 2022/05/27 16:36:03 [debug] 14810\#0: *7 free: 04ADFF38, unused: 0 2022/05/27 16:36:03 [debug] 14810\#0: *7 free: 04ADFEC0, unused: 0 ' |
ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:08 [error] 14811\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:36:08 [debug] 14811\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:36:08 [debug] 14811\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:36:08 [debug] 14811\#0: *4 http lua fake request count:1 2022/05/27 16:36:08 [debug] 14811\#0: *4 http lua close fake request 2022/05/27 16:36:08 [debug] 14811\#0: *4 http lua close fake http connection 04A7C8B0 ' |
ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:09 [error] 14811\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:36:09 [debug] 14811\#0: *1 event timer del: 10: 3704439 2022/05/27 16:36:09 [debug] 14811\#0: *1 lua tcp socket handle connect error 2022/05/27 16:36:09 [debug] 14811\#0: *1 lua finalize socket 2022/05/27 16:36:09 [debug] 14811\#0: *1 lua http cleanup free: 04A83CE0 2022/05/27 16:36:09 [debug] 14811\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:36:09 [debug] 14811\#0: *1 lua close socket connection 2022/05/27 16:36:09 [debug] 14811\#0: *1 free: 04A84748, unused: 0 2022/05/27 16:36:09 [debug] 14811\#0: *1 reusable connection: 0 2022/05/27 16:36:09 [debug] 14811\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: cdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:10 [error] 14811\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:36:10 [debug] 14811\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:36:10 [debug] 14811\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:36:10 [debug] 14811\#0: *8 http lua fake request count:1 2022/05/27 16:36:10 [debug] 14811\#0: *8 http lua close fake request 2022/05/27 16:36:10 [debug] 14811\#0: *8 http lua close fake http connection 04A7C8B0 ' |
ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:10 [error] 14811\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:36:10 [debug] 14811\#0: *5 event timer del: 10: 3705995 2022/05/27 16:36:10 [debug] 14811\#0: *5 lua tcp socket handle connect error 2022/05/27 16:36:10 [debug] 14811\#0: *5 lua finalize socket 2022/05/27 16:36:10 [debug] 14811\#0: *5 lua http cleanup free: 04ACBE38 2022/05/27 16:36:10 [debug] 14811\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:36:10 [debug] 14811\#0: *5 lua close socket connection 2022/05/27 16:36:10 [debug] 14811\#0: *5 free: 04ACC8A0, unused: 0 2022/05/27 16:36:10 [debug] 14811\#0: *5 reusable connection: 0 2022/05/27 16:36:10 [debug] 14811\#0: *5 lua tcp socket waking up the current request ' |
ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509_AUX\(\) failed)" should match a line in error.log (req 0) | |
ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:36:15 [crit] 14836\#0: *3 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2022/05/27 16:36:15 [debug] 14836\#0: *3 close http connection: 11 2022/05/27 16:36:15 [debug] 14836\#0: *3 event timer del: 11: 3767959 2022/05/27 16:36:15 [debug] 14836\#0: *3 poll del event: fd:11 ev:1 2022/05/27 16:36:15 [debug] 14836\#0: *3 reusable connection: 0 2022/05/27 16:36:15 [debug] 14836\#0: *3 free: 04AA9930, unused: 0 2022/05/27 16:36:15 [debug] 14836\#0: *3 free: 04AA9240, unused: 0 2022/05/27 16:36:15 [debug] 14836\#0: *3 free: 04A97240, unused: 0 2022/05/27 16:36:15 [debug] 14836\#0: *3 free: 04A971A8, unused: 0 2022/05/27 16:36:15 [debug] 14836\#0: *3 free: 04A97130, unused: 0 ' |
ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509_AUX\(\) failed)" should match a line in error.log (req 1) | |
ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:36:16 [crit] 14836\#0: *7 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2022/05/27 16:36:16 [debug] 14836\#0: *7 close http connection: 11 2022/05/27 16:36:16 [debug] 14836\#0: *7 event timer del: 11: 3769271 2022/05/27 16:36:16 [debug] 14836\#0: *7 poll del event: fd:11 ev:1 2022/05/27 16:36:16 [debug] 14836\#0: *7 reusable connection: 0 2022/05/27 16:36:16 [debug] 14836\#0: *7 free: 04AF2678, unused: 0 2022/05/27 16:36:16 [debug] 14836\#0: *7 free: 04AF1F88, unused: 0 2022/05/27 16:36:16 [debug] 14836\#0: *7 free: 04ADFF88, unused: 0 2022/05/27 16:36:16 [debug] 14836\#0: *7 free: 04ADFEF0, unused: 0 2022/05/27 16:36:16 [debug] 14836\#0: *7 free: 04ADFE78, unused: 0 ' |
ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '502' expected: '200' |
ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 0, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.15.8 (no pool)</center> </body> </html> ' expected: 'NONE ' |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "client certificate subject: nil" should match a line in error.log (req 0) | |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:21 [error] 14873\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:36:21 [debug] 14873\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:36:21 [debug] 14873\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:36:21 [debug] 14873\#0: *4 http lua fake request count:1 2022/05/27 16:36:21 [debug] 14873\#0: *4 http lua close fake request 2022/05/27 16:36:21 [debug] 14873\#0: *4 http lua close fake http connection 04A6F810 ' |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:21 [error] 14873\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock:/t\", host: \"localhost\"" (req 0) |
2022/05/27 16:36:21 [debug] 14873\#0: *1 http upstream ssl handshake: "/t?" 2022/05/27 16:36:21 [debug] 14873\#0: *1 http next upstream, 2 2022/05/27 16:36:21 [debug] 14873\#0: *1 free rr peer 1 4 2022/05/27 16:36:21 [debug] 14873\#0: *1 finalize http upstream request: 502 2022/05/27 16:36:21 [debug] 14873\#0: *1 finalize http proxy request 2022/05/27 16:36:21 [debug] 14873\#0: *1 close http upstream connection: 10 2022/05/27 16:36:21 [debug] 14873\#0: *1 free: 04A74A70, unused: 0 2022/05/27 16:36:21 [debug] 14873\#0: *1 event timer del: 10: 3773948 2022/05/27 16:36:21 [debug] 14873\#0: *1 poll del event: fd:10 ev:1 ' |
ssl.t | TEST 25: verify client but client provides no certificate - status code ok |
got: '502' expected: '200' |
ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 1, req 0) |
got: '<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.15.8 (no pool)</center> </body> </html> ' expected: 'NONE ' |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "client certificate subject: nil" should match a line in error.log (req 1) | |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:22 [error] 14873\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:36:22 [debug] 14873\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:36:22 [debug] 14873\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:36:22 [debug] 14873\#0: *8 http lua fake request count:1 2022/05/27 16:36:22 [debug] 14873\#0: *8 http lua close fake request 2022/05/27 16:36:22 [debug] 14873\#0: *8 http lua close fake http connection 04A6F810 ' |
ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:22 [error] 14873\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock:/t\", host: \"localhost\"" (req 1) |
2022/05/27 16:36:22 [debug] 14873\#0: *5 http upstream ssl handshake: "/t?" 2022/05/27 16:36:22 [debug] 14873\#0: *5 http next upstream, 2 2022/05/27 16:36:22 [debug] 14873\#0: *5 free rr peer 1 4 2022/05/27 16:36:22 [debug] 14873\#0: *5 finalize http upstream request: 502 2022/05/27 16:36:22 [debug] 14873\#0: *5 finalize http proxy request 2022/05/27 16:36:22 [debug] 14873\#0: *5 close http upstream connection: 10 2022/05/27 16:36:22 [debug] 14873\#0: *5 free: 04ABBAE0, unused: 0 2022/05/27 16:36:22 [debug] 14873\#0: *5 event timer del: 10: 3775768 2022/05/27 16:36:22 [debug] 14873\#0: *5 poll del event: fd:10 ev:1 ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 0) |
@@ -1,4 +0,0 @@ -http lua semaphore new -http lua semaphore wait -http lua semaphore wait yielding -http lua semaphore post ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 0) | |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:28 [error] 14916\#0: *4 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' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:19372 2022/05/27 16:36:28 [debug] 14916\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:36:28 [debug] 14916\#0: *4 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:36:28 [debug] 14916\#0: *4 http lua fake request count:1 2022/05/27 16:36:28 [debug] 14916\#0: *4 http lua close fake request 2022/05/27 16:36:28 [debug] 14916\#0: *4 http lua close fake http connection 04A7DA98 ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:28 [error] 14916\#0: *1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2022/05/27 16:36:28 [debug] 14916\#0: *1 event timer del: 10: 3723888 2022/05/27 16:36:28 [debug] 14916\#0: *1 lua tcp socket handle connect error 2022/05/27 16:36:28 [debug] 14916\#0: *1 lua finalize socket 2022/05/27 16:36:28 [debug] 14916\#0: *1 lua http cleanup free: 04A83EC0 2022/05/27 16:36:28 [debug] 14916\#0: *1 poll del event: fd:10 ev:1 2022/05/27 16:36:28 [debug] 14916\#0: *1 lua close socket connection 2022/05/27 16:36:28 [debug] 14916\#0: *1 free: 04A84BF0, unused: 0 2022/05/27 16:36:28 [debug] 14916\#0: *1 reusable connection: 0 2022/05/27 16:36:28 [debug] 14916\#0: *1 lua tcp socket waking up the current request ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -http lua semaphore new -http lua semaphore wait -http lua semaphore wait yielding -http lua semaphore post ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 1) | |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:29 [error] 14916\#0: *8 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:19372 2022/05/27 16:36:29 [debug] 14916\#0: *8 lua request cleanup: forcible=0 2022/05/27 16:36:29 [debug] 14916\#0: *8 http lua finalize fake request: 500, a:1, c:1 2022/05/27 16:36:29 [debug] 14916\#0: *8 http lua fake request count:1 2022/05/27 16:36:29 [debug] 14916\#0: *8 http lua close fake request 2022/05/27 16:36:29 [debug] 14916\#0: *8 http lua close fake http connection 04A7DA98 ' |
ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:29 [error] 14916\#0: *5 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) |
2022/05/27 16:36:29 [debug] 14916\#0: *5 event timer del: 10: 3725364 2022/05/27 16:36:29 [debug] 14916\#0: *5 lua tcp socket handle connect error 2022/05/27 16:36:29 [debug] 14916\#0: *5 lua finalize socket 2022/05/27 16:36:29 [debug] 14916\#0: *5 lua http cleanup free: 04AC24D0 2022/05/27 16:36:29 [debug] 14916\#0: *5 poll del event: fd:10 ev:1 2022/05/27 16:36:29 [debug] 14916\#0: *5 lua close socket connection 2022/05/27 16:36:29 [debug] 14916\#0: *5 free: 04AC31B8, unused: 0 2022/05/27 16:36:29 [debug] 14916\#0: *5 reusable connection: 0 2022/05/27 16:36:29 [debug] 14916\#0: *5 lua tcp socket waking up the current request ' |
status.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
status.t | TEST 2: set ngx.status - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
status.t | TEST 2: set ngx.status - status code ok |
got: '' expected: '200' |
status.t | TEST 2: set ngx.status - pattern "status: 200," should match a line in error.log (req 0) | |
status.t | TEST 2: set ngx.status - pattern "(?^:\[TRACE\s+\d+\s+header_filter_by_lua\(nginx.conf:\d+\):2 loop\])" should match a line in error.log (req 0) | |
status.t | TEST 2: set ngx.status - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:32 [error] 14956\#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' ' |
status.t | TEST 2: set ngx.status - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
status.t | TEST 2: set ngx.status - status code ok |
got: '' expected: '200' |
status.t | TEST 2: set ngx.status - pattern "status: 200," should match a line in error.log (req 1) | |
status.t | TEST 2: set ngx.status - pattern "(?^:\[TRACE\s+\d+\s+header_filter_by_lua\(nginx.conf:\d+\):2 loop\])" should match a line in error.log (req 1) | |
status.t | TEST 2: set ngx.status - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:32 [error] 14956\#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' ' |
status.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
status.t | TEST 1: get ngx.status - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
status.t | TEST 1: get ngx.status - status code ok |
got: '' expected: '201' |
status.t | TEST 1: get ngx.status - pattern "sum: 6030," should match a line in error.log (req 0) | |
status.t | TEST 1: get ngx.status - pattern "(?^:\[TRACE\s+\d+\s+header_filter_by_lua\(nginx.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
status.t | TEST 1: get ngx.status - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:37 [error] 14983\#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' ' |
status.t | TEST 1: get ngx.status - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
status.t | TEST 1: get ngx.status - status code ok |
got: '' expected: '201' |
status.t | TEST 1: get ngx.status - pattern "sum: 6030," should match a line in error.log (req 1) | |
status.t | TEST 1: get ngx.status - pattern "(?^:\[TRACE\s+\d+\s+header_filter_by_lua\(nginx.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
status.t | TEST 1: get ngx.status - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:36:37 [error] 14983\#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' ' |
stream/balancer-timeout.t | TEST 1: set_timeouts - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/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+: 7689: \z)' |
stream/balancer-timeout.t | TEST 1: set_timeouts - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/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+: 7689: \z)' |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad connect timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | TEST 5: set connect timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad connect timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - pattern "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | TEST 12: set_timeouts called with a non-numerical parameter - pattern "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/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+: 7689: \z)' |
stream/balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/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+: 7689: \z)' |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad connect timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | TEST 6: set connect timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad connect timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad send timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | TEST 7: set send timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad send timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad read timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | TEST 9: set read timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad read timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | t/stream/balancer-timeout.t TEST 10 set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad read timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | t/stream/balancer-timeout.t TEST 10 set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad read timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/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: \z)' |
stream/balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/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: \z)' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'fake origin ' |
stream/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+: 7689: \z)' |
stream/balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'fake origin ' |
stream/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+: 7689: \z)' |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad send timeout)" should match a line in error.log (req 0) | |
stream/balancer-timeout.t | TEST 8: set send timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:3: bad send timeout)" should match a line in error.log (req 1) | |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to call: API disabled in the current context ' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:37:36 [error] 15330\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:30):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:37:36 [debug] 15330\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:37:36 [debug] 15330\#0: *3 finalize stream request: 500 2022/05/27 16:37:36 [debug] 15330\#0: *3 finalize stream session: 500 2022/05/27 16:37:36 [debug] 15330\#0: *3 stream log handler 2022/05/27 16:37:36 [debug] 15330\#0: *3 close stream connection: 11 ' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to call: API disabled in the current context ' |
stream/balancer-timeout.t | TEST 11: set_timeouts called in a wrong context - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:37:37 [error] 15330\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:30):2: loop or previous error loading module 'ngx.balancer'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:30):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:37:37 [debug] 15330\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:37:37 [debug] 15330\#0: *6 finalize stream request: 500 2022/05/27 16:37:37 [debug] 15330\#0: *6 finalize stream session: 500 2022/05/27 16:37:37 [debug] 15330\#0: *6 stream log handler 2022/05/27 16:37:37 [debug] 15330\#0: *6 close stream connection: 11 ' |
stream/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: "127.0.0.3:12345"\n){2}$)' |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - pattern "set more tries: reduced tries due to limit" should match a line in error.log (req 0) | |
stream/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: "127.0.0.3:12345"\n){2}$)' |
stream/balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - pattern "set more tries: reduced tries due to limit" should match a line in error.log (req 1) | |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - pattern "(?^:connect\(\) failed .*?, upstream: "127\.0\.0\.3:12345")" should match a line in error.log (req 0) | |
stream/balancer.t | TEST 1: set current peer (separate addr and port) - pattern "(?^:connect\(\) failed .*?, upstream: "127\.0\.0\.3:12345")" should match a line in error.log (req 1) | |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - pattern "(?^:connect\(\) failed .*?, upstream: "127\.0\.0\.3:12345")" should match a line in error.log (req 0) | |
stream/balancer.t | TEST 6: set current peer (port embedded in addr) - pattern "(?^:connect\(\) failed .*?, upstream: "127\.0\.0\.3:12345")" should match a line in error.log (req 1) | |
stream/balancer.t | TEST 5: 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 0 -last peer failure: failed 0 ' |
stream/balancer.t | TEST 5: 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 0 -last peer failure: failed 0 ' |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){1}$)' |
stream/balancer.t | TEST 3: set current peer & next upstream (no retries) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){1}$)' |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){3}$)' |
stream/balancer.t | TEST 2: set current peer & next upstream (3 tries) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^(?:connect\(\) failed .*?, upstream: "127.0.0.3:12345"\n){3}$)' |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - grep_error_log_out (req 0) |
got: '' expected: 'lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -lua release ngx.ctx at ref 1 -lua release ngx.ctx at ref 1 ' |
stream/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:19 |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -received: 42 -received: 1 ' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -lua release ngx.ctx at ref 2 -lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 0) | |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - status code ok |
got: '' expected: '200' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -received: 42 -received: 1 ' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -lua release ngx.ctx at ref 2 -lua release ngx.ctx at ref 1 -lua release ngx.ctx at ref 2 -lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 4: ngx.ctx in ssl_client_hello_by_lua - pattern "ngx.ctx.answer = 42" should match a line in error.log (req 1) | |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -received: 42 +received: nil -received: 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 0) |
@@ -1,2 +1,2 @@ -lua release ngx.ctx at ref 2 +lua release ngx.ctx at ref 1 lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:38:23 [error] 15601\#0: *5 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:32):3: attempt to perform arithmetic on field 'count' (a nil value)" (req 0) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:32): in main chunk, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:38:23 [debug] 15601\#0: *5 lua request cleanup: forcible=0 2022/05/27 16:38:23 [debug] 15601\#0: *5 finalize stream request: 500 2022/05/27 16:38:23 [debug] 15601\#0: *5 finalize stream session: 500 2022/05/27 16:38:23 [debug] 15601\#0: *5 stream log handler 2022/05/27 16:38:23 [debug] 15601\#0: *5 close stream connection: 14 2022/05/27 16:38:23 [debug] 15601\#0: *5 SSL_shutdown: 0 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -received: 42 +received: nil -received: 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) |
@@ -1,4 +1,4 @@ -lua release ngx.ctx at ref 2 lua release ngx.ctx at ref 1 -lua release ngx.ctx at ref 2 +lua release ngx.ctx at ref 1 +lua release ngx.ctx at ref 1 lua release ngx.ctx at ref 1 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:38:23 [error] 15601\#0: *5 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:32):3: attempt to perform arithmetic on field 'count' (a nil value)" (req 1) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:32): in main chunk, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:38:23 [debug] 15601\#0: *5 lua request cleanup: forcible=0 2022/05/27 16:38:23 [debug] 15601\#0: *5 finalize stream request: 500 2022/05/27 16:38:23 [debug] 15601\#0: *5 finalize stream session: 500 2022/05/27 16:38:23 [debug] 15601\#0: *5 stream log handler 2022/05/27 16:38:23 [debug] 15601\#0: *5 close stream connection: 14 2022/05/27 16:38:23 [debug] 15601\#0: *5 SSL_shutdown: 0 ' |
stream/ctx.t | TEST 1: ngx.ctx in ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:38:25 [error] 15601\#0: *11 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:32):3: attempt to perform arithmetic on field 'count' (a nil value)" (req 1) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:32): in main chunk, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:38:25 [debug] 15601\#0: *11 lua request cleanup: forcible=0 2022/05/27 16:38:25 [debug] 15601\#0: *11 finalize stream request: 500 2022/05/27 16:38:25 [debug] 15601\#0: *11 finalize stream session: 500 2022/05/27 16:38:25 [debug] 15601\#0: *11 stream log handler 2022/05/27 16:38:25 [debug] 15601\#0: *11 close stream connection: 14 2022/05/27 16:38:25 [debug] 15601\#0: *11 SSL_shutdown: 0 ' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'received: 1 ' |
stream/ctx.t | TEST 2: 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 16:38:31 [error] 15644\#0: *5 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:28):2: attempt to index field 'req' (a nil value)" (req 0) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:28): in main chunk, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:38:31 [debug] 15644\#0: *5 lua request cleanup: forcible=0 2022/05/27 16:38:31 [debug] 15644\#0: *5 finalize stream request: 500 2022/05/27 16:38:31 [debug] 15644\#0: *5 finalize stream session: 500 2022/05/27 16:38:31 [debug] 15644\#0: *5 stream log handler 2022/05/27 16:38:31 [debug] 15644\#0: *5 close stream connection: 14 2022/05/27 16:38:31 [debug] 15644\#0: *5 SSL_shutdown: 0 ' |
stream/ctx.t | TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'received: 1 ' |
stream/ctx.t | TEST 2: 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 16:38:31 [error] 15644\#0: *5 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:28):2: attempt to index field 'req' (a nil value)" (req 1) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:28): in main chunk, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:38:31 [debug] 15644\#0: *5 lua request cleanup: forcible=0 2022/05/27 16:38:31 [debug] 15644\#0: *5 finalize stream request: 500 2022/05/27 16:38:31 [debug] 15644\#0: *5 finalize stream session: 500 2022/05/27 16:38:31 [debug] 15644\#0: *5 stream log handler 2022/05/27 16:38:31 [debug] 15644\#0: *5 close stream connection: 14 2022/05/27 16:38:31 [debug] 15644\#0: *5 SSL_shutdown: 0 ' |
stream/ctx.t | TEST 2: 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 16:38:32 [error] 15644\#0: *11 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:28):2: attempt to index field 'req' (a nil value)" (req 1) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:28): in main chunk, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:38:32 [debug] 15644\#0: *11 lua request cleanup: forcible=0 2022/05/27 16:38:32 [debug] 15644\#0: *11 finalize stream request: 500 2022/05/27 16:38:32 [debug] 15644\#0: *11 finalize stream session: 500 2022/05/27 16:38:32 [debug] 15644\#0: *11 stream log handler 2022/05/27 16:38:32 [debug] 15644\#0: *11 close stream connection: 14 2022/05/27 16:38:32 [debug] 15644\#0: *11 SSL_shutdown: 0 ' |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 8: errlog.raw_log with \0 in the log message - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog-raw-log.t | TEST 8: errlog.raw_log with \0 in the log message - pattern "hello world, client: " should match a line in error.log (req 0) | |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - status code ok |
got: '' expected: '200' |
stream/errlog-raw-log.t | TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad log level ' |
stream/errlog-raw-log.t | TEST 1: errlog.raw_log with bad log level (ngx.ERROR, -1) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:38:39 [error] 15711\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog-raw-log.t | TEST 5: errlog.raw_log JITs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog-raw-log.t | TEST 5: errlog.raw_log JITs - status code ok |
got: '' expected: '200' |
stream/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) | |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 4: errlog.raw_log test log-level ERR - status code ok |
got: '' expected: '200' |
stream/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) | |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 2: errlog.raw_log with bad levels (9) - status code ok |
got: '' expected: '200' |
stream/errlog-raw-log.t | TEST 2: errlog.raw_log with bad levels (9) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad log level ' |
stream/errlog-raw-log.t | TEST 2: errlog.raw_log with bad levels (9) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:38:49 [error] 15777\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 7: errlog.raw_log in init_worker_by_lua - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 6: errlog.raw_log in init_by_lua - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 9: errlog.raw_log is captured by errlog.get_logs() - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/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) | |
stream/errlog-raw-log.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog-raw-log.t | TEST 3: errlog.raw_log with bad log message - status code ok |
got: '' expected: '200' |
stream/errlog-raw-log.t | TEST 3: errlog.raw_log with bad log message - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad argument #2 to 'raw_log' (must be a string) ' |
stream/errlog-raw-log.t | TEST 3: errlog.raw_log with bad log message - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:39:03 [error] 15863\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 29: ringbuf overflow bug - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 29: ringbuf overflow bug - status code ok |
got: '' expected: '200' |
stream/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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+)' |
stream/errlog.t | TEST 29: ringbuf overflow bug - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 29: ringbuf overflow bug - status code ok |
got: '' expected: '200' |
stream/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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - status code ok |
got: '' expected: '200' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog.t | TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - status code ok |
got: '' expected: '200' |
stream/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) |
' |
stream/errlog.t | TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - status code ok |
got: '' expected: '200' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 4: 500 error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 4: 500 error - status code ok |
got: '' expected: '200' |
stream/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 $)' |
stream/errlog.t | TEST 4: 500 error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 4: 500 error - status code ok |
got: '' expected: '200' |
stream/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 $)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 3: client connected info - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 3: client connected info - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 3: client connected info - grep_error_log_out (req 0) |
'' doesn't match '(?^:^client .*? connected to .*? capture log line:1 $)' |
stream/errlog.t | TEST 3: client connected info - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 3: client connected info - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 3: client connected info - grep_error_log_out (req 1) |
'' doesn't match '(?^:^client .*? connected to .*? capture log line:2 $)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 23: the system default filter level is "debug" - status code ok |
got: '' expected: '200' |
stream/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' |
stream/errlog.t | TEST 23: the system default filter level is "debug" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 23: the system default filter level is "debug" - status code ok |
got: '' expected: '200' |
stream/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' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 5: no error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 5: no error log - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 5: no error log - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello ' |
stream/errlog.t | TEST 5: no error log - grep_error_log_out (req 0) |
'' doesn't match '(?^:^capture log line:0 $)' |
stream/errlog.t | TEST 5: no error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 5: no error log - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 5: no error log - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello ' |
stream/errlog.t | TEST 5: no error log - grep_error_log_out (req 1) |
'' doesn't match '(?^:^capture log line:1 $)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 9: without directive + ngx.errlog - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 9: without directive + ngx.errlog - status code ok |
got: '' expected: '200' |
stream/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) | |
stream/errlog.t | TEST 9: without directive + ngx.errlog - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 9: without directive + ngx.errlog - status code ok |
got: '' expected: '200' |
stream/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) | |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 10: without directive + ngx.set_filter_level - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 10: without directive + ngx.set_filter_level - status code ok |
got: '' expected: '200' |
stream/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) | |
stream/errlog.t | TEST 10: without directive + ngx.set_filter_level - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 10: without directive + ngx.set_filter_level - status code ok |
got: '' expected: '200' |
stream/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) | |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'log lines:2 ' |
stream/errlog.t | TEST 1: sanity - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -enter 1 -enter 11 ' |
stream/errlog.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'log lines:2 ' |
stream/errlog.t | TEST 1: sanity - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -enter 1 -enter 11 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - status code ok |
got: '' expected: '200' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 27: sanity (with log time) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 27: sanity (with log time) - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 27: sanity (with log time) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'log lines:2 ' |
stream/errlog.t | TEST 27: sanity (with log time) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -enter 1 -enter 11 ' |
stream/errlog.t | TEST 27: sanity (with log time) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 27: sanity (with log time) - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 27: sanity (with log time) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'log lines:2 ' |
stream/errlog.t | TEST 27: sanity (with log time) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -enter 1 -enter 11 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - grep_error_log_out (req 0) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 12: filter log by level(ngx.WARN) - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog.t | TEST 19: fetch a few and generate a few, then fetch again (overflown again) - status code ok |
got: '' expected: '200' |
stream/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) |
' |
stream/errlog.t | TEST 19: fetch a few and generate a few, then fetch again (overflown again) - status code ok |
got: '' expected: '200' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/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) |
' |
stream/errlog.t | TEST 22: user-supplied Lua table to hold the result (get one log + no log) - status code ok |
got: '' expected: '200' |
stream/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+).*content_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: 0.0.0.0:\d+ end maybe log lines: #1 end \z)' |
stream/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) |
' |
stream/errlog.t | TEST 22: user-supplied Lua table to hold the result (get one log + no log) - status code ok |
got: '' expected: '200' |
stream/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+).*content_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: 0.0.0.0:\d+ end maybe log lines: #1 end \z)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 30: ringbuf sentinel bug1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 30: ringbuf sentinel bug1 - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 30: ringbuf sentinel bug1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 30: ringbuf sentinel bug1 - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 2: overflow captured error logs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 2: overflow captured error logs - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 2: overflow captured error logs - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'log lines:1 ' |
stream/errlog.t | TEST 2: overflow captured error logs - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -enter 1 -enter 22 ' |
stream/errlog.t | TEST 2: overflow captured error logs - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 2: overflow captured error logs - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 2: overflow captured error logs - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'log lines:1 ' |
stream/errlog.t | TEST 2: overflow captured error logs - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -enter 1 -enter 22 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - grep_error_log_out (req 0) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 11: filter log by level(ngx.INFO) - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 15: wrong argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 15: wrong argument - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 15: wrong argument - grep_error_log_out (req 0) |
got: '' expected: 'missing "level" argument ' |
stream/errlog.t | TEST 15: wrong argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 15: wrong argument - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 15: wrong argument - grep_error_log_out (req 1) |
got: '' expected: 'missing "level" argument ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 21: multi-line error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 21: multi-line error log - status code ok |
got: '' expected: '200' |
stream/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+).*content_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | TEST 21: multi-line error log - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 21: multi-line error log - status code ok |
got: '' expected: '200' |
stream/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+).*content_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: 0.0.0.0:\d+ \z)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - grep_error_log_out (req 0) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 13: filter log by level(ngx.CRIT) - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 28: log time eq ngx.now - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 28: log time eq ngx.now - status code ok |
got: '' expected: '200' |
stream/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+).*?content_by_lua\(nginx.conf:\d+\):\d+: enter 1, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+).*?content_by_lua\(nginx.conf:\d+\):\d+: enter 11, client: 127.0.0.1, server: 0.0.0.0:\d+ same with now: true)' |
stream/errlog.t | TEST 28: log time eq ngx.now - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -enter 1 -enter 11 ' |
stream/errlog.t | TEST 28: log time eq ngx.now - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 28: log time eq ngx.now - status code ok |
got: '' expected: '200' |
stream/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+).*?content_by_lua\(nginx.conf:\d+\):\d+: enter 1, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+).*?content_by_lua\(nginx.conf:\d+\):\d+: enter 11, client: 127.0.0.1, server: 0.0.0.0:\d+ same with now: true)' |
stream/errlog.t | TEST 28: log time eq ngx.now - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -enter 1 -enter 11 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 24: the system default filter level is "emerg" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 24: the system default filter level is "emerg" - status code ok |
got: '' expected: '200' |
stream/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' |
stream/errlog.t | TEST 24: the system default filter level is "emerg" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 24: the system default filter level is "emerg" - status code ok |
got: '' expected: '200' |
stream/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' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 6: customize the log path - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 6: customize the log path - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 6: customize the log path - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello ' |
stream/errlog.t | TEST 6: customize the log path - grep_error_log_out (req 0) |
'' doesn't match '(?^:^enter access capture log line:1 $)' |
stream/errlog.t | TEST 6: customize the log path - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 6: customize the log path - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 6: customize the log path - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello ' |
stream/errlog.t | TEST 6: customize the log path - grep_error_log_out (req 1) |
'' doesn't match '(?^:^enter access capture log line:2 $)' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 16: check the captured error log body - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 16: check the captured error log body - status code ok |
got: '' expected: '200' |
stream/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+).*content_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: -->3, client: 127.0.0.1, server: 0.0.0.0:\d+ )' |
stream/errlog.t | TEST 16: check the captured error log body - grep_error_log_out (req 0) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | TEST 16: check the captured error log body - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 16: check the captured error log body - status code ok |
got: '' expected: '200' |
stream/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+).*content_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: -->3, client: 127.0.0.1, server: 0.0.0.0:\d+ )' |
stream/errlog.t | TEST 16: check the captured error log body - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ --->1 --->2 --->3 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 14: set max count and reuse table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 14: set max count and reuse table - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | TEST 14: set max count and reuse table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 14: set max count and reuse table - status code ok |
got: '' expected: '200' |
stream/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 ' |
stream/errlog.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/errlog.t | TEST 31: ringbuf sentinel bug2 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 31: ringbuf sentinel bug2 - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 31: ringbuf sentinel bug2 - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:log lines: #18 log lines: #1 |log lines: #18 log lines: #2 )\z)' |
stream/errlog.t | TEST 31: ringbuf sentinel bug2 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/errlog.t | TEST 31: ringbuf sentinel bug2 - status code ok |
got: '' expected: '200' |
stream/errlog.t | TEST 31: ringbuf sentinel bug2 - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:log lines: #18 log lines: #1 |log lines: #18 log lines: #2 )\z)' |
stream/misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/misc.t | TEST 1: base.check_subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/misc.t | TEST 1: base.check_subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 1: base.check_subsystem - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/misc.t | TEST 1: base.check_subsystem - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:40:42 [error] 16522\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/misc.t | TEST 1: base.check_subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/misc.t | TEST 1: base.check_subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 1: base.check_subsystem - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/misc.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - pattern "unsupported subsystem: stream" should match a line in error.log (req 0) | |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - status code ok |
got: '' expected: '200' |
stream/misc.t | TEST 2: base.check_subsystem with non-stream subsystem - pattern "unsupported subsystem: stream" should match a line in error.log (req 1) | |
stream/os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "old\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | TEST 1: env directive explicit value is visible within init_by_lua* - pattern "[notice]" should match a line in error.log (req 0) | |
stream/os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 2: HUP reload changes env value (1/3) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 3: HUP reload changes env value (2/3) - response_body_like - response is expected () |
'' doesn't match '(?^s:\s)' |
stream/os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 4: HUP reload changes env value (3/3) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 5: HUP reload changes visible environment variable (1/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "old\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - status code ok |
got: '' expected: '200' |
stream/os-getenv-hup.t | TEST 6: HUP reload changes visible environment variable (2/2) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "new\x{0a}" length: 4 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 8: os.getenv() overwrite is reverted in worker phases - response_body - response is expected (repeated req 0, req 0) |
got: "FOO=hello\x{0a}os.getenv() overwrite was not reverted\x{0a}" length: 49 expected: "FOO=hello\x{0a}os.getenv() overwrite was reverted\x{0a}" length: 45 strings begin to differ at char 37 (line 2 column 27) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 4: env directives with no value are ignored - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 4: env directives with no value are ignored - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 4: env directives with no value are ignored - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}nil\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 5: env is visible from environment - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 5: env is visible from environment - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 5: env is visible from environment - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "world\x{0a}world\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 3: env directive explicit value is case-sensitive within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "nil\x{0a}nil\x{0a}" length: 8 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello\x{0a}hello\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 6: env explicit set vs environment set - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "goodbye\x{0a}goodbye\x{0a}" length: 16 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "os.getenv() overwrite was reverted\x{0a}" length: 35 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | TEST 9: os.getenv() can be localized after loading resty.core - grep_error_log_out (req 0) |
got: "" length: 0 expected: "FOO: hello\x{0a}FOO: hello\x{0a}FOO: hello\x{0a}" length: 33 strings begin to differ at char 1 (line 1 column 1) |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 7: env directive with empty value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 7: env directive with empty value - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 7: env directive with empty value - response_body_like - response is expected () |
'' doesn't match '(?^s:in init:\s+ in content:\s+ )' |
stream/os-getenv.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - status code ok |
got: '' expected: '200' |
stream/os-getenv.t | TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello\x{0a}hello\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-hup.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/process-type-hup.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-hup.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-hup.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-hup.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:41:44 [error] 16929\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-hup.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-hup.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-hup.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-hup.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:41:44 [error] 16929\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-master.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/process-type-master.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-master.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-master.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "process type: master\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-master.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\A\[TRACE\s+\d+ init_by_lua:\d+ loop\] \z)' |
stream/process-type-master.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:41:48 [error] 16960\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-master.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-master.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-master.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "process type: master\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-master.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\A\[TRACE\s+\d+ init_by_lua:\d+ loop\] \z)' |
stream/process-type-master.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:41:48 [error] 16960\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-privileged-agent.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - status code ok |
got: '' expected: '200' |
stream/process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - pattern "(?^:\[error\] .*? API disabled in the current context)" should match a line in error.log (req 0) | |
stream/process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - status code ok |
got: '' expected: '200' |
stream/process-type-privileged-agent.t | TEST 2: `enable_privileged_agent` disabled - pattern "(?^:\[error\] .*? API disabled in the current context)" should match a line in error.log (req 1) | |
stream/process-type-privileged-agent.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/process-type-privileged-agent.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-privileged-agent.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-privileged-agent.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-privileged-agent.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] (?:\[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] )?\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):\d+ loop\] init_worker_by_lua:10: process type: privileged )' |
stream/process-type-privileged-agent.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:41:56 [error] 17012\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-privileged-agent.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-privileged-agent.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-privileged-agent.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "type: worker\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-privileged-agent.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] (?:\[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] )?\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):\d+ loop\] init_worker_by_lua:10: process type: privileged )' |
stream/process-type-privileged-agent.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:41:56 [error] 17012\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-single.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/process-type-single.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-single.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-single.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua:10: process type: single )' |
stream/process-type-single.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:00 [error] 17043\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-single.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-single.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-single.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua:10: process type: single )' |
stream/process-type-single.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:00 [error] 17043\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-worker.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/process-type-worker.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-worker.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-worker.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "process type: worker\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-worker.t | TEST 1: sanity - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua:4 loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] init_worker_by_lua:8: process type: worker )' |
stream/process-type-worker.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:04 [error] 17068\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/process-type-worker.t | TEST 1: sanity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/process-type-worker.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
stream/process-type-worker.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "process type: worker\x{0a}" length: 21 strings begin to differ at char 1 (line 1 column 1) |
stream/process-type-worker.t | TEST 1: sanity - grep_error_log_out (req 1) |
'' doesn't match '(?^:\[TRACE\s+\d+ init_worker_by_lua:4 loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] init_worker_by_lua:8: process type: worker )' |
stream/process-type-worker.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:04 [error] 17068\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-base.t | TEST 1: bad pattern - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 1: bad pattern - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 1: bad pattern - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_compile() failed: missing ) in "(abc" ' |
stream/re-base.t | TEST 1: bad pattern - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:08 [error] 17099\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | TEST 1: bad pattern - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 1: bad pattern - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 1: bad pattern - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_compile() failed: missing ) in "(abc" ' |
stream/re-base.t | TEST 1: bad pattern - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:08 [error] 17099\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:11 [error] 17120\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 4: UTF-8 mode with UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:11 [error] 17120\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-base.t | TEST 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 2: bad UTF-8 - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 2: bad UTF-8 - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_exec\(\) failed: -10)' |
stream/re-base.t | TEST 2: bad UTF-8 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:15 [error] 17147\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | TEST 2: bad UTF-8 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 2: bad UTF-8 - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 2: bad UTF-8 - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_exec\(\) failed: -10)' |
stream/re-base.t | TEST 2: bad UTF-8 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:15 [error] 17147\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 5: just hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 5: just hit match limit - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_exec() failed: -8 ' |
stream/re-base.t | TEST 5: just hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 5: just hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 5: just hit match limit - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_exec() failed: -8 ' |
stream/re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-base.t | TEST 6: just not hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 6: just not hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 6: just not hit match limit - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to match ' |
stream/re-base.t | TEST 6: just not hit match limit - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 6: just not hit match limit - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 6: just not hit match limit - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to match ' |
stream/re-base.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:25 [error] 17213\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok |
got: '' expected: '200' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ä½ ' |
stream/re-base.t | TEST 3: UTF-8 mode without UTF-8 sequence checks - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:25 [error] 17213\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-find.t | TEST 6: specify the group (2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 6: specify the group (2) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 6: specify the group (2) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 9 -to: 11 -matched: 234 ' |
stream/re-find.t | TEST 6: specify the group (2) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-find.t | TEST 6: specify the group (2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:29 [error] 17241\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | TEST 6: specify the group (2) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 6: specify the group (2) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 6: specify the group (2) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 9 -to: 11 -matched: 234 ' |
stream/re-find.t | TEST 6: specify the group (2) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-find.t | TEST 6: specify the group (2) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:29 [error] 17241\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-find.t | TEST 5: nil submatch (1st) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 5: nil submatch (1st) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 5: nil submatch (1st) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-find.t | TEST 5: nil submatch (1st) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:33 [error] 17262\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | TEST 5: nil submatch (1st) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 5: nil submatch (1st) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 5: nil submatch (1st) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-find.t | TEST 5: nil submatch (1st) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:33 [error] 17262\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-find.t | TEST 4: nil submatch (2nd) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 4: nil submatch (2nd) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 4: nil submatch (2nd) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-find.t | TEST 4: nil submatch (2nd) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:36 [error] 17289\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | TEST 4: nil submatch (2nd) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 4: nil submatch (2nd) - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not matched! ' |
stream/re-find.t | TEST 4: nil submatch (2nd) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-find.t | TEST 4: nil submatch (2nd) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:36 [error] 17289\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:40 [error] 17310\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
stream/re-find.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:40 [error] 17310\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:43 [error] 17331\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
stream/re-find.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:43 [error] 17331\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 0) | |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:47 [error] 17358\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -from: 1 -to: 1 -matched: a ' |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):5 loop\])" should match a line in error.log (req 1) | |
stream/re-find.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:47 [error] 17358\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:50 [error] 17383\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 9: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:50 [error] 17383\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] ' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] -matched: [] ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,14 +0,0 @@ -hello! -hello -false -! -hello -false -! -world! -world -false -! -world -false -! ' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:57 [error] 17431\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,14 +0,0 @@ -hello! -hello -false -! -hello -false -! -world! -world -false -! -world -false -! ' |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 10: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:42:57 [error] 17431\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:01 [error] 17452\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:01 [error] 17452\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 7: named submatches - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 7: named submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +0,0 @@ -matched: hello -$1: h -$2: ello -$first: h -$second: nil -matched: world -$1: w -$2: orld -$first: w -$second: nil ' |
stream/re-gmatch.t | TEST 7: named submatches - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 7: named submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:04 [error] 17473\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 7: named submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 7: named submatches - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 7: named submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +0,0 @@ -matched: hello -$1: h -$2: ello -$first: h -$second: nil -matched: world -$1: w -$2: orld -$first: w -$second: nil ' |
stream/re-gmatch.t | TEST 7: named submatches - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 7: named submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:04 [error] 17473\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:08 [error] 17500\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:08 [error] 17500\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:11 [error] 17521\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: hello -matched: world ' |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:11 [error] 17521\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -matched: hello -matched: nil -matched: nil ' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:15 [error] 17542\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -matched: hello -matched: nil -matched: nil ' |
stream/re-gmatch.t | TEST 12: an exhausted gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:15 [error] 17542\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:18 [error] 17568\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -matched: hello -$1: h -$2: ello -$3: nil -matched: world -$1: w -$2: orld -$3: nil ' |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:18 [error] 17568\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -error: pcre_exec() failed: -10 -not matched ' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:22 [error] 17590\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -error: pcre_exec() failed: -10 -not matched ' |
stream/re-gmatch.t | TEST 13: an error-ed out gmatch iterator should return nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:22 [error] 17590\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:25 [error] 17611\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:25 [error] 17611\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched iter1 (1/2): 9 -matched iter2 (1/2): 1 -matched iter1 (2/2): 8 -matched iter2 (2/2): 2 ' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:29 [error] 17632\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched iter1 (1/2): 9 -matched iter2 (1/2): 1 -matched iter1 (2/2): 8 -matched iter2 (2/2): 2 ' |
stream/re-gmatch.t | TEST 14: each gmatch iterator is separate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:29 [error] 17632\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:32 [error] 17659\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:32 [error] 17659\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -hello! -hello -false -! -world! -world -false -! ' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-gmatch.t | TEST 8: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:36 [error] 17680\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -hello! -hello -false -! -world! -world -false -! ' |
stream/re-gmatch.t | TEST 8: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-gmatch.t | TEST 8: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:36 [error] 17680\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 11: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 11: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -12 -345 ' |
stream/re-gmatch.t | TEST 11: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:40 [error] 17701\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-gmatch.t | TEST 11: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-gmatch.t | TEST 11: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-gmatch.t | TEST 11: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -12 -345 ' |
stream/re-gmatch.t | TEST 11: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:40 [error] 17701\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 11: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 11: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello! -hello -false -! ' |
stream/re-match.t | TEST 11: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 11: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:43 [error] 17732\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 11: unmatched captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 11: unmatched captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 11: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello! -hello -false -! ' |
stream/re-match.t | TEST 11: unmatched captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 11: unmatched captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:43 [error] 17732\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:47 [error] 17753\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 5: submatches, matched, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:47 [error] 17753\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:50 [error] 17774\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 3: not matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:50 [error] 17774\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:hello, 1234 h ello h|ello nil )' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:54 [error] 17801\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:hello, 1234 h ello h|ello nil )' |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:54 [error] 17801\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:57 [error] 17822\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:43:57 [error] 17822\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:01 [error] 17843\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'no match ' |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 4: not matched, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:01 [error] 17843\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 15: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 15: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '123 ' |
stream/re-match.t | TEST 15: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:04 [error] 17870\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 15: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 15: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 15: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '123 ' |
stream/re-match.t | TEST 15: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:04 [error] 17870\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:08 [error] 17891\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () |
'' doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)' |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:08 [error] 17891\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:11 [error] 17912\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -matched: 1234 -$1: 1 -$2: 234 -$3: nil ' |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 6: submatches, matched, with regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:11 [error] 17912\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 14: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 14: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -12345 -12345 ' |
stream/re-match.t | TEST 14: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:15 [error] 17934\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 14: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 14: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 14: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -12345 -12345 ' |
stream/re-match.t | TEST 14: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:15 [error] 17934\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 12: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:18 [error] 17960\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello -hello -false -false ' |
stream/re-match.t | TEST 12: unmatched trailing captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 12: unmatched trailing captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:18 [error] 17960\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:22 [error] 17981\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -matched: a -$1: nil ' |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 2: matched, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:22 [error] 17981\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 13: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) |
@@ -1,7 +0,0 @@ -hello! -hello -false -! -hello -false -! ' |
stream/re-match.t | TEST 13: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 13: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:25 [error] 18002\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 13: unmatched named captures are false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 13: unmatched named captures are false - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) |
@@ -1,7 +0,0 @@ -hello! -hello -false -! -hello -false -! ' |
stream/re-match.t | TEST 13: unmatched named captures are false - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 13: unmatched named captures are false - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:25 [error] 18002\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -hello, 1234 -hello -hello -nil ' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:29 [error] 18029\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -hello, 1234 -hello -hello -nil ' |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 7: named subpatterns w/ extraction (matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:29 [error] 18029\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -1234 -1 -2 -3 -4 -hello ' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 0) | |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:32 [error] 18050\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - status code ok |
got: '' expected: '200' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -1234 -1 -2 -3 -4 -hello ' |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - pattern "(?^:\[TRACE\s+\d+\s+)" should match a line in error.log (req 1) | |
stream/re-match.t | TEST 10: captures input table in ngx.re.match - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:32 [error] 18050\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () |
'' doesn't match '(?^s:unrecognized option name$)' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:36 [error] 18081\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () |
'' doesn't match '(?^s:unrecognized option name$)' |
stream/re-opt.t | TEST 4: passing unknown options to ngx_re.opt throws an error - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:36 [error] 18081\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'from: 8 to: 8 ' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'from: 8 to: 8 ' |
stream/re-opt.t | TEST 3: jit_stack_size change disallowed once regex cache is populated - grep_error_log_out (req 1) |
got: '' expected: 'changing jit stack size is not allowed when some regexs have already been compiled and cached ' |
stream/re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-opt.t | TEST 1: default jit_stack_size too small - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'error: pcre_exec() failed: -27 ' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:43 [error] 18123\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'error: pcre_exec() failed: -27 ' |
stream/re-opt.t | TEST 1: default jit_stack_size too small - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:43 [error] 18123\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-opt.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 2: increase jit_stack_size - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'from: 1 to: 1563 ' |
stream/re-opt.t | TEST 2: increase jit_stack_size - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:47 [error] 18144\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-opt.t | TEST 2: increase jit_stack_size - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-opt.t | TEST 2: increase jit_stack_size - status code ok |
got: '' expected: '200' |
stream/re-opt.t | TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'from: 1 to: 1563 ' |
stream/re-opt.t | TEST 2: increase jit_stack_size - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:47 [error] 18144\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:51 [error] 18175\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 13: split matches, provided res table + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:51 [error] 18175\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 18: split matches, real use-case - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 18: split matches, real use-case - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'abcd erfg ghij hello world aaa ' |
stream/re-split.t | TEST 18: split matches, real use-case - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 18: split matches, real use-case - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:54 [error] 18196\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 18: split matches, real use-case - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 18: split matches, real use-case - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 18: split matches, real use-case - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'abcd erfg ghij hello world aaa ' |
stream/re-split.t | TEST 18: split matches, real use-case - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 18: split matches, real use-case - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:54 [error] 18196\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:58 [error] 18223\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 21: split matches, pos is larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:44:58 [error] 18223\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d;e ' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:01 [error] 18244\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d;e ' |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 2: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:01 [error] 18244\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 23: regex is "" with max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 23: regex is "" with max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 2 345 len: 3 ' |
stream/re-split.t | TEST 23: regex is "" with max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 23: regex is "" with max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:05 [error] 18265\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 23: regex is "" with max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 23: regex is "" with max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 23: regex is "" with max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 2 345 len: 3 ' |
stream/re-split.t | TEST 23: regex is "" with max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 23: regex is "" with max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:05 [error] 18265\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:08 [error] 18290\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 8: split matches + max limiter set to 0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:08 [error] 18290\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 a,b,cd,,, 2 a|b,cd,,, 3 a|b|cd,,, 4 a|b|cd|,, 5 a|b|cd||, 6 a|b|cd||| 6 a|b|cd||| ' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:12 [error] 18313\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 a,b,cd,,, 2 a|b,cd,,, 3 a|b|cd,,, 4 a|b|cd|,, 5 a|b|cd||, 6 a|b|cd||| 6 a|b|cd||| ' |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 39: remaining characters are matched by regex (with max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:12 [error] 18313\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 33: behavior with /^/m & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cd ef len: 2 ' |
stream/re-split.t | TEST 33: behavior with /^/m & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 33: behavior with /^/m & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:15 [error] 18334\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 33: behavior with /^/m & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 33: behavior with /^/m & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cd ef len: 2 ' |
stream/re-split.t | TEST 33: behavior with /^/m & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 33: behavior with /^/m & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:15 [error] 18334\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 34: behavior with /^\d/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cdefg :hij len: 3 ' |
stream/re-split.t | TEST 34: behavior with /^\d/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 34: behavior with /^\d/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:19 [error] 18355\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 34: behavior with /^\d/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 34: behavior with /^\d/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cdefg :hij len: 3 ' |
stream/re-split.t | TEST 34: behavior with /^\d/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 34: behavior with /^\d/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:19 [error] 18355\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 24: regex is "" with pos - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 24: regex is "" with pos - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '2 3 4 5 len: 4 ' |
stream/re-split.t | TEST 24: regex is "" with pos - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 24: regex is "" with pos - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:22 [error] 18382\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 24: regex is "" with pos - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 24: regex is "" with pos - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 24: regex is "" with pos - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '2 3 4 5 len: 4 ' |
stream/re-split.t | TEST 24: regex is "" with pos - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 24: regex is "" with pos - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:22 [error] 18382\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 19: split no matches - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 19: split no matches - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'abcd ' |
stream/re-split.t | TEST 19: split no matches - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 19: split no matches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:26 [error] 18403\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 19: split no matches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 19: split no matches - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 19: split no matches - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'abcd ' |
stream/re-split.t | TEST 19: split no matches - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 19: split no matches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:26 [error] 18403\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a:bcd len: 2 ' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:29 [error] 18424\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a:bcd len: 2 ' |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 28: no match separator (github issue \#104) & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:29 [error] 18424\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab cd ef len: 1 ' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:33 [error] 18450\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab cd ef len: 1 ' |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 30: behavior with /^/ differs from Perl's split - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:33 [error] 18450\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 17: split matches, trailing subjects - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '_blank_ a b c d ' |
stream/re-split.t | TEST 17: split matches, trailing subjects - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 17: split matches, trailing subjects - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:36 [error] 18472\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 17: split matches, trailing subjects - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 17: split matches, trailing subjects - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '_blank_ a b c d ' |
stream/re-split.t | TEST 17: split matches, trailing subjects - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 17: split matches, trailing subjects - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:36 [error] 18472\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a,b,c,d,e ' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:40 [error] 18493\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a,b,c,d,e ' |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 10: split matches + max limiter set to 1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:40 [error] 18493\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:43 [error] 18514\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 14: split matches, provided res table (non-cleared) + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:43 [error] 18514\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a ; b ; c ; d,e ' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 4: split matches + submatch (matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:47 [error] 18541\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a ; b ; c ; d,e ' |
stream/re-split.t | TEST 4: split matches + submatch (matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 4: split matches + submatch (matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:47 [error] 18541\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 20: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 20: subject is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 451 45 ' |
stream/re-split.t | TEST 20: subject is not a string type - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 20: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:50 [error] 18562\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 20: subject is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 20: subject is not a string type - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 20: subject is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 451 45 ' |
stream/re-split.t | TEST 20: subject is not a string type - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 20: subject is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:50 [error] 18562\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '3 a|b|cd ' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:54 [error] 18583\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '3 a|b|cd ' |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 38: remaining characters are matched by regex (without max) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:54 [error] 18583\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:57 [error] 18610\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 9: split matches + max limiter set to a negative value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:45:57 [error] 18610\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 26: regex is "" with pos & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '2 345 len: 2 ' |
stream/re-split.t | TEST 26: regex is "" with pos & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 26: regex is "" with pos & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:01 [error] 18631\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 26: regex is "" with pos & max - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 26: regex is "" with pos & max - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '2 345 len: 2 ' |
stream/re-split.t | TEST 26: regex is "" with pos & max - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 26: regex is "" with pos & max - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:01 [error] 18631\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a:b:c:d len: 4 ' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:04 [error] 18652\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a:b:c:d len: 4 ' |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 27: no match separator (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:04 [error] 18652\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a::b::c::d len: 7 ' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:08 [error] 18673\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a::b::c::d len: 7 ' |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 29: no match separator bis (github issue \#104) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:08 [error] 18673\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 31: behavior with /^/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 31: behavior with /^/m - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
stream/re-split.t | TEST 31: behavior with /^/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 31: behavior with /^/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:11 [error] 18700\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 31: behavior with /^/m - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 31: behavior with /^/m - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 31: behavior with /^/m - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :cd :ef len: 3 ' |
stream/re-split.t | TEST 31: behavior with /^/m - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 31: behavior with /^/m - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:11 [error] 18700\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 6: split matches + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 6: split matches + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 6: split matches + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 6: split matches + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:15 [error] 18721\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 6: split matches + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 6: split matches + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 6: split matches + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c,d,e ' |
stream/re-split.t | TEST 6: split matches + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 6: split matches + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:15 [error] 18721\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:18 [error] 18742\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 15: split matches, provided res table + max limiter + sub-match capturing group - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:18 [error] 18742\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '12 |||||||||||15 13 ||||||||||||15 13 |T|||||||||||15 ' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:22 [error] 18769\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '12 |||||||||||15 13 ||||||||||||15 13 |T|||||||||||15 ' |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 37: split by unit separator 2/2 (with ctx.pos) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:22 [error] 18769\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:25 [error] 18790\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a , b , c,d,e ' |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 7: split matches + submatch + max limiter - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:25 [error] 18790\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:29 [error] 18811\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 3: split matches, no submatch, jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:29 [error] 18811\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:32 [error] 18832\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'len: 0 ' |
stream/re-split.t | TEST 25: regex is "" with pos larger than subject length - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:32 [error] 18832\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab :1:cdefg :2:hij len: 5 ' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:36 [error] 18859\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab :1:cdefg :2:hij len: 5 ' |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 35: behavior with /^(\d)/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:36 [error] 18859\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 11: split matches, provided res table - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 11: split matches, provided res table - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 11: split matches, provided res table - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 11: split matches, provided res table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:39 [error] 18880\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 11: split matches, provided res table - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 11: split matches, provided res table - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 11: split matches, provided res table - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 11: split matches, provided res table - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 11: split matches, provided res table - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:39 [error] 18880\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:43 [error] 18901\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d ' |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 1: split matches, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:43 [error] 18901\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '15 1|T|||||||||||||15 15 1|T|T||||||||||||15 15 1|T|T|T|||||||||||15 ' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:46 [error] 18928\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '15 1|T|||||||||||||15 15 1|T|T||||||||||||15 15 1|T|T|T|||||||||||15 ' |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:46 [error] 18928\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ab ::cd ::ef len: 5 ' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:50 [error] 18949\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ab ::cd ::ef len: 5 ' |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 32: behavior with /^()/m (capture) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:50 [error] 18949\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:53 [error] 18970\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 12: split matches, provided res table (non-cleared) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:53 [error] 18970\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:57 [error] 18994\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'a b c d e ' |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 5: split matches + submatch (not matching) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:46:57 [error] 18994\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 22: regex is "" - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 22: regex is "" - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '1 2 3 4 5 len: 5 ' |
stream/re-split.t | TEST 22: regex is "" - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 22: regex is "" - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:00 [error] 19018\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 22: regex is "" - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 22: regex is "" - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 22: regex is "" - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '1 2 3 4 5 len: 5 ' |
stream/re-split.t | TEST 22: regex is "" - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 22: regex is "" - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:00 [error] 19018\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-split.t | TEST 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 16: split matches, ctx arg - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'c d e ' |
stream/re-split.t | TEST 16: split matches, ctx arg - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 0) | |
stream/re-split.t | TEST 16: split matches, ctx arg - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:04 [error] 19039\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-split.t | TEST 16: split matches, ctx arg - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-split.t | TEST 16: split matches, ctx arg - status code ok |
got: '' expected: '200' |
stream/re-split.t | TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'c d e ' |
stream/re-split.t | TEST 16: split matches, ctx arg - pattern "(?^:\[TRACE\s+\d+)" should match a line in error.log (req 1) | |
stream/re-split.t | TEST 16: split matches, ctx arg - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:04 [error] 19039\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:08 [error] 19070\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-sub.t | TEST 1: sub, no submatch, no jit compile, regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:08 [error] 19070\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 4: replace template + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 4: replace template + submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 4: replace template + submatches - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-sub.t | TEST 4: replace template + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:11 [error] 19091\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 4: replace template + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 4: replace template + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 4: replace template + submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 4: replace template + submatches - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-sub.t | TEST 4: replace template + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:11 [error] 19091\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello, 55 ' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:15 [error] 19112\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello, 55 ' |
stream/re-sub.t | TEST 10: func replace return is not a string type (ngx.re.gsub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:15 [error] 19112\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: '534 ' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:18 [error] 19139\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: '534 ' |
stream/re-sub.t | TEST 8: string replace subj is not a string type - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:18 [error] 19139\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ - OUTER {FIRST} - OUTER REPLACED ' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:22 [error] 19160\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ - OUTER {FIRST} - OUTER REPLACED ' |
stream/re-sub.t | TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:22 [error] 19160\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 3: func + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 3: func + submatches - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 3: func + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:25 [error] 19181\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 3: func + submatches - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 3: func + submatches - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 3: func + submatches - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: a[bc(c)]bd -n: 1 ' |
stream/re-sub.t | TEST 3: func + submatches - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:25 [error] 19181\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:29 [error] 19202\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: aBcbd -n: 1 ' |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
stream/re-sub.t | TEST 2: sub, no submatch, no jit compile, no regex cache - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:29 [error] 19202\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:32 [error] 19229\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:32 [error] 19229\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'hello, 534 ' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:36 [error] 19250\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'hello, 534 ' |
stream/re-sub.t | TEST 9: func replace return is not a string type (ngx.re.sub) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:36 [error] 19250\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/request.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/request.t | TEST 1: ngx.req.start_time() - status code ok |
got: '' expected: '200' |
stream/request.t | TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/request.t | TEST 1: ngx.req.start_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/request.t | TEST 1: ngx.req.start_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:47 [error] 19318\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/request.t | TEST 1: ngx.req.start_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/request.t | TEST 1: ngx.req.start_time() - status code ok |
got: '' expected: '200' |
stream/request.t | TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/request.t | TEST 1: ngx.req.start_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/request.t | TEST 1: ngx.req.start_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:47 [error] 19318\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'err: timeout ' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:52 [error] 19349\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:38):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:47:52 [debug] 19349\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:47:52 [debug] 19349\#0: *3 finalize stream request: 500 2022/05/27 16:47:52 [debug] 19349\#0: *3 finalize stream session: 500 2022/05/27 16:47:52 [debug] 19349\#0: *3 stream log handler 2022/05/27 16:47:52 [debug] 19349\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'err: timeout ' |
stream/semaphore.t | TEST 20: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:53 [error] 19349\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:38):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:38):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:47:53 [debug] 19349\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:47:53 [debug] 19349\#0: *6 finalize stream request: 500 2022/05/27 16:47:53 [debug] 19349\#0: *6 finalize stream session: 500 2022/05/27 16:47:53 [debug] 19349\#0: *6 stream log handler 2022/05/27 16:47:53 [debug] 19349\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -enter wait -enter post -post success -wait success -done' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:57 [error] 19374\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' preread_by_lua(nginx.conf:46):2: in main chunk while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:47:57 [debug] 19374\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:47:57 [debug] 19374\#0: *3 preread run thread returned 500 2022/05/27 16:47:57 [debug] 19374\#0: *3 finalize stream request: 500 2022/05/27 16:47:57 [debug] 19374\#0: *3 finalize stream session: 500 2022/05/27 16:47:57 [debug] 19374\#0: *3 stream log handler ' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -enter wait -enter post -post success -wait success -done' |
stream/semaphore.t | TEST 13: semaphore wait post in preread_by_lua - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:47:58 [error] 19374\#0: *6 lua entry thread aborted: runtime error: preread_by_lua(nginx.conf:46):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' preread_by_lua(nginx.conf:46):2: in main chunk while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:47:58 [debug] 19374\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:47:58 [debug] 19374\#0: *6 preread run thread returned 500 2022/05/27 16:47:58 [debug] 19374\#0: *6 finalize stream request: 500 2022/05/27 16:47:58 [debug] 19374\#0: *6 finalize stream session: 500 2022/05/27 16:47:58 [debug] 19374\#0: *6 stream log handler ' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - grep_error_log_out (req 1) |
got: '' expected: 'free semaphore block ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -ok -count: 1 ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:48:07 [error] 19436\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:47):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:48:07 [debug] 19436\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:48:07 [debug] 19436\#0: *3 finalize stream request: 500 2022/05/27 16:48:07 [debug] 19436\#0: *3 finalize stream session: 500 2022/05/27 16:48:07 [debug] 19436\#0: *3 stream log handler 2022/05/27 16:48:07 [debug] 19436\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -ok -count: 1 ' |
stream/semaphore.t | TEST 17: kill a light thread that is waiting on a semaphore (after post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:48:08 [error] 19436\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:47):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:47):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:48:08 [debug] 19436\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:48:08 [debug] 19436\#0: *6 finalize stream request: 500 2022/05/27 16:48:08 [debug] 19436\#0: *6 finalize stream session: 500 2022/05/27 16:48:08 [debug] 19436\#0: *6 stream log handler 2022/05/27 16:48:08 [debug] 19436\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 26: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
stream/semaphore.t | TEST 11: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -sem waiting -ok ' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - pattern "stream lua semaphore cleanup" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -sem waiting -ok ' |
stream/semaphore.t | TEST 19: a light thread that is going to exit is waiting on a semaphore - pattern "stream lua semaphore cleanup" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -enter waiting -back in main thread -still in main thread -wait success -main thread end ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:48:27 [error] 19554\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:48):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:48:27 [debug] 19554\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:48:27 [debug] 19554\#0: *3 finalize stream request: 500 2022/05/27 16:48:27 [debug] 19554\#0: *3 finalize stream session: 500 2022/05/27 16:48:27 [debug] 19554\#0: *3 stream log handler 2022/05/27 16:48:27 [debug] 19554\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -enter waiting -back in main thread -still in main thread -wait success -main thread end ' |
stream/semaphore.t | TEST 1: basic semaphore in uthread - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:48:28 [error] 19554\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:48):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:48):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:48:28 [debug] 19554\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:48:28 [debug] 19554\#0: *6 finalize stream request: 500 2022/05/27 16:48:28 [debug] 19554\#0: *6 finalize stream session: 500 2022/05/27 16:48:28 [debug] 19554\#0: *6 stream log handler 2022/05/27 16:48:28 [debug] 19554\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[lua\] init_by_lua:\d+: sema created: table: 0x[a-f0-9]+)' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 4: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - grep_error_log_out (req 0) |
got: '' expected: 'new block, alloc semaphore ' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 24: basic semaphore_mm alloc - grep_error_log_out (req 1) |
got: '' expected: 'from head of free queue, alloc semaphore ' |
stream/semaphore.t | TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem count: 1, -sem wait: API disabled in the context of init_worker_by_lua*, ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - grep_error_log_out (req 0) |
got: '' expected: 'sem: 3 times, ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 12: semaphore post in all phase (in a request) - grep_error_log_out (req 1) |
got: '' expected: 'sem: 3 times, ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 9: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - pattern "wait success" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 14: semaphore wait in timer.at - pattern "wait success" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 28: basic semaphore count - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -10 -9 -12 ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:00 [error] 19743\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:35):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:00 [debug] 19743\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:00 [debug] 19743\#0: *3 finalize stream request: 500 2022/05/27 16:49:00 [debug] 19743\#0: *3 finalize stream session: 500 2022/05/27 16:49:00 [debug] 19743\#0: *3 stream log handler 2022/05/27 16:49:00 [debug] 19743\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 28: basic semaphore count - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -10 -9 -12 ' |
stream/semaphore.t | TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:01 [error] 19743\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:35):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:35):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:01 [debug] 19743\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:49:01 [debug] 19743\#0: *6 finalize stream request: 500 2022/05/27 16:49:01 [debug] 19743\#0: *6 finalize stream session: 500 2022/05/27 16:49:01 [debug] 19743\#0: *6 stream log handler 2022/05/27 16:49:01 [debug] 19743\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 22: semaphore wait time is zero - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'timeout ' |
stream/semaphore.t | TEST 22: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:05 [error] 19774\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:29):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:05 [debug] 19774\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:05 [debug] 19774\#0: *3 finalize stream request: 500 2022/05/27 16:49:05 [debug] 19774\#0: *3 finalize stream session: 500 2022/05/27 16:49:05 [debug] 19774\#0: *3 stream log handler 2022/05/27 16:49:05 [debug] 19774\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 22: semaphore wait time is zero - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'timeout ' |
stream/semaphore.t | TEST 22: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:06 [error] 19774\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:29):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:29):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:06 [debug] 19774\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:49:06 [debug] 19774\#0: *6 finalize stream request: 500 2022/05/27 16:49:06 [debug] 19774\#0: *6 finalize stream session: 500 2022/05/27 16:49:06 [debug] 19774\#0: *6 stream log handler 2022/05/27 16:49:06 [debug] 19774\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 23: test semaphore gc - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'success ' |
stream/semaphore.t | TEST 23: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 23: test semaphore gc - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'success ' |
stream/semaphore.t | TEST 23: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +0,0 @@ -wait: 1 -wait: 2 -wait: 3 -post: 1 -post: 2 -post: 3 -wait success: 1 -wait success: 2 -wait success: 3 ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:15 [error] 19830\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:54):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:15 [debug] 19830\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:15 [debug] 19830\#0: *3 finalize stream request: 500 2022/05/27 16:49:15 [debug] 19830\#0: *3 finalize stream session: 500 2022/05/27 16:49:15 [debug] 19830\#0: *3 stream log handler 2022/05/27 16:49:15 [debug] 19830\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +0,0 @@ -wait: 1 -wait: 2 -wait: 3 -post: 1 -post: 2 -post: 3 -wait success: 1 -wait success: 2 -wait success: 3 ' |
stream/semaphore.t | TEST 21: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:16 [error] 19830\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:54):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:54):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:16 [debug] 19830\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:49:16 [debug] 19830\#0: *6 finalize stream request: 500 2022/05/27 16:49:16 [debug] 19830\#0: *6 finalize stream session: 500 2022/05/27 16:49:16 [debug] 19830\#0: *6 stream log handler 2022/05/27 16:49:16 [debug] 19830\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'true, nil ' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:20 [error] 19861\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:47):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:20 [debug] 19861\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:20 [debug] 19861\#0: *3 finalize stream request: 500 2022/05/27 16:49:20 [debug] 19861\#0: *3 finalize stream session: 500 2022/05/27 16:49:20 [debug] 19861\#0: *3 stream log handler 2022/05/27 16:49:20 [debug] 19861\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'true, nil ' |
stream/semaphore.t | TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:21 [error] 19861\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:47):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:47):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:21 [debug] 19861\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:49:21 [debug] 19861\#0: *6 finalize stream request: 500 2022/05/27 16:49:21 [debug] 19861\#0: *6 finalize stream session: 500 2022/05/27 16:49:21 [debug] 19861\#0: *6 stream log handler 2022/05/27 16:49:21 [debug] 19861\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'sem wait successfully. ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - grep_error_log_out (req 0) |
got: '' expected: 'sem count: 2, ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:23 [error] 19886\#0: init_worker_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: in main chunk [C]: in function 'require' ./lib/ngx/semaphore.lua:7: in main chunk [C]: in function 'require' init_worker_by_lua:2: in main chunk 2022/05/27 16:49:23 [debug] 19886\#0: run cleanup: 04A82C10 2022/05/27 16:49:23 [debug] 19886\#0: free: 04A82C50, unused: 0 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:25 [error] 19886\#0: *4 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:44):3: attempt to index local 'sem' (a nil value)" (req 0) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:44): in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:25 [debug] 19886\#0: *4 lua request cleanup: forcible=0 2022/05/27 16:49:25 [debug] 19886\#0: *4 finalize stream request: 500 2022/05/27 16:49:25 [debug] 19886\#0: *4 finalize stream session: 500 2022/05/27 16:49:25 [debug] 19886\#0: *4 stream log handler 2022/05/27 16:49:25 [debug] 19886\#0: *4 close stream connection: 11 2022/05/27 16:49:25 [debug] 19886\#0: *4 reusable connection: 0 ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'sem wait successfully. ' |
stream/semaphore.t | TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:26 [error] 19886\#0: *7 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:44):3: attempt to index local 'sem' (a nil value)" (req 1) |
stack traceback: coroutine 0: content_by_lua(nginx.conf:44): in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:26 [debug] 19886\#0: *7 lua request cleanup: forcible=0 2022/05/27 16:49:26 [debug] 19886\#0: *7 finalize stream request: 500 2022/05/27 16:49:26 [debug] 19886\#0: *7 finalize stream session: 500 2022/05/27 16:49:26 [debug] 19886\#0: *7 stream log handler 2022/05/27 16:49:26 [debug] 19886\#0: *7 close stream connection: 11 2022/05/27 16:49:26 [debug] 19886\#0: *7 reusable connection: 0 ' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout while prereading client data, -sem: 1 while prereading client data, ' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok' |
stream/semaphore.t | TEST 8: semaphore in preread_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout while prereading client data, -sem: 1 while prereading client data, ' |
stream/semaphore.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[lua\] init_by_lua:\d+: sema created: table: 0x[a-f0-9]+)' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - status code ok |
got: '' expected: '200' |
stream/semaphore.t | TEST 5: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () |
'' doesn't match '(?^s:sem count: [12] waited successfully. )' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: 1 while returning text, -sem: API disabled in the context of log_by_lua* while returning text, ' |
stream/semaphore.t | TEST 10: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: 1 while returning text, -sem: API disabled in the context of log_by_lua* while returning text, ' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 0) | |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 25: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 1) | |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -0 --1 ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:49 [error] 20031\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:35):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:49 [debug] 20031\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:49 [debug] 20031\#0: *3 finalize stream request: 500 2022/05/27 16:49:49 [debug] 20031\#0: *3 finalize stream session: 500 2022/05/27 16:49:49 [debug] 20031\#0: *3 stream log handler 2022/05/27 16:49:49 [debug] 20031\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -0 --1 ' |
stream/semaphore.t | TEST 29: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:50 [error] 20031\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:35):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:35):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:50 [debug] 20031\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:49:50 [debug] 20031\#0: *6 finalize stream request: 500 2022/05/27 16:49:50 [debug] 20031\#0: *6 finalize stream session: 500 2022/05/27 16:49:50 [debug] 20031\#0: *6 stream log handler 2022/05/27 16:49:50 [debug] 20031\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +0,0 @@ -wait success -err: timeout -enter 1s wait -back in main thread -err: timeout -err: timeout -still in main thread -wait success in 1s wait -wait success -main thread end ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:54 [error] 20062\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:66):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:54 [debug] 20062\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:54 [debug] 20062\#0: *3 finalize stream request: 500 2022/05/27 16:49:54 [debug] 20062\#0: *3 finalize stream session: 500 2022/05/27 16:49:54 [debug] 20062\#0: *3 stream log handler 2022/05/27 16:49:54 [debug] 20062\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +0,0 @@ -wait success -err: timeout -enter 1s wait -back in main thread -err: timeout -err: timeout -still in main thread -wait success in 1s wait -wait success -main thread end ' |
stream/semaphore.t | TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:55 [error] 20062\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:66):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:66):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:55 [debug] 20062\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:49:55 [debug] 20062\#0: *6 finalize stream request: 500 2022/05/27 16:49:55 [debug] 20062\#0: *6 finalize stream session: 500 2022/05/27 16:49:55 [debug] 20062\#0: *6 stream log handler 2022/05/27 16:49:55 [debug] 20062\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 2: semaphore wait order - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +0,0 @@ -enter waiting, id: 1 -enter waiting, id: 2 -back in main thread -wait failed in main thread: timeout -still in main thread -wait success, id: 1 -wait success, id: 2 -wait failed in main thread: timeout -main thread end ' |
stream/semaphore.t | TEST 2: semaphore wait order - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:49:59 [error] 20087\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:63):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:49:59 [debug] 20087\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:49:59 [debug] 20087\#0: *3 finalize stream request: 500 2022/05/27 16:49:59 [debug] 20087\#0: *3 finalize stream session: 500 2022/05/27 16:49:59 [debug] 20087\#0: *3 stream log handler 2022/05/27 16:49:59 [debug] 20087\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 2: semaphore wait order - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +0,0 @@ -enter waiting, id: 1 -enter waiting, id: 2 -back in main thread -wait failed in main thread: timeout -still in main thread -wait success, id: 1 -wait success, id: 2 -wait failed in main thread: timeout -main thread end ' |
stream/semaphore.t | TEST 2: semaphore wait order - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:00 [error] 20087\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:63):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:63):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:00 [debug] 20087\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:50:00 [debug] 20087\#0: *6 finalize stream request: 500 2022/05/27 16:50:00 [debug] 20087\#0: *6 finalize stream session: 500 2022/05/27 16:50:00 [debug] 20087\#0: *6 stream log handler 2022/05/27 16:50:00 [debug] 20087\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -sem waiting start -thread waiting start -thread kill success -sem wait err: timeout -sem waiting done ' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:04 [error] 20118\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:58):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:04 [debug] 20118\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:50:04 [debug] 20118\#0: *3 finalize stream request: 500 2022/05/27 16:50:04 [debug] 20118\#0: *3 finalize stream session: 500 2022/05/27 16:50:04 [debug] 20118\#0: *3 stream log handler 2022/05/27 16:50:04 [debug] 20118\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -sem waiting start -thread waiting start -thread kill success -sem wait err: timeout -sem waiting done ' |
stream/semaphore.t | TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:05 [error] 20118\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:58):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:58):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:05 [debug] 20118\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:50:05 [debug] 20118\#0: *6 finalize stream request: 500 2022/05/27 16:50:05 [debug] 20118\#0: *6 finalize stream session: 500 2022/05/27 16:50:05 [debug] 20118\#0: *6 stream log handler 2022/05/27 16:50:05 [debug] 20118\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:09 [error] 20149\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:39):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:09 [debug] 20149\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:50:09 [debug] 20149\#0: *3 finalize stream request: 500 2022/05/27 16:50:09 [debug] 20149\#0: *3 finalize stream session: 500 2022/05/27 16:50:09 [debug] 20149\#0: *3 stream log handler 2022/05/27 16:50:09 [debug] 20149\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/semaphore.t | TEST 16: kill a light thread that is waiting on a semaphore (no resource) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:10 [error] 20149\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:39):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:39):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:10 [debug] 20149\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:50:10 [debug] 20149\#0: *6 finalize stream request: 500 2022/05/27 16:50:10 [debug] 20149\#0: *6 finalize stream session: 500 2022/05/27 16:50:10 [debug] 20149\#0: *6 stream log handler 2022/05/27 16:50:10 [debug] 20149\#0: *6 close stream connection: 11 ' |
stream/semaphore.t | TEST 15: two thread wait for each other - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -count in B: 0 -count in A: 0 ' |
stream/semaphore.t | TEST 15: two thread wait for each other - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:14 [error] 20174\#0: *3 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:55):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:14 [debug] 20174\#0: *3 lua request cleanup: forcible=0 2022/05/27 16:50:14 [debug] 20174\#0: *3 finalize stream request: 500 2022/05/27 16:50:14 [debug] 20174\#0: *3 finalize stream session: 500 2022/05/27 16:50:14 [debug] 20174\#0: *3 stream log handler 2022/05/27 16:50:14 [debug] 20174\#0: *3 close stream connection: 11 ' |
stream/semaphore.t | TEST 15: two thread wait for each other - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -count in B: 0 -count in A: 0 ' |
stream/semaphore.t | TEST 15: two thread wait for each other - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:15 [error] 20174\#0: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:55):2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' content_by_lua(nginx.conf:55):2: in main chunk, client: 127.0.0.1, server: 0.0.0.0:1985 2022/05/27 16:50:15 [debug] 20174\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:50:15 [debug] 20174\#0: *6 finalize stream request: 500 2022/05/27 16:50:15 [debug] 20174\#0: *6 finalize stream session: 500 2022/05/27 16:50:15 [debug] 20174\#0: *6 stream log handler 2022/05/27 16:50:15 [debug] 20174\#0: *6 close stream connection: 11 ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 15: set a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 15: set a number value (int) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 15: set a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 15: set a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:18 [error] 20209\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 15: set a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 15: set a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 15: set a number value (int) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 15: set a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 15: set a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:18 [error] 20209\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 2: get an nonexistent key - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 2: get an nonexistent key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:22 [error] 20236\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 2: get an nonexistent key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 2: get an nonexistent key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 2: get an nonexistent key - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 2: get an nonexistent key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:22 [error] 20236\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 37: free_space, got forcible - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 37: free_space, got forcible - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=64 )?free_page_bytes type: number free_page_bytes: 0 \z)' |
stream/shdict.t | TEST 37: free_space, got forcible - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:27 [error] 20269\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 37: free_space, got forcible - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 37: free_space, got forcible - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 37: free_space, got forcible - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=64 )?free_page_bytes type: number free_page_bytes: 0 \z)' |
stream/shdict.t | TEST 37: free_space, got forcible - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:27 [error] 20269\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 22: set a number value and delete - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 22: set a number value and delete - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 22: set a number value and delete - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 22: set a number value and delete - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:31 [error] 20296\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 22: set a number value and delete - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 22: set a number value and delete - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 22: set a number value and delete - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 22: set a number value and delete - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 22: set a number value and delete - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:31 [error] 20296\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10534 nil -foo = 10534 -foo after incr init_ttl = 10534 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:36 [error] 20323\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10534 nil -foo = 10534 -foo after incr init_ttl = 10534 ' |
stream/shdict.t | TEST 42: incr key with init_ttl (key exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:36 [error] 20323\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 8: get_stale (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 8: get_stale (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: false ' |
stream/shdict.t | TEST 8: get_stale (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 8: get_stale (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:40 [error] 20350\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 8: get_stale (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 8: get_stale (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 8: get_stale (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: false ' |
stream/shdict.t | TEST 8: get_stale (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 8: get_stale (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:40 [error] 20350\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 29: incr with init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 29: incr with init - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -failed to incr: not found -incr ok, value: 20, forcible: false ' |
stream/shdict.t | TEST 29: incr with init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:45 [error] 20377\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 29: incr with init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 29: incr with init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 29: incr with init - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -failed to incr: not found -incr ok, value: 20, forcible: false ' |
stream/shdict.t | TEST 29: incr with init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:45 [error] 20377\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:49 [error] 20410\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:49 [error] 20410\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 20: safe add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 20: safe add a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 20: safe add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 20: safe add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:54 [error] 20437\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 20: safe add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 20: safe add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 20: safe add a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 20: safe add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 20: safe add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:54 [error] 20437\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: must provide "init" when providing "init_ttl" ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:58 [error] 20464\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: must provide "init" when providing "init_ttl" ' |
stream/shdict.t | TEST 41: incr init_ttl argument without init - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:50:58 [error] 20464\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 10: incr int - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 10: incr int - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -value: 256 -err: nil ' |
stream/shdict.t | TEST 10: incr int - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 10: incr int - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:03 [error] 20491\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 10: incr int - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 10: incr int - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 10: incr int - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -value: 256 -err: nil ' |
stream/shdict.t | TEST 10: incr int - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 10: incr int - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:03 [error] 20491\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 25: get stale key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 25: get stale key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 25: get stale key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get stale: nil key ' |
stream/shdict.t | TEST 25: get stale key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:07 [error] 20526\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 25: get stale key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 25: get stale key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 25: get stale key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get stale: nil key ' |
stream/shdict.t | TEST 25: get stale key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:07 [error] 20526\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:12 [error] 20553\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 32: free_space, empty (16k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:12 [error] 20553\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 18: safe set a number value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 18: safe set a number value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 18: safe set a number value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 18: safe set a number value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:16 [error] 20580\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 18: safe set a number value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 18: safe set a number value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 18: safe set a number value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 18: safe set a number value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 18: safe set a number value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:16 [error] 20580\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 27: flush_all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 27: flush_all - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 27: flush_all - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 27: flush_all - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 27: flush_all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:21 [error] 20607\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 27: flush_all - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 27: flush_all - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 27: flush_all - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 27: flush_all - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 27: flush_all - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:21 [error] 20607\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 1: get a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 1: get a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 1: get a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 1: get a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:25 [error] 20634\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 1: get a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 1: get a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 1: get a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 1: get a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):11 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 1: get a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:25 [error] 20634\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 26: incr key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 26: incr key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to incr: nil key ' |
stream/shdict.t | TEST 26: incr key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:30 [error] 20667\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 26: incr key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 26: incr key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 26: incr key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to incr: nil key ' |
stream/shdict.t | TEST 26: incr key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:30 [error] 20667\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:34 [error] 20694\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:34 [error] 20694\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 14: set a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 14: set a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 14: set a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:39 [error] 20721\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 14: set a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 14: set a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 14: set a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 14: set a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:39 [error] 20721\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 3: get a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 3: get a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 3: get a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:43 [error] 20748\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 3: get a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 3: get a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 3: get a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 3: get a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:43 [error] 20748\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 5: get a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 5: get a number value (int) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 5: get a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 5: get a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:48 [error] 20781\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 5: get a number value (int) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 5: get a number value (int) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 5: get a number value (int) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 51203 -flags: nil ' |
stream/shdict.t | TEST 5: get a number value (int) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 5: get a number value (int) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:48 [error] 20781\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad init_ttl arg: number expected, got string ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:52 [error] 20808\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: bad init_ttl arg: number expected, got string ' |
stream/shdict.t | TEST 40: incr init_ttl argument is not a number - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:52 [error] 20808\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 21: replace a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 21: replace a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar100 -flags: 72 ' |
stream/shdict.t | TEST 21: replace a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 21: replace a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:57 [error] 20835\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 21: replace a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 21: replace a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 21: replace a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar100 -flags: 72 ' |
stream/shdict.t | TEST 21: replace a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 21: replace a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:51:57 [error] 20835\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:90112|94208) \z)' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:01 [error] 20862\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:90112|94208) \z)' |
stream/shdict.t | TEST 33: free_space, empty (100k zone) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:01 [error] 20862\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 4: get a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 4: get a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 4: get a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:06 [error] 20892\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 4: get a boolean value (false) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 4: get a boolean value (false) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: false -flags: 777 ' |
stream/shdict.t | TEST 4: get a boolean value (false) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 4: get a boolean value (false) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:06 [error] 20892\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10502 nil -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:10 [error] 20922\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10502 nil -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:10 [error] 20922\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 16: set a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 16: set a number value (double) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 16: set a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 16: set a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:15 [error] 20949\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 16: set a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 16: set a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 16: set a number value (double) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 16: set a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 16: set a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:15 [error] 20949\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 24: get nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 24: get nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to get: nil key ' |
stream/shdict.t | TEST 24: get nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:19 [error] 20976\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 24: get nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 24: get nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 24: get nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to get: nil key ' |
stream/shdict.t | TEST 24: get nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:19 [error] 20976\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 11: incr double - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 11: incr double - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -value: 371 -err: nil ' |
stream/shdict.t | TEST 11: incr double - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 11: incr double - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:24 [error] 21003\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 11: incr double - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 11: incr double - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 11: incr double - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -value: 371 -err: nil ' |
stream/shdict.t | TEST 11: incr double - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 11: incr double - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:24 [error] 21003\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:0|4096) \z)' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:28 [error] 21036\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - response_body_like - response is expected () |
'' doesn't match '(?^s:\Afree_page_bytes type: number free_page_bytes: (?:0|4096) \z)' |
stream/shdict.t | TEST 35: free_space, about half full, no page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:28 [error] 21036\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 23: set nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 23: set nil key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set: nil key ' |
stream/shdict.t | TEST 23: set nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:33 [error] 21063\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 23: set nil key - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 23: set nil key - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 23: set nil key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set: nil key ' |
stream/shdict.t | TEST 23: set nil key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:33 [error] 21063\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 19: add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 19: add a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 19: add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 19: add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:37 [error] 21090\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 19: add a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 19: add a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 19: add a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 19: add a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):8 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 19: add a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:37 [error] 21090\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 17: set a number value and a nil - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 17: set a number value and a nil - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 17: set a number value and a nil - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 17: set a number value and a nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:42 [error] 21117\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 17: set a number value and a nil - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 17: set a number value and a nil - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 17: set a number value and a nil - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: nil -value: nil -flags: nil ' |
stream/shdict.t | TEST 17: set a number value and a nil - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):6 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 17: set a number value and a nil - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:42 [error] 21117\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 38: free_space, full (100k) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 38: free_space, full (100k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=736 )?free_page_bytes type: number free_page_bytes: (?:0|32768) \z)' |
stream/shdict.t | TEST 38: free_space, full (100k) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:46 [error] 21150\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 38: free_space, full (100k) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 38: free_space, full (100k) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 38: free_space, full (100k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:got forcible, i=736 )?free_page_bytes type: number free_page_bytes: (?:0|32768) \z)' |
stream/shdict.t | TEST 38: free_space, full (100k) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:46 [error] 21150\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -incr: 10502 nil false -incr: 10502 nil true -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:51 [error] 21177\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -incr: 10502 nil false -incr: 10502 nil true -foo = 10502 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:51 [error] 21177\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:55 [error] 21204\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 43: incr key with init and init_ttl (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:52:55 [error] 21204\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 31: capacity - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 31: capacity - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -capacity type: number -capacity: 16384 ' |
stream/shdict.t | TEST 31: capacity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:00 [error] 21231\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 31: capacity - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 31: capacity - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 31: capacity - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -capacity type: number -capacity: 16384 ' |
stream/shdict.t | TEST 31: capacity - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:00 [error] 21231\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 36: free_space, full - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 36: free_space, full - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 0 ' |
stream/shdict.t | TEST 36: free_space, full - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:04 [error] 21258\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 36: free_space, full - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 36: free_space, full - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 36: free_space, full - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 0 ' |
stream/shdict.t | TEST 36: free_space, full - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:04 [error] 21258\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 7: get a large string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 7: get a large string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 7: get a large string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 7: get a large string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:09 [error] 21291\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 7: get a large string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 7: get a large string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 7: get a large string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba -flags: 912 ' |
stream/shdict.t | TEST 7: get a large string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):9 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 7: get a large string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:09 [error] 21291\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 12: set a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 12: set a string value - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 12: set a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 12: set a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:13 [error] 21318\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 12: set a string value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 12: set a string value - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 12: set a string value - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: string -value: bar -flags: 72 ' |
stream/shdict.t | TEST 12: set a string value - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 12: set a string value - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:13 [error] 21318\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 13: set a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 13: set a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 13: set a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:18 [error] 21345\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 13: set a boolean value (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 13: set a boolean value (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: boolean -value: true -flags: 5678 ' |
stream/shdict.t | TEST 13: set a boolean value (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 13: set a boolean value (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:18 [error] 21345\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:22 [error] 21391\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ttl: 2147483648 ' |
stream/shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:22 [error] 21391\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:27 [error] 21424\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -incr: 10503 nil -foo = 10503 -foo after init_ttl = nil ' |
stream/shdict.t | TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:27 [error] 21424\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 28: incr, value is not number - pattern "cannot convert 'nil' to 'double'" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 28: incr, value is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 28: incr, value is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 28: incr, value is not number - pattern "cannot convert 'nil' to 'double'" should match a line in error.log (req 1) | |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: bad "init_ttl" argument ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:36 [error] 21478\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: bad "init_ttl" argument ' |
stream/shdict.t | TEST 39: incr bad init_ttl argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:36 [error] 21478\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 9: get_stale (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 9: get_stale (true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: true ' |
stream/shdict.t | TEST 9: get_stale (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):13 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 9: get_stale (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:40 [error] 21505\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 9: get_stale (true) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 9: get_stale (true) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 9: get_stale (true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -value type: string -value: bar -flags: 72 -stale: true ' |
stream/shdict.t | TEST 9: get_stale (true) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):13 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 9: get_stale (true) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:40 [error] 21505\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 6: get a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 6: get a number value (double) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 6: get a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 6: get a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:45 [error] 21534\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 6: get a number value (double) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 6: get a number value (double) - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 6: get a number value (double) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -value type: number -value: 3.1415926 -flags: 78 ' |
stream/shdict.t | TEST 6: get a number value (double) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):7 loop\])" should match a line in error.log (req 1) | |
stream/shdict.t | TEST 6: get a number value (double) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:45 [error] 21534\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:49 [error] 21565\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -free_page_bytes type: number -free_page_bytes: 4096 ' |
stream/shdict.t | TEST 34: free_space, about half full, one page left - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:53:49 [error] 21565\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/shdict.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/shdict.t | TEST 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 30: incr, init is not number - pattern "number expected, got string" should match a line in error.log (req 0) | |
stream/shdict.t | TEST 30: incr, init is not number - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/shdict.t | TEST 30: incr, init is not number - status code ok |
got: '' expected: '200' |
stream/shdict.t | TEST 30: incr, init is not number - pattern "number expected, got string" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:01 [error] 21629\#0: *5 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 0.0.0.0:52958 2022/05/27 16:54:01 [debug] 21629\#0: *5 lua request cleanup: forcible=0 2022/05/27 16:54:01 [debug] 21629\#0: *5 stream lua finalize fake request: 500 2022/05/27 16:54:01 [debug] 21629\#0: *5 stream lua close fake request 2022/05/27 16:54:01 [debug] 21629\#0: *5 stream lua close fake stream connection 04A94258 2022/05/27 16:54:01 [debug] 21629\#0: run cleanup: 04AB2490 ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:03 [error] 21629\#0: *3 stream [lua] content_by_lua(nginx.conf:89):25: openssl client handshake timeout, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:54:03 [debug] 21629\#0: *3 lua resume returned 0 2022/05/27 16:54:03 [debug] 21629\#0: *3 lua light thread ended normally 2022/05/27 16:54:03 [debug] 21629\#0: *3 lua deleting light thread 2022/05/27 16:54:03 [debug] 21629\#0: *3 lua run thread returned 0 2022/05/27 16:54:03 [debug] 21629\#0: *3 finalize stream request: 0 2022/05/27 16:54:03 [debug] 21629\#0: *3 finalize stream session: 200 2022/05/27 16:54:03 [debug] 21629\#0: *3 stream log handler 2022/05/27 16:54:03 [debug] 21629\#0: *3 close stream connection: 12 2022/05/27 16:54:03 [debug] 21629\#0: *3 reusable connection: 0 ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'ok ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: CONNECTED)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "(?^:subject=/?C(?<eq>\s?=\s?)US(?<sep>/|,\s)ST\k<eq>California\k<sep>L\k<eq>San Francisco\k<sep>O\k<eq>OpenResty\k<sep>OU\k<eq>OpenResty\k<sep>CN\k<eq>test\.com\k<sep>emailAddress\k<eq>agentzh\@gmail\.com)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:04 [error] 21629\#0: *10 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 0.0.0.0:52958 2022/05/27 16:54:04 [debug] 21629\#0: *10 lua request cleanup: forcible=0 2022/05/27 16:54:04 [debug] 21629\#0: *10 stream lua finalize fake request: 500 2022/05/27 16:54:04 [debug] 21629\#0: *10 stream lua close fake request 2022/05/27 16:54:04 [debug] 21629\#0: *10 stream lua close fake stream connection 04A94258 2022/05/27 16:54:04 [debug] 21629\#0: run cleanup: 04AE4BF0 ' |
stream/ssl.t | TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:06 [error] 21629\#0: *8 stream [lua] content_by_lua(nginx.conf:89):25: openssl client handshake timeout, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:54:06 [debug] 21629\#0: *8 lua resume returned 0 2022/05/27 16:54:06 [debug] 21629\#0: *8 lua light thread ended normally 2022/05/27 16:54:06 [debug] 21629\#0: *8 lua deleting light thread 2022/05/27 16:54:06 [debug] 21629\#0: *8 lua run thread returned 0 2022/05/27 16:54:06 [debug] 21629\#0: *8 finalize stream request: 0 2022/05/27 16:54:06 [debug] 21629\#0: *8 finalize stream session: 200 2022/05/27 16:54:06 [debug] 21629\#0: *8 stream log handler 2022/05/27 16:54:06 [debug] 21629\#0: *8 close stream connection: 12 2022/05/27 16:54:06 [debug] 21629\#0: *8 reusable connection: 0 ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "(?^:Using unix socket file .*?nginx\.sock)" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:11 [error] 21692\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:54:11 [debug] 21692\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:54:11 [debug] 21692\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:54:11 [debug] 21692\#0: *6 stream lua close fake request 2022/05/27 16:54:11 [debug] 21692\#0: *6 stream lua close fake stream connection 04A93B94 2022/05/27 16:54:11 [debug] 21692\#0: run cleanup: 04AC45B0 ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:11 [error] 21692\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:54:11 [debug] 21692\#0: *3 event timer del: 13: 4787380 2022/05/27 16:54:11 [debug] 21692\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:54:11 [debug] 21692\#0: *3 stream lua finalize socket 2022/05/27 16:54:11 [debug] 21692\#0: *3 lua stream cleanup free: 04A9CD20 2022/05/27 16:54:11 [debug] 21692\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:54:11 [debug] 21692\#0: *3 lua close socket connection 2022/05/27 16:54:11 [debug] 21692\#0: *3 free: 04A9D0F0, unused: 0 2022/05/27 16:54:11 [debug] 21692\#0: *3 reusable connection: 0 2022/05/27 16:54:11 [debug] 21692\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "(?^:Using unix socket file .*?nginx\.sock)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:13 [error] 21692\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:54:13 [debug] 21692\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:54:13 [debug] 21692\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:54:13 [debug] 21692\#0: *12 stream lua close fake request 2022/05/27 16:54:13 [debug] 21692\#0: *12 stream lua close fake stream connection 04A93B94 2022/05/27 16:54:13 [debug] 21692\#0: run cleanup: 04B0DD08 ' |
stream/ssl.t | TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:13 [error] 21692\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:54:13 [debug] 21692\#0: *9 event timer del: 13: 4789356 2022/05/27 16:54:13 [debug] 21692\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:54:13 [debug] 21692\#0: *9 stream lua finalize socket 2022/05/27 16:54:13 [debug] 21692\#0: *9 lua stream cleanup free: 04AE7D80 2022/05/27 16:54:13 [debug] 21692\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:54:13 [debug] 21692\#0: *9 lua close socket connection 2022/05/27 16:54:13 [debug] 21692\#0: *9 free: 04AE8150, unused: 0 2022/05/27 16:54:13 [debug] 21692\#0: *9 reusable connection: 0 2022/05/27 16:54:13 [debug] 21692\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "(?^:\[error\] .*? failed to parse pem key: PEM_read_bio_PrivateKey\(\) failed)" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:54:18 [crit] 21735\#0: *5 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2022/05/27 16:54:18 [debug] 21735\#0: *5 finalize stream session: 500 2022/05/27 16:54:18 [debug] 21735\#0: *5 stream log handler 2022/05/27 16:54:18 [debug] 21735\#0: *5 close stream connection: 14 2022/05/27 16:54:18 [debug] 21735\#0: *5 reusable connection: 0 2022/05/27 16:54:18 [debug] 21735\#0: *5 free: 04AC1A18, unused: 0 2022/05/27 16:54:18 [debug] 21735\#0: *5 free: 04AAF6B0, unused: 0 2022/05/27 16:54:18 [debug] 21735\#0: *5 free: 04AAF618, unused: 0 2022/05/27 16:54:18 [debug] 21735\#0: *5 free: 04AAF5B0, unused: 0 2022/05/27 16:54:18 [debug] 21735\#0: *5 free: 04AAF500, unused: 0 ' |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "(?^:\[error\] .*? failed to parse pem key: PEM_read_bio_PrivateKey\(\) failed)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:54:20 [crit] 21735\#0: *11 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2022/05/27 16:54:20 [debug] 21735\#0: *11 finalize stream session: 500 2022/05/27 16:54:20 [debug] 21735\#0: *11 stream log handler 2022/05/27 16:54:20 [debug] 21735\#0: *11 close stream connection: 14 2022/05/27 16:54:20 [debug] 21735\#0: *11 reusable connection: 0 2022/05/27 16:54:20 [debug] 21735\#0: *11 free: 04B0D3B0, unused: 0 2022/05/27 16:54:20 [debug] 21735\#0: *11 free: 04AFB048, unused: 0 2022/05/27 16:54:20 [debug] 21735\#0: *11 free: 04AFAFB0, unused: 0 2022/05/27 16:54:20 [debug] 21735\#0: *11 free: 04AFAF48, unused: 0 2022/05/27 16:54:20 [debug] 21735\#0: *11 free: 04AFAE98, unused: 0 ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:26 [error] 21778\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:54:26 [debug] 21778\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:54:26 [debug] 21778\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:54:26 [debug] 21778\#0: *6 stream lua close fake request 2022/05/27 16:54:26 [debug] 21778\#0: *6 stream lua close fake stream connection 04A92904 2022/05/27 16:54:26 [debug] 21778\#0: run cleanup: 04AC3C20 ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:26 [error] 21778\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:54:26 [debug] 21778\#0: *3 event timer del: 13: 4801844 2022/05/27 16:54:26 [debug] 21778\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:54:26 [debug] 21778\#0: *3 stream lua finalize socket 2022/05/27 16:54:26 [debug] 21778\#0: *3 lua stream cleanup free: 04A9BA90 2022/05/27 16:54:26 [debug] 21778\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:54:26 [debug] 21778\#0: *3 lua close socket connection 2022/05/27 16:54:26 [debug] 21778\#0: *3 free: 04A9BE60, unused: 0 2022/05/27 16:54:26 [debug] 21778\#0: *3 reusable connection: 0 2022/05/27 16:54:26 [debug] 21778\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:27 [error] 21778\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:54:27 [debug] 21778\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:54:27 [debug] 21778\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:54:27 [debug] 21778\#0: *12 stream lua close fake request 2022/05/27 16:54:27 [debug] 21778\#0: *12 stream lua close fake stream connection 04A92904 2022/05/27 16:54:27 [debug] 21778\#0: run cleanup: 04B0D280 ' |
stream/ssl.t | TEST 9: read PEM cert chain but set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:27 [error] 21778\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:54:27 [debug] 21778\#0: *9 event timer del: 13: 4803848 2022/05/27 16:54:27 [debug] 21778\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:54:27 [debug] 21778\#0: *9 stream lua finalize socket 2022/05/27 16:54:27 [debug] 21778\#0: *9 lua stream cleanup free: 04AE72F8 2022/05/27 16:54:27 [debug] 21778\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:54:27 [debug] 21778\#0: *9 lua close socket connection 2022/05/27 16:54:27 [debug] 21778\#0: *9 free: 04AE76C8, unused: 0 2022/05/27 16:54:27 [debug] 21778\#0: *9 reusable connection: 0 2022/05/27 16:54:27 [debug] 21778\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:33 [error] 21821\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:61988 2022/05/27 16:54:33 [debug] 21821\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:54:33 [debug] 21821\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:54:33 [debug] 21821\#0: *6 stream lua close fake request 2022/05/27 16:54:33 [debug] 21821\#0: *6 stream lua close fake stream connection 04A93A54 2022/05/27 16:54:33 [debug] 21821\#0: run cleanup: 04AC85B0 ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:33 [error] 21821\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:54:33 [debug] 21821\#0: *3 event timer del: 13: 4809172 2022/05/27 16:54:33 [debug] 21821\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:54:33 [debug] 21821\#0: *3 stream lua finalize socket 2022/05/27 16:54:33 [debug] 21821\#0: *3 lua stream cleanup free: 04A9CBF8 2022/05/27 16:54:33 [debug] 21821\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:54:33 [debug] 21821\#0: *3 lua close socket connection 2022/05/27 16:54:33 [debug] 21821\#0: *3 free: 04AAF750, unused: 0 2022/05/27 16:54:33 [debug] 21821\#0: *3 reusable connection: 0 2022/05/27 16:54:33 [debug] 21821\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "Using IPv4 address: 127.0.0.1" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:35 [error] 21821\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:61988 2022/05/27 16:54:35 [debug] 21821\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:54:35 [debug] 21821\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:54:35 [debug] 21821\#0: *12 stream lua close fake request 2022/05/27 16:54:35 [debug] 21821\#0: *12 stream lua close fake stream connection 04A93A54 2022/05/27 16:54:35 [debug] 21821\#0: run cleanup: 04B15DD8 ' |
stream/ssl.t | TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:35 [error] 21821\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:54:35 [debug] 21821\#0: *9 event timer del: 13: 4811124 2022/05/27 16:54:35 [debug] 21821\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:54:35 [debug] 21821\#0: *9 stream lua finalize socket 2022/05/27 16:54:35 [debug] 21821\#0: *9 lua stream cleanup free: 04AEBD38 2022/05/27 16:54:35 [debug] 21821\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:54:35 [debug] 21821\#0: *9 lua close socket connection 2022/05/27 16:54:35 [debug] 21821\#0: *9 free: 04AFE890, unused: 0 2022/05/27 16:54:35 [debug] 21821\#0: *9 reusable connection: 0 2022/05/27 16:54:35 [debug] 21821\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "got TLS1 version: TLSv1.2," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:40 [error] 21858\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:35704 2022/05/27 16:54:40 [debug] 21858\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:54:40 [debug] 21858\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:54:40 [debug] 21858\#0: *6 stream lua close fake request 2022/05/27 16:54:40 [debug] 21858\#0: *6 stream lua close fake stream connection 04A927C4 2022/05/27 16:54:40 [debug] 21858\#0: run cleanup: 04AC59A0 ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:40 [error] 21858\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:54:40 [debug] 21858\#0: *3 event timer del: 13: 4816401 2022/05/27 16:54:40 [debug] 21858\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:54:40 [debug] 21858\#0: *3 stream lua finalize socket 2022/05/27 16:54:40 [debug] 21858\#0: *3 lua stream cleanup free: 04A9ABB8 2022/05/27 16:54:40 [debug] 21858\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:54:40 [debug] 21858\#0: *3 lua close socket connection 2022/05/27 16:54:40 [debug] 21858\#0: *3 free: 04AAD710, unused: 0 2022/05/27 16:54:40 [debug] 21858\#0: *3 reusable connection: 0 2022/05/27 16:54:40 [debug] 21858\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "got TLS1 version: TLSv1.2," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:42 [error] 21858\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:35704 2022/05/27 16:54:42 [debug] 21858\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:54:42 [debug] 21858\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:54:42 [debug] 21858\#0: *12 stream lua close fake request 2022/05/27 16:54:42 [debug] 21858\#0: *12 stream lua close fake stream connection 04A927C4 2022/05/27 16:54:42 [debug] 21858\#0: run cleanup: 04B13058 ' |
stream/ssl.t | TEST 13: tls version - TLSv1.2 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:42 [error] 21858\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:54:42 [debug] 21858\#0: *9 event timer del: 13: 4818333 2022/05/27 16:54:42 [debug] 21858\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:54:42 [debug] 21858\#0: *9 stream lua finalize socket 2022/05/27 16:54:42 [debug] 21858\#0: *9 lua stream cleanup free: 04AE9178 2022/05/27 16:54:42 [debug] 21858\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:54:42 [debug] 21858\#0: *9 lua close socket connection 2022/05/27 16:54:42 [debug] 21858\#0: *9 free: 04AFBCD0, unused: 0 2022/05/27 16:54:42 [debug] 21858\#0: *9 reusable connection: 0 2022/05/27 16:54:42 [debug] 21858\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'SUCCESS ' |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:47 [error] 21901\#0: *6 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: module 'ngx.ssl' not found:" (req 0) |
no field package.preload['ngx.ssl'] no file './ngx/ssl.lua' no file '/opt/luajit-sysm/share/luajit-2.1.0-beta3/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl/init.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl/init.lua' no file './ngx/ssl.so' no file '/usr/local/lib/lua/5.1/ngx/ssl.so' ' |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:48 [error] 21901\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: 0.0.0.0:1985, upstream: \"unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock\", bytes from/to client:0/0, bytes from/to upstream:0/0" (req 0) |
2022/05/27 16:54:48 [debug] 21901\#0: *3 stream proxy next upstream 2022/05/27 16:54:48 [debug] 21901\#0: *3 free rr peer 1 4 2022/05/27 16:54:48 [debug] 21901\#0: *3 finalize stream proxy: 502 2022/05/27 16:54:48 [debug] 21901\#0: *3 close stream proxy upstream connection: 13 2022/05/27 16:54:48 [debug] 21901\#0: *3 event timer del: 13: 4880549 2022/05/27 16:54:48 [debug] 21901\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:54:48 [debug] 21901\#0: *3 reusable connection: 0 2022/05/27 16:54:48 [debug] 21901\#0: *3 finalize stream session: 502 2022/05/27 16:54:48 [debug] 21901\#0: *3 stream log handler ' |
stream/ssl.t | TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'SUCCESS ' |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:48 [error] 21901\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: module 'ngx.ssl' not found:" (req 1) |
no field package.preload['ngx.ssl'] no file './ngx/ssl.lua' no file '/opt/luajit-sysm/share/luajit-2.1.0-beta3/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl/init.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl/init.lua' no file './ngx/ssl.so' no file '/usr/local/lib/lua/5.1/ngx/ssl.so' ' |
stream/ssl.t | TEST 23: verify client with CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:48 [error] 21901\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: 0.0.0.0:1985, upstream: \"unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock\", bytes from/to client:0/0, bytes from/to upstream:0/0" (req 1) |
2022/05/27 16:54:48 [debug] 21901\#0: *9 stream proxy next upstream 2022/05/27 16:54:48 [debug] 21901\#0: *9 free rr peer 1 4 2022/05/27 16:54:48 [debug] 21901\#0: *9 finalize stream proxy: 502 2022/05/27 16:54:48 [debug] 21901\#0: *9 close stream proxy upstream connection: 13 2022/05/27 16:54:48 [debug] 21901\#0: *9 event timer del: 13: 4881865 2022/05/27 16:54:48 [debug] 21901\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:54:48 [debug] 21901\#0: *9 reusable connection: 0 2022/05/27 16:54:48 [debug] 21901\#0: *9 finalize stream session: 502 2022/05/27 16:54:48 [debug] 21901\#0: *9 stream log handler ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "got TLS1 version: TLSv1.1," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:53 [error] 21938\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:14323 2022/05/27 16:54:53 [debug] 21938\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:54:53 [debug] 21938\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:54:53 [debug] 21938\#0: *6 stream lua close fake request 2022/05/27 16:54:53 [debug] 21938\#0: *6 stream lua close fake stream connection 04A927C4 2022/05/27 16:54:53 [debug] 21938\#0: run cleanup: 04AC5270 ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:54 [error] 21938\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:54:54 [debug] 21938\#0: *3 event timer del: 13: 4829581 2022/05/27 16:54:54 [debug] 21938\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:54:54 [debug] 21938\#0: *3 stream lua finalize socket 2022/05/27 16:54:54 [debug] 21938\#0: *3 lua stream cleanup free: 04A9ABB0 2022/05/27 16:54:54 [debug] 21938\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:54:54 [debug] 21938\#0: *3 lua close socket connection 2022/05/27 16:54:54 [debug] 21938\#0: *3 free: 04AAD708, unused: 0 2022/05/27 16:54:54 [debug] 21938\#0: *3 reusable connection: 0 2022/05/27 16:54:54 [debug] 21938\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "got TLS1 version: TLSv1.1," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:55 [error] 21938\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:14323 2022/05/27 16:54:55 [debug] 21938\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:54:55 [debug] 21938\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:54:55 [debug] 21938\#0: *12 stream lua close fake request 2022/05/27 16:54:55 [debug] 21938\#0: *12 stream lua close fake stream connection 04A927C4 2022/05/27 16:54:55 [debug] 21938\#0: run cleanup: 04B12200 ' |
stream/ssl.t | TEST 12: tls version - TLSv1.1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:54:55 [error] 21938\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:54:55 [debug] 21938\#0: *9 event timer del: 13: 4831521 2022/05/27 16:54:55 [debug] 21938\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:54:55 [debug] 21938\#0: *9 stream lua finalize socket 2022/05/27 16:54:55 [debug] 21938\#0: *9 lua stream cleanup free: 04AE8A48 2022/05/27 16:54:55 [debug] 21938\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:54:55 [debug] 21938\#0: *9 lua close socket connection 2022/05/27 16:54:55 [debug] 21938\#0: *9 free: 04AFB5A0, unused: 0 2022/05/27 16:54:55 [debug] 21938\#0: *9 reusable connection: 0 2022/05/27 16:54:55 [debug] 21938\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509_AUX\(\) failed)" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:55:01 [crit] 21975\#0: *5 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2022/05/27 16:55:01 [debug] 21975\#0: *5 finalize stream session: 500 2022/05/27 16:55:01 [debug] 21975\#0: *5 stream log handler 2022/05/27 16:55:01 [debug] 21975\#0: *5 close stream connection: 14 2022/05/27 16:55:01 [debug] 21975\#0: *5 reusable connection: 0 2022/05/27 16:55:01 [debug] 21975\#0: *5 free: 04AC1AB8, unused: 0 2022/05/27 16:55:01 [debug] 21975\#0: *5 free: 04AAF750, unused: 0 2022/05/27 16:55:01 [debug] 21975\#0: *5 free: 04AAF6B8, unused: 0 2022/05/27 16:55:01 [debug] 21975\#0: *5 free: 04AAF650, unused: 0 2022/05/27 16:55:01 [debug] 21975\#0: *5 free: 04AAF5A0, unused: 0 ' |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509_AUX\(\) failed)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:55:02 [crit] 21975\#0: *11 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2022/05/27 16:55:02 [debug] 21975\#0: *11 finalize stream session: 500 2022/05/27 16:55:02 [debug] 21975\#0: *11 stream log handler 2022/05/27 16:55:02 [debug] 21975\#0: *11 close stream connection: 14 2022/05/27 16:55:02 [debug] 21975\#0: *11 reusable connection: 0 2022/05/27 16:55:02 [debug] 21975\#0: *11 free: 04B0D3C0, unused: 0 2022/05/27 16:55:02 [debug] 21975\#0: *11 free: 04AFB058, unused: 0 2022/05/27 16:55:02 [debug] 21975\#0: *11 free: 04AFAFC0, unused: 0 2022/05/27 16:55:02 [debug] 21975\#0: *11 free: 04AFAF58, unused: 0 2022/05/27 16:55:02 [debug] 21975\#0: *11 free: 04AFAEA8, unused: 0 ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 0) |
@@ -1,4 +0,0 @@ -stream lua semaphore new -stream lua semaphore wait -stream lua semaphore wait yielding -stream lua semaphore post ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:08 [error] 22018\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:41544 2022/05/27 16:55:08 [debug] 22018\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:08 [debug] 22018\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:08 [debug] 22018\#0: *6 stream lua close fake request 2022/05/27 16:55:08 [debug] 22018\#0: *6 stream lua close fake stream connection 04A9285C 2022/05/27 16:55:08 [debug] 22018\#0: run cleanup: 04AC5EC0 ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:08 [error] 22018\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:08 [debug] 22018\#0: *3 event timer del: 13: 4844022 2022/05/27 16:55:08 [debug] 22018\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:08 [debug] 22018\#0: *3 stream lua finalize socket 2022/05/27 16:55:08 [debug] 22018\#0: *3 lua stream cleanup free: 04A9AC50 2022/05/27 16:55:08 [debug] 22018\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:08 [debug] 22018\#0: *3 lua close socket connection 2022/05/27 16:55:08 [debug] 22018\#0: *3 free: 04AAD7A8, unused: 0 2022/05/27 16:55:08 [debug] 22018\#0: *3 reusable connection: 0 2022/05/27 16:55:08 [debug] 22018\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -stream lua semaphore new -stream lua semaphore wait -stream lua semaphore wait yielding -stream lua semaphore post ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:10 [error] 22018\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.semaphore'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:41544 2022/05/27 16:55:10 [debug] 22018\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:55:10 [debug] 22018\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:55:10 [debug] 22018\#0: *12 stream lua close fake request 2022/05/27 16:55:10 [debug] 22018\#0: *12 stream lua close fake stream connection 04A9285C 2022/05/27 16:55:10 [debug] 22018\#0: run cleanup: 04B09F80 ' |
stream/ssl.t | TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:10 [error] 22018\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:55:10 [debug] 22018\#0: *9 event timer del: 13: 4845994 2022/05/27 16:55:10 [debug] 22018\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:55:10 [debug] 22018\#0: *9 stream lua finalize socket 2022/05/27 16:55:10 [debug] 22018\#0: *9 lua stream cleanup free: 04AE00E8 2022/05/27 16:55:10 [debug] 22018\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:55:10 [debug] 22018\#0: *9 lua close socket connection 2022/05/27 16:55:10 [debug] 22018\#0: *9 free: 04AF2BF8, unused: 0 2022/05/27 16:55:10 [debug] 22018\#0: *9 reusable connection: 0 2022/05/27 16:55:10 [debug] 22018\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:15 [error] 22061\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:50875 2022/05/27 16:55:15 [debug] 22061\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:15 [debug] 22061\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:15 [debug] 22061\#0: *6 stream lua close fake request 2022/05/27 16:55:15 [debug] 22061\#0: *6 stream lua close fake stream connection 04A92D04 2022/05/27 16:55:15 [debug] 22061\#0: run cleanup: 04AC6C08 ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:15 [error] 22061\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:15 [debug] 22061\#0: *3 event timer del: 13: 4851286 2022/05/27 16:55:15 [debug] 22061\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:15 [debug] 22061\#0: *3 stream lua finalize socket 2022/05/27 16:55:15 [debug] 22061\#0: *3 lua stream cleanup free: 04A9BE50 2022/05/27 16:55:15 [debug] 22061\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:15 [debug] 22061\#0: *3 lua close socket connection 2022/05/27 16:55:15 [debug] 22061\#0: *3 free: 04AAE9A8, unused: 0 2022/05/27 16:55:15 [debug] 22061\#0: *3 reusable connection: 0 2022/05/27 16:55:15 [debug] 22061\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:17 [error] 22061\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.1:50875 2022/05/27 16:55:17 [debug] 22061\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:55:17 [debug] 22061\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:55:17 [debug] 22061\#0: *12 stream lua close fake request 2022/05/27 16:55:17 [debug] 22061\#0: *12 stream lua close fake stream connection 04A92D04 2022/05/27 16:55:17 [debug] 22061\#0: run cleanup: 04B14310 ' |
stream/ssl.t | TEST 20: read client addr via ssl.raw_client_addr() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:17 [error] 22061\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:55:17 [debug] 22061\#0: *9 event timer del: 13: 4853242 2022/05/27 16:55:17 [debug] 22061\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:55:17 [debug] 22061\#0: *9 stream lua finalize socket 2022/05/27 16:55:17 [debug] 22061\#0: *9 lua stream cleanup free: 04AEA430 2022/05/27 16:55:17 [debug] 22061\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:55:17 [debug] 22061\#0: *9 lua close socket connection 2022/05/27 16:55:17 [debug] 22061\#0: *9 free: 04AFCF88, unused: 0 2022/05/27 16:55:17 [debug] 22061\#0: *9 reusable connection: 0 2022/05/27 16:55:17 [debug] 22061\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509\(\) failed)" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:55:22 [crit] 22104\#0: *5 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 0) |
2022/05/27 16:55:22 [debug] 22104\#0: *5 finalize stream session: 500 2022/05/27 16:55:22 [debug] 22104\#0: *5 stream log handler 2022/05/27 16:55:22 [debug] 22104\#0: *5 close stream connection: 14 2022/05/27 16:55:22 [debug] 22104\#0: *5 reusable connection: 0 2022/05/27 16:55:22 [debug] 22104\#0: *5 free: 04AC1AB8, unused: 0 2022/05/27 16:55:22 [debug] 22104\#0: *5 free: 04AAF750, unused: 0 2022/05/27 16:55:22 [debug] 22104\#0: *5 free: 04AAF6B8, unused: 0 2022/05/27 16:55:22 [debug] 22104\#0: *5 free: 04AAF650, unused: 0 2022/05/27 16:55:22 [debug] 22104\#0: *5 free: 04AAF5A0, unused: 0 ' |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "(?^:\[error\] .*? failed to parse pem cert: PEM_read_bio_X509\(\) failed)" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[crit]" should not match any line in error.log but matches line "2022/05/27 16:55:24 [crit] 22104\#0: *11 SSL_do_handshake() failed (SSL: error:1417A179:SSL routines:tls_post_process_client_hello:cert cb error) while SSL handshaking, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock" (req 1) |
2022/05/27 16:55:24 [debug] 22104\#0: *11 finalize stream session: 500 2022/05/27 16:55:24 [debug] 22104\#0: *11 stream log handler 2022/05/27 16:55:24 [debug] 22104\#0: *11 close stream connection: 14 2022/05/27 16:55:24 [debug] 22104\#0: *11 reusable connection: 0 2022/05/27 16:55:24 [debug] 22104\#0: *11 free: 04B0D3C0, unused: 0 2022/05/27 16:55:24 [debug] 22104\#0: *11 free: 04AFB058, unused: 0 2022/05/27 16:55:24 [debug] 22104\#0: *11 free: 04AFAFC0, unused: 0 2022/05/27 16:55:24 [debug] 22104\#0: *11 free: 04AFAF58, unused: 0 2022/05/27 16:55:24 [debug] 22104\#0: *11 free: 04AFAEA8, unused: 0 ' |
stream/ssl.t | TEST 26: private key protected by passphrase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 26: private key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:30 [error] 22146\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:30 [debug] 22146\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:30 [debug] 22146\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:30 [debug] 22146\#0: *6 stream lua close fake request 2022/05/27 16:55:30 [debug] 22146\#0: *6 stream lua close fake stream connection 04A92C6C 2022/05/27 16:55:30 [debug] 22146\#0: run cleanup: 04AC40F8 ' |
stream/ssl.t | TEST 26: private key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:30 [error] 22146\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:30 [debug] 22146\#0: *3 event timer del: 13: 4865742 2022/05/27 16:55:30 [debug] 22146\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:30 [debug] 22146\#0: *3 stream lua finalize socket 2022/05/27 16:55:30 [debug] 22146\#0: *3 lua stream cleanup free: 04A9BDF8 2022/05/27 16:55:30 [debug] 22146\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:30 [debug] 22146\#0: *3 lua close socket connection 2022/05/27 16:55:30 [debug] 22146\#0: *3 free: 04A9C1C8, unused: 0 2022/05/27 16:55:30 [debug] 22146\#0: *3 reusable connection: 0 2022/05/27 16:55:30 [debug] 22146\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 26: private key protected by passphrase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 26: private key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:31 [error] 22146\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:31 [debug] 22146\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:55:31 [debug] 22146\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:55:31 [debug] 22146\#0: *12 stream lua close fake request 2022/05/27 16:55:31 [debug] 22146\#0: *12 stream lua close fake stream connection 04A92C6C 2022/05/27 16:55:31 [debug] 22146\#0: run cleanup: 04B0D790 ' |
stream/ssl.t | TEST 26: private key protected by passphrase - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:31 [error] 22146\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:55:31 [debug] 22146\#0: *9 event timer del: 13: 4867730 2022/05/27 16:55:31 [debug] 22146\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:55:31 [debug] 22146\#0: *9 stream lua finalize socket 2022/05/27 16:55:31 [debug] 22146\#0: *9 lua stream cleanup free: 04AE7808 2022/05/27 16:55:31 [debug] 22146\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:55:31 [debug] 22146\#0: *9 lua close socket connection 2022/05/27 16:55:31 [debug] 22146\#0: *9 free: 04AE7BD8, unused: 0 2022/05/27 16:55:31 [debug] 22146\#0: *9 reusable connection: 0 2022/05/27 16:55:31 [debug] 22146\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:37 [error] 22184\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:37 [debug] 22184\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:37 [debug] 22184\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:37 [debug] 22184\#0: *6 stream lua close fake request 2022/05/27 16:55:37 [debug] 22184\#0: *6 stream lua close fake stream connection 04A924BC 2022/05/27 16:55:37 [debug] 22184\#0: run cleanup: 04AC2B98 ' |
stream/ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:37 [error] 22184\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:37 [debug] 22184\#0: *3 event timer del: 13: 4872950 2022/05/27 16:55:37 [debug] 22184\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:37 [debug] 22184\#0: *3 stream lua finalize socket 2022/05/27 16:55:37 [debug] 22184\#0: *3 lua stream cleanup free: 04A9B648 2022/05/27 16:55:37 [debug] 22184\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:37 [debug] 22184\#0: *3 lua close socket connection 2022/05/27 16:55:37 [debug] 22184\#0: *3 free: 04A9BA18, unused: 0 2022/05/27 16:55:37 [debug] 22184\#0: *3 reusable connection: 0 2022/05/27 16:55:37 [debug] 22184\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 8: set DER cert chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:39 [error] 22184\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:39 [debug] 22184\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:55:39 [debug] 22184\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:55:39 [debug] 22184\#0: *12 stream lua close fake request 2022/05/27 16:55:39 [debug] 22184\#0: *12 stream lua close fake stream connection 04A924BC 2022/05/27 16:55:39 [debug] 22184\#0: run cleanup: 04B0C2E8 ' |
stream/ssl.t | TEST 8: set DER cert chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:39 [error] 22184\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:55:39 [debug] 22184\#0: *9 event timer del: 13: 4874939 2022/05/27 16:55:39 [debug] 22184\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:55:39 [debug] 22184\#0: *9 stream lua finalize socket 2022/05/27 16:55:39 [debug] 22184\#0: *9 lua stream cleanup free: 04AE6360 2022/05/27 16:55:39 [debug] 22184\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:55:39 [debug] 22184\#0: *9 lua close socket connection 2022/05/27 16:55:39 [debug] 22184\#0: *9 free: 04AE6730, unused: 0 2022/05/27 16:55:39 [debug] 22184\#0: *9 reusable connection: 0 2022/05/27 16:55:39 [debug] 22184\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:44 [error] 22227\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:44 [debug] 22227\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:44 [debug] 22227\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:44 [debug] 22227\#0: *6 stream lua close fake request 2022/05/27 16:55:44 [debug] 22227\#0: *6 stream lua close fake stream connection 04A92E9C 2022/05/27 16:55:44 [debug] 22227\#0: run cleanup: 04AC3560 ' |
stream/ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:44 [error] 22227\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:44 [debug] 22227\#0: *3 event timer del: 13: 4880163 2022/05/27 16:55:44 [debug] 22227\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:44 [debug] 22227\#0: *3 stream lua finalize socket 2022/05/27 16:55:44 [debug] 22227\#0: *3 lua stream cleanup free: 04A9C028 2022/05/27 16:55:44 [debug] 22227\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:44 [debug] 22227\#0: *3 lua close socket connection 2022/05/27 16:55:44 [debug] 22227\#0: *3 free: 04A9C3F8, unused: 0 2022/05/27 16:55:44 [debug] 22227\#0: *3 reusable connection: 0 2022/05/27 16:55:44 [debug] 22227\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 2: set DER cert and private key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:46 [error] 22227\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:46 [debug] 22227\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:55:46 [debug] 22227\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:55:46 [debug] 22227\#0: *12 stream lua close fake request 2022/05/27 16:55:46 [debug] 22227\#0: *12 stream lua close fake stream connection 04A92E9C 2022/05/27 16:55:46 [debug] 22227\#0: run cleanup: 04B0CCB0 ' |
stream/ssl.t | TEST 2: set DER cert and private key - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:46 [error] 22227\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:55:46 [debug] 22227\#0: *9 event timer del: 13: 4882163 2022/05/27 16:55:46 [debug] 22227\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:55:46 [debug] 22227\#0: *9 stream lua finalize socket 2022/05/27 16:55:46 [debug] 22227\#0: *9 lua stream cleanup free: 04AE6D28 2022/05/27 16:55:46 [debug] 22227\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:55:46 [debug] 22227\#0: *9 lua close socket connection 2022/05/27 16:55:46 [debug] 22227\#0: *9 free: 04AE70F8, unused: 0 2022/05/27 16:55:46 [debug] 22227\#0: *9 reusable connection: 0 2022/05/27 16:55:46 [debug] 22227\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "got TLS1 version: TLSv1," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:51 [error] 22270\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:13344 2022/05/27 16:55:51 [debug] 22270\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:51 [debug] 22270\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:51 [debug] 22270\#0: *6 stream lua close fake request 2022/05/27 16:55:51 [debug] 22270\#0: *6 stream lua close fake stream connection 04A927C4 2022/05/27 16:55:51 [debug] 22270\#0: run cleanup: 04AC5270 ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:51 [error] 22270\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:51 [debug] 22270\#0: *3 event timer del: 13: 4887483 2022/05/27 16:55:51 [debug] 22270\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:51 [debug] 22270\#0: *3 stream lua finalize socket 2022/05/27 16:55:51 [debug] 22270\#0: *3 lua stream cleanup free: 04A9ABB0 2022/05/27 16:55:51 [debug] 22270\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:51 [debug] 22270\#0: *3 lua close socket connection 2022/05/27 16:55:51 [debug] 22270\#0: *3 free: 04AAD708, unused: 0 2022/05/27 16:55:51 [debug] 22270\#0: *3 reusable connection: 0 2022/05/27 16:55:51 [debug] 22270\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "got TLS1 version: TLSv1," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:53 [error] 22270\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:13344 2022/05/27 16:55:53 [debug] 22270\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:55:53 [debug] 22270\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:55:53 [debug] 22270\#0: *12 stream lua close fake request 2022/05/27 16:55:53 [debug] 22270\#0: *12 stream lua close fake stream connection 04A927C4 2022/05/27 16:55:53 [debug] 22270\#0: run cleanup: 04B12200 ' |
stream/ssl.t | TEST 11: tls version - TLSv1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:53 [error] 22270\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:55:53 [debug] 22270\#0: *9 event timer del: 13: 4889431 2022/05/27 16:55:53 [debug] 22270\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:55:53 [debug] 22270\#0: *9 stream lua finalize socket 2022/05/27 16:55:53 [debug] 22270\#0: *9 lua stream cleanup free: 04AE8A48 2022/05/27 16:55:53 [debug] 22270\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:55:53 [debug] 22270\#0: *9 lua close socket connection 2022/05/27 16:55:53 [debug] 22270\#0: *9 free: 04AFB5A0, unused: 0 2022/05/27 16:55:53 [debug] 22270\#0: *9 reusable connection: 0 2022/05/27 16:55:53 [debug] 22270\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:58 [error] 22312\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:55:58 [debug] 22312\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:55:58 [debug] 22312\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:55:58 [debug] 22312\#0: *6 stream lua close fake request 2022/05/27 16:55:58 [debug] 22312\#0: *6 stream lua close fake stream connection 04A92BEC 2022/05/27 16:55:58 [debug] 22312\#0: run cleanup: 04AC4018 ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:55:59 [error] 22312\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:55:59 [debug] 22312\#0: *3 event timer del: 13: 4894639 2022/05/27 16:55:59 [debug] 22312\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:55:59 [debug] 22312\#0: *3 stream lua finalize socket 2022/05/27 16:55:59 [debug] 22312\#0: *3 lua stream cleanup free: 04A9BD78 2022/05/27 16:55:59 [debug] 22312\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:55:59 [debug] 22312\#0: *3 lua close socket connection 2022/05/27 16:55:59 [debug] 22312\#0: *3 free: 04A9C148, unused: 0 2022/05/27 16:55:59 [debug] 22312\#0: *3 reusable connection: 0 2022/05/27 16:55:59 [debug] 22312\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:00 [error] 22312\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:00 [debug] 22312\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:56:00 [debug] 22312\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:56:00 [debug] 22312\#0: *12 stream lua close fake request 2022/05/27 16:56:00 [debug] 22312\#0: *12 stream lua close fake stream connection 04A92BEC 2022/05/27 16:56:00 [debug] 22312\#0: run cleanup: 04B0D6B8 ' |
stream/ssl.t | TEST 15: read PEM key chain but set DER key chain - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:00 [error] 22312\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:56:00 [debug] 22312\#0: *9 event timer del: 13: 4896639 2022/05/27 16:56:00 [debug] 22312\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:56:00 [debug] 22312\#0: *9 stream lua finalize socket 2022/05/27 16:56:00 [debug] 22312\#0: *9 lua stream cleanup free: 04AE7730 2022/05/27 16:56:00 [debug] 22312\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:00 [debug] 22312\#0: *9 lua close socket connection 2022/05/27 16:56:00 [debug] 22312\#0: *9 free: 04AE7B00, unused: 0 2022/05/27 16:56:00 [debug] 22312\#0: *9 reusable connection: 0 2022/05/27 16:56:00 [debug] 22312\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:06 [error] 22350\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:06 [debug] 22350\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:56:06 [debug] 22350\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:56:06 [debug] 22350\#0: *6 stream lua close fake request 2022/05/27 16:56:06 [debug] 22350\#0: *6 stream lua close fake stream connection 04A92B5C 2022/05/27 16:56:06 [debug] 22350\#0: run cleanup: 04AC3FB8 ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:06 [error] 22350\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:56:06 [debug] 22350\#0: *3 event timer del: 13: 4901859 2022/05/27 16:56:06 [debug] 22350\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:56:06 [debug] 22350\#0: *3 stream lua finalize socket 2022/05/27 16:56:06 [debug] 22350\#0: *3 lua stream cleanup free: 04A9BCE8 2022/05/27 16:56:06 [debug] 22350\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:06 [debug] 22350\#0: *3 lua close socket connection 2022/05/27 16:56:06 [debug] 22350\#0: *3 free: 04A9C0B8, unused: 0 2022/05/27 16:56:06 [debug] 22350\#0: *3 reusable connection: 0 2022/05/27 16:56:06 [debug] 22350\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:07 [error] 22350\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:07 [debug] 22350\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:56:07 [debug] 22350\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:56:07 [debug] 22350\#0: *12 stream lua close fake request 2022/05/27 16:56:07 [debug] 22350\#0: *12 stream lua close fake stream connection 04A92B5C 2022/05/27 16:56:07 [debug] 22350\#0: run cleanup: 04B0D5C0 ' |
stream/ssl.t | TEST 16: parse PEM cert and key to cdata - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:07 [error] 22350\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:56:07 [debug] 22350\#0: *9 event timer del: 13: 4903848 2022/05/27 16:56:07 [debug] 22350\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:56:07 [debug] 22350\#0: *9 stream lua finalize socket 2022/05/27 16:56:07 [debug] 22350\#0: *9 lua stream cleanup free: 04AE7638 2022/05/27 16:56:07 [debug] 22350\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:07 [debug] 22350\#0: *9 lua close socket connection 2022/05/27 16:56:07 [debug] 22350\#0: *9 free: 04AE7A08, unused: 0 2022/05/27 16:56:07 [debug] 22350\#0: *9 reusable connection: 0 2022/05/27 16:56:07 [debug] 22350\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:13 [error] 22393\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:13 [debug] 22393\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:56:13 [debug] 22393\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:56:13 [debug] 22393\#0: *6 stream lua close fake request 2022/05/27 16:56:13 [debug] 22393\#0: *6 stream lua close fake stream connection 04A92CAC 2022/05/27 16:56:13 [debug] 22393\#0: run cleanup: 04AC2460 ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:13 [error] 22393\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:56:13 [debug] 22393\#0: *3 event timer del: 13: 4909064 2022/05/27 16:56:13 [debug] 22393\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:56:13 [debug] 22393\#0: *3 stream lua finalize socket 2022/05/27 16:56:13 [debug] 22393\#0: *3 lua stream cleanup free: 04A9BD58 2022/05/27 16:56:13 [debug] 22393\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:13 [debug] 22393\#0: *3 lua close socket connection 2022/05/27 16:56:13 [debug] 22393\#0: *3 free: 04A9C128, unused: 0 2022/05/27 16:56:13 [debug] 22393\#0: *3 reusable connection: 0 2022/05/27 16:56:13 [debug] 22393\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "read SNI name from Lua: test.com" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:15 [error] 22393\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:15 [debug] 22393\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:56:15 [debug] 22393\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:56:15 [debug] 22393\#0: *12 stream lua close fake request 2022/05/27 16:56:15 [debug] 22393\#0: *12 stream lua close fake stream connection 04A92CAC 2022/05/27 16:56:15 [debug] 22393\#0: run cleanup: 04B0BC60 ' |
stream/ssl.t | TEST 3: read SNI name via ssl.server_name() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:15 [error] 22393\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:56:15 [debug] 22393\#0: *9 event timer del: 13: 4911052 2022/05/27 16:56:15 [debug] 22393\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:56:15 [debug] 22393\#0: *9 stream lua finalize socket 2022/05/27 16:56:15 [debug] 22393\#0: *9 lua stream cleanup free: 04AE5CD8 2022/05/27 16:56:15 [debug] 22393\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:15 [debug] 22393\#0: *9 lua close socket connection 2022/05/27 16:56:15 [debug] 22393\#0: *9 free: 04AE60A8, unused: 0 2022/05/27 16:56:15 [debug] 22393\#0: *9 reusable connection: 0 2022/05/27 16:56:15 [debug] 22393\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "read SNI name from Lua: nil, type: nil" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:27 [error] 22473\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:27 [debug] 22473\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:56:27 [debug] 22473\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:56:27 [debug] 22473\#0: *6 stream lua close fake request 2022/05/27 16:56:27 [debug] 22473\#0: *6 stream lua close fake stream connection 04A92CFC 2022/05/27 16:56:27 [debug] 22473\#0: run cleanup: 04AC25F8 ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:28 [error] 22473\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:56:28 [debug] 22473\#0: *3 event timer del: 13: 4923472 2022/05/27 16:56:28 [debug] 22473\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:56:28 [debug] 22473\#0: *3 stream lua finalize socket 2022/05/27 16:56:28 [debug] 22473\#0: *3 lua stream cleanup free: 04A9BE30 2022/05/27 16:56:28 [debug] 22473\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:28 [debug] 22473\#0: *3 lua close socket connection 2022/05/27 16:56:28 [debug] 22473\#0: *3 free: 04A9C200, unused: 0 2022/05/27 16:56:28 [debug] 22473\#0: *3 reusable connection: 0 2022/05/27 16:56:28 [debug] 22473\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "read SNI name from Lua: nil, type: nil" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:29 [error] 22473\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock 2022/05/27 16:56:29 [debug] 22473\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:56:29 [debug] 22473\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:56:29 [debug] 22473\#0: *12 stream lua close fake request 2022/05/27 16:56:29 [debug] 22473\#0: *12 stream lua close fake stream connection 04A92CFC 2022/05/27 16:56:29 [debug] 22473\#0: run cleanup: 04B0BBA0 ' |
stream/ssl.t | TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:29 [error] 22473\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:56:29 [debug] 22473\#0: *9 event timer del: 13: 4925496 2022/05/27 16:56:29 [debug] 22473\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:56:29 [debug] 22473\#0: *9 stream lua finalize socket 2022/05/27 16:56:29 [debug] 22473\#0: *9 lua stream cleanup free: 04AE5DD8 2022/05/27 16:56:29 [debug] 22473\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:29 [debug] 22473\#0: *9 lua close socket connection 2022/05/27 16:56:29 [debug] 22473\#0: *9 free: 04AE61A8, unused: 0 2022/05/27 16:56:29 [debug] 22473\#0: *9 reusable connection: 0 2022/05/27 16:56:29 [debug] 22473\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "got TLS1 version: SSLv3," should match a line in error.log (req 0) | |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:35 [error] 22516\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:3047 2022/05/27 16:56:35 [debug] 22516\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:56:35 [debug] 22516\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:56:35 [debug] 22516\#0: *6 stream lua close fake request 2022/05/27 16:56:35 [debug] 22516\#0: *6 stream lua close fake stream connection 04A927B4 2022/05/27 16:56:35 [debug] 22516\#0: run cleanup: 04AC4D08 ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:35 [error] 22516\#0: *3 SSL_do_handshake() failed (SSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number 40), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:56:35 [debug] 22516\#0: *3 event timer del: 13: 4930772 2022/05/27 16:56:35 [debug] 22516\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:56:35 [debug] 22516\#0: *3 stream lua finalize socket 2022/05/27 16:56:35 [debug] 22516\#0: *3 lua stream cleanup free: 04A9ABA0 2022/05/27 16:56:35 [debug] 22516\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:35 [debug] 22516\#0: *3 lua close socket connection 2022/05/27 16:56:35 [debug] 22516\#0: *3 free: 04AAD6F8, unused: 0 2022/05/27 16:56:35 [debug] 22516\#0: *3 reusable connection: 0 2022/05/27 16:56:35 [debug] 22516\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "got TLS1 version: SSLv3," should match a line in error.log (req 1) | |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:36 [error] 22516\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: 127.0.0.1, server: 127.0.0.2:3047 2022/05/27 16:56:36 [debug] 22516\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:56:36 [debug] 22516\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:56:36 [debug] 22516\#0: *12 stream lua close fake request 2022/05/27 16:56:36 [debug] 22516\#0: *12 stream lua close fake stream connection 04A927B4 2022/05/27 16:56:36 [debug] 22516\#0: run cleanup: 04B11740 ' |
stream/ssl.t | TEST 10: tls version - SSLv3 - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:36 [error] 22516\#0: *9 SSL_do_handshake() failed (SSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:SSL alert number 40), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:56:36 [debug] 22516\#0: *9 event timer del: 13: 4932712 2022/05/27 16:56:36 [debug] 22516\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:56:36 [debug] 22516\#0: *9 stream lua finalize socket 2022/05/27 16:56:36 [debug] 22516\#0: *9 lua stream cleanup free: 04AE84E0 2022/05/27 16:56:36 [debug] 22516\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:36 [debug] 22516\#0: *9 lua close socket connection 2022/05/27 16:56:36 [debug] 22516\#0: *9 free: 04AFB038, unused: 0 2022/05/27 16:56:36 [debug] 22516\#0: *9 reusable connection: 0 2022/05/27 16:56:36 [debug] 22516\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:42 [error] 22561\#0: *6 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: ::1, server: [::1]:43345 2022/05/27 16:56:42 [debug] 22561\#0: *6 lua request cleanup: forcible=0 2022/05/27 16:56:42 [debug] 22561\#0: *6 stream lua finalize fake request: 500 2022/05/27 16:56:42 [debug] 22561\#0: *6 stream lua close fake request 2022/05/27 16:56:42 [debug] 22561\#0: *6 stream lua close fake stream connection 04A93A74 2022/05/27 16:56:42 [debug] 22561\#0: run cleanup: 04AC8600 ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:42 [error] 22561\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/27 16:56:42 [debug] 22561\#0: *3 event timer del: 13: 4938045 2022/05/27 16:56:42 [debug] 22561\#0: *3 stream lua tcp socket handle connect error 2022/05/27 16:56:42 [debug] 22561\#0: *3 stream lua finalize socket 2022/05/27 16:56:42 [debug] 22561\#0: *3 lua stream cleanup free: 04A9CC18 2022/05/27 16:56:42 [debug] 22561\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:42 [debug] 22561\#0: *3 lua close socket connection 2022/05/27 16:56:42 [debug] 22561\#0: *3 free: 04AAF7A0, unused: 0 2022/05/27 16:56:42 [debug] 22561\#0: *3 reusable connection: 0 2022/05/27 16:56:42 [debug] 22561\#0: *3 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "Using IPv6 address: 0.0.0.1" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:44 [error] 22561\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: loop or previous error loading module 'ngx.ssl'" (req 1) |
stack traceback: coroutine 0: [C]: in function 'require' ssl_certificate_by_lua:2: in main chunk, context: ssl_certificate_by_lua*, client: ::1, server: [::1]:43345 2022/05/27 16:56:44 [debug] 22561\#0: *12 lua request cleanup: forcible=0 2022/05/27 16:56:44 [debug] 22561\#0: *12 stream lua finalize fake request: 500 2022/05/27 16:56:44 [debug] 22561\#0: *12 stream lua close fake request 2022/05/27 16:56:44 [debug] 22561\#0: *12 stream lua close fake stream connection 04A93A74 2022/05/27 16:56:44 [debug] 22561\#0: run cleanup: 04B15E60 ' |
stream/ssl.t | TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:44 [error] 22561\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/27 16:56:44 [debug] 22561\#0: *9 event timer del: 13: 4939993 2022/05/27 16:56:44 [debug] 22561\#0: *9 stream lua tcp socket handle connect error 2022/05/27 16:56:44 [debug] 22561\#0: *9 stream lua finalize socket 2022/05/27 16:56:44 [debug] 22561\#0: *9 lua stream cleanup free: 04AEBD90 2022/05/27 16:56:44 [debug] 22561\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:44 [debug] 22561\#0: *9 lua close socket connection 2022/05/27 16:56:44 [debug] 22561\#0: *9 free: 04AFE918, unused: 0 2022/05/27 16:56:44 [debug] 22561\#0: *9 reusable connection: 0 2022/05/27 16:56:44 [debug] 22561\#0: *9 stream lua tcp socket waking up the current request ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'NONE ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "client certificate subject: nil" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:49 [error] 22604\#0: *6 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: module 'ngx.ssl' not found:" (req 0) |
no field package.preload['ngx.ssl'] no file './ngx/ssl.lua' no file '/opt/luajit-sysm/share/luajit-2.1.0-beta3/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl/init.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl/init.lua' no file './ngx/ssl.so' no file '/usr/local/lib/lua/5.1/ngx/ssl.so' ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:49 [error] 22604\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: 0.0.0.0:1985, upstream: \"unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock\", bytes from/to client:0/0, bytes from/to upstream:0/0" (req 0) |
2022/05/27 16:56:49 [debug] 22604\#0: *3 stream proxy next upstream 2022/05/27 16:56:49 [debug] 22604\#0: *3 free rr peer 1 4 2022/05/27 16:56:49 [debug] 22604\#0: *3 finalize stream proxy: 502 2022/05/27 16:56:49 [debug] 22604\#0: *3 close stream proxy upstream connection: 13 2022/05/27 16:56:49 [debug] 22604\#0: *3 event timer del: 13: 5002237 2022/05/27 16:56:49 [debug] 22604\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:49 [debug] 22604\#0: *3 reusable connection: 0 2022/05/27 16:56:49 [debug] 22604\#0: *3 finalize stream session: 502 2022/05/27 16:56:49 [debug] 22604\#0: *3 stream log handler ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'NONE ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "client certificate subject: nil" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:50 [error] 22604\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: module 'ngx.ssl' not found:" (req 1) |
no field package.preload['ngx.ssl'] no file './ngx/ssl.lua' no file '/opt/luajit-sysm/share/luajit-2.1.0-beta3/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl/init.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl/init.lua' no file './ngx/ssl.so' no file '/usr/local/lib/lua/5.1/ngx/ssl.so' ' |
stream/ssl.t | TEST 25: verify client but client provides no certificate - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:50 [error] 22604\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: 0.0.0.0:1985, upstream: \"unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock\", bytes from/to client:0/0, bytes from/to upstream:0/0" (req 1) |
2022/05/27 16:56:50 [debug] 22604\#0: *9 stream proxy next upstream 2022/05/27 16:56:50 [debug] 22604\#0: *9 free rr peer 1 4 2022/05/27 16:56:50 [debug] 22604\#0: *9 finalize stream proxy: 502 2022/05/27 16:56:50 [debug] 22604\#0: *9 close stream proxy upstream connection: 13 2022/05/27 16:56:50 [debug] 22604\#0: *9 event timer del: 13: 5003513 2022/05/27 16:56:50 [debug] 22604\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:50 [debug] 22604\#0: *9 reusable connection: 0 2022/05/27 16:56:50 [debug] 22604\#0: *9 finalize stream session: 502 2022/05/27 16:56:50 [debug] 22604\#0: *9 stream log handler ' |
stream/ssl.t | TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'FAILED:self signed certificate ' |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 0) | |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:55 [error] 22635\#0: *6 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: module 'ngx.ssl' not found:" (req 0) |
no field package.preload['ngx.ssl'] no file './ngx/ssl.lua' no file '/opt/luajit-sysm/share/luajit-2.1.0-beta3/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl/init.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl/init.lua' no file './ngx/ssl.so' no file '/usr/local/lib/lua/5.1/ngx/ssl.so' ' |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:55 [error] 22635\#0: *3 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: 0.0.0.0:1985, upstream: \"unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock\", bytes from/to client:0/0, bytes from/to upstream:0/0" (req 0) |
2022/05/27 16:56:55 [debug] 22635\#0: *3 stream proxy next upstream 2022/05/27 16:56:55 [debug] 22635\#0: *3 free rr peer 1 4 2022/05/27 16:56:55 [debug] 22635\#0: *3 finalize stream proxy: 502 2022/05/27 16:56:55 [debug] 22635\#0: *3 close stream proxy upstream connection: 13 2022/05/27 16:56:55 [debug] 22635\#0: *3 event timer del: 13: 5008129 2022/05/27 16:56:55 [debug] 22635\#0: *3 poll del event: fd:13 ev:1 2022/05/27 16:56:55 [debug] 22635\#0: *3 reusable connection: 0 2022/05/27 16:56:55 [debug] 22635\#0: *3 finalize stream session: 502 2022/05/27 16:56:55 [debug] 22635\#0: *3 stream log handler ' |
stream/ssl.t | TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'FAILED:self signed certificate ' |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "client certificate subject: emailAddress=agentzh@gmail.com,CN=test.com" should match a line in error.log (req 1) | |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:56 [error] 22635\#0: *12 lua entry thread aborted: runtime error: ssl_certificate_by_lua:2: module 'ngx.ssl' not found:" (req 1) |
no field package.preload['ngx.ssl'] no file './ngx/ssl.lua' no file '/opt/luajit-sysm/share/luajit-2.1.0-beta3/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl.lua' no file '/usr/local/share/lua/5.1/ngx/ssl/init.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl.lua' no file '/opt/luajit-sysm/share/lua/5.1/ngx/ssl/init.lua' no file './ngx/ssl.so' no file '/usr/local/lib/lua/5.1/ngx/ssl.so' ' |
stream/ssl.t | TEST 24: verify client without CA certificates - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:56 [error] 22635\#0: *9 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 127.0.0.1, server: 0.0.0.0:1985, upstream: \"unix:/home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock\", bytes from/to client:0/0, bytes from/to upstream:0/0" (req 1) |
2022/05/27 16:56:56 [debug] 22635\#0: *9 stream proxy next upstream 2022/05/27 16:56:56 [debug] 22635\#0: *9 free rr peer 1 4 2022/05/27 16:56:56 [debug] 22635\#0: *9 finalize stream proxy: 502 2022/05/27 16:56:56 [debug] 22635\#0: *9 close stream proxy upstream connection: 13 2022/05/27 16:56:56 [debug] 22635\#0: *9 event timer del: 13: 5009429 2022/05/27 16:56:56 [debug] 22635\#0: *9 poll del event: fd:13 ev:1 2022/05/27 16:56:56 [debug] 22635\#0: *9 reusable connection: 0 2022/05/27 16:56:56 [debug] 22635\#0: *9 finalize stream session: 502 2022/05/27 16:56:56 [debug] 22635\#0: *9 stream log handler ' |
stream/time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/time.t | TEST 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 1: ngx.now() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/time.t | TEST 1: ngx.now() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/time.t | TEST 1: ngx.now() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:59 [error] 22676\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | TEST 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 1: ngx.now() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
stream/time.t | TEST 1: ngx.now() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/time.t | TEST 1: ngx.now() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:56:59 [error] 22676\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/time.t | TEST 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 3: ngx.update_time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 3: ngx.update_time() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'true ' |
stream/time.t | TEST 3: ngx.update_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/time.t | TEST 3: ngx.update_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:03 [error] 22697\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | TEST 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 3: ngx.update_time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 3: ngx.update_time() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'true ' |
stream/time.t | TEST 3: ngx.update_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/time.t | TEST 3: ngx.update_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:03 [error] 22697\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 2: ngx.time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 2: ngx.time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -true -true ' |
stream/time.t | TEST 2: ngx.time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/time.t | TEST 2: ngx.time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:06 [error] 22724\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 2: ngx.time() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 2: ngx.time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -true -true ' |
stream/time.t | TEST 2: ngx.time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/time.t | TEST 2: ngx.time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:06 [error] 22724\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/time.t | TEST 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 4: ngx.today() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 4: ngx.today() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2})' |
stream/time.t | TEST 4: ngx.today() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/time.t | TEST 4: ngx.today() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:10 [error] 22745\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | TEST 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 4: ngx.today() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 4: ngx.today() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2})' |
stream/time.t | TEST 4: ngx.today() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/time.t | TEST 4: ngx.today() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:10 [error] 22745\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/time.t | TEST 5: ngx.localtime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 5: ngx.localtime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 5: ngx.localtime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 5: ngx.localtime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/time.t | TEST 5: ngx.localtime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:13 [error] 22766\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | TEST 5: ngx.localtime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 5: ngx.localtime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 5: ngx.localtime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 5: ngx.localtime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/time.t | TEST 5: ngx.localtime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:13 [error] 22766\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required |
stream/time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 6: ngx.utctime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 6: ngx.utctime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 6: ngx.utctime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
stream/time.t | TEST 6: ngx.utctime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:17 [error] 22793\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 0) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
stream/time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
stream/time.t | TEST 6: ngx.utctime() - status code ok |
got: '' expected: '200' |
stream/time.t | TEST 6: ngx.utctime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
stream/time.t | TEST 6: ngx.utctime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
stream/time.t | TEST 6: ngx.utctime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:17 [error] 22793\#0: init_by_lua error: ./lib/resty/core/base.lua:33: ngx_stream_lua_module 0.0.11 required" (req 1) |
stack traceback: [C]: in function 'error' ./lib/resty/core/base.lua:33: 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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 6: ngx.utctime() - status code ok |
got: '' expected: '200' |
time.t | TEST 6: ngx.utctime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
time.t | TEST 6: ngx.utctime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 6: ngx.utctime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:21 [error] 22818\#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' ' |
time.t | TEST 6: ngx.utctime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 6: ngx.utctime() - status code ok |
got: '' expected: '200' |
time.t | TEST 6: ngx.utctime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
time.t | TEST 6: ngx.utctime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 6: ngx.utctime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:21 [error] 22818\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 5: ngx.localtime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 5: ngx.localtime() - status code ok |
got: '' expected: '200' |
time.t | TEST 5: ngx.localtime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
time.t | TEST 5: ngx.localtime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 5: ngx.localtime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:25 [error] 22845\#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' ' |
time.t | TEST 5: ngx.localtime() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 5: ngx.localtime() - status code ok |
got: '' expected: '200' |
time.t | TEST 5: ngx.localtime() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)' |
time.t | TEST 5: ngx.localtime() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 5: ngx.localtime() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:25 [error] 22845\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 3: ngx.update_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 3: ngx.update_time() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'true ' |
time.t | TEST 3: ngx.update_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 3: ngx.update_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:30 [error] 22878\#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' ' |
time.t | TEST 3: ngx.update_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 3: ngx.update_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 3: ngx.update_time() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'true ' |
time.t | TEST 3: ngx.update_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 3: ngx.update_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:30 [error] 22878\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 2: ngx.time() - status code ok |
got: '' expected: '200' |
time.t | TEST 2: ngx.time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -true -true ' |
time.t | TEST 2: ngx.time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 2: ngx.time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:34 [error] 22905\#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' ' |
time.t | TEST 2: ngx.time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 2: ngx.time() - status code ok |
got: '' expected: '200' |
time.t | TEST 2: ngx.time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -true -true ' |
time.t | TEST 2: ngx.time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 2: ngx.time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:34 [error] 22905\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 4: ngx.today() - status code ok |
got: '' expected: '200' |
time.t | TEST 4: ngx.today() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2})' |
time.t | TEST 4: ngx.today() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 4: ngx.today() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:39 [error] 22932\#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' ' |
time.t | TEST 4: ngx.today() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 4: ngx.today() - status code ok |
got: '' expected: '200' |
time.t | TEST 4: ngx.today() - response_body_like - response is expected () |
'' doesn't match '(?^s:^\d{4}-\d{2}-\d{2})' |
time.t | TEST 4: ngx.today() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 4: ngx.today() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:39 [error] 22932\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 9: ngx.http_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 9: ngx.http_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 9: ngx.http_time() - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Thu, 18 Nov 2010 11:27:35 GMT ' |
time.t | TEST 9: ngx.http_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 9: ngx.http_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:43 [error] 22959\#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' ' |
time.t | TEST 9: ngx.http_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 9: ngx.http_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 9: ngx.http_time() - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'Thu, 18 Nov 2010 11:27:35 GMT ' |
time.t | TEST 9: ngx.http_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 9: ngx.http_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:43 [error] 22959\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 10: ngx.http_time() bad argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 10: ngx.http_time() bad argument - status code ok |
got: '' expected: '200' |
time.t | TEST 10: ngx.http_time() bad argument - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: number argument only ' |
time.t | TEST 10: ngx.http_time() bad argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:47 [error] 22992\#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' ' |
time.t | TEST 10: ngx.http_time() bad argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 10: ngx.http_time() bad argument - status code ok |
got: '' expected: '200' |
time.t | TEST 10: ngx.http_time() bad argument - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: number argument only ' |
time.t | TEST 10: ngx.http_time() bad argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:47 [error] 22992\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 1: ngx.now() - status code ok |
got: '' expected: '200' |
time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
time.t | TEST 1: ngx.now() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 1: ngx.now() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:52 [error] 23019\#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' ' |
time.t | TEST 1: ngx.now() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 1: ngx.now() - status code ok |
got: '' expected: '200' |
time.t | TEST 1: ngx.now() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -true ->= 0.099: true -< 0.11: true ' |
time.t | TEST 1: ngx.now() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 1: ngx.now() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:52 [error] 23019\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 12: ngx.parse_http_time() bad argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 12: ngx.parse_http_time() bad argument - status code ok |
got: '' expected: '200' |
time.t | TEST 12: ngx.parse_http_time() bad argument - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: string argument only ' |
time.t | TEST 12: ngx.parse_http_time() bad argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:56 [error] 23046\#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' ' |
time.t | TEST 12: ngx.parse_http_time() bad argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 12: ngx.parse_http_time() bad argument - status code ok |
got: '' expected: '200' |
time.t | TEST 12: ngx.parse_http_time() bad argument - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: string argument only ' |
time.t | TEST 12: ngx.parse_http_time() bad argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:57:56 [error] 23046\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 8: ngx.cookie_time() bad argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 8: ngx.cookie_time() bad argument - status code ok |
got: '' expected: '200' |
time.t | TEST 8: ngx.cookie_time() bad argument - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'not ok: number argument only ' |
time.t | TEST 8: ngx.cookie_time() bad argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:01 [error] 23073\#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' ' |
time.t | TEST 8: ngx.cookie_time() bad argument - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 8: ngx.cookie_time() bad argument - status code ok |
got: '' expected: '200' |
time.t | TEST 8: ngx.cookie_time() bad argument - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'not ok: number argument only ' |
time.t | TEST 8: ngx.cookie_time() bad argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:01 [error] 23073\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 11: ngx.parse_http_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 11: ngx.parse_http_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 11: ngx.parse_http_time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -1290079655 -nil ' |
time.t | TEST 11: ngx.parse_http_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 11: ngx.parse_http_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:06 [error] 23100\#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' ' |
time.t | TEST 11: ngx.parse_http_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 11: ngx.parse_http_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 11: ngx.parse_http_time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -1290079655 -nil ' |
time.t | TEST 11: ngx.parse_http_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 11: ngx.parse_http_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:06 [error] 23100\#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' ' |
time.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
time.t | TEST 7: ngx.cookie_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 7: ngx.cookie_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 7: ngx.cookie_time() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -Thu, 18-Nov-10 11:27:35 GMT -Sun, 18-Sep-2039 23:06:40 GMT ' |
time.t | TEST 7: ngx.cookie_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
time.t | TEST 7: ngx.cookie_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:10 [error] 23133\#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' ' |
time.t | TEST 7: ngx.cookie_time() - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
time.t | TEST 7: ngx.cookie_time() - status code ok |
got: '' expected: '200' |
time.t | TEST 7: ngx.cookie_time() - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -Thu, 18-Nov-10 11:27:35 GMT -Sun, 18-Sep-2039 23:06:40 GMT ' |
time.t | TEST 7: ngx.cookie_time() - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
time.t | TEST 7: ngx.cookie_time() - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:10 [error] 23133\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 5: escape_uri (string, no escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 5: escape_uri (string, no escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 5: escape_uri (string, no escaped) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "helloworld\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 5: escape_uri (string, no escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 5: escape_uri (string, no escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:15 [error] 23163\#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' ' |
uri.t | TEST 5: escape_uri (string, no escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 5: escape_uri (string, no escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 5: escape_uri (string, no escaped) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "helloworld\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 5: escape_uri (string, no escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 5: escape_uri (string, no escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:15 [error] 23163\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 2: unescape_uri (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 2: unescape_uri (nil) - status code ok |
got: '' expected: '200' |
uri.t | TEST 2: unescape_uri (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) |
uri.t | TEST 2: unescape_uri (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 2: unescape_uri (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:19 [error] 23190\#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' ' |
uri.t | TEST 2: unescape_uri (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 2: unescape_uri (nil) - status code ok |
got: '' expected: '200' |
uri.t | TEST 2: unescape_uri (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) |
uri.t | TEST 2: unescape_uri (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 2: unescape_uri (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:19 [error] 23190\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"... length: 4098 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:24 [error] 23223\#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' ' |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"... length: 4098 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 8: escape_uri (larger than 4k, nothing to be escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:24 [error] 23223\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2"... length: 4096 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:28 [error] 23250\#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' ' |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2"... length: 4096 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 9: escape_uri (a little smaller than 4k, need to be escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:28 [error] 23250\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 7: escape_uri (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 7: escape_uri (number) - status code ok |
got: '' expected: '200' |
uri.t | TEST 7: escape_uri (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) |
uri.t | TEST 7: escape_uri (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 7: escape_uri (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:33 [error] 23277\#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' ' |
uri.t | TEST 7: escape_uri (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 7: escape_uri (number) - status code ok |
got: '' expected: '200' |
uri.t | TEST 7: escape_uri (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) |
uri.t | TEST 7: escape_uri (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 7: escape_uri (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:33 [error] 23277\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 6: escape_uri (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 6: escape_uri (nil) - status code ok |
got: '' expected: '200' |
uri.t | TEST 6: escape_uri (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) |
uri.t | TEST 6: escape_uri (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 6: escape_uri (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:37 [error] 23304\#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' ' |
uri.t | TEST 6: escape_uri (nil) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 6: escape_uri (nil) - status code ok |
got: '' expected: '200' |
uri.t | TEST 6: escape_uri (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) |
uri.t | TEST 6: escape_uri (nil) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 6: escape_uri (nil) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:37 [error] 23304\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 3: unescape_uri (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 3: unescape_uri (number) - status code ok |
got: '' expected: '200' |
uri.t | TEST 3: unescape_uri (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) |
uri.t | TEST 3: unescape_uri (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 3: unescape_uri (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:42 [error] 23337\#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' ' |
uri.t | TEST 3: unescape_uri (number) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 3: unescape_uri (number) - status code ok |
got: '' expected: '200' |
uri.t | TEST 3: unescape_uri (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) |
uri.t | TEST 3: unescape_uri (number) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 3: unescape_uri (number) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:42 [error] 23337\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 4: escape_uri (string, escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 4: escape_uri (string, escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 4: escape_uri (string, escaped) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello%20world\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 4: escape_uri (string, escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 4: escape_uri (string, escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:46 [error] 23364\#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' ' |
uri.t | TEST 4: escape_uri (string, escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 4: escape_uri (string, escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 4: escape_uri (string, escaped) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "hello%20world\x{0a}" length: 14 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 4: escape_uri (string, escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 4: escape_uri (string, escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:46 [error] 23364\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 1: unescape_uri (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 1: unescape_uri (string) - status code ok |
got: '' expected: '200' |
uri.t | TEST 1: unescape_uri (string) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "hello world\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 1: unescape_uri (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 1: unescape_uri (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:51 [error] 23391\#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' ' |
uri.t | TEST 1: unescape_uri (string) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 1: unescape_uri (string) - status code ok |
got: '' expected: '200' |
uri.t | TEST 1: unescape_uri (string) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "hello world\x{0a}" length: 12 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 1: unescape_uri (string) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 1: unescape_uri (string) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:51 [error] 23391\#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' ' |
uri.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2"... length: 4099 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:55 [error] 23418\#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' ' |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - status code ok |
got: '' expected: '200' |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2"... length: 4099 strings begin to differ at char 1 (line 1 column 1) |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
uri.t | TEST 10: escape_uri (a little bigger than 4k, need to be escaped) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:58:55 [error] 23418\#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' ' |
utils.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
utils.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
utils.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - status code ok |
got: '' expected: '200' |
utils.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Header-Name -Header-Name- Header--Name Header-Name Hello world ' |
utils.t | TEST 1: utils.str_replace_char() sanity (replaces a single character) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:00 [error] 23454\#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' ' |
utils.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
utils.t | TEST 2: utils.str_replace_char() JIT compiles when match - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
utils.t | TEST 2: utils.str_replace_char() JIT compiles when match - status code ok |
got: '' expected: '200' |
utils.t | TEST 2: utils.str_replace_char() JIT compiles when match - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
utils.t | TEST 2: utils.str_replace_char() JIT compiles when match - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:05 [error] 23480\#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' ' |
utils.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
utils.t | TEST 4: utils.str_replace_char() replacing more than one character is not supported - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
utils.t | TEST 4: utils.str_replace_char() replacing more than one character is not supported - status code ok |
got: '' expected: '200' |
utils.t | TEST 4: utils.str_replace_char() replacing more than one character is not supported - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'Header01Name 01Header01Name01 Header0Name Header1Name Hello world ' |
utils.t | TEST 4: utils.str_replace_char() replacing more than one character is not supported - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:09 [error] 23506\#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' ' |
utils.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
utils.t | TEST 3: utils.str_replace_char() JIT compiles when no match - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
utils.t | TEST 3: utils.str_replace_char() JIT compiles when no match - status code ok |
got: '' expected: '200' |
utils.t | TEST 3: utils.str_replace_char() JIT compiles when no match - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
utils.t | TEST 3: utils.str_replace_char() JIT compiles when no match - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:13 [error] 23532\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 6: set normal var (nil value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 6: set normal var (nil value) - status code ok |
got: '' expected: '200' |
var.t | TEST 6: set normal var (nil value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: nil\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 6: set normal var (nil value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 6: set normal var (nil value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:18 [error] 23567\#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' ' |
var.t | TEST 6: set normal var (nil value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 6: set normal var (nil value) - status code ok |
got: '' expected: '200' |
var.t | TEST 6: set normal var (nil value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: nil\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 6: set normal var (nil value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 6: set normal var (nil value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:18 [error] 23567\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 1: get normal var - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 1: get normal var - status code ok |
got: '' expected: '200' |
var.t | TEST 1: get normal var - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: hello\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 1: get normal var - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 1: get normal var - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:23 [error] 23594\#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' ' |
var.t | TEST 1: get normal var - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 1: get normal var - status code ok |
got: '' expected: '200' |
var.t | TEST 1: get normal var - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: hello\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 1: get normal var - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 1: get normal var - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:23 [error] 23594\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 8: error buffer overread - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 8: error buffer overread - status code ok |
got: '' expected: '200' |
var.t | TEST 8: error buffer overread - response_body_like - response is expected () |
'' doesn't match '(?^s:content_by_lua\(nginx\.conf:\d+\):\d+: variable "foo" not found for writing; maybe it is a built-in variable that is not changeable or you forgot to use "set \$foo '';" in the config file to define it first content_by_lua\(nginx\.conf:\d+\):\d+: variable "server_port" not changeable )' |
var.t | TEST 8: error buffer overread - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:27 [error] 23621\#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' ' |
var.t | TEST 8: error buffer overread - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 8: error buffer overread - status code ok |
got: '' expected: '200' |
var.t | TEST 8: error buffer overread - response_body_like - response is expected () |
'' doesn't match '(?^s:content_by_lua\(nginx\.conf:\d+\):\d+: variable "foo" not found for writing; maybe it is a built-in variable that is not changeable or you forgot to use "set \$foo '';" in the config file to define it first content_by_lua\(nginx\.conf:\d+\):\d+: variable "server_port" not changeable )' |
var.t | TEST 8: error buffer overread - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:27 [error] 23621\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 2: get normal var (case) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 2: get normal var (case) - status code ok |
got: '' expected: '200' |
var.t | TEST 2: get normal var (case) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: hello\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 2: get normal var (case) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 2: get normal var (case) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:32 [error] 23648\#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' ' |
var.t | TEST 2: get normal var (case) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 2: get normal var (case) - status code ok |
got: '' expected: '200' |
var.t | TEST 2: get normal var (case) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: hello\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 2: get normal var (case) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 2: get normal var (case) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:32 [error] 23648\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 7: set normal var (number value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 7: set normal var (number value) - status code ok |
got: '' expected: '200' |
var.t | TEST 7: set normal var (number value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: 30\x{0a}" length: 10 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 7: set normal var (number value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 7: set normal var (number value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:36 [error] 23681\#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' ' |
var.t | TEST 7: set normal var (number value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 7: set normal var (number value) - status code ok |
got: '' expected: '200' |
var.t | TEST 7: set normal var (number value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: 30\x{0a}" length: 10 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 7: set normal var (number value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 7: set normal var (number value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:36 [error] 23681\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 3: get capturing var (bad) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 3: get capturing var (bad) - status code ok |
got: '' expected: '200' |
var.t | TEST 3: get capturing var (bad) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: nil\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 3: get capturing var (bad) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 3: get capturing var (bad) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:41 [error] 23708\#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' ' |
var.t | TEST 3: get capturing var (bad) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 3: get capturing var (bad) - status code ok |
got: '' expected: '200' |
var.t | TEST 3: get capturing var (bad) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: nil\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 3: get capturing var (bad) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 3: get capturing var (bad) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:41 [error] 23708\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 4: get capturing var - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 4: get capturing var - status code ok |
got: '' expected: '200' |
var.t | TEST 4: get capturing var - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: /t\x{0a}" length: 10 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 4: get capturing var - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 4: get capturing var - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:45 [error] 23735\#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' ' |
var.t | TEST 4: get capturing var - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 4: get capturing var - status code ok |
got: '' expected: '200' |
var.t | TEST 4: get capturing var - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: /t\x{0a}" length: 10 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 4: get capturing var - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 4: get capturing var - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:45 [error] 23735\#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' ' |
var.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
var.t | TEST 5: set normal var (string value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 5: set normal var (string value) - status code ok |
got: '' expected: '200' |
var.t | TEST 5: set normal var (string value) - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "value: hello\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 5: set normal var (string value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
var.t | TEST 5: set normal var (string value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:50 [error] 23762\#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' ' |
var.t | TEST 5: set normal var (string value) - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
var.t | TEST 5: set normal var (string value) - status code ok |
got: '' expected: '200' |
var.t | TEST 5: set normal var (string value) - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "value: hello\x{0a}" length: 13 strings begin to differ at char 1 (line 1 column 1) |
var.t | TEST 5: set normal var (string value) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
var.t | TEST 5: set normal var (string value) - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:50 [error] 23762\#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' ' |
worker-count-5.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
worker-count-5.t | TEST 1: ngx.worker.count - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker-count-5.t | TEST 1: ngx.worker.count - status code ok |
got: '' expected: '200' |
worker-count-5.t | TEST 1: ngx.worker.count - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "workers: 5\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
worker-count-5.t | TEST 1: ngx.worker.count - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
worker-count-5.t | TEST 1: ngx.worker.count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:54 [error] 23798\#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' ' |
worker-count-5.t | TEST 1: ngx.worker.count - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker-count-5.t | TEST 1: ngx.worker.count - status code ok |
got: '' expected: '200' |
worker-count-5.t | TEST 1: ngx.worker.count - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "workers: 5\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
worker-count-5.t | TEST 1: ngx.worker.count - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
worker-count-5.t | TEST 1: ngx.worker.count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:54 [error] 23798\#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' ' |
worker-count-5.t | TEST 1: ngx.worker.count - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker-count-5.t | TEST 1: ngx.worker.count - status code ok |
got: '' expected: '200' |
worker-count-5.t | TEST 1: ngx.worker.count - response_body - response is expected (repeated req 2, req 0) |
got: "" length: 0 expected: "workers: 5\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
worker-count-5.t | TEST 1: ngx.worker.count - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 2) | |
worker-count-5.t | TEST 1: ngx.worker.count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:54 [error] 23798\#0: init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required" (req 2) |
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' ' |
worker.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
worker.t | TEST 2: ngx.worker.pid - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 2: ngx.worker.pid - status code ok |
got: '' expected: '200' |
worker.t | TEST 2: ngx.worker.pid - response_body_like - response is expected () |
'' doesn't match '(?^s:^true \d+$)' |
worker.t | TEST 2: ngx.worker.pid - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
worker.t | TEST 2: ngx.worker.pid - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:59 [error] 23829\#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' ' |
worker.t | TEST 2: ngx.worker.pid - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 2: ngx.worker.pid - status code ok |
got: '' expected: '200' |
worker.t | TEST 2: ngx.worker.pid - response_body_like - response is expected () |
'' doesn't match '(?^s:^true \d+$)' |
worker.t | TEST 2: ngx.worker.pid - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
worker.t | TEST 2: ngx.worker.pid - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 16:59:59 [error] 23829\#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' ' |
worker.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
worker.t | TEST 3: ngx.worker.id - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 3: ngx.worker.id - status code ok |
got: '' expected: '200' |
worker.t | TEST 3: ngx.worker.id - response_body_like - response is expected () |
'' doesn't match '(?^s:^worker id: [0-1]$)' |
worker.t | TEST 3: ngx.worker.id - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
worker.t | TEST 3: ngx.worker.id - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 17:00:04 [error] 23864\#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' ' |
worker.t | TEST 3: ngx.worker.id - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 3: ngx.worker.id - status code ok |
got: '' expected: '200' |
worker.t | TEST 3: ngx.worker.id - response_body_like - response is expected () |
'' doesn't match '(?^s:^worker id: [0-1]$)' |
worker.t | TEST 3: ngx.worker.id - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
worker.t | TEST 3: ngx.worker.id - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 17:00:04 [error] 23864\#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' ' |
worker.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
worker.t | TEST 1: ngx.worker.exiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 1: ngx.worker.exiting - status code ok |
got: '' expected: '200' |
worker.t | TEST 1: ngx.worker.exiting - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "false\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
worker.t | TEST 1: ngx.worker.exiting - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
worker.t | TEST 1: ngx.worker.exiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 17:00:08 [error] 23891\#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' ' |
worker.t | TEST 1: ngx.worker.exiting - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 1: ngx.worker.exiting - status code ok |
got: '' expected: '200' |
worker.t | TEST 1: ngx.worker.exiting - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "false\x{0a}" length: 6 strings begin to differ at char 1 (line 1 column 1) |
worker.t | TEST 1: ngx.worker.exiting - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
worker.t | TEST 1: ngx.worker.exiting - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 17:00:08 [error] 23891\#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' ' |
worker.t | nginx: [error] | init_by_lua error: ./lib/resty/core/base.lua:25: ngx_http_lua_module 0.10.21 required |
worker.t | TEST 4: ngx.worker.count - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 4: ngx.worker.count - status code ok |
got: '' expected: '200' |
worker.t | TEST 4: ngx.worker.count - response_body - response is expected (repeated req 0, req 0) |
got: "" length: 0 expected: "workers: 1\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
worker.t | TEST 4: ngx.worker.count - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
worker.t | TEST 4: ngx.worker.count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 17:00:13 [error] 23918\#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' ' |
worker.t | TEST 4: ngx.worker.count - Can't connect to 127.0.0.1:1984: Connection refused (aborted) |
' |
worker.t | TEST 4: ngx.worker.count - status code ok |
got: '' expected: '200' |
worker.t | TEST 4: ngx.worker.count - response_body - response is expected (repeated req 1, req 0) |
got: "" length: 0 expected: "workers: 1\x{0a}" length: 11 strings begin to differ at char 1 (line 1 column 1) |
worker.t | TEST 4: ngx.worker.count - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
worker.t | TEST 4: ngx.worker.count - pattern "[error]" should not match any line in error.log but matches line "2022/05/27 17:00:13 [error] 23918\#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' ' |
File | Name | Details |
---|---|---|
balancer.t | TEST 12: set_current_peer called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 0) | |
balancer.t | TEST 12: set_current_peer called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 1) | |
balancer.t | TEST 9: set current peer (port embedded in addr) - pattern "[lua] balancer_by_lua(nginx.conf:29):2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 0) | |
balancer.t | TEST 9: set current peer (port embedded in addr) - pattern "(?^:connect\(\) failed .*?, upstream: "http://127\.0\.0\.3:12345/t")" should match a line in error.log (req 0) | |
balancer.t | TEST 9: set current peer (port embedded in addr) - pattern "[lua] balancer_by_lua(nginx.conf:29):2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 1) | |
balancer.t | TEST 9: set current peer (port embedded in addr) - pattern "(?^:connect\(\) failed .*?, upstream: "http://127\.0\.0\.3:12345/t")" should match a line in error.log (req 1) | |
balancer.t | TEST 10: keepalive before balancer - pattern "[lua] balancer_by_lua(nginx.conf:30):2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 0) | |
balancer.t | TEST 10: keepalive before balancer - pattern "(?^:connect\(\) failed .*?, upstream: "http://127\.0\.0\.3:12345/t")" should match a line in error.log (req 0) | |
balancer.t | TEST 10: keepalive before balancer - pattern "[lua] balancer_by_lua(nginx.conf:30):2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 1) | |
balancer.t | TEST 10: keepalive before balancer - pattern "(?^:connect\(\) failed .*?, upstream: "http://127\.0\.0\.3:12345/t")" should match a line in error.log (req 1) | |
balancer.t | TEST 19: recreate upstream module requests with header change - pattern "connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1" should match a line in error.log (req 0) | |
balancer.t | TEST 19: recreate upstream module requests with header change - pattern "connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1" should match a line in error.log (req 1) | |
balancer.t | TEST 18: test ngx.var.upstream_addr after using more than one set_current_peer - pattern "(?^:log_by_lua\(nginx.conf:\d+\):\d+: ngx.var.upstream_addr is 127.0.0.3:12345, 127.0.0.3:12346)" should match a line in error.log (req 0) | |
balancer.t | TEST 18: test ngx.var.upstream_addr after using more than one set_current_peer - pattern "(?^:log_by_lua\(nginx.conf:\d+\):\d+: ngx.var.upstream_addr is 127.0.0.3:12345, 127.0.0.3:12346)" should match a line in error.log (req 1) | |
balancer.t | TEST 13: get_last_failure called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 0) | |
balancer.t | TEST 13: get_last_failure called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 1) | |
balancer.t | TEST 14: set_more_tries called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 0) | |
balancer.t | TEST 14: set_more_tries called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 1) | |
balancer.t | TEST 1: set current peer (separate addr and port) - pattern "[lua] balancer_by_lua(nginx.conf:29):2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 0) | |
balancer.t | TEST 1: set current peer (separate addr and port) - pattern "(?^:connect\(\) failed .*?, upstream: "http://127\.0\.0\.3:12345/t")" should match a line in error.log (req 0) | |
balancer.t | TEST 1: set current peer (separate addr and port) - pattern "[lua] balancer_by_lua(nginx.conf:29):2: hello from balancer by lua! while connecting to upstream," should match a line in error.log (req 1) | |
balancer.t | TEST 1: set current peer (separate addr and port) - pattern "(?^:connect\(\) failed .*?, upstream: "http://127\.0\.0\.3:12345/t")" should match a line in error.log (req 1) | |
balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - pattern "set more tries: reduced tries due to limit" should match a line in error.log (req 0) | |
balancer.t | TEST 4: set current peer & next upstream (3 tries exceeding the limit) - pattern "set more tries: reduced tries due to limit" should match a line in error.log (req 1) | |
balancer.t | TEST 15: hot loop when proxy_upstream_next error is hit and keepalive is used. - pattern "(?^:\[error] .*? upstream prematurely closed connection while reading response header from upstream)" should match a line in error.log (req 0) | |
balancer.t | TEST 15: hot loop when proxy_upstream_next error is hit and keepalive is used. - pattern "(?^:\[error] .*? upstream prematurely closed connection while reading response header from upstream)" should match a line in error.log (req 1) | |
errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stderr.t | TEST 7: read stderr, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe-stdout.t | TEST 33: read process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -stdout: ok -stderr err: closed ' |
pipe-stdout.t | TEST 21: read process, mix read pattern - response_body - response is expected (repeated req 0, req 0) |
@@ -1,13 +0,0 @@ -reading any -hello -reading 3 -wor -reading line -ld -reading 2 -mo -reading any -re - -reading all -data ' |
pipe-stdout.t | TEST 21: read process, mix read pattern - response_body - response is expected (repeated req 1, req 0) |
@@ -1,13 +0,0 @@ -reading any -hello -reading 3 -wor -reading line -ld -reading 2 -mo -reading any -re - -reading all -data ' |
pipe-stdout.t | TEST 8: read process, pattern is read any - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | TEST 8: read process, pattern is read any - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | TEST 10: read process, pattern is read any, with limited, limit larger than read data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -hello -world ' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -hell -o -world ' |
pipe-stdout.t | TEST 11: read process, pattern is read any, with limited, limit smaller than read data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -hell -o -world ' |
pipe-stdout.t | TEST 30: user case with read and wait - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -ok -exit ' |
pipe-stdout.t | TEST 30: user case with read and wait - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -ok -exit ' |
process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua(nginx.conf:48):6: process type: privileged" should match a line in error.log (req 0) | |
process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua(nginx.conf:48):6: process type: privileged" should match a line in error.log (req 1) | |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
re-gmatch.t | TEST 1: matched, no submatch, no jit compile, no regex cache - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
request.t | TEST 4: ngx.req.get_headers (metatable) - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 0) | |
request.t | TEST 4: ngx.req.get_headers (metatable) - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 1) | |
request.t | TEST 2: ngx.req.get_headers (raw) - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 0) | |
request.t | TEST 2: ngx.req.get_headers (raw) - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 1) | |
request.t | TEST 1: ngx.req.get_headers - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 0) | |
request.t | TEST 1: ngx.req.get_headers - pattern "(?^:\[TRACE\s+\d+ .*? -> \d+\])" should match a line in error.log (req 1) | |
request.t | TEST 3: ngx.req.get_headers (count is 2) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 0) | |
request.t | TEST 3: ngx.req.get_headers (count is 2) - pattern "(?^:\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):4 loop\])" should match a line in error.log (req 1) | |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - grep_error_log_out (req 0) |
got: '' expected: 'sem: 6 times, ' |
semaphore.t | TEST 17: semaphore post in all phase (in a request) - grep_error_log_out (req 1) |
got: '' expected: 'sem: 6 times, ' |
semaphore.t | TEST 7: semaphore in init_worker_by_lua (wait is not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem count: 1, -sem wait: API disabled in the context of init_worker_by_lua*, ' |
semaphore.t | TEST 16: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 16: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 11: semaphore in access_by_lua (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 11: semaphore in access_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 15: semaphore in body_filter_by_lua (wait not allowed) - grep_error_log_out (req 0) |
@@ -1,4 +0,0 @@ -sem: 1, -sem: API disabled in the context of body_filter_by_lua*, -sem: 1, -sem: API disabled in the context of body_filter_by_lua*, ' |
semaphore.t | TEST 15: semaphore in body_filter_by_lua (wait not allowed) - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -sem: 1, -sem: API disabled in the context of body_filter_by_lua*, -sem: 1, -sem: API disabled in the context of body_filter_by_lua*, ' |
semaphore.t | TEST 34: basic semaphore_mm alloc - grep_error_log_out (req 0) |
got: '' expected: 'new block, alloc semaphore ' |
semaphore.t | TEST 34: basic semaphore_mm alloc - grep_error_log_out (req 1) |
got: '' expected: 'from head of free queue, alloc semaphore ' |
semaphore.t | TEST 9: semaphore in set_by_lua (wait is not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: 1, -sem: API disabled in the context of set_by_lua*, ' |
semaphore.t | TEST 9: semaphore in set_by_lua (wait is not allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: 1, -sem: API disabled in the context of set_by_lua*, ' |
semaphore.t | TEST 14: semaphore in header_filter_by_lua (wait not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: 1, -sem: API disabled in the context of header_filter_by_lua*, ' |
semaphore.t | TEST 14: semaphore in header_filter_by_lua (wait not allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: 1, -sem: API disabled in the context of header_filter_by_lua*, ' |
semaphore.t | TEST 6: semaphore.new in init_by_lua* (with shdict) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[lua\] init_by_lua\(nginx.conf:\d+\):\d+: sema created: table: 0x[a-f0-9]+)' |
semaphore.t | TEST 12: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 12: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 37: semaphore_mm free block (load <= 50% & the on the older side) - grep_error_log_out (req 1) |
got: '' expected: 'free semaphore block ' |
semaphore.t | TEST 13: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: 1 while logging request, -sem: API disabled in the context of log_by_lua* while logging request, ' |
semaphore.t | TEST 13: semaphore in log_by_lua (wait not allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: 1 while logging request, -sem: API disabled in the context of log_by_lua* while logging request, ' |
semaphore.t | TEST 5: semaphore.new in init_by_lua* (w/o shdict) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\[lua\] init_by_lua\(nginx.conf:\d+\):\d+: sema created: table: 0x[a-f0-9]+)' |
semaphore.t | TEST 10: semaphore in rewrite_by_lua (all allowed) - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 10: semaphore in rewrite_by_lua (all allowed) - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -sem: timeout, -sem: 1, ' |
semaphore.t | TEST 8: semaphore in init_worker_by_lua (new and post) - grep_error_log_out (req 0) |
got: '' expected: 'sem count: 2, ' |
shared.t | TEST 4: shared.ttl returns key ttl for non-default (positive) ttl - response_body_like - response is expected () |
'' doesn't match '(?^s:\A0.2 sleep for 0.1s... 0.\d* \z)' |
stream/errlog.t | TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:log lines: #33 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+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/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:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ \z)' |
stream/errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17 |
stream/errlog.t | TEST 17: flood the capturing buffer (4k) - response_body_like - response is expected () |
'' doesn't match '(?^s:\A(?:log lines: #26 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 89, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+ )\z)' |
stream/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:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ |msg count: 3 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+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+ msg count: 3 log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ 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+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+ log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 88, client: 127.0.0.1, server: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ 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: 0.0.0.0:\d+ \z)' |
stream/process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua:6: process type: privileged" should match a line in error.log (req 0) | |
stream/process-type-hup.t | TEST 1: sanity - pattern "init_worker_by_lua:6: process type: privileged" should match a line in error.log (req 1) | |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - status code ok |
got: '' expected: '200' |
stream/re-sub.t | TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +0,0 @@ -s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd -n: 2048 ' |
Go back to the index page.