(This page was automatically generated by the tools in the opsboy project on 04:52:00 11-Oct-2024 GMT.)

Detailed Test Report for ngx_stream_lua in linux i386 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
cafa6f55 2023-12-28 09:02:56 GMT 188 106 118 10373 3207 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

Compilation Errors

Segmentation Faults

Unexpected Failures

File Name Details
023-preread/socket-keepalive.t ERROR: client socket timed out - 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 ERROR: client socket timed out - 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 ERROR: client socket timed out - 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 ERROR: client socket timed out - 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)
025-codecache.t ERROR: client socket timed out - 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 ERROR: client socket timed out - 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 ERROR: client socket timed out - 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 ERROR: client socket timed out - 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 20: GC issue with the on_abort thread object - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:15:08 [error] 19999\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:15:08 [debug] 19999\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04E0E760
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:15:08 [debug] 19999\#0: *3 lua run thread, top:9
2023/12/28 09:15:08 [debug] 19999\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04E0EC48, p:04E0ED58
2023/12/28 09:15:08 [debug] 19999\#0: *3 free: 04E0ED58
'
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:15:08 [error] 19999\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:15:08 [debug] 19999\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04E0E760
2023/12/28 09:15:08 [debug] 19999\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:15:08 [debug] 19999\#0: *3 lua run thread, top:9
2023/12/28 09:15:08 [debug] 19999\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04E0EC48, p:04E0ED58
2023/12/28 09:15:08 [debug] 19999\#0: *3 free: 04E0ED58
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - 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 12: mixing *a and *l patterns for receive - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:28:59 [error] 5216\#0: *739 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:28:59 [debug] 5216\#0: *739 stream lua tcp socket handle read error
2023/12/28 09:28:59 [debug] 5216\#0: *739 stream lua tcp socket waking up the current request
2023/12/28 09:28:59 [debug] 5216\#0: *739 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:28:59 [debug] 5216\#0: *739 stream lua tcp operation done, resuming lua thread
2023/12/28 09:28:59 [debug] 5216\#0: *739 stream lua tcp socket calling prepare retvals handler 0819642D, u:04D90A90
2023/12/28 09:28:59 [debug] 5216\#0: *739 stream lua tcp socket receive return value handler
2023/12/28 09:28:59 [debug] 5216\#0: *739 lua run thread, top:0
2023/12/28 09:28:59 [debug] 5216\#0: *739 lua reuse free buf chain, but reallocate memory because 37 >= 19, cl:0588FC88, p:05D69230
2023/12/28 09:28:59 [debug] 5216\#0: *739 free: 05D69230
'
058-tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - 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 ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
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 ERROR: client socket timed out - TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool '
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
071-idle-socket.t 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 "2023/12/28 09:36:43 [error] 13531\#0: *106 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:36:43 [debug] 13531\#0: *106 stream lua tcp socket handle read error
2023/12/28 09:36:43 [debug] 13531\#0: *106 stream lua tcp socket waking up the current request
2023/12/28 09:36:43 [debug] 13531\#0: *106 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:36:43 [debug] 13531\#0: *106 stream lua tcp operation done, resuming lua thread
2023/12/28 09:36:43 [debug] 13531\#0: *106 stream lua tcp socket calling prepare retvals handler 0819642D, u:057A5C60
2023/12/28 09:36:43 [debug] 13531\#0: *106 stream lua tcp socket receive return value handler
2023/12/28 09:36:43 [debug] 13531\#0: *106 lua run thread, top:9
2023/12/28 09:36:43 [debug] 13531\#0: *106 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:057A6100, p:057A63B0
2023/12/28 09:36:43 [debug] 13531\#0: *106 free: 057A63B0
'
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 "2023/12/28 09:36:44 [error] 13531\#0: *110 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:36:44 [debug] 13531\#0: *110 stream lua tcp socket handle read error
2023/12/28 09:36:44 [debug] 13531\#0: *110 stream lua tcp socket waking up the current request
2023/12/28 09:36:44 [debug] 13531\#0: *110 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:36:44 [debug] 13531\#0: *110 stream lua tcp operation done, resuming lua thread
2023/12/28 09:36:44 [debug] 13531\#0: *110 stream lua tcp socket calling prepare retvals handler 0819642D, u:057ABCB0
2023/12/28 09:36:44 [debug] 13531\#0: *110 stream lua tcp socket receive return value handler
2023/12/28 09:36:44 [debug] 13531\#0: *110 lua run thread, top:0
2023/12/28 09:36:44 [debug] 13531\#0: *110 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:057AC108, p:057AC370
2023/12/28 09:36:44 [debug] 13531\#0: *110 free: 057AC370
'
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 "2023/12/28 09:36:46 [error] 13580\#0: *139 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:36:46 [debug] 13580\#0: *139 stream lua tcp socket handle read error
2023/12/28 09:36:46 [debug] 13580\#0: *139 stream lua tcp socket waking up the current request
2023/12/28 09:36:46 [debug] 13580\#0: *139 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:36:46 [debug] 13580\#0: *139 stream lua tcp operation done, resuming lua thread
2023/12/28 09:36:46 [debug] 13580\#0: *139 stream lua tcp socket calling prepare retvals handler 0819642D, u:05B0D458
2023/12/28 09:36:46 [debug] 13580\#0: *139 stream lua tcp socket receive return value handler
2023/12/28 09:36:46 [debug] 13580\#0: *139 lua run thread, top:9
2023/12/28 09:36:46 [debug] 13580\#0: *139 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:05B0D8F8, p:05B0DBA8
2023/12/28 09:36:46 [debug] 13580\#0: *139 free: 05B0DBA8
'
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 "2023/12/28 09:36:47 [error] 13580\#0: *143 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:36:47 [debug] 13580\#0: *143 stream lua tcp socket handle read error
2023/12/28 09:36:47 [debug] 13580\#0: *143 stream lua tcp socket waking up the current request
2023/12/28 09:36:47 [debug] 13580\#0: *143 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:36:47 [debug] 13580\#0: *143 stream lua tcp operation done, resuming lua thread
2023/12/28 09:36:47 [debug] 13580\#0: *143 stream lua tcp socket calling prepare retvals handler 0819642D, u:05B13130
2023/12/28 09:36:47 [debug] 13580\#0: *143 stream lua tcp socket receive return value handler
2023/12/28 09:36:47 [debug] 13580\#0: *143 lua run thread, top:0
2023/12/28 09:36:47 [debug] 13580\#0: *143 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:05B13588, p:05B137F0
2023/12/28 09:36:47 [debug] 13580\#0: *143 free: 05B137F0
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
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 "2023/12/28 09:39:24 [error] 16505\#0: *36 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket handle error
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket waking up the current request
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp operation done, resuming lua thread
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket calling prepare retvals handler 0819B147, u:050CFE38
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket receive return value handler
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket error retval handler
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua run thread, top:9
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:050D0158, p:050D0268
'
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 "2023/12/28 09:39:24 [error] 16505\#0: *36 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket handle error
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket waking up the current request
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp operation done, resuming lua thread
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket calling prepare retvals handler 0819B147, u:050CFE38
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket receive return value handler
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua udp socket error retval handler
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua run thread, top:9
2023/12/28 09:39:24 [debug] 16505\#0: *36 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:050D0158, p:050D0268
'
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 "2023/12/28 09:39:26 [error] 16505\#0: *40 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:39:26 [debug] 16505\#0: *40 lua udp socket handle error
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua udp socket waking up the current request
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua udp operation done, resuming lua thread
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua udp socket calling prepare retvals handler 0819B147, u:050D47E0
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua udp socket receive return value handler
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua udp socket error retval handler
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua run thread, top:0
2023/12/28 09:39:26 [debug] 16505\#0: *40 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:050D4B00, p:050D4C10
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 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 "2023/12/28 09:39:45 [error] 16845\#0: *613 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket handle error
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket waking up the current request
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp operation done, resuming lua thread
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket calling prepare retvals handler 0819B147, u:050D8AF0
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket receive return value handler
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket error retval handler
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua run thread, top:9
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:050E10B8, p:050E4E20
'
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 "2023/12/28 09:39:45 [error] 16845\#0: *613 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket handle error
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket waking up the current request
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp operation done, resuming lua thread
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket calling prepare retvals handler 0819B147, u:050D8AF0
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket receive return value handler
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua udp socket error retval handler
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua run thread, top:9
2023/12/28 09:39:45 [debug] 16845\#0: *613 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:050E10B8, p:050E4E20
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:39:46 [error] 16845\#0: *617 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:39:46 [debug] 16845\#0: *617 lua udp socket handle error
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua udp socket waking up the current request
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua udp operation done, resuming lua thread
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua udp socket calling prepare retvals handler 0819B147, u:04B37948
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua udp socket receive return value handler
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua udp socket error retval handler
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua run thread, top:0
2023/12/28 09:39:46 [debug] 16845\#0: *617 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04E2E420, p:04E2F9B0
'
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 "2023/12/28 09:40:05 [error] 17285\#0: *1286 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket handle error
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket waking up the current request
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp operation done, resuming lua thread
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket calling prepare retvals handler 0819B147, u:04D391B0
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket receive return value handler
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket error retval handler
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua run thread, top:9
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:0554D810, p:05B786E0
'
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 "2023/12/28 09:40:05 [error] 17285\#0: *1286 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket handle error
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket waking up the current request
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp operation done, resuming lua thread
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket calling prepare retvals handler 0819B147, u:04D391B0
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket receive return value handler
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua udp socket error retval handler
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua run thread, top:9
2023/12/28 09:40:05 [debug] 17285\#0: *1286 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:0554D810, p:05B786E0
'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:40:06 [error] 17285\#0: *1290 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua udp socket handle error
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua udp socket waking up the current request
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua udp operation done, resuming lua thread
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua udp socket calling prepare retvals handler 0819B147, u:04D52768
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua udp socket receive return value handler
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua udp socket error retval handler
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua run thread, top:0
2023/12/28 09:40:06 [debug] 17285\#0: *1290 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:05491198, p:054C8D00
'
093-uthread-spawn.t ERROR: client socket timed out - 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 ERROR: client socket timed out - 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 12: ngx.thread API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:45:35 [error] 23662\#0: *751 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:45:35 [debug] 23662\#0: *751 lua udp socket handle error
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua udp socket waking up the current request
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua udp operation done, resuming lua thread
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua udp socket calling prepare retvals handler 0819B147, u:04AD8ED8
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua udp socket receive return value handler
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua udp socket error retval handler
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua run thread, top:0
2023/12/28 09:45:35 [error] 23662\#0: *751 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 12: ngx.thread API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:45:35 [error] 23662\#0: *751 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) 2023/12/28 09:45:35 [debug] 23662\#0: *751 lua resume returned 0
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua light thread ended normally
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua deleting light thread
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua run thread returned 0
2023/12/28 09:45:35 [debug] 23662\#0: *751 stream lua finalize fake request: 0
2023/12/28 09:45:35 [debug] 23662\#0: *751 stream lua close fake request
2023/12/28 09:45:35 [debug] 23662\#0: *751 cleanup lua udp socket upstream request
2023/12/28 09:45:35 [debug] 23662\#0: *751 stream lua finalize socket
2023/12/28 09:45:35 [debug] 23662\#0: *751 lua close socket connection
'
106-timer.t TEST 12: ngx.thread API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:45:35 [error] 23662\#0: *756 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:45:35 [debug] 23662\#0: *756 lua udp socket handle error
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua udp socket waking up the current request
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua udp operation done, resuming lua thread
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua udp socket calling prepare retvals handler 0819B147, u:04B14E88
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua udp socket receive return value handler
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua udp socket error retval handler
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua run thread, top:0
2023/12/28 09:45:35 [error] 23662\#0: *756 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 12: ngx.thread API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:45:35 [error] 23662\#0: *756 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) 2023/12/28 09:45:35 [debug] 23662\#0: *756 lua resume returned 0
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua light thread ended normally
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua deleting light thread
2023/12/28 09:45:35 [debug] 23662\#0: *756 lua run thread returned 0
2023/12/28 09:45:35 [debug] 23662\#0: *756 stream lua finalize fake request: 0
2023/12/28 09:45:35 [debug] 23662\#0: *756 stream lua close fake request
2023/12/28 09:45:35 [debug] 23662\#0: *756 cleanup lua udp socket upstream request
2023/12/28 09:45:35 [debug] 23662\#0: *756 stream lua finalize socket
2023/12/28 09:45:35 [debug] 23662\#0: *756 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 9: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:46:22 [error] 24492\#0: *138 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:46:22 [debug] 24492\#0: *138 lua udp socket handle error
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua udp socket waking up the current request
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua udp operation done, resuming lua thread
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua udp socket calling prepare retvals handler 0819B147, u:05C43810
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua udp socket receive return value handler
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CADA88:2048
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CAE2B8:260
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua udp socket error retval handler
'
108-timer-safe.t TEST 9: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:46:22 [error] 24492\#0: *138 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) 2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CB6728:8
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CB6760:28
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CB67B0:8
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CB67E8:11
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua resume returned 0
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CB6828:8
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua light thread ended normally
2023/12/28 09:46:22 [debug] 24327\#0: malloc: 05CB6860:32
2023/12/28 09:46:22 [debug] 24492\#0: *138 lua deleting light thread
'
108-timer-safe.t TEST 9: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:46:23 [error] 24492\#0: *143 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:46:23 [debug] 24492\#0: *143 lua udp socket handle error
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua udp socket waking up the current request
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua udp operation done, resuming lua thread
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua udp socket calling prepare retvals handler 0819B147, u:05C48AB8
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua udp socket receive return value handler
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua udp socket error retval handler
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua run thread, top:0
2023/12/28 09:46:23 [error] 24492\#0: *143 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
'
108-timer-safe.t TEST 9: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:46:23 [error] 24492\#0: *143 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) 2023/12/28 09:46:23 [debug] 24492\#0: *143 lua resume returned 0
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua light thread ended normally
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua deleting light thread
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua run thread returned 0
2023/12/28 09:46:23 [debug] 24492\#0: *143 stream lua finalize fake request: 0
2023/12/28 09:46:23 [debug] 24492\#0: *143 stream lua close fake request
2023/12/28 09:46:23 [debug] 24492\#0: *143 cleanup lua udp socket upstream request
2023/12/28 09:46:23 [debug] 24492\#0: *143 stream lua finalize socket
2023/12/28 09:46:23 [debug] 24492\#0: *143 lua close socket connection
'
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
'
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 ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 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 "2023/12/28 09:55:54 [error] 966\#0: *485 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) 2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua tcp socket handle read error
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua tcp socket waking up the current request
2023/12/28 09:55:54 [debug] 966\#0: *485 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua tcp operation done, resuming lua thread
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua tcp socket calling prepare retvals handler 0819642D, u:05510B58
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua tcp socket receive return value handler
2023/12/28 09:55:54 [debug] 966\#0: *485 lua run thread, top:0
2023/12/28 09:55:54 [error] 966\#0: *485 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
2023/12/28 09:55:54 [debug] 966\#0: *485 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 "2023/12/28 09:55:54 [error] 966\#0: *485 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) 2023/12/28 09:55:54 [debug] 966\#0: *485 lua resume returned 0
2023/12/28 09:55:54 [debug] 966\#0: *485 lua light thread ended normally
2023/12/28 09:55:54 [debug] 966\#0: *485 lua deleting light thread
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua run thread returned 0
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua finalize fake request: 0
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua close fake request
2023/12/28 09:55:54 [debug] 966\#0: *485 cleanup lua tcp socket request
2023/12/28 09:55:54 [debug] 966\#0: *485 stream lua finalize socket
2023/12/28 09:55:54 [debug] 966\#0: *485 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 "2023/12/28 09:55:56 [error] 966\#0: *492 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) 2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua tcp socket handle read error
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua tcp socket waking up the current request
2023/12/28 09:55:56 [debug] 966\#0: *492 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua tcp operation done, resuming lua thread
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua tcp socket calling prepare retvals handler 0819642D, u:05BC4F90
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua tcp socket receive return value handler
2023/12/28 09:55:56 [debug] 966\#0: *492 lua run thread, top:0
2023/12/28 09:55:56 [error] 966\#0: *492 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
2023/12/28 09:55:56 [debug] 966\#0: *492 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 "2023/12/28 09:55:56 [error] 966\#0: *492 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) 2023/12/28 09:55:56 [debug] 966\#0: *492 lua resume returned 0
2023/12/28 09:55:56 [debug] 966\#0: *492 lua light thread ended normally
2023/12/28 09:55:56 [debug] 966\#0: *492 lua deleting light thread
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua run thread returned 0
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua finalize fake request: 0
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua close fake request
2023/12/28 09:55:56 [debug] 966\#0: *492 cleanup lua tcp socket request
2023/12/28 09:55:56 [debug] 966\#0: *492 stream lua finalize socket
2023/12/28 09:55:56 [debug] 966\#0: *492 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 "2023/12/28 09:55:58 [error] 966\#0: *499 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) 2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua tcp socket handle read error
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua tcp socket waking up the current request
2023/12/28 09:55:58 [debug] 966\#0: *499 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua tcp operation done, resuming lua thread
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua tcp socket calling prepare retvals handler 0819642D, u:05BBF790
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua tcp socket receive return value handler
2023/12/28 09:55:58 [debug] 966\#0: *499 lua run thread, top:0
2023/12/28 09:55:58 [error] 966\#0: *499 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
2023/12/28 09:55:58 [debug] 966\#0: *499 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 "2023/12/28 09:55:58 [error] 966\#0: *499 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) 2023/12/28 09:55:58 [debug] 966\#0: *499 lua resume returned 0
2023/12/28 09:55:58 [debug] 966\#0: *499 lua light thread ended normally
2023/12/28 09:55:58 [debug] 966\#0: *499 lua deleting light thread
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua run thread returned 0
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua finalize fake request: 0
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua close fake request
2023/12/28 09:55:58 [debug] 966\#0: *499 cleanup lua tcp socket request
2023/12/28 09:55:58 [debug] 966\#0: *499 stream lua finalize socket
2023/12/28 09:55:58 [debug] 966\#0: *499 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)
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 "2023/12/28 09:59:35 [error] 4577\#0: *608 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) 2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua tcp socket handle read error
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua tcp socket waking up the current request
2023/12/28 09:59:35 [debug] 4577\#0: *608 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua tcp socket calling prepare retvals handler 0819642D, u:04DDCA48
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua tcp socket receive return value handler
2023/12/28 09:59:35 [debug] 4577\#0: *608 lua run thread, top:0
2023/12/28 09:59:35 [error] 4577\#0: *608 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
2023/12/28 09:59:35 [debug] 4577\#0: *608 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 "2023/12/28 09:59:35 [error] 4577\#0: *608 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) 2023/12/28 09:59:35 [debug] 4577\#0: *608 lua resume returned 0
2023/12/28 09:59:35 [debug] 4577\#0: *608 lua light thread ended normally
2023/12/28 09:59:35 [debug] 4577\#0: *608 lua deleting light thread
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua run thread returned 0
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua finalize fake request: 0
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua close fake request
2023/12/28 09:59:35 [debug] 4577\#0: *608 cleanup lua tcp socket request
2023/12/28 09:59:35 [debug] 4577\#0: *608 stream lua finalize socket
2023/12/28 09:59:35 [debug] 4577\#0: *608 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 "2023/12/28 09:59:37 [error] 4577\#0: *615 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) 2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua tcp socket handle read error
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua tcp socket waking up the current request
2023/12/28 09:59:37 [debug] 4577\#0: *615 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua tcp socket calling prepare retvals handler 0819642D, u:04EE3350
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua tcp socket receive return value handler
2023/12/28 09:59:37 [debug] 4577\#0: *615 lua run thread, top:0
2023/12/28 09:59:37 [error] 4577\#0: *615 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
2023/12/28 09:59:37 [debug] 4577\#0: *615 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 "2023/12/28 09:59:37 [error] 4577\#0: *615 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) 2023/12/28 09:59:37 [debug] 4577\#0: *615 lua resume returned 0
2023/12/28 09:59:37 [debug] 4577\#0: *615 lua light thread ended normally
2023/12/28 09:59:37 [debug] 4577\#0: *615 lua deleting light thread
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua run thread returned 0
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua finalize fake request: 0
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua close fake request
2023/12/28 09:59:37 [debug] 4577\#0: *615 cleanup lua tcp socket request
2023/12/28 09:59:37 [debug] 4577\#0: *615 stream lua finalize socket
2023/12/28 09:59:37 [debug] 4577\#0: *615 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 "2023/12/28 09:59:39 [error] 4577\#0: *622 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) 2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua tcp socket handle read error
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua tcp socket waking up the current request
2023/12/28 09:59:39 [debug] 4577\#0: *622 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua tcp socket calling prepare retvals handler 0819642D, u:04EAA4F0
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua tcp socket receive return value handler
2023/12/28 09:59:39 [debug] 4577\#0: *622 lua run thread, top:0
2023/12/28 09:59:39 [error] 4577\#0: *622 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
2023/12/28 09:59:39 [debug] 4577\#0: *622 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 "2023/12/28 09:59:39 [error] 4577\#0: *622 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) 2023/12/28 09:59:39 [debug] 4577\#0: *622 lua resume returned 0
2023/12/28 09:59:39 [debug] 4577\#0: *622 lua light thread ended normally
2023/12/28 09:59:39 [debug] 4577\#0: *622 lua deleting light thread
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua run thread returned 0
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua finalize fake request: 0
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua close fake request
2023/12/28 09:59:39 [debug] 4577\#0: *622 cleanup lua tcp socket request
2023/12/28 09:59:39 [debug] 4577\#0: *622 stream lua finalize socket
2023/12/28 09:59:39 [debug] 4577\#0: *622 lua close socket connection
'
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 "2023/12/28 09:59:43 [error] 4656\#0: *654 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) 2023/12/28 09:59:43 [debug] 4656\#0: *654 lua udp socket handle error
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua udp socket waking up the current request
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua udp operation done, resuming lua thread
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua udp socket calling prepare retvals handler 0819B147, u:049E0548
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua udp socket receive return value handler
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua udp socket error retval handler
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua run thread, top:0
2023/12/28 09:59:43 [error] 4656\#0: *654 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 "2023/12/28 09:59:43 [error] 4656\#0: *654 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) 2023/12/28 09:59:43 [debug] 4656\#0: *654 lua resume returned 0
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua light thread ended normally
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua deleting light thread
2023/12/28 09:59:43 [debug] 4656\#0: *654 lua run thread returned 0
2023/12/28 09:59:43 [debug] 4656\#0: *654 stream lua finalize fake request: 0
2023/12/28 09:59:43 [debug] 4656\#0: *654 stream lua close fake request
2023/12/28 09:59:43 [debug] 4656\#0: *654 cleanup lua udp socket upstream request
2023/12/28 09:59:43 [debug] 4656\#0: *654 stream lua finalize socket
2023/12/28 09:59:43 [debug] 4656\#0: *654 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 "2023/12/28 09:59:45 [error] 4656\#0: *661 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) 2023/12/28 09:59:45 [debug] 4656\#0: *661 lua udp socket handle error
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua udp socket waking up the current request
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua udp operation done, resuming lua thread
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua udp socket calling prepare retvals handler 0819B147, u:052A5D58
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua udp socket receive return value handler
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua udp socket error retval handler
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua run thread, top:0
2023/12/28 09:59:45 [error] 4656\#0: *661 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 "2023/12/28 09:59:45 [error] 4656\#0: *661 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) 2023/12/28 09:59:45 [debug] 4656\#0: *661 lua resume returned 0
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua light thread ended normally
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua deleting light thread
2023/12/28 09:59:45 [debug] 4656\#0: *661 lua run thread returned 0
2023/12/28 09:59:45 [debug] 4656\#0: *661 stream lua finalize fake request: 0
2023/12/28 09:59:45 [debug] 4656\#0: *661 stream lua close fake request
2023/12/28 09:59:45 [debug] 4656\#0: *661 cleanup lua udp socket upstream request
2023/12/28 09:59:45 [debug] 4656\#0: *661 stream lua finalize socket
2023/12/28 09:59:45 [debug] 4656\#0: *661 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 "2023/12/28 09:59:47 [error] 4656\#0: *668 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) 2023/12/28 09:59:47 [debug] 4656\#0: *668 lua udp socket handle error
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua udp socket waking up the current request
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua udp operation done, resuming lua thread
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua udp socket calling prepare retvals handler 0819B147, u:04ECD568
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua udp socket receive return value handler
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua udp socket error retval handler
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua run thread, top:0
2023/12/28 09:59:47 [error] 4656\#0: *668 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 "2023/12/28 09:59:47 [error] 4656\#0: *668 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) 2023/12/28 09:59:47 [debug] 4656\#0: *668 lua resume returned 0
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua light thread ended normally
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua deleting light thread
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua run thread returned 0
2023/12/28 09:59:47 [debug] 4656\#0: *668 stream lua finalize fake request: 0
2023/12/28 09:59:47 [debug] 4656\#0: *668 stream lua close fake request
2023/12/28 09:59:47 [debug] 4656\#0: *668 cleanup lua udp socket upstream request
2023/12/28 09:59:47 [debug] 4656\#0: *668 stream lua finalize socket
2023/12/28 09:59:47 [debug] 4656\#0: *668 lua close socket connection
'

Expected Failures

File Name Details
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)
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)
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 41: flush_expires - response_body - response is expected (repeated req 0, req 0) got: '15
'
expected: '1
'
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: '1
'
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: nil not a number
-foo = nil
+foo = helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld
'
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
'
043-shdict.t TEST 49: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '0
'
043-shdict.t TEST 43: flush_expires an empty dict - response_body - response is expected (repeated req 0, req 0) got: '4
'
expected: '0
'
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: '2050
'
expected: '2048
'
043-shdict.t TEST 55: safe_add - response_body - like (repeated req 0, req 0) 'false exists
abort at 1
cur value: hello hello hello hello hello hello hello hello hello hello1
false exists
abort at 1
cur value: hello hello hello hello hello hello hello hello hello hello1
'
doesn't match '(?^:false no memory
abort at (353|705)
cur value: nil
1st value: hello hello hello hello hello hello hello hello hello hello1
2nd value: hello hello hello hello hello hello hello hello hello hello2
)'
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
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:34:36 [error] 11139\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:34:36 [debug] 11139\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:34:36 [debug] 11139\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:34:36 [debug] 11139\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:34:36 [debug] 11139\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:34:36 [debug] 11139\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04D419E0
2023/12/28 09:34:36 [debug] 11139\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:34:36 [debug] 11139\#0: *3 lua run thread, top:9
2023/12/28 09:34:36 [debug] 11139\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04D41EC8, p:04D41FD8
2023/12/28 09:34:36 [debug] 11139\#0: *3 free: 04D41FD8
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:34:37 [error] 11139\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:34:37 [debug] 11139\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:34:37 [debug] 11139\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:34:37 [debug] 11139\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:34:37 [debug] 11139\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:34:37 [debug] 11139\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04D44A60
2023/12/28 09:34:37 [debug] 11139\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:34:37 [debug] 11139\#0: *3 lua run thread, top:9
2023/12/28 09:34:37 [debug] 11139\#0: *3 lua reuse free buf memory 37 >= 37, cl:04D41EC8, p:04D43608
2023/12/28 09:34:37 [debug] 11139\#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 "2023/12/28 09:34:40 [error] 11167\#0: *32 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:34:40 [debug] 11167\#0: *32 stream lua tcp socket handle read error
2023/12/28 09:34:40 [debug] 11167\#0: *32 stream lua tcp socket waking up the current request
2023/12/28 09:34:40 [debug] 11167\#0: *32 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:34:40 [debug] 11167\#0: *32 stream lua tcp operation done, resuming lua thread
2023/12/28 09:34:40 [debug] 11167\#0: *32 stream lua tcp socket calling prepare retvals handler 0819642D, u:050D11F0
2023/12/28 09:34:40 [debug] 11167\#0: *32 stream lua tcp socket receive return value handler
2023/12/28 09:34:40 [debug] 11167\#0: *32 lua run thread, top:9
2023/12/28 09:34:40 [debug] 11167\#0: *32 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:050D16D8, p:050D17E8
2023/12/28 09:34:40 [debug] 11167\#0: *32 free: 050D17E8
'
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 "2023/12/28 09:34:41 [error] 11167\#0: *32 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:34:41 [debug] 11167\#0: *32 stream lua tcp socket handle read error
2023/12/28 09:34:41 [debug] 11167\#0: *32 stream lua tcp socket waking up the current request
2023/12/28 09:34:41 [debug] 11167\#0: *32 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:34:41 [debug] 11167\#0: *32 stream lua tcp operation done, resuming lua thread
2023/12/28 09:34:41 [debug] 11167\#0: *32 stream lua tcp socket calling prepare retvals handler 0819642D, u:050D4270
2023/12/28 09:34:41 [debug] 11167\#0: *32 stream lua tcp socket receive return value handler
2023/12/28 09:34:41 [debug] 11167\#0: *32 lua run thread, top:9
2023/12/28 09:34:41 [debug] 11167\#0: *32 lua reuse free buf memory 37 >= 37, cl:050D16D8, p:050D2E18
2023/12/28 09:34:41 [debug] 11167\#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 "2023/12/28 09:35:04 [debug] 11584\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2023/12/28 09:35:04 [debug] 11584\#0: *302 http keepalive handler
2023/12/28 09:35:04 [debug] 11584\#0: *302 close http connection: 16
2023/12/28 09:35:04 [debug] 11584\#0: *302 event timer del: 16: 2032998
2023/12/28 09:35:04 [debug] 11584\#0: *302 reusable connection: 0
2023/12/28 09:35:04 [debug] 11584\#0: *302 free: 05216EA8, unused: 0
2023/12/28 09:35:04 [debug] 11584\#0: *302 free: 05216E08, unused: 0
2023/12/28 09:35:04 [debug] 11584\#0: *302 free: 051DE6B8, unused: 0
2023/12/28 09:35:04 [debug] 11584\#0: *302 free: 051DE630, unused: 0
2023/12/28 09:35:04 [debug] 11584\#0: *302 free: 051DE5B8, 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 "2023/12/28 09:35:06 [debug] 11633\#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) 2023/12/28 09:35:06 [debug] 11633\#0: *332 http keepalive handler
2023/12/28 09:35:06 [debug] 11633\#0: *332 close http connection: 17
2023/12/28 09:35:06 [debug] 11633\#0: *332 event timer del: 17: 2043713
2023/12/28 09:35:06 [debug] 11633\#0: *332 reusable connection: 0
2023/12/28 09:35:06 [debug] 11633\#0: *332 free: 055E03B8, unused: 0
2023/12/28 09:35:06 [debug] 11633\#0: *332 free: 055E0380, unused: 0
2023/12/28 09:35:06 [debug] 11633\#0: *332 free: 055E0308, unused: 0
2023/12/28 09:35:06 [debug] 11633\#0: *332 free: 055D6770, unused: 0
2023/12/28 09:35:06 [debug] 11633\#0: *332 free: 055D6690, 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 "2023/12/28 09:35:08 [debug] 11670\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/28 09:35:08 [debug] 11670\#0: stream lua tcp socket keepalive close handler: fd:16
2023/12/28 09:35:08 [debug] 11670\#0: event timer del: 16: 2037369
2023/12/28 09:35:08 [debug] 11670\#0: reusable connection: 0
2023/12/28 09:35:08 [debug] 11670\#0: stream lua tcp socket keepalive: free connection pool for "B"
2023/12/28 09:35:08 [notice] 11670\#0: exiting
2023/12/28 09:35:08 [debug] 11670\#0: flush files
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 058014C8
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 05B85FC8
2023/12/28 09:35:08 [debug] 11670\#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 "2023/12/28 09:35:08 [debug] 11670\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2023/12/28 09:35:08 [notice] 11670\#0: exiting
2023/12/28 09:35:08 [debug] 11670\#0: flush files
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 058014C8
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 05B85FC8
2023/12/28 09:35:08 [debug] 11670\#0: lua decrementing the reference count for Lua VM: 1
2023/12/28 09:35:08 [debug] 11670\#0: lua close the global Lua VM 054BAC28
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 05B85F50
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 05B85ED8
2023/12/28 09:35:08 [debug] 11670\#0: run cleanup: 0551ED68
'
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 "2023/12/28 09:35:09 [debug] 11713\#0: stream lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2023/12/28 09:35:09 [notice] 11713\#0: exiting
2023/12/28 09:35:09 [debug] 11713\#0: flush files
2023/12/28 09:35:09 [debug] 11713\#0: run cleanup: 04B311F8
2023/12/28 09:35:09 [debug] 11713\#0: run cleanup: 06029D40
2023/12/28 09:35:09 [debug] 11713\#0: lua decrementing the reference count for Lua VM: 1
2023/12/28 09:35:09 [debug] 11713\#0: lua close the global Lua VM 05824650
2023/12/28 09:35:09 [debug] 11713\#0: run cleanup: 06029CC8
2023/12/28 09:35:09 [debug] 11713\#0: run cleanup: 06029C50
2023/12/28 09:35:09 [debug] 11713\#0: run cleanup: 05E7C258
'
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 "2023/12/28 09:35:11 [debug] 11756\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/28 09:35:11 [debug] 11756\#0: stream lua tcp socket keepalive close handler: fd:17
2023/12/28 09:35:11 [debug] 11756\#0: event timer del: 17: 2040623
2023/12/28 09:35:11 [debug] 11756\#0: reusable connection: 0
2023/12/28 09:35:11 [debug] 11756\#0: stream lua tcp socket keepalive: free connection pool for "B"
2023/12/28 09:35:11 [debug] 11756\#0: worker cycle
2023/12/28 09:35:11 [debug] 11756\#0: epoll timer: 761
2023/12/28 09:35:11 [debug] 11756\#0: epoll: fd:9 ev:2011 d:05EDBD6D
2023/12/28 09:35:11 [debug] 11756\#0: epoll_wait() error on fd:9 ev:2011
2023/12/28 09:35:11 [debug] 11756\#0: *422 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 "2023/12/28 09:35:11 [debug] 11756\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2023/12/28 09:35:11 [debug] 11756\#0: worker cycle
2023/12/28 09:35:11 [debug] 11756\#0: epoll timer: 761
2023/12/28 09:35:11 [debug] 11756\#0: epoll: fd:9 ev:2011 d:05EDBD6D
2023/12/28 09:35:11 [debug] 11756\#0: epoll_wait() error on fd:9 ev:2011
2023/12/28 09:35:11 [debug] 11756\#0: *422 http wait request handler
2023/12/28 09:35:11 [debug] 11756\#0: *422 malloc: 04DABF58:52
2023/12/28 09:35:11 [debug] 11756\#0: *422 malloc: 04CB15C8:8
2023/12/28 09:35:11 [debug] 11756\#0: *422 malloc: 04DDE018:1024
2023/12/28 09:35:11 [debug] 11756\#0: *422 malloc: 04DC95B0: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 "2023/12/28 09:35:13 [debug] 11793\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/28 09:35:13 [debug] 11793\#0: worker cycle
2023/12/28 09:35:13 [debug] 11793\#0: epoll timer: 784
2023/12/28 09:35:13 [debug] 11793\#0: epoll: fd:6 ev:2011 d:04BBFD35
2023/12/28 09:35:13 [debug] 11793\#0: epoll_wait() error on fd:6 ev:2011
2023/12/28 09:35:13 [debug] 11793\#0: *453 http wait request handler
2023/12/28 09:35:13 [debug] 11793\#0: *453 malloc: 04B34630:52
2023/12/28 09:35:13 [debug] 11793\#0: *453 malloc: 04B4E4C8:8
2023/12/28 09:35:13 [debug] 11793\#0: *453 malloc: 04B3C760:1024
2023/12/28 09:35:13 [debug] 11793\#0: *453 malloc: 04B3CB90: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 "2023/12/28 09:35:25 [error] 12082\#0: *657 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:35:25 [debug] 12082\#0: *657 stream lua tcp socket handle read error
2023/12/28 09:35:25 [debug] 12082\#0: *657 stream lua tcp socket waking up the current request
2023/12/28 09:35:25 [debug] 12082\#0: *657 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:35:25 [debug] 12082\#0: *657 stream lua tcp operation done, resuming lua thread
2023/12/28 09:35:25 [debug] 12082\#0: *657 stream lua tcp socket calling prepare retvals handler 0819642D, u:04ADD1F0
2023/12/28 09:35:25 [debug] 12082\#0: *657 stream lua tcp socket receive return value handler
2023/12/28 09:35:25 [debug] 12082\#0: *657 lua run thread, top:9
2023/12/28 09:35:25 [debug] 12082\#0: *657 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04A08CA8, p:04BACDD8
2023/12/28 09:35:25 [debug] 12082\#0: *657 free: 04BACDD8
'
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 "2023/12/28 09:35:26 [error] 12082\#0: *657 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:35:26 [debug] 12082\#0: *657 stream lua tcp socket handle read error
2023/12/28 09:35:26 [debug] 12082\#0: *657 stream lua tcp socket waking up the current request
2023/12/28 09:35:26 [debug] 12082\#0: *657 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:35:26 [debug] 12082\#0: *657 stream lua tcp operation done, resuming lua thread
2023/12/28 09:35:26 [debug] 12082\#0: *657 stream lua tcp socket calling prepare retvals handler 0819642D, u:04A6CBB0
2023/12/28 09:35:26 [debug] 12082\#0: *657 stream lua tcp socket receive return value handler
2023/12/28 09:35:26 [debug] 12082\#0: *657 lua run thread, top:9
2023/12/28 09:35:26 [debug] 12082\#0: *657 lua reuse free buf memory 37 >= 37, cl:04A08CA8, p:04F14920
2023/12/28 09:35:26 [debug] 12082\#0: *657 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 "2023/12/28 09:35:27 [debug] 12082\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2023/12/28 09:35:27 [notice] 12082\#0: exiting
2023/12/28 09:35:27 [debug] 12082\#0: flush files
2023/12/28 09:35:27 [debug] 12082\#0: run cleanup: 04980D00
2023/12/28 09:35:27 [debug] 12082\#0: run cleanup: 05F0CFA8
2023/12/28 09:35:27 [debug] 12082\#0: lua decrementing the reference count for Lua VM: 1
2023/12/28 09:35:27 [debug] 12082\#0: lua close the global Lua VM 04C18E38
2023/12/28 09:35:27 [debug] 12082\#0: run cleanup: 05F0CF30
2023/12/28 09:35:27 [debug] 12082\#0: run cleanup: 05F0CEB8
2023/12/28 09:35:27 [debug] 12082\#0: run cleanup: 04C07808
'
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 "2023/12/28 09:35:29 [debug] 12137\#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) 2023/12/28 09:35:29 [debug] 12137\#0: worker cycle
2023/12/28 09:35:29 [debug] 12137\#0: epoll timer: 714
2023/12/28 09:35:29 [debug] 12137\#0: epoll: fd:4 ev:2011 d:05EDBD6C
2023/12/28 09:35:29 [debug] 12137\#0: epoll_wait() error on fd:4 ev:2011
2023/12/28 09:35:29 [debug] 12137\#0: *694 http wait request handler
2023/12/28 09:35:29 [debug] 12137\#0: *694 malloc: 05E80A30:52
2023/12/28 09:35:29 [debug] 12137\#0: *694 malloc: 05E80A98:8
2023/12/28 09:35:29 [debug] 12137\#0: *694 malloc: 04DD9A38:1024
2023/12/28 09:35:29 [debug] 12137\#0: *694 malloc: 04D72B38:8
'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
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 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 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 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 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 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 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)
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)
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 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 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)
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 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 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 8185 pending timers
'
expected: 'stream lua found 8191 pending timers
'
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 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)
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
successfully set baz with force.
foo not found
'
126-shdict-frag.t TEST 7: merge big slabs (less than max slab size) backward - 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
-successfully safe set baz
+failed to safe set baz: no memory
'
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
'
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
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)
139-ssl-cert-by.t TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:56:05 [error] 1094\#0: send() failed (111: Connection refused) while logging to syslog, server: 127.0.0.1:12345" (req 0) 2023/12/28 09:56:05 [debug] 1094\#0: close listening unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock \#13
2023/12/28 09:56:05 [debug] 1094\#0: epoll del event: fd:8 op:2 ev:00000000
2023/12/28 09:56:05 [debug] 1094\#0: close listening 0.0.0.0:1985 \#8
2023/12/28 09:56:05 [debug] 1094\#0: epoll del event: fd:9 op:2 ev:00000000
2023/12/28 09:56:05 [debug] 1094\#0: close listening 0.0.0.0:1984 \#9
2023/12/28 09:56:05 [notice] 1094\#0: exiting
2023/12/28 09:56:05 [debug] 1094\#0: flush files
2023/12/28 09:56:05 [debug] 1094\#0: run cleanup: 04B3AD38
2023/12/28 09:56:05 [debug] 1094\#0: run cleanup: 060472C0
'
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:
162-ssl-client-hello-by.t TEST 24: get raw_client_addr - unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:58:54 [error] 3923\#0: send() failed (111: Connection refused) while logging to syslog, server: 127.0.0.1:12345" (req 0) 2023/12/28 09:58:54 [debug] 3923\#0: close listening unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock \#7
2023/12/28 09:58:54 [debug] 3923\#0: epoll del event: fd:8 op:2 ev:00000000
2023/12/28 09:58:54 [debug] 3923\#0: close listening 0.0.0.0:1985 \#8
2023/12/28 09:58:54 [debug] 3923\#0: epoll del event: fd:9 op:2 ev:00000000
2023/12/28 09:58:54 [debug] 3923\#0: close listening 0.0.0.0:1984 \#9
2023/12/28 09:58:54 [notice] 3923\#0: exiting
2023/12/28 09:58:54 [debug] 3923\#0: flush files
2023/12/28 09:58:54 [debug] 3923\#0: run cleanup: 04D4DE28
2023/12/28 09:58:54 [debug] 3923\#0: run cleanup: 04AF0118
'

Warnings

Go back to the index page.