(This page was automatically generated by the tools in the opsboy project on 08:31:07 04-Jul-2023 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
b7f403cb | 2022-05-30 07:16:43 GMT | 213 | 119 | 117 | 10334 | 5935 sec |
File | Name | Details |
---|---|---|
023-preread/socket-keepalive.t | TEST 1: sanity |
' |
023-preread/socket-keepalive.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
023-preread/socket-keepalive.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:^connected: 1, reused: \d+ request sent: 11 received: OK connected: 1, reused: [1-9]\d* request sent: 11 received: OK )' |
023-preread/socket-keepalive.t | TEST 1: sanity - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -lua tcp socket keepalive create connection pool for key "127.0.0.1:11211" -lua tcp socket get keepalive peer: using connection ' |
023-preread/socket-keepalive.t | TEST 1: sanity |
' |
023-preread/socket-keepalive.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
023-preread/socket-keepalive.t | TEST 1: sanity - response_body_like - response is expected () |
'' doesn't match '(?^s:^connected: 1, reused: \d+ request sent: 11 received: OK connected: 1, reused: [1-9]\d* request sent: 11 received: OK )' |
023-preread/socket-keepalive.t | TEST 1: sanity - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -lua tcp socket get keepalive peer: using connection -lua tcp socket get keepalive peer: using connection ' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections |
' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - status code ok |
got: '' expected: '200' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () |
'' doesn't match '(?^s:^connected: 1, reused: \d+ request sent: 11 received: OK connected: 1, reused: [1-9]\d* request sent: 11 received: OK )' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0) | |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0) | |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections |
' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - status code ok |
got: '' expected: '200' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () |
'' doesn't match '(?^s:^connected: 1, reused: \d+ request sent: 11 received: OK connected: 1, reused: [1-9]\d* request sent: 11 received: OK )' |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1) | |
023-preread/socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1) | |
023-preread/tcp-socket-timeout.t | TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 0, req 0) |
got: 'connected: 1 failed' expected: 'connected: 1 failed to send: timeout ' |
023-preread/tcp-socket-timeout.t | TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 1, req 0) |
got: 'connected: 1 failed to se' expected: 'connected: 1 failed to send: timeout ' |
023-preread/tcp-socket-timeout.t | TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 0, req 0) |
got: 'connected: 1 failed ' expected: 'connected: 1 failed to send: timeout ' |
023-preread/tcp-socket-timeout.t | TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 1, req 0) |
got: 'connected: 1 failed to se' expected: 'connected: 1 failed to send: timeout ' |
023-preread/tcp-socket-timeout.t | TEST 11: lua_socket_send_timeout only - response_body - response is expected (repeated req 0, req 0) |
got: 'connected: 1 failed' expected: 'connected: 1 failed to send: timeout ' |
023-preread/tcp-socket-timeout.t | TEST 11: lua_socket_send_timeout only - response_body - response is expected (repeated req 1, req 0) |
got: 'connected: 1 failed ' expected: 'connected: 1 failed to send: timeout ' |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) |
' |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok |
got: '' expected: '200' |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1, reused: 0 -request sent: 11 -received: OK ' |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) |
' |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok |
got: '' expected: '200' |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1, reused: 0 -request sent: 11 -received: OK ' |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) |
' |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok |
got: '' expected: '200' |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -connected: 1, reused: 0 -request sent: 11 -received: OK ' |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) |
' |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok |
got: '' expected: '200' |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -connected: 1, reused: 0 -request sent: 11 -received: OK ' |
025-codecache.t | TEST 15: lua_code_cache off + FFI-based Lua modules - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 07:44:50 [error] 6449\#0: *144 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket handle read error 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket waking up the current request 2022/05/30 07:44:50 [debug] 6449\#0: *144 lua ngx_stream_lua_content_wev_handler 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp operation done, resuming lua thread 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket calling prepare retvals handler 0816E739, u:05BE08E0 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket receive return value handler 2022/05/30 07:44:50 [debug] 6449\#0: *144 lua run thread, top:9 2022/05/30 07:44:50 [debug] 6449\#0: *144 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:05BE0DC8, p:05BE0ED8 2022/05/30 07:44:50 [debug] 6449\#0: *144 free: 05BE0ED8 ' |
025-codecache.t | TEST 15: lua_code_cache off + FFI-based Lua modules - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 07:44:50 [error] 6449\#0: *144 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket handle read error 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket waking up the current request 2022/05/30 07:44:50 [debug] 6449\#0: *144 lua ngx_stream_lua_content_wev_handler 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp operation done, resuming lua thread 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket calling prepare retvals handler 0816E739, u:05BE08E0 2022/05/30 07:44:50 [debug] 6449\#0: *144 stream lua tcp socket receive return value handler 2022/05/30 07:44:50 [debug] 6449\#0: *144 lua run thread, top:9 2022/05/30 07:44:50 [debug] 6449\#0: *144 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:05BE0DC8, p:05BE0ED8 2022/05/30 07:44:50 [debug] 6449\#0: *144 free: 05BE0ED8 ' |
057-flush-timeout.t | TEST 4: flush wait - return "timeout" error - response_body - response is expected (repeated req 0, req 0) |
got: 'received 2 bytes of response data. ' expected: 'received 12 bytes of response data. ' |
057-flush-timeout.t | TEST 1: flush wait - timeout - response_body - response is expected (repeated req 0, req 0) |
got: 'received 8 bytes of response data. ' expected: 'received 12 bytes of response data. ' |
057-flush-timeout.t | TEST 1: flush wait - timeout - pattern "(?^:stream response: hello, world, client)" should match a line in error.log (req 0) | |
057-flush-timeout.t | TEST 5: flush wait in multiple user threads - return "timeout" error - response_body - response is expected (repeated req 0, req 0) |
got: 'received 3 bytes of response data. ' expected: 'received 12 bytes of response data. ' |
058-tcp-socket.t | TEST 19: cannot survive across request boundary (send) |
' |
058-tcp-socket.t | TEST 19: cannot survive across request boundary (send) - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () |
'' doesn't match '(?^s:^(?:connected: 1 request sent: 11 received: OK|failed to send request: closed)$)' |
058-tcp-socket.t | TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () |
'' doesn't match '(?^s:^(?:connected: 1 request sent: 11 received: OK|failed to send request: closed)$)' |
058-tcp-socket.t | TEST 21: cannot survive across request boundary (close) |
' |
058-tcp-socket.t | TEST 21: cannot survive across request boundary (close) - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () |
'' doesn't match '(?^:^(?:connected: 1 request sent: 11 received: OK|failed to close: closed)$)' |
058-tcp-socket.t | TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () |
'' doesn't match '(?^:^(?:connected: 1 request sent: 11 received: OK|failed to close: closed)$)' |
058-tcp-socket.t | TEST 23: connect again immediately |
' |
058-tcp-socket.t | TEST 23: connect again immediately - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -connected: 1 -connected again: 1 -request sent: 11 -received: OK -close: 1 nil ' |
058-tcp-socket.t | TEST 23: connect again immediately |
' |
058-tcp-socket.t | TEST 23: connect again immediately - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -connected: 1 -connected again: 1 -request sent: 11 -received: OK -close: 1 nil ' |
058-tcp-socket.t | TEST 20: cannot survive across request boundary (receive) |
' |
058-tcp-socket.t | TEST 20: cannot survive across request boundary (receive) - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () |
'' doesn't match '(?^:^(?:connected: 1 request sent: 11 received: OK|failed to receive a line: closed \[nil\])$)' |
058-tcp-socket.t | TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () |
'' doesn't match '(?^:^(?:connected: 1 request sent: 11 received: OK|failed to receive a line: closed \[nil\])$)' |
058-tcp-socket.t | TEST 59: the upper bound of port range should be 2^16 - 1 - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:11:12 [error] 27987\#0: *716 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:11:12 [debug] 28742\#0: *1176 malloc: 04A65B00:44 2022/05/30 08:11:12 [debug] 28742\#0: *1176 malloc: 0512CB98:8 2022/05/30 08:11:12 [debug] 28742\#0: *1176 lua tcp socket network address given directly 2022/05/30 08:11:12 [debug] 28742\#0: *1176 lua tcp socket resolve retval handler 2022/05/30 08:11:12 [debug] 27987\#0: *716 stream lua tcp socket handle read error 2022/05/30 08:11:12 [debug] 28742\#0: *1176 stream socket 11 2022/05/30 08:11:12 [debug] 28742\#0: *1176 epoll add connection: fd:11 ev:80002005 2022/05/30 08:11:12 [debug] 28742\#0: *1176 connect to 127.0.0.1:1985, fd:11 \#1177 2022/05/30 08:11:12 [debug] 28742\#0: *1176 malloc: 051062C0:12 ' |
058-tcp-socket.t | TEST 24: two sockets mix together |
' |
058-tcp-socket.t | TEST 24: two sockets mix together - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +0,0 @@ -1: connected: 1 -2: connected: 1 -1: request sent: 11 -2: request sent: 57 -1: received: OK -2: received: HTTP/1.1 200 OK -1: close: 1 nil -2: close: 1 nil ' |
058-tcp-socket.t | TEST 24: two sockets mix together - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:11:22 [error] 28112\#0: *785 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:11:22 [debug] 28112\#0: *785 stream lua tcp socket handle read error 2022/05/30 08:11:22 [debug] 28112\#0: *785 stream lua tcp socket waking up the current request 2022/05/30 08:11:22 [debug] 28112\#0: *785 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:11:22 [debug] 28112\#0: *785 stream lua tcp operation done, resuming lua thread 2022/05/30 08:11:22 [debug] 28112\#0: *785 stream lua tcp socket calling prepare retvals handler 0816E739, u:04A85688 2022/05/30 08:11:22 [debug] 28112\#0: *785 stream lua tcp socket receive return value handler 2022/05/30 08:11:22 [debug] 28112\#0: *785 lua run thread, top:9 2022/05/30 08:11:22 [debug] 28112\#0: *785 lua reuse free buf chain, but reallocate memory because 37 >= 19, cl:04C748B0, p:05B9C3C0 2022/05/30 08:11:22 [debug] 28112\#0: *785 free: 05B9C3C0 ' |
058-tcp-socket.t | TEST 24: two sockets mix together |
' |
058-tcp-socket.t | TEST 24: two sockets mix together - status code ok |
got: '' expected: '200' |
058-tcp-socket.t | TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) |
@@ -1,8 +0,0 @@ -1: connected: 1 -2: connected: 1 -1: request sent: 11 -2: request sent: 57 -1: received: OK -2: received: HTTP/1.1 200 OK -1: close: 1 nil -2: close: 1 nil ' |
058-tcp-socket.t | TEST 24: two sockets mix together - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:11:25 [error] 28112\#0: *790 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:11:25 [debug] 28112\#0: *790 stream lua tcp socket handle read error 2022/05/30 08:11:25 [debug] 28112\#0: *790 stream lua tcp socket waking up the current request 2022/05/30 08:11:25 [debug] 28112\#0: *790 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:11:25 [debug] 28112\#0: *790 stream lua tcp operation done, resuming lua thread 2022/05/30 08:11:25 [debug] 28112\#0: *790 stream lua tcp socket calling prepare retvals handler 0816E739, u:04A10728 2022/05/30 08:11:25 [debug] 28112\#0: *790 stream lua tcp socket receive return value handler 2022/05/30 08:11:25 [debug] 28112\#0: *790 lua run thread, top:0 2022/05/30 08:11:25 [debug] 28112\#0: *790 lua reuse free buf chain, but reallocate memory because 37 >= 19, cl:04D21A28, p:05780118 2022/05/30 08:11:25 [debug] 28112\#0: *790 free: 05780118 ' |
058-tcp-socket.t | TEST 61: TCP socket GC'ed in preread phase without Lua content phase - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:12:05 [error] 28673\#0: *1142 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:12:05 [debug] 29417\#0: free: 055F3AE0, unused: 0 2022/05/30 08:12:05 [debug] 29417\#0: free: 054714E0, unused: 0 2022/05/30 08:12:05 [debug] 29417\#0: free: 06143058, unused: 0 2022/05/30 08:12:05 [debug] 29417\#0: free: 060450A0, unused: 0 2022/05/30 08:12:05 [debug] 29417\#0: free: 06038BF0, unused: 0 2022/05/30 08:12:05 [debug] 28673\#0: *1142 stream lua tcp socket handle read error 2022/05/30 08:12:05 [debug] 29417\#0: free: 06035400, unused: 0 2022/05/30 08:12:05 [debug] 29417\#0: free: 0602DD78, unused: 0 2022/05/30 08:12:05 [debug] 29417\#0: free: 0602CE00, unused: 0 ' |
058-tcp-socket.t | TEST 31: send("") - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:12:19 [error] 28849\#0: *1243 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:12:19 [debug] 28849\#0: *1243 stream lua tcp socket handle read error 2022/05/30 08:12:19 [debug] 28849\#0: *1243 stream lua tcp socket waking up the current request 2022/05/30 08:12:19 [debug] 28849\#0: *1243 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:12:19 [debug] 28849\#0: *1243 stream lua tcp operation done, resuming lua thread 2022/05/30 08:12:19 [debug] 28849\#0: *1243 stream lua tcp socket calling prepare retvals handler 0816E739, u:050E32B0 ' |
058-tcp-socket.t | TEST 51: IPv6 - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:12:22 [error] 28849\#0: *1249 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:12:22 [debug] 28849\#0: *1249 stream lua tcp socket handle read error 2022/05/30 08:12:22 [debug] 28849\#0: *1249 stream lua tcp socket waking up the current request 2022/05/30 08:12:22 [debug] 28849\#0: *1249 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:12:22 [debug] 28849\#0: *1249 stream lua tcp operation done, resuming lua thread 2022/05/30 08:12:22 [debug] 28849\#0: *1249 stream lua tcp socket calling prepare retvals handler 0816E739, u:04E414E8 2022/05/30 08:12:22 [debug] 28849\#0: *1249 stream lua tcp socket receive return value handler 2022/05/30 08:12:22 [debug] 28849\#0: *1249 lua run thread, top:0 2022/05/30 08:12:22 [debug] 28849\#0: *1249 lua reuse free buf memory 57 >= 40, cl:058CC8A0, p:04F71DB8 2022/05/30 08:12:22 [debug] 28849\#0: *1249 lua say response ' |
060-lua-memcached.t | TEST 2: raw memcached |
' |
060-lua-memcached.t | TEST 2: raw memcached - status code ok |
got: '' expected: '200' |
060-lua-memcached.t | TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'some_key: hello 1234 ' |
060-lua-memcached.t | TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0) | |
060-lua-memcached.t | TEST 2: raw memcached |
' |
060-lua-memcached.t | TEST 2: raw memcached - status code ok |
got: '' expected: '200' |
060-lua-memcached.t | TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'some_key: hello 1234 ' |
060-lua-memcached.t | TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1) | |
060-lua-memcached.t | TEST 1: sanity |
' |
060-lua-memcached.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
060-lua-memcached.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'some_key: hello 1234 ' |
060-lua-memcached.t | TEST 1: sanity |
' |
060-lua-memcached.t | TEST 1: sanity - status code ok |
got: '' expected: '200' |
060-lua-memcached.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'some_key: hello 1234 ' |
065-tcp-socket-timeout.t | TEST 11: lua_socket_send_timeout only - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to send: timeout +failed t' |
065-tcp-socket-timeout.t | TEST 11: lua_socket_send_timeout only - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to send: timeout +failed to se' |
065-tcp-socket-timeout.t | TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to send: timeout +failed to' |
065-tcp-socket-timeout.t | TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to send: timeout +failed to se' |
065-tcp-socket-timeout.t | TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to send: timeout +failed t' |
065-tcp-socket-timeout.t | TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to send: timeout +failed to se' |
066-socket-receiveuntil.t | TEST 1: memcached read lines |
' |
066-socket-receiveuntil.t | TEST 1: memcached read lines - status code ok |
got: '' expected: '200' |
066-socket-receiveuntil.t | TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -request sent: 11 -received: OK -close: 1 nil ' |
066-socket-receiveuntil.t | TEST 1: memcached read lines |
' |
066-socket-receiveuntil.t | TEST 1: memcached read lines - status code ok |
got: '' expected: '200' |
066-socket-receiveuntil.t | TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -request sent: 11 -received: OK -close: 1 nil ' |
068-socket-keepalive.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,6 @@ connected: 1, reused: 0 request sent: 11 -received: OK +failed to receive a line: timeout [] connected: 1, reused: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] ' |
068-socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,6 @@ connected: 1, reused: 0 request sent: 11 -received: OK +failed to receive a line: timeout [] connected: 1, reused: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] ' |
068-socket-keepalive.t | TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - response_body - response is expected (repeated req 0, req 0) |
@@ -1,8 +1,8 @@ connected: 1, reused: 0 request sent: 11 -received: OK +failed to receive a line: timeout [] connected: 1, reused: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] reused: 1 reused: 0 ' |
068-socket-keepalive.t | TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog |
' |
068-socket-keepalive.t | TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok |
got: '' expected: '200' |
068-socket-keepalive.t | TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -request sent: 11 -received: OK -setkeepalive: OK ' |
068-socket-keepalive.t | TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool |
' |
068-socket-keepalive.t | TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - status code ok |
got: '' expected: '200' |
068-socket-keepalive.t | TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'ok ' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data |
' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok |
got: '' expected: '200' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -request sent: 11 -read: O -failed to set keepalive: unread data in buffer ' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data |
' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok |
got: '' expected: '200' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +0,0 @@ -connected: 1 -request sent: 11 -read: O -failed to set keepalive: unread data in buffer ' |
071-idle-socket.t | TEST 2: read timer cleared in time - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,5 @@ connected: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] request sent again: 11 close: 1 nil ' |
071-idle-socket.t | TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:28:05 [error] 6895\#0: *139 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:28:05 [debug] 6895\#0: *139 stream lua tcp socket handle read error 2022/05/30 08:28:05 [debug] 6895\#0: *139 stream lua tcp socket waking up the current request 2022/05/30 08:28:05 [debug] 6895\#0: *139 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:28:05 [debug] 6895\#0: *139 stream lua tcp operation done, resuming lua thread 2022/05/30 08:28:05 [debug] 6895\#0: *139 stream lua tcp socket calling prepare retvals handler 0816E739, u:05B08160 2022/05/30 08:28:05 [debug] 6895\#0: *139 stream lua tcp socket receive return value handler 2022/05/30 08:28:05 [debug] 6895\#0: *139 lua run thread, top:9 2022/05/30 08:28:05 [debug] 6895\#0: *139 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:05B08600, p:05B088B0 2022/05/30 08:28:05 [debug] 6895\#0: *139 free: 05B088B0 ' |
071-idle-socket.t | TEST 2: read timer cleared in time - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,5 @@ connected: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] request sent again: 11 close: 1 nil ' |
071-idle-socket.t | TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:28:06 [error] 6895\#0: *143 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:28:06 [debug] 6895\#0: *143 stream lua tcp socket handle read error 2022/05/30 08:28:06 [debug] 6895\#0: *143 stream lua tcp socket waking up the current request 2022/05/30 08:28:06 [debug] 6895\#0: *143 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:28:06 [debug] 6895\#0: *143 stream lua tcp operation done, resuming lua thread 2022/05/30 08:28:06 [debug] 6895\#0: *143 stream lua tcp socket calling prepare retvals handler 0816E739, u:05B0E138 2022/05/30 08:28:06 [debug] 6895\#0: *143 stream lua tcp socket receive return value handler 2022/05/30 08:28:06 [debug] 6895\#0: *143 lua run thread, top:0 2022/05/30 08:28:06 [debug] 6895\#0: *143 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:05B0E590, p:05B0E7F8 2022/05/30 08:28:06 [debug] 6895\#0: *143 free: 05B0E7F8 ' |
071-idle-socket.t | TEST 4: send timer cleared in time - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,3 @@ connected: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] -close: 1 nil ' |
071-idle-socket.t | TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:28:10 [error] 6956\#0: *172 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:28:10 [debug] 6956\#0: *172 stream lua tcp socket handle read error 2022/05/30 08:28:10 [debug] 6956\#0: *172 stream lua tcp socket waking up the current request 2022/05/30 08:28:10 [debug] 6956\#0: *172 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:28:10 [debug] 6956\#0: *172 stream lua tcp operation done, resuming lua thread 2022/05/30 08:28:10 [debug] 6956\#0: *172 stream lua tcp socket calling prepare retvals handler 0816E739, u:05D5E8B8 2022/05/30 08:28:10 [debug] 6956\#0: *172 stream lua tcp socket receive return value handler 2022/05/30 08:28:10 [debug] 6956\#0: *172 lua run thread, top:9 2022/05/30 08:28:10 [debug] 6956\#0: *172 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:05E87280, p:05D5EC80 2022/05/30 08:28:10 [debug] 6956\#0: *172 free: 05D5EC80 ' |
071-idle-socket.t | TEST 4: send timer cleared in time - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,3 @@ connected: 1 request sent: 11 -received: OK +failed to receive a line: timeout [] -close: 1 nil ' |
071-idle-socket.t | TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:28:11 [error] 6956\#0: *176 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:28:11 [debug] 6956\#0: *176 stream lua tcp socket handle read error 2022/05/30 08:28:11 [debug] 6956\#0: *176 stream lua tcp socket waking up the current request 2022/05/30 08:28:11 [debug] 6956\#0: *176 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:28:11 [debug] 6956\#0: *176 stream lua tcp operation done, resuming lua thread 2022/05/30 08:28:11 [debug] 6956\#0: *176 stream lua tcp socket calling prepare retvals handler 0816E739, u:05D62FC8 2022/05/30 08:28:11 [debug] 6956\#0: *176 stream lua tcp socket receive return value handler 2022/05/30 08:28:11 [debug] 6956\#0: *176 lua run thread, top:0 2022/05/30 08:28:11 [debug] 6956\#0: *176 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:05D63420, p:05D63688 2022/05/30 08:28:11 [debug] 6956\#0: *176 free: 05D63688 ' |
087-udp-socket.t | TEST 6: connect again immediately |
' |
087-udp-socket.t | TEST 6: connect again immediately - status code ok |
got: '' expected: '200' |
087-udp-socket.t | TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +0,0 @@ -connected: 1 -connected again: 1 -request sent: 1 -received: OK - -close: 1 nil ' |
087-udp-socket.t | TEST 6: connect again immediately |
' |
087-udp-socket.t | TEST 6: connect again immediately - status code ok |
got: '' expected: '200' |
087-udp-socket.t | TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +0,0 @@ -connected: 1 -connected again: 1 -request sent: 1 -received: OK - -close: 1 nil ' |
087-udp-socket.t | TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) |
'connected failed to receive data: timeout ' doesn't match '(?^s:^connected 1: received 12 bytes: [] OK 2: received 12 bytes: [] OK $)' |
087-udp-socket.t | TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:24 [error] 11045\#0: *1154 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket handle error 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket waking up the current request 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp operation done, resuming lua thread 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket calling prepare retvals handler 08173457, u:04F716D8 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket receive return value handler 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket error retval handler 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua run thread, top:9 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04F790D0, p:04FB5D88 ' |
087-udp-socket.t | TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) |
'connected failed to receive data: timeout ' doesn't match '(?^s:^connected 1: received 12 bytes: [] OK 2: received 12 bytes: [] OK $)' |
087-udp-socket.t | TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:24 [error] 11045\#0: *1154 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket handle error 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket waking up the current request 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp operation done, resuming lua thread 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket calling prepare retvals handler 08173457, u:04F716D8 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket receive return value handler 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua udp socket error retval handler 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua run thread, top:9 2022/05/30 08:33:24 [debug] 11045\#0: *1154 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04F790D0, p:04FB5D88 ' |
087-udp-socket.t | TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:25 [error] 11045\#0: *1158 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua udp socket handle error 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua udp socket waking up the current request 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua udp operation done, resuming lua thread 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua udp socket calling prepare retvals handler 08173457, u:05F77FA0 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua udp socket receive return value handler 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua udp socket error retval handler 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua run thread, top:0 2022/05/30 08:33:25 [debug] 11045\#0: *1158 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:05FEB500, p:04DB7440 ' |
087-udp-socket.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected -received 12 bytes: OK +failed to receive data: timeout ' |
087-udp-socket.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:33 [error] 11157\#0: *1223 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket handle error 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket waking up the current request 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp operation done, resuming lua thread 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket calling prepare retvals handler 08173457, u:04BF1198 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket receive return value handler 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket error retval handler 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua run thread, top:9 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04DB4770, p:04E35660 ' |
087-udp-socket.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected -received 12 bytes: OK +failed to receive data: timeout ' |
087-udp-socket.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:33 [error] 11157\#0: *1223 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket handle error 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket waking up the current request 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp operation done, resuming lua thread 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket calling prepare retvals handler 08173457, u:04BF1198 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket receive return value handler 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua udp socket error retval handler 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua run thread, top:9 2022/05/30 08:33:33 [debug] 11157\#0: *1223 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04DB4770, p:04E35660 ' |
087-udp-socket.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:35 [error] 11157\#0: *1227 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua udp socket handle error 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua udp socket waking up the current request 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua udp operation done, resuming lua thread 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua udp socket calling prepare retvals handler 08173457, u:04BEA188 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua udp socket receive return value handler 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua udp socket error retval handler 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua run thread, top:0 2022/05/30 08:33:35 [debug] 11157\#0: *1227 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04D88A68, p:04E4E850 ' |
087-udp-socket.t | TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected -received 12 bytes: OK +failed to receive data: timeout ' |
087-udp-socket.t | TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:43 [error] 11278\#0: *1290 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket handle error 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket waking up the current request 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp operation done, resuming lua thread 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket calling prepare retvals handler 08173457, u:04D50738 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket receive return value handler 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket error retval handler 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua run thread, top:9 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:05B8BC20, p:05C1BB78 ' |
087-udp-socket.t | TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected -received 12 bytes: OK +failed to receive data: timeout ' |
087-udp-socket.t | TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:43 [error] 11278\#0: *1290 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket handle error 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket waking up the current request 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp operation done, resuming lua thread 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket calling prepare retvals handler 08173457, u:04D50738 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket receive return value handler 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua udp socket error retval handler 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua run thread, top:9 2022/05/30 08:33:43 [debug] 11278\#0: *1290 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:05B8BC20, p:05C1BB78 ' |
087-udp-socket.t | TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:33:44 [error] 11278\#0: *1294 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua udp socket handle error 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua udp socket waking up the current request 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua udp operation done, resuming lua thread 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua udp socket calling prepare retvals handler 08173457, u:04DA3538 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua udp socket receive return value handler 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua udp socket error retval handler 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua run thread, top:0 2022/05/30 08:33:44 [debug] 11278\#0: *1294 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04EA1AF0, p:04EA2E30 ' |
093-uthread-spawn.t | TEST 16: user threads + ngx.socket.tcp |
' |
093-uthread-spawn.t | TEST 16: user threads + ngx.socket.tcp - status code ok |
got: '' expected: '200' |
093-uthread-spawn.t | TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -before -after -received: OK ' |
093-uthread-spawn.t | TEST 16: user threads + ngx.socket.tcp |
' |
093-uthread-spawn.t | TEST 16: user threads + ngx.socket.tcp - status code ok |
got: '' expected: '200' |
093-uthread-spawn.t | TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +0,0 @@ -before -after -received: OK ' |
106-timer.t | TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK |
" should match a line in error.log (req 0)' |
106-timer.t | TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK |
" should match a line in error.log (req 1)' |
106-timer.t | TEST 17: chained timers (0 delay) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:43:37 [error] 25601\#0: *617 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04EFD8D0:8 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F01240:28 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F0D9F0:8 2022/05/30 08:43:37 [debug] 25601\#0: *617 lua udp socket handle error 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F185A8:10 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F187A8:8 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F1B958:32 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F1D2C8:8 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 04F1D458:28 ' |
106-timer.t | TEST 17: chained timers (0 delay) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:43:37 [error] 25601\#0: *617 stream [lua] content_by_lua(nginx.conf:64):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:43:37 [debug] 24683\#0: malloc: 05556550:32 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 0555FE60:8 2022/05/30 08:43:37 [debug] 25601\#0: *617 lua resume returned 0 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 055671C0:28 2022/05/30 08:43:37 [debug] 25601\#0: *617 lua light thread ended normally 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 0556E3D0:8 2022/05/30 08:43:37 [debug] 25601\#0: *617 lua deleting light thread 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 0557EB78:20 2022/05/30 08:43:37 [debug] 24683\#0: malloc: 05582EE0:8 ' |
106-timer.t | TEST 17: chained timers (0 delay) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:43:38 [error] 25601\#0: *622 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:43:38 [debug] 25601\#0: *622 lua udp socket handle error 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua udp socket waking up the current request 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua udp operation done, resuming lua thread 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua udp socket calling prepare retvals handler 08173457, u:04D7C850 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua udp socket receive return value handler 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua udp socket error retval handler 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua run thread, top:0 2022/05/30 08:43:38 [error] 25601\#0: *622 stream [lua] content_by_lua(nginx.conf:64):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985 ' |
106-timer.t | TEST 17: chained timers (0 delay) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:43:38 [error] 25601\#0: *622 stream [lua] content_by_lua(nginx.conf:64):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:43:38 [debug] 25601\#0: *622 lua resume returned 0 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua light thread ended normally 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua deleting light thread 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua run thread returned 0 2022/05/30 08:43:38 [debug] 25601\#0: *622 stream lua finalize fake request: 0 2022/05/30 08:43:38 [debug] 25601\#0: *622 stream lua close fake request 2022/05/30 08:43:38 [debug] 25601\#0: *622 cleanup lua udp socket upstream request 2022/05/30 08:43:38 [debug] 25601\#0: *622 stream lua finalize socket 2022/05/30 08:43:38 [debug] 25601\#0: *622 lua close socket connection ' |
108-timer-safe.t | TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK |
" should match a line in error.log (req 0)' |
108-timer-safe.t | TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK |
" should match a line in error.log (req 1)' |
108-timer-safe.t | TEST 3: tcp cosocket in timer handler (short connections) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:45:06 [error] 26714\#0: *75 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:45:06 [debug] 26714\#0: *75 lua udp socket handle error 2022/05/30 08:45:05 [debug] 26623\#0: malloc: 05507EC0:12 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua udp socket waking up the current request 2022/05/30 08:45:05 [debug] 26623\#0: malloc: 05507F00:8 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:45:05 [debug] 26623\#0: add cleanup: 05507EC0 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua udp operation done, resuming lua thread 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua udp socket calling prepare retvals handler 08173457, u:05466328 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua udp socket receive return value handler ' |
108-timer-safe.t | TEST 3: tcp cosocket in timer handler (short connections) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:45:06 [error] 26714\#0: *75 stream [lua] content_by_lua(nginx.conf:65):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:45:06 [debug] 26714\#0: *75 lua resume returned 0 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua light thread ended normally 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua deleting light thread 2022/05/30 08:45:05 [debug] 26623\#0: malloc: 05509A98:12 2022/05/30 08:45:06 [debug] 26714\#0: *75 lua run thread returned 0 2022/05/30 08:45:05 [debug] 26623\#0: malloc: 05509AD8:8 2022/05/30 08:45:06 [debug] 26714\#0: *75 stream lua finalize fake request: 0 2022/05/30 08:45:06 [debug] 26714\#0: *75 stream lua close fake request 2022/05/30 08:45:06 [debug] 26714\#0: *75 cleanup lua udp socket upstream request ' |
109-timer-hup.t | TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 0) |
got: '' expected: 'lua found 100 pending timers ' |
109-timer-hup.t | TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 1) |
got: 'lua found 200 pending timers ' expected: 'lua found 100 pending timers ' |
124-init-worker.t | TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) |
got: 'timed out ' expected: 'ok ' |
124-init-worker.t | TEST 4: timer.at + cosocket - grep_error_log_out (req 0) |
@@ -1,4 +1,3 @@ warn(): created timer: 1 warn(): timer expired (premature: false) warn(): request sent: 11 -warn(): received: OK ' |
124-init-worker.t | TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) |
got: 'timed out ' expected: 'ok ' |
124-init-worker.t | TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) |
@@ -1,4 +1,3 @@ warn(): created timer: 1 warn(): timer expired (premature: false) warn(): request sent: 11 -warn(): received: OK ' |
128-duplex-tcp-socket.t | TEST 1: pipelined memcached requests (sent one byte at a time) |
' |
128-duplex-tcp-socket.t | TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok |
got: '' expected: '200' |
128-duplex-tcp-socket.t | TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +0,0 @@ -connected: 1 -received: OK -received: END -received: END -setkeepalive: 1 nil ' |
128-duplex-tcp-socket.t | TEST 1: pipelined memcached requests (sent one byte at a time) |
' |
128-duplex-tcp-socket.t | TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok |
got: '' expected: '200' |
128-duplex-tcp-socket.t | TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +0,0 @@ -connected: 1 -received: OK -received: END -received: END -setkeepalive: 1 nil ' |
128-duplex-tcp-socket.t | TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) |
'connected: 1 partial read: read timed out: 300 close: 1 nil ' doesn't match '(?^s:^connected: 1 (?:received: OK|failed to send request: timeout partial read: ) read timed out: [1-9]\d* close: 1 nil$)' |
128-duplex-tcp-socket.t | TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) |
'connected: 1 partial read: read timed out: 300 close: 1 nil ' doesn't match '(?^s:^connected: 1 (?:received: OK|failed to send request: timeout partial read: ) read timed out: [1-9]\d* close: 1 nil$)' |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:00:44 [error] 4908\#0: *231 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua tcp socket handle read error 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua tcp socket waking up the current request 2022/05/30 09:00:44 [debug] 4908\#0: *231 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua tcp operation done, resuming lua thread 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua tcp socket calling prepare retvals handler 0816E739, u:05F1EBC0 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua tcp socket receive return value handler 2022/05/30 09:00:44 [debug] 4908\#0: *231 lua run thread, top:0 2022/05/30 09:00:44 [error] 4908\#0: *231 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock 2022/05/30 09:00:44 [debug] 4908\#0: *231 lua resume returned 0 ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:00:44 [error] 4908\#0: *231 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:00:44 [debug] 4908\#0: *231 lua resume returned 0 2022/05/30 09:00:44 [debug] 4908\#0: *231 lua light thread ended normally 2022/05/30 09:00:44 [debug] 4908\#0: *231 lua deleting light thread 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua run thread returned 0 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua finalize fake request: 0 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua close fake request 2022/05/30 09:00:44 [debug] 4908\#0: *231 cleanup lua tcp socket request 2022/05/30 09:00:44 [debug] 4908\#0: *231 stream lua finalize socket 2022/05/30 09:00:44 [debug] 4908\#0: *231 lua close socket connection ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:00:46 [error] 4908\#0: *238 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua tcp socket handle read error 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua tcp socket waking up the current request 2022/05/30 09:00:46 [debug] 4908\#0: *238 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua tcp operation done, resuming lua thread 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua tcp socket calling prepare retvals handler 0816E739, u:05F52000 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua tcp socket receive return value handler 2022/05/30 09:00:46 [debug] 4908\#0: *238 lua run thread, top:0 2022/05/30 09:00:46 [error] 4908\#0: *238 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock 2022/05/30 09:00:46 [debug] 4908\#0: *238 lua resume returned 0 ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:00:46 [error] 4908\#0: *238 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:00:46 [debug] 4908\#0: *238 lua resume returned 0 2022/05/30 09:00:46 [debug] 4908\#0: *238 lua light thread ended normally 2022/05/30 09:00:46 [debug] 4908\#0: *238 lua deleting light thread 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua run thread returned 0 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua finalize fake request: 0 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua close fake request 2022/05/30 09:00:46 [debug] 4908\#0: *238 cleanup lua tcp socket request 2022/05/30 09:00:46 [debug] 4908\#0: *238 stream lua finalize socket 2022/05/30 09:00:46 [debug] 4908\#0: *238 lua close socket connection ' |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:00:49 [error] 4908\#0: *245 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua tcp socket handle read error 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua tcp socket waking up the current request 2022/05/30 09:00:49 [debug] 4908\#0: *245 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua tcp operation done, resuming lua thread 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua tcp socket calling prepare retvals handler 0816E739, u:05FA42D0 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua tcp socket receive return value handler 2022/05/30 09:00:49 [debug] 4908\#0: *245 lua run thread, top:0 2022/05/30 09:00:49 [error] 4908\#0: *245 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock 2022/05/30 09:00:49 [debug] 4908\#0: *245 lua resume returned 0 ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:00:49 [error] 4908\#0: *245 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:00:49 [debug] 4908\#0: *245 lua resume returned 0 2022/05/30 09:00:49 [debug] 4908\#0: *245 lua light thread ended normally 2022/05/30 09:00:49 [debug] 4908\#0: *245 lua deleting light thread 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua run thread returned 0 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua finalize fake request: 0 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua close fake request 2022/05/30 09:00:49 [debug] 4908\#0: *245 cleanup lua tcp socket request 2022/05/30 09:00:49 [debug] 4908\#0: *245 stream lua finalize socket 2022/05/30 09:00:49 [debug] 4908\#0: *245 lua close socket connection ' |
157-socket-keepalive-hup.t | TEST 1: exiting - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
157-socket-keepalive-hup.t | TEST 1: exiting - pattern "setkeepalive successfully" should match a line in error.log (req 0) | |
157-socket-keepalive-hup.t | TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 0) | |
157-socket-keepalive-hup.t | TEST 1: exiting - pattern "setkeepalive successfully" should match a line in error.log (req 1) | |
157-socket-keepalive-hup.t | TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 1) | |
160-disable-init-by-lua.t | TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 0) | |
160-disable-init-by-lua.t | TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 1) | |
162-ssl-client-hello-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout -received: it works! -close: 1 nil ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0) | |
162-ssl-client-hello-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout -received: it works! -close: 1 nil ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1) | |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:06:23 [error] 8935\#0: *136 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua tcp socket handle read error 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua tcp socket waking up the current request 2022/05/30 09:06:23 [debug] 8935\#0: *136 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua tcp operation done, resuming lua thread 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua tcp socket calling prepare retvals handler 0816E739, u:05815098 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua tcp socket receive return value handler 2022/05/30 09:06:23 [debug] 8935\#0: *136 lua run thread, top:0 2022/05/30 09:06:23 [error] 8935\#0: *136 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock 2022/05/30 09:06:23 [debug] 8935\#0: *136 lua resume returned 0 ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:06:23 [error] 8935\#0: *136 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:06:23 [debug] 8935\#0: *136 lua resume returned 0 2022/05/30 09:06:23 [debug] 8935\#0: *136 lua light thread ended normally 2022/05/30 09:06:23 [debug] 8935\#0: *136 lua deleting light thread 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua run thread returned 0 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua finalize fake request: 0 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua close fake request 2022/05/30 09:06:23 [debug] 8935\#0: *136 cleanup lua tcp socket request 2022/05/30 09:06:23 [debug] 8935\#0: *136 stream lua finalize socket 2022/05/30 09:06:23 [debug] 8935\#0: *136 lua close socket connection ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout -received: it works! -close: 1 nil ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2) | |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:06:25 [error] 8935\#0: *143 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua tcp socket handle read error 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua tcp socket waking up the current request 2022/05/30 09:06:25 [debug] 8935\#0: *143 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua tcp operation done, resuming lua thread 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua tcp socket calling prepare retvals handler 0816E739, u:05858D98 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua tcp socket receive return value handler 2022/05/30 09:06:25 [debug] 8935\#0: *143 lua run thread, top:0 2022/05/30 09:06:25 [error] 8935\#0: *143 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock 2022/05/30 09:06:25 [debug] 8935\#0: *143 lua resume returned 0 ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:06:25 [error] 8935\#0: *143 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:06:25 [debug] 8935\#0: *143 lua resume returned 0 2022/05/30 09:06:25 [debug] 8935\#0: *143 lua light thread ended normally 2022/05/30 09:06:25 [debug] 8935\#0: *143 lua deleting light thread 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua run thread returned 0 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua finalize fake request: 0 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua close fake request 2022/05/30 09:06:25 [debug] 8935\#0: *143 cleanup lua tcp socket request 2022/05/30 09:06:25 [debug] 8935\#0: *143 stream lua finalize socket 2022/05/30 09:06:25 [debug] 8935\#0: *143 lua close socket connection ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:06:27 [error] 8935\#0: *150 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua tcp socket handle read error 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua tcp socket waking up the current request 2022/05/30 09:06:27 [debug] 8935\#0: *150 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua tcp operation done, resuming lua thread 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua tcp socket calling prepare retvals handler 0816E739, u:0588BBF8 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua tcp socket receive return value handler 2022/05/30 09:06:27 [debug] 8935\#0: *150 lua run thread, top:0 2022/05/30 09:06:27 [error] 8935\#0: *150 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock 2022/05/30 09:06:27 [debug] 8935\#0: *150 lua resume returned 0 ' |
162-ssl-client-hello-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:06:27 [error] 8935\#0: *150 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:06:27 [debug] 8935\#0: *150 lua resume returned 0 2022/05/30 09:06:27 [debug] 8935\#0: *150 lua light thread ended normally 2022/05/30 09:06:27 [debug] 8935\#0: *150 lua deleting light thread 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua run thread returned 0 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua finalize fake request: 0 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua close fake request 2022/05/30 09:06:27 [debug] 8935\#0: *150 cleanup lua tcp socket request 2022/05/30 09:06:27 [debug] 8935\#0: *150 stream lua finalize socket 2022/05/30 09:06:27 [debug] 8935\#0: *150 lua close socket connection ' |
162-ssl-client-hello-by.t | TEST 22: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 2) | |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - grep_error_log_out (req 0) |
got: '' expected: 'received memc reply of 12 bytes ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - grep_error_log_out (req 1) |
got: '' expected: 'received memc reply of 12 bytes ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:08:08 [error] 10153\#0: *1003 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua udp socket handle error 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua udp socket waking up the current request 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua udp operation done, resuming lua thread 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua udp socket calling prepare retvals handler 08173457, u:04AA5710 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua udp socket receive return value handler 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua udp socket error retval handler 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua run thread, top:0 2022/05/30 09:08:08 [error] 10153\#0: *1003 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:08:08 [error] 10153\#0: *1003 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua resume returned 0 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua light thread ended normally 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua deleting light thread 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua run thread returned 0 2022/05/30 09:08:08 [debug] 10153\#0: *1003 stream lua finalize fake request: 0 2022/05/30 09:08:08 [debug] 10153\#0: *1003 stream lua close fake request 2022/05/30 09:08:08 [debug] 10153\#0: *1003 cleanup lua udp socket upstream request 2022/05/30 09:08:08 [debug] 10153\#0: *1003 stream lua finalize socket 2022/05/30 09:08:08 [debug] 10153\#0: *1003 lua close socket connection ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:08:11 [error] 10153\#0: *1010 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua udp socket handle error 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua udp socket waking up the current request 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua udp operation done, resuming lua thread 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua udp socket calling prepare retvals handler 08173457, u:04E3FFC0 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua udp socket receive return value handler 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua udp socket error retval handler 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua run thread, top:0 2022/05/30 09:08:11 [error] 10153\#0: *1010 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:08:11 [error] 10153\#0: *1010 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) |
2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua resume returned 0 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua light thread ended normally 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua deleting light thread 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua run thread returned 0 2022/05/30 09:08:11 [debug] 10153\#0: *1010 stream lua finalize fake request: 0 2022/05/30 09:08:11 [debug] 10153\#0: *1010 stream lua close fake request 2022/05/30 09:08:11 [debug] 10153\#0: *1010 cleanup lua udp socket upstream request 2022/05/30 09:08:11 [debug] 10153\#0: *1010 stream lua finalize socket 2022/05/30 09:08:11 [debug] 10153\#0: *1010 lua close socket connection ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: timeout ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - grep_error_log_out (req 2) |
got: '' expected: 'received memc reply of 12 bytes ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:08:13 [error] 10153\#0: *1017 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua udp socket handle error 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua udp socket waking up the current request 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua ngx_stream_lua_content_wev_handler 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua udp operation done, resuming lua thread 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua udp socket calling prepare retvals handler 08173457, u:04CED1E0 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua udp socket receive return value handler 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua udp socket error retval handler 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua run thread, top:0 2022/05/30 09:08:13 [error] 10153\#0: *1017 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock ' |
162-ssl-client-hello-by.t | TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:08:13 [error] 10153\#0: *1017 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) |
2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua resume returned 0 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua light thread ended normally 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua deleting light thread 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua run thread returned 0 2022/05/30 09:08:13 [debug] 10153\#0: *1017 stream lua finalize fake request: 0 2022/05/30 09:08:13 [debug] 10153\#0: *1017 stream lua close fake request 2022/05/30 09:08:13 [debug] 10153\#0: *1017 cleanup lua udp socket upstream request 2022/05/30 09:08:13 [debug] 10153\#0: *1017 stream lua finalize socket 2022/05/30 09:08:13 [debug] 10153\#0: *1017 lua close socket connection ' |
File | Name | Details |
---|---|---|
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0) | |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0) | |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0) | |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1) | |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1) | |
025-codecache.t | TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 1) | |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0) | |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0) | |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1) | |
025-codecache.t | TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1) | |
043-shdict.t | TEST 24: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -add: true nil false +add: false exists false -foo = 10502 +foo = hello ' |
043-shdict.t | TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -nil +hello -nil +hello ' |
043-shdict.t | TEST 56: get_stale: expired entries can still be fetched - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ 32, nil, true -33, nil, false +33, nil, true ' |
043-shdict.t | TEST 43: flush_expires an empty dict - response_body - response is expected (repeated req 0, req 0) |
got: '2 ' expected: '0 ' |
043-shdict.t | TEST 28: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -replace: false not found false +replace: true nil false -foo = nil +foo = 10502 ' |
043-shdict.t | TEST 50: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) |
got: '4 ' expected: '0 ' |
043-shdict.t | TEST 49: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) |
got: '1024 ' expected: '0 ' |
043-shdict.t | TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -incr: nil not found +incr: 34 nil -foo = nil +foo = 34 ' |
043-shdict.t | TEST 53: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) |
got: '2051 ' expected: '2048 ' |
043-shdict.t | TEST 48: list keys in a shdict with limit larger than number of keys - response_body - response is expected (repeated req 0, req 0) |
got: '3 ' expected: '2 ' |
068-socket-keepalive.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:24:16 [error] 3921\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:24:16 [debug] 3921\#0: *3 stream lua tcp socket handle read error 2022/05/30 08:24:16 [debug] 3921\#0: *3 stream lua tcp socket waking up the current request 2022/05/30 08:24:16 [debug] 3921\#0: *3 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:24:16 [debug] 3921\#0: *3 stream lua tcp operation done, resuming lua thread 2022/05/30 08:24:16 [debug] 3921\#0: *3 stream lua tcp socket calling prepare retvals handler 0816E739, u:04D3A5F8 2022/05/30 08:24:16 [debug] 3921\#0: *3 stream lua tcp socket receive return value handler 2022/05/30 08:24:16 [debug] 3921\#0: *3 lua run thread, top:9 2022/05/30 08:24:16 [debug] 3921\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04D3AAE0, p:04D3ABF0 2022/05/30 08:24:16 [debug] 3921\#0: *3 free: 04D3ABF0 ' |
068-socket-keepalive.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:24:17 [error] 3921\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:24:17 [debug] 3921\#0: *3 stream lua tcp socket handle read error 2022/05/30 08:24:17 [debug] 3921\#0: *3 stream lua tcp socket waking up the current request 2022/05/30 08:24:17 [debug] 3921\#0: *3 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:24:17 [debug] 3921\#0: *3 stream lua tcp operation done, resuming lua thread 2022/05/30 08:24:17 [debug] 3921\#0: *3 stream lua tcp socket calling prepare retvals handler 0816E739, u:04D3D678 2022/05/30 08:24:17 [debug] 3921\#0: *3 stream lua tcp socket receive return value handler 2022/05/30 08:24:17 [debug] 3921\#0: *3 lua run thread, top:9 2022/05/30 08:24:17 [debug] 3921\#0: *3 lua reuse free buf memory 37 >= 37, cl:04D3AAE0, p:04D3C220 2022/05/30 08:24:17 [debug] 3921\#0: *3 lua say response ' |
068-socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:24:22 [error] 3954\#0: *32 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:24:22 [debug] 3954\#0: *32 stream lua tcp socket handle read error 2022/05/30 08:24:22 [debug] 3954\#0: *32 stream lua tcp socket waking up the current request 2022/05/30 08:24:22 [debug] 3954\#0: *32 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:24:22 [debug] 3954\#0: *32 stream lua tcp operation done, resuming lua thread 2022/05/30 08:24:22 [debug] 3954\#0: *32 stream lua tcp socket calling prepare retvals handler 0816E739, u:050C7BE8 2022/05/30 08:24:22 [debug] 3954\#0: *32 stream lua tcp socket receive return value handler 2022/05/30 08:24:22 [debug] 3954\#0: *32 lua run thread, top:9 2022/05/30 08:24:22 [debug] 3954\#0: *32 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:050C80D0, p:050C81E0 2022/05/30 08:24:22 [debug] 3954\#0: *32 free: 050C81E0 ' |
068-socket-keepalive.t | TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:24:23 [error] 3954\#0: *32 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:24:23 [debug] 3954\#0: *32 stream lua tcp socket handle read error 2022/05/30 08:24:23 [debug] 3954\#0: *32 stream lua tcp socket waking up the current request 2022/05/30 08:24:23 [debug] 3954\#0: *32 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:24:23 [debug] 3954\#0: *32 stream lua tcp operation done, resuming lua thread 2022/05/30 08:24:23 [debug] 3954\#0: *32 stream lua tcp socket calling prepare retvals handler 0816E739, u:050CAC68 2022/05/30 08:24:23 [debug] 3954\#0: *32 stream lua tcp socket receive return value handler 2022/05/30 08:24:23 [debug] 3954\#0: *32 lua run thread, top:9 2022/05/30 08:24:23 [debug] 3954\#0: *32 lua reuse free buf memory 37 >= 37, cl:050C80D0, p:050C9810 2022/05/30 08:24:23 [debug] 3954\#0: *32 lua say response ' |
068-socket-keepalive.t | TEST 12: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:02 [debug] 4450\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) |
2022/05/30 08:25:01 [debug] 4506\#0: malloc: 054892B8:12 2022/05/30 08:25:01 [debug] 4506\#0: malloc: 05497310:8 2022/05/30 08:25:01 [debug] 4506\#0: add cleanup: 054892B8 2022/05/30 08:25:01 [debug] 4506\#0: malloc: 0549C060:16 2022/05/30 08:25:02 [debug] 4450\#0: *304 http keepalive handler 2022/05/30 08:25:02 [debug] 4450\#0: *304 close http connection: 16 2022/05/30 08:25:02 [debug] 4450\#0: *304 event timer del: 16: 4227531 2022/05/30 08:25:02 [debug] 4450\#0: *304 reusable connection: 0 2022/05/30 08:25:02 [debug] 4450\#0: *304 free: 057DE1C0, unused: 0 ' |
068-socket-keepalive.t | TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:06 [debug] 4506\#0: stream lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) |
2022/05/30 08:25:06 [debug] 4506\#0: *335 http keepalive handler 2022/05/30 08:25:06 [debug] 4506\#0: *335 close http connection: 17 2022/05/30 08:25:06 [debug] 4506\#0: *335 event timer del: 17: 4240220 2022/05/30 08:25:06 [debug] 4506\#0: *335 reusable connection: 0 2022/05/30 08:25:06 [debug] 4506\#0: *335 free: 05C60C20, unused: 0 2022/05/30 08:25:06 [debug] 4506\#0: *335 free: 05C60B80, unused: 0 2022/05/30 08:25:06 [debug] 4506\#0: *335 free: 05C23C48, unused: 0 2022/05/30 08:25:06 [debug] 4506\#0: *335 free: 05B5AA30, unused: 0 2022/05/30 08:25:06 [debug] 4506\#0: *335 free: 05B5A9F8, unused: 0 ' |
068-socket-keepalive.t | TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:09 [debug] 4562\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) |
2022/05/30 08:25:09 [debug] 4562\#0: stream lua tcp socket keepalive close handler: fd:16 2022/05/30 08:25:09 [debug] 4562\#0: event timer del: 16: 4235808 2022/05/30 08:25:09 [debug] 4562\#0: reusable connection: 0 2022/05/30 08:25:09 [debug] 4562\#0: stream lua tcp socket keepalive: free connection pool for "B" 2022/05/30 08:25:09 [notice] 4562\#0: exiting 2022/05/30 08:25:09 [debug] 4562\#0: flush files 2022/05/30 08:25:09 [debug] 4562\#0: run cleanup: 05901298 2022/05/30 08:25:09 [debug] 4562\#0: run cleanup: 05523D38 2022/05/30 08:25:09 [debug] 4562\#0: lua decrementing the reference count for Lua VM: 1 ' |
068-socket-keepalive.t | TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:09 [debug] 4562\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) |
2022/05/30 08:25:09 [notice] 4562\#0: exiting 2022/05/30 08:25:09 [debug] 4562\#0: flush files 2022/05/30 08:25:09 [debug] 4562\#0: run cleanup: 05901298 2022/05/30 08:25:09 [debug] 4562\#0: run cleanup: 05523D38 2022/05/30 08:25:09 [debug] 4562\#0: lua decrementing the reference count for Lua VM: 1 2022/05/30 08:25:09 [debug] 4562\#0: lua close the global Lua VM 054C56D0 2022/05/30 08:25:08 [debug] 4612\#0: notify eventfd: 13 2022/05/30 08:25:08 [debug] 4612\#0: testing the EPOLLRDHUP flag: success 2022/05/30 08:25:08 [debug] 4612\#0: malloc: 04B11F38:6144 ' |
068-socket-keepalive.t | TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:13 [debug] 4612\#0: stream lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) |
2022/05/30 08:25:13 [notice] 4612\#0: exiting 2022/05/30 08:25:13 [debug] 4612\#0: flush files 2022/05/30 08:25:11 [debug] 4661\#0: notify eventfd: 14 2022/05/30 08:25:13 [debug] 4612\#0: run cleanup: 04A75438 2022/05/30 08:25:13 [debug] 4612\#0: run cleanup: 060087D8 2022/05/30 08:25:13 [debug] 4612\#0: lua decrementing the reference count for Lua VM: 1 2022/05/30 08:25:13 [debug] 4612\#0: lua close the global Lua VM 0582EFD8 2022/05/30 08:25:11 [debug] 4661\#0: testing the EPOLLRDHUP flag: success 2022/05/30 08:25:11 [debug] 4661\#0: malloc: 04E78D48:6144 ' |
068-socket-keepalive.t | TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:16 [debug] 4661\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) |
2022/05/30 08:25:16 [debug] 4661\#0: stream lua tcp socket keepalive close handler: fd:17 2022/05/30 08:25:16 [debug] 4661\#0: event timer del: 17: 4242633 2022/05/30 08:25:16 [debug] 4661\#0: reusable connection: 0 2022/05/30 08:25:16 [debug] 4661\#0: stream lua tcp socket keepalive: free connection pool for "B" 2022/05/30 08:25:16 [debug] 4661\#0: worker cycle 2022/05/30 08:25:16 [debug] 4661\#0: epoll timer: 58401 2022/05/30 08:25:16 [debug] 4661\#0: epoll: fd:9 ev:2011 d:05ED9FB9 2022/05/30 08:25:16 [debug] 4661\#0: epoll_wait() error on fd:9 ev:2011 2022/05/30 08:25:16 [debug] 4661\#0: *427 http wait request handler ' |
068-socket-keepalive.t | TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:16 [debug] 4661\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) |
2022/05/30 08:25:16 [debug] 4661\#0: worker cycle 2022/05/30 08:25:16 [debug] 4661\#0: epoll timer: 58401 2022/05/30 08:25:16 [debug] 4661\#0: epoll: fd:9 ev:2011 d:05ED9FB9 2022/05/30 08:25:16 [debug] 4661\#0: epoll_wait() error on fd:9 ev:2011 2022/05/30 08:25:16 [debug] 4661\#0: *427 http wait request handler 2022/05/30 08:25:16 [debug] 4661\#0: *427 malloc: 060288E0:52 2022/05/30 08:25:16 [debug] 4661\#0: *427 malloc: 06028948:8 2022/05/30 08:25:16 [debug] 4661\#0: *427 malloc: 05ED2470:1024 2022/05/30 08:25:16 [debug] 4661\#0: *427 malloc: 05ED28A0:8 ' |
068-socket-keepalive.t | TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:20 [debug] 4717\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) |
2022/05/30 08:25:20 [debug] 4717\#0: worker cycle 2022/05/30 08:25:20 [debug] 4717\#0: epoll timer: 58446 2022/05/30 08:25:20 [debug] 4717\#0: epoll: fd:6 ev:2011 d:04A2A399 2022/05/30 08:25:20 [debug] 4717\#0: epoll_wait() error on fd:6 ev:2011 2022/05/30 08:25:20 [debug] 4717\#0: *459 http wait request handler 2022/05/30 08:25:20 [debug] 4717\#0: *459 malloc: 050CF058:52 2022/05/30 08:25:20 [debug] 4717\#0: *459 malloc: 050E3CC0:8 2022/05/30 08:25:20 [debug] 4717\#0: *459 malloc: 04CAF8C0:1024 2022/05/30 08:25:20 [debug] 4717\#0: *459 malloc: 04CAFCF0:8 ' |
068-socket-keepalive.t | TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:25:45 [error] 5080\#0: *670 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:25:45 [debug] 5080\#0: *670 stream lua tcp socket handle read error 2022/05/30 08:25:45 [debug] 5080\#0: *670 stream lua tcp socket waking up the current request 2022/05/30 08:25:45 [debug] 5080\#0: *670 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:25:45 [debug] 5080\#0: *670 stream lua tcp operation done, resuming lua thread 2022/05/30 08:25:45 [debug] 5080\#0: *670 stream lua tcp socket calling prepare retvals handler 0816E739, u:04A04830 2022/05/30 08:25:45 [debug] 5080\#0: *670 stream lua tcp socket receive return value handler 2022/05/30 08:25:45 [debug] 5080\#0: *670 lua run thread, top:9 2022/05/30 08:25:45 [debug] 5080\#0: *670 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:05C998C0, p:05E96428 2022/05/30 08:25:45 [debug] 5080\#0: *670 free: 05E96428 ' |
068-socket-keepalive.t | TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:25:46 [error] 5080\#0: *670 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:25:46 [debug] 5080\#0: *670 stream lua tcp socket handle read error 2022/05/30 08:25:46 [debug] 5080\#0: *670 stream lua tcp socket waking up the current request 2022/05/30 08:25:46 [debug] 5080\#0: *670 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:25:46 [debug] 5080\#0: *670 stream lua tcp operation done, resuming lua thread 2022/05/30 08:25:46 [debug] 5080\#0: *670 stream lua tcp socket calling prepare retvals handler 0816E739, u:04AFA958 2022/05/30 08:25:46 [debug] 5080\#0: *670 stream lua tcp socket receive return value handler 2022/05/30 08:25:46 [debug] 5080\#0: *670 lua run thread, top:9 2022/05/30 08:25:46 [debug] 5080\#0: *670 lua reuse free buf memory 37 >= 37, cl:05C998C0, p:04C06198 2022/05/30 08:25:46 [debug] 5080\#0: *670 lua say response ' |
068-socket-keepalive.t | TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:48 [debug] 5080\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) |
2022/05/30 08:25:46 [debug] 5147\#0: malloc: 04C668C8:3328 2022/05/30 08:25:48 [notice] 5080\#0: exiting 2022/05/30 08:25:48 [debug] 5080\#0: flush files 2022/05/30 08:25:48 [debug] 5080\#0: run cleanup: 04978C98 2022/05/30 08:25:48 [debug] 5080\#0: run cleanup: 05EBFF28 2022/05/30 08:25:48 [debug] 5080\#0: lua decrementing the reference count for Lua VM: 1 2022/05/30 08:25:48 [debug] 5080\#0: lua close the global Lua VM 0582EFD8 2022/05/30 08:25:46 [debug] 5147\#0: epoll add event: fd:7 op:1 ev:00002001 2022/05/30 08:25:46 [debug] 5147\#0: epoll add event: fd:12 op:1 ev:00002001 ' |
068-socket-keepalive.t | TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 08:25:51 [debug] 5147\#0: stream lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) |
2022/05/30 08:25:51 [debug] 5147\#0: worker cycle 2022/05/30 08:25:51 [debug] 5147\#0: epoll timer: 58422 2022/05/30 08:25:51 [debug] 5147\#0: epoll: fd:4 ev:2011 d:04BC28E8 2022/05/30 08:25:51 [debug] 5147\#0: epoll_wait() error on fd:4 ev:2011 2022/05/30 08:25:51 [debug] 5147\#0: *708 http wait request handler 2022/05/30 08:25:51 [debug] 5147\#0: *708 malloc: 04F16DD8:52 2022/05/30 08:25:51 [debug] 5147\#0: *708 malloc: 04F16E40:8 2022/05/30 08:25:51 [debug] 5147\#0: *708 malloc: 05558FF8:1024 2022/05/30 08:25:51 [debug] 5147\#0: *708 malloc: 04F802E0:8 ' |
068-socket-keepalive.t | TEST 44: conn queuing: resume next connect operation if resumed connect failed immediately - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:26:39 [error] 5784\#0: *1084 stream lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:26:39 [debug] 5834\#0: *1107 event timer del: 3: 4327009 2022/05/30 08:26:39 [debug] 5834\#0: *1107 rewrite phase: 0 2022/05/30 08:26:39 [debug] 5834\#0: *1107 test location: "/ver" 2022/05/30 08:26:39 [debug] 5834\#0: *1107 using configuration "=/ver" 2022/05/30 08:26:39 [debug] 5834\#0: *1107 http cl:-1 max:1048576 2022/05/30 08:26:39 [debug] 5834\#0: *1107 rewrite phase: 2 2022/05/30 08:26:39 [debug] 5834\#0: *1107 malloc: 0514FA70:44 2022/05/30 08:26:39 [debug] 5834\#0: *1107 malloc: 04F11F40:8 2022/05/30 08:26:39 [debug] 5784\#0: *1084 stream lua tcp socket waking up the current request ' |
068-socket-keepalive.t | TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 08:27:04 [error] 5354\#0: *831 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2022/05/30 08:27:04 [debug] 5354\#0: *831 stream lua tcp socket handle read error 2022/05/30 08:27:04 [debug] 5354\#0: *831 stream lua tcp socket waking up the current request 2022/05/30 08:27:04 [debug] 5354\#0: *831 lua ngx_stream_lua_content_wev_handler 2022/05/30 08:27:04 [debug] 5354\#0: *831 stream lua tcp operation done, resuming lua thread 2022/05/30 08:27:04 [debug] 6208\#0: *1311 http header: "User-Agent: curl/7.61.1" 2022/05/30 08:27:04 [debug] 5354\#0: *831 stream lua tcp socket calling prepare retvals handler 0816E739, u:04C18BB0 2022/05/30 08:27:04 [debug] 6208\#0: *1311 malloc: 04F70020:6 2022/05/30 08:27:04 [debug] 6208\#0: *1311 malloc: 04F747E8:8 2022/05/30 08:27:04 [debug] 6208\#0: *1311 http header: "Accept: */*" ' |
091-coroutine.t | nginx: [error] | init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong |
106-timer.t | TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 27: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0) | |
106-timer.t | TEST 27: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 1) | |
106-timer.t | TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
106-timer.t | TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1) | |
106-timer.t | TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 1) | |
106-timer.t | TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
106-timer.t | TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0) | |
106-timer.t | TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1) | |
106-timer.t | TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1) | |
106-timer.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
106-timer.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 1: single timer - pattern "lua abort pending timers" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 1: single timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 1: single timer - pattern "in callback: hello, 1" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 1: single timer - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "lua abort pending timers" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 1!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 2!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 3!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 4!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 5!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 6!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 7!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 8!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 9!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) |
got: '' expected: 'stream lua found 8191 pending timers ' |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) |
got: 'stream lua found 8177 pending timers ' expected: 'stream lua found 8191 pending timers ' |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 1) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 1) | |
124-init-worker.t | TEST 18: syslog error log - udp_query ok |
'' doesn't match '(?^:Bad bad bad)' |
126-shdict-frag.t | TEST 2: merge 2 single-page free slabs (forcibly evicted, merge backward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,12 +1,12 @@ successfully set foo. -successfully set bar. +failed to set bar: no memory found foo: 4000 -successfully set baz with force. -foo not found +failed to set baz: no memory +found foo: 4000 bar not found -found baz: 8102 -successfully set foo with force. -successfully set bar. +baz not found +successfully set foo. +successfully set bar with force. found foo: 4000 successfully set baz with force. foo not found ' |
126-shdict-frag.t | TEST 4: merge one single-page block backward, but no more - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ -successfully set foo. +successfully set foo with force. successfully set bar. successfully set baz. found foo: 4000 ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -2,4 +2,4 @@ failed to safe set baz: no memory found bar: 4000 delete bar -failed to safe set baz: no memory +successfully safe set baz ' |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2) | |
161-load-resty-core.t | nginx: [alert] | failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found: |
Go back to the index page.