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

Detailed Test Report for ngx_stream_lua in linux i386 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
cafa6f55 2023-12-28 09:02:49 GMT 205 45 118 10369 1364 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

OpenSSL

OpenSSL 1.1.1w 11 Sep 2023

Compilation Errors

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 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 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 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 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 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 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 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)
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 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)$)'
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 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\])$)'
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 16: custom pools (same pool for different host:port) - tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
+failed to connect: timeout
connected: 1, reused: 0
-connected: 1, reused: 1
'
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 29: conn queuing: connect() can specify 'pool_size' for custom pool '
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: A, reused: 0
-connected: B, reused: 0
-connected: A, reused: 1
-connected: B, reused: 1
-reused: 1
-reused: 0
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - grep_error_log_out (req 0) @@ -1,4 +1,4 @@
-start to handle timer
start to handle cosocket
+start to handle timer
continue to handle timer
continue to handle cosocket
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'timeout
'
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 10:48:47 [error] 13364\#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 10:48:47 [debug] 13364\#0: *3 stream lua tcp socket handle read error
2023/12/28 10:48:47 [debug] 13364\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 10:48:47 [debug] 13364\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:48:47 [debug] 13364\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 10:48:47 [debug] 13364\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D85450
2023/12/28 10:48:47 [debug] 13364\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 10:48:47 [debug] 13364\#0: *3 lua run thread, top:9
2023/12/28 10:48:47 [debug] 13364\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09BE9E20, p:09C0FCB8
2023/12/28 10:48:47 [debug] 13364\#0: *3 free: 09C0FCB8
'
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 10:48:48 [error] 13364\#0: *7 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:48:48 [debug] 13364\#0: *7 stream lua tcp socket handle read error
2023/12/28 10:48:48 [debug] 13364\#0: *7 stream lua tcp socket waking up the current request
2023/12/28 10:48:48 [debug] 13364\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:48:48 [debug] 13364\#0: *7 stream lua tcp operation done, resuming lua thread
2023/12/28 10:48:48 [debug] 13364\#0: *7 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D4B810
2023/12/28 10:48:48 [debug] 13364\#0: *7 stream lua tcp socket receive return value handler
2023/12/28 10:48:48 [debug] 13364\#0: *7 lua run thread, top:0
2023/12/28 10:48:48 [debug] 13364\#0: *7 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09C0FCC0, p:09BE9E58
2023/12/28 10:48:48 [debug] 13364\#0: *7 free: 09BE9E58
'
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 10:48:49 [error] 13382\#0: *33 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:48:49 [debug] 13382\#0: *33 stream lua tcp socket handle read error
2023/12/28 10:48:49 [debug] 13382\#0: *33 stream lua tcp socket waking up the current request
2023/12/28 10:48:49 [debug] 13382\#0: *33 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:48:49 [debug] 13382\#0: *33 stream lua tcp operation done, resuming lua thread
2023/12/28 10:48:49 [debug] 13382\#0: *33 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6C88308
2023/12/28 10:48:49 [debug] 13382\#0: *33 stream lua tcp socket receive return value handler
2023/12/28 10:48:49 [debug] 13382\#0: *33 lua run thread, top:9
2023/12/28 10:48:49 [debug] 13382\#0: *33 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09C29DC0, p:09C29B10
2023/12/28 10:48:49 [debug] 13382\#0: *33 free: 09C29B10
'
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 10:48:50 [error] 13382\#0: *37 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:48:50 [debug] 13382\#0: *37 stream lua tcp socket handle read error
2023/12/28 10:48:50 [debug] 13382\#0: *37 stream lua tcp socket waking up the current request
2023/12/28 10:48:50 [debug] 13382\#0: *37 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:48:50 [debug] 13382\#0: *37 stream lua tcp operation done, resuming lua thread
2023/12/28 10:48:50 [debug] 13382\#0: *37 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6CAA190
2023/12/28 10:48:50 [debug] 13382\#0: *37 stream lua tcp socket receive return value handler
2023/12/28 10:48:50 [debug] 13382\#0: *37 lua run thread, top:0
2023/12/28 10:48:50 [debug] 13382\#0: *37 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09C29DC0, p:09C29B10
2023/12/28 10:48:50 [debug] 13382\#0: *37 free: 09C29B10
'
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 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 10:50:03 [error] 15766\#0: *65 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket handle error
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket waking up the current request
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp operation done, resuming lua thread
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket calling prepare retvals handler 0819B147, u:B6E68BE8
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket receive return value handler
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket error retval handler
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua run thread, top:9
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:0873F3D8, p:0873F440
'
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 10:50:03 [error] 15766\#0: *65 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket handle error
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket waking up the current request
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp operation done, resuming lua thread
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket calling prepare retvals handler 0819B147, u:B6E68BE8
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket receive return value handler
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua udp socket error retval handler
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua run thread, top:9
2023/12/28 10:50:03 [debug] 15766\#0: *65 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:0873F3D8, p:0873F440
'
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 10:50:04 [error] 15766\#0: *69 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:50:04 [debug] 15766\#0: *69 lua udp socket handle error
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua udp socket waking up the current request
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua udp operation done, resuming lua thread
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua udp socket calling prepare retvals handler 0819B147, u:B6E68C78
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua udp socket receive return value handler
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua udp socket error retval handler
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua run thread, top:0
2023/12/28 10:50:04 [debug] 15766\#0: *69 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:0873F3D8, p:0873F440
'
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 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 10:50:16 [error] 16046\#0: *619 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket handle error
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket waking up the current request
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp operation done, resuming lua thread
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket calling prepare retvals handler 0819B147, u:B6D84B58
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket receive return value handler
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket error retval handler
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua run thread, top:9
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08769C78, p:0872CD48
'
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 10:50:16 [error] 16046\#0: *619 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket handle error
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket waking up the current request
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp operation done, resuming lua thread
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket calling prepare retvals handler 0819B147, u:B6D84B58
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket receive return value handler
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua udp socket error retval handler
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua run thread, top:9
2023/12/28 10:50:16 [debug] 16046\#0: *619 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08769C78, p:0872CD48
'
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 10:50:18 [error] 16046\#0: *623 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:50:18 [debug] 16046\#0: *623 lua udp socket handle error
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua udp socket waking up the current request
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua udp operation done, resuming lua thread
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua udp socket calling prepare retvals handler 0819B147, u:B6D55EA0
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua udp socket receive return value handler
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua udp socket error retval handler
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua run thread, top:0
2023/12/28 10:50:18 [debug] 16046\#0: *623 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08765450, p:0874C9B0
'
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 10:50:21 [error] 16189\#0: *739 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket handle error
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket waking up the current request
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp operation done, resuming lua thread
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket calling prepare retvals handler 0819B147, u:B6D58090
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket receive return value handler
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket error retval handler
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua run thread, top:9
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08736C68, p:0874E620
'
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 10:50:21 [error] 16189\#0: *739 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket handle error
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket waking up the current request
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp operation done, resuming lua thread
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket calling prepare retvals handler 0819B147, u:B6D58090
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket receive return value handler
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua udp socket error retval handler
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua run thread, top:9
2023/12/28 10:50:21 [debug] 16189\#0: *739 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08736C68, p:0874E620
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:50:22 [error] 16189\#0: *743 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:50:22 [debug] 16189\#0: *743 lua udp socket handle error
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua udp socket waking up the current request
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua udp operation done, resuming lua thread
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua udp socket calling prepare retvals handler 0819B147, u:B6D589E0
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua udp socket receive return value handler
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua udp socket error retval handler
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua run thread, top:0
2023/12/28 10:50:22 [debug] 16189\#0: *743 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08736C68, p:0871FFC8
'
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 "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 "received 12 bytes: OK " 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 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
106-timer.t TEST 33: log function location when failed to run a timer with arg (lua file) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:52:58 [error] 20969\#0: *310 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 10:52:58 [debug] 20969\#0: *310 lua udp socket handle error
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua udp socket waking up the current request
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua udp operation done, resuming lua thread
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua udp socket calling prepare retvals handler 0819B147, u:B6DE97D8
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua udp socket receive return value handler
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua udp socket error retval handler
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua run thread, top:0
2023/12/28 10:52:58 [error] 20969\#0: *310 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 33: log function location when failed to run a timer with arg (lua file) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:52:58 [error] 20969\#0: *310 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 10:52:58 [debug] 20969\#0: *310 lua resume returned 0
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua light thread ended normally
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua deleting light thread
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua run thread returned 0
2023/12/28 10:52:58 [debug] 20969\#0: *310 stream lua finalize fake request: 0
2023/12/28 10:52:58 [debug] 20969\#0: *310 stream lua close fake request
2023/12/28 10:52:58 [debug] 20969\#0: *310 cleanup lua udp socket upstream request
2023/12/28 10:52:58 [debug] 20969\#0: *310 stream lua finalize socket
2023/12/28 10:52:58 [debug] 20969\#0: *310 lua close socket connection
'
106-timer.t TEST 33: log function location when failed to run a timer with arg (lua file) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:52:58 [error] 20969\#0: *315 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:52:58 [debug] 20969\#0: *315 lua udp socket handle error
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua udp socket waking up the current request
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua udp operation done, resuming lua thread
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua udp socket calling prepare retvals handler 0819B147, u:B6DEA960
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua udp socket receive return value handler
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua udp socket error retval handler
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua run thread, top:0
2023/12/28 10:52:58 [error] 20969\#0: *315 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 33: log function location when failed to run a timer with arg (lua file) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:52:58 [error] 20969\#0: *315 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 1) 2023/12/28 10:52:58 [debug] 20969\#0: *315 lua resume returned 0
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua light thread ended normally
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua deleting light thread
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua run thread returned 0
2023/12/28 10:52:58 [debug] 20969\#0: *315 stream lua finalize fake request: 0
2023/12/28 10:52:58 [debug] 20969\#0: *315 stream lua close fake request
2023/12/28 10:52:58 [debug] 20969\#0: *315 cleanup lua udp socket upstream request
2023/12/28 10:52:58 [debug] 20969\#0: *315 stream lua finalize socket
2023/12/28 10:52:58 [debug] 20969\#0: *315 lua close socket connection
'
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)
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 "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 "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
108-timer-safe.t TEST 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 "[error]" should not match any line in error.log but matches line "2023/12/28 10:53:29 [error] 21905\#0: *36 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 10:53:29 [debug] 21905\#0: *36 lua udp socket handle error
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua udp socket waking up the current request
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua udp operation done, resuming lua thread
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua udp socket calling prepare retvals handler 0819B147, u:B6DB54E0
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua udp socket receive return value handler
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua udp socket error retval handler
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua run thread, top:0
2023/12/28 10:53:29 [error] 21905\#0: *36 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 4: tcp cosocket in timer handler (keep-alive connections) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:53:29 [error] 21905\#0: *36 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 10:53:29 [debug] 21905\#0: *36 lua resume returned 0
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua light thread ended normally
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua deleting light thread
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua run thread returned 0
2023/12/28 10:53:29 [debug] 21905\#0: *36 stream lua finalize fake request: 0
2023/12/28 10:53:29 [debug] 21905\#0: *36 stream lua close fake request
2023/12/28 10:53:29 [debug] 21905\#0: *36 cleanup lua udp socket upstream request
2023/12/28 10:53:29 [debug] 21905\#0: *36 stream lua finalize socket
2023/12/28 10:53:29 [debug] 21905\#0: *36 lua close socket connection
'
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:53:30 [error] 21905\#0: *41 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 10:53:30 [debug] 21905\#0: *41 lua udp socket handle error
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua udp socket waking up the current request
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua udp operation done, resuming lua thread
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua udp socket calling prepare retvals handler 0819B147, u:B6D9B058
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua udp socket receive return value handler
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua udp socket error retval handler
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua run thread, top:0
2023/12/28 10:53:30 [error] 21905\#0: *41 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 4: tcp cosocket in timer handler (keep-alive connections) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:53:30 [error] 21905\#0: *41 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 10:53:30 [debug] 21905\#0: *41 lua resume returned 0
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua light thread ended normally
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua deleting light thread
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua run thread returned 0
2023/12/28 10:53:30 [debug] 21905\#0: *41 stream lua finalize fake request: 0
2023/12/28 10:53:30 [debug] 21905\#0: *41 stream lua close fake request
2023/12/28 10:53:30 [debug] 21905\#0: *41 cleanup lua udp socket upstream request
2023/12/28 10:53:30 [debug] 21905\#0: *41 stream lua finalize socket
2023/12/28 10:53:30 [debug] 21905\#0: *41 lua close socket connection
'
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)
124-init-worker.t TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 4: timer.at + cosocket - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t 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
'
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 - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:56:57 [error] 28433\#0: *493 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 0) 2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua tcp socket handle read error
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua tcp socket waking up the current request
2023/12/28 10:56:57 [debug] 28433\#0: *493 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua tcp operation done, resuming lua thread
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6E2F1A0
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua tcp socket receive return value handler
2023/12/28 10:56:57 [debug] 28433\#0: *493 lua run thread, top:0
2023/12/28 10:56:57 [error] 28433\#0: *493 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 10:56:57 [debug] 28433\#0: *493 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 10:56:57 [error] 28433\#0: *493 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 0) 2023/12/28 10:56:57 [debug] 28433\#0: *493 lua resume returned 0
2023/12/28 10:56:57 [debug] 28433\#0: *493 lua light thread ended normally
2023/12/28 10:56:57 [debug] 28433\#0: *493 lua deleting light thread
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua run thread returned 0
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua finalize fake request: 0
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua close fake request
2023/12/28 10:56:57 [debug] 28433\#0: *493 cleanup lua tcp socket request
2023/12/28 10:56:57 [debug] 28433\#0: *493 stream lua finalize socket
2023/12/28 10:56:57 [debug] 28433\#0: *493 lua close socket connection
'
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 10:56:59 [error] 28433\#0: *500 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 10:56:59 [debug] 28433\#0: *500 stream lua tcp socket handle read error
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua tcp socket waking up the current request
2023/12/28 10:56:59 [debug] 28433\#0: *500 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua tcp operation done, resuming lua thread
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6E2FFE0
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua tcp socket receive return value handler
2023/12/28 10:56:59 [debug] 28433\#0: *500 lua run thread, top:0
2023/12/28 10:56:59 [error] 28433\#0: *500 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 10:56:59 [debug] 28433\#0: *500 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 10:56:59 [error] 28433\#0: *500 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 10:56:59 [debug] 28433\#0: *500 lua resume returned 0
2023/12/28 10:56:59 [debug] 28433\#0: *500 lua light thread ended normally
2023/12/28 10:56:59 [debug] 28433\#0: *500 lua deleting light thread
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua run thread returned 0
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua finalize fake request: 0
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua close fake request
2023/12/28 10:56:59 [debug] 28433\#0: *500 cleanup lua tcp socket request
2023/12/28 10:56:59 [debug] 28433\#0: *500 stream lua finalize socket
2023/12/28 10:56:59 [debug] 28433\#0: *500 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 10:57:01 [error] 28433\#0: *507 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 10:57:01 [debug] 28433\#0: *507 stream lua tcp socket handle read error
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua tcp socket waking up the current request
2023/12/28 10:57:01 [debug] 28433\#0: *507 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua tcp operation done, resuming lua thread
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6E4EDD8
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua tcp socket receive return value handler
2023/12/28 10:57:01 [debug] 28433\#0: *507 lua run thread, top:0
2023/12/28 10:57:01 [error] 28433\#0: *507 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 10:57:01 [debug] 28433\#0: *507 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 10:57:01 [error] 28433\#0: *507 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 10:57:01 [debug] 28433\#0: *507 lua resume returned 0
2023/12/28 10:57:01 [debug] 28433\#0: *507 lua light thread ended normally
2023/12/28 10:57:01 [debug] 28433\#0: *507 lua deleting light thread
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua run thread returned 0
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua finalize fake request: 0
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua close fake request
2023/12/28 10:57:01 [debug] 28433\#0: *507 cleanup lua tcp socket request
2023/12/28 10:57:01 [debug] 28433\#0: *507 stream lua finalize socket
2023/12/28 10:57:01 [debug] 28433\#0: *507 lua close socket connection
'
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 - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:58:02 [error] 30732\#0: *368 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 0) 2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua tcp socket handle read error
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua tcp socket waking up the current request
2023/12/28 10:58:02 [debug] 30732\#0: *368 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua tcp operation done, resuming lua thread
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D202B0
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua tcp socket receive return value handler
2023/12/28 10:58:02 [debug] 30732\#0: *368 lua run thread, top:0
2023/12/28 10:58:02 [error] 30732\#0: *368 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 10:58:02 [debug] 30732\#0: *368 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 10:58:02 [error] 30732\#0: *368 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 0) 2023/12/28 10:58:02 [debug] 30732\#0: *368 lua resume returned 0
2023/12/28 10:58:02 [debug] 30732\#0: *368 lua light thread ended normally
2023/12/28 10:58:02 [debug] 30732\#0: *368 lua deleting light thread
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua run thread returned 0
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua finalize fake request: 0
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua close fake request
2023/12/28 10:58:02 [debug] 30732\#0: *368 cleanup lua tcp socket request
2023/12/28 10:58:02 [debug] 30732\#0: *368 stream lua finalize socket
2023/12/28 10:58:02 [debug] 30732\#0: *368 lua close socket connection
'
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 10:58:04 [error] 30732\#0: *375 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 10:58:04 [debug] 30732\#0: *375 stream lua tcp socket handle read error
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua tcp socket waking up the current request
2023/12/28 10:58:04 [debug] 30732\#0: *375 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua tcp operation done, resuming lua thread
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D21000
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua tcp socket receive return value handler
2023/12/28 10:58:04 [debug] 30732\#0: *375 lua run thread, top:0
2023/12/28 10:58:04 [error] 30732\#0: *375 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 10:58:04 [debug] 30732\#0: *375 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 10:58:04 [error] 30732\#0: *375 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 10:58:04 [debug] 30732\#0: *375 lua resume returned 0
2023/12/28 10:58:04 [debug] 30732\#0: *375 lua light thread ended normally
2023/12/28 10:58:04 [debug] 30732\#0: *375 lua deleting light thread
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua run thread returned 0
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua finalize fake request: 0
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua close fake request
2023/12/28 10:58:04 [debug] 30732\#0: *375 cleanup lua tcp socket request
2023/12/28 10:58:04 [debug] 30732\#0: *375 stream lua finalize socket
2023/12/28 10:58:04 [debug] 30732\#0: *375 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 10:58:06 [error] 30732\#0: *382 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 10:58:06 [debug] 30732\#0: *382 stream lua tcp socket handle read error
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua tcp socket waking up the current request
2023/12/28 10:58:06 [debug] 30732\#0: *382 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua tcp operation done, resuming lua thread
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D480A0
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua tcp socket receive return value handler
2023/12/28 10:58:06 [debug] 30732\#0: *382 lua run thread, top:0
2023/12/28 10:58:06 [error] 30732\#0: *382 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 10:58:06 [debug] 30732\#0: *382 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 10:58:06 [error] 30732\#0: *382 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 10:58:06 [debug] 30732\#0: *382 lua resume returned 0
2023/12/28 10:58:06 [debug] 30732\#0: *382 lua light thread ended normally
2023/12/28 10:58:06 [debug] 30732\#0: *382 lua deleting light thread
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua run thread returned 0
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua finalize fake request: 0
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua close fake request
2023/12/28 10:58:06 [debug] 30732\#0: *382 cleanup lua tcp socket request
2023/12/28 10:58:06 [debug] 30732\#0: *382 stream lua finalize socket
2023/12/28 10:58:06 [debug] 30732\#0: *382 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) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:58:08 [error] 30803\#0: *411 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 0) 2023/12/28 10:58:08 [debug] 30803\#0: *411 lua udp socket handle error
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua udp socket waking up the current request
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua udp operation done, resuming lua thread
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua udp socket calling prepare retvals handler 0819B147, u:B6E35F78
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua udp socket receive return value handler
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua udp socket error retval handler
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua run thread, top:0
2023/12/28 10:58:08 [error] 30803\#0: *411 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 10:58:08 [error] 30803\#0: *411 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 0) 2023/12/28 10:58:08 [debug] 30803\#0: *411 lua resume returned 0
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua light thread ended normally
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua deleting light thread
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua run thread returned 0
2023/12/28 10:58:08 [debug] 30803\#0: *411 stream lua finalize fake request: 0
2023/12/28 10:58:08 [debug] 30803\#0: *411 stream lua close fake request
2023/12/28 10:58:08 [debug] 30803\#0: *411 cleanup lua udp socket upstream request
2023/12/28 10:58:08 [debug] 30803\#0: *411 stream lua finalize socket
2023/12/28 10:58:08 [debug] 30803\#0: *411 lua close socket connection
'
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 10:58:11 [error] 30803\#0: *418 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 10:58:11 [debug] 30803\#0: *418 lua udp socket handle error
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua udp socket waking up the current request
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua udp operation done, resuming lua thread
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua udp socket calling prepare retvals handler 0819B147, u:B6E38B60
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua udp socket receive return value handler
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua udp socket error retval handler
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua run thread, top:0
2023/12/28 10:58:11 [error] 30803\#0: *418 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 10:58:11 [error] 30803\#0: *418 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 10:58:11 [debug] 30803\#0: *418 lua resume returned 0
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua light thread ended normally
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua deleting light thread
2023/12/28 10:58:11 [debug] 30803\#0: *418 lua run thread returned 0
2023/12/28 10:58:11 [debug] 30803\#0: *418 stream lua finalize fake request: 0
2023/12/28 10:58:11 [debug] 30803\#0: *418 stream lua close fake request
2023/12/28 10:58:11 [debug] 30803\#0: *418 cleanup lua udp socket upstream request
2023/12/28 10:58:11 [debug] 30803\#0: *418 stream lua finalize socket
2023/12/28 10:58:11 [debug] 30803\#0: *418 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 10:58:13 [error] 30803\#0: *425 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 10:58:13 [debug] 30803\#0: *425 lua udp socket handle error
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua udp socket waking up the current request
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua udp operation done, resuming lua thread
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua udp socket calling prepare retvals handler 0819B147, u:B6E13A58
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua udp socket receive return value handler
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua udp socket error retval handler
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua run thread, top:0
2023/12/28 10:58:13 [error] 30803\#0: *425 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 10:58:13 [error] 30803\#0: *425 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 10:58:13 [debug] 30803\#0: *425 lua resume returned 0
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua light thread ended normally
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua deleting light thread
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua run thread returned 0
2023/12/28 10:58:13 [debug] 30803\#0: *425 stream lua finalize fake request: 0
2023/12/28 10:58:13 [debug] 30803\#0: *425 stream lua close fake request
2023/12/28 10:58:13 [debug] 30803\#0: *425 cleanup lua udp socket upstream request
2023/12/28 10:58:13 [debug] 30803\#0: *425 stream lua finalize socket
2023/12/28 10:58:13 [debug] 30803\#0: *425 lua close socket connection
'

Expected Failures

File Name Details
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: '3
'
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 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 47: list all keys in a shdict with expires - 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 51: list all keys in a shdict with all keys expired - response_body - response is expected (repeated req 0, req 0) got: '1
'
expected: '0
'
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 24: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-add: true nil false
+add: false exists false
-foo = 10502
+foo = 32
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:47:35 [error] 11486\#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 10:47:35 [debug] 11486\#0: *3 stream lua tcp socket handle read error
2023/12/28 10:47:35 [debug] 11486\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 10:47:35 [debug] 11486\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:47:35 [debug] 11486\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 10:47:35 [debug] 11486\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6DC8F78
2023/12/28 10:47:35 [debug] 11486\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 10:47:35 [debug] 11486\#0: *3 lua run thread, top:9
2023/12/28 10:47:35 [debug] 11486\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:08AE2EF0, p:08AE2F58
2023/12/28 10:47:35 [debug] 11486\#0: *3 free: 08AE2F58
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:47:36 [error] 11486\#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 10:47:36 [debug] 11486\#0: *3 stream lua tcp socket handle read error
2023/12/28 10:47:36 [debug] 11486\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 10:47:36 [debug] 11486\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:47:36 [debug] 11486\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 10:47:36 [debug] 11486\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6DBD4E0
2023/12/28 10:47:36 [debug] 11486\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 10:47:36 [debug] 11486\#0: *3 lua run thread, top:9
2023/12/28 10:47:36 [debug] 11486\#0: *3 lua reuse free buf memory 37 >= 37, cl:08AE2EF0, p:08ABCED8
2023/12/28 10:47:36 [debug] 11486\#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 10:47:38 [error] 11509\#0: *29 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:47:38 [debug] 11509\#0: *29 stream lua tcp socket handle read error
2023/12/28 10:47:38 [debug] 11509\#0: *29 stream lua tcp socket waking up the current request
2023/12/28 10:47:38 [debug] 11509\#0: *29 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:47:38 [debug] 11509\#0: *29 stream lua tcp operation done, resuming lua thread
2023/12/28 10:47:38 [debug] 11509\#0: *29 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D05F38
2023/12/28 10:47:38 [debug] 11509\#0: *29 stream lua tcp socket receive return value handler
2023/12/28 10:47:38 [debug] 11509\#0: *29 lua run thread, top:9
2023/12/28 10:47:38 [debug] 11509\#0: *29 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:08AFCEE8, p:08AFD190
2023/12/28 10:47:38 [debug] 11509\#0: *29 free: 08AFD190
'
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 10:47:39 [error] 11509\#0: *29 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:47:39 [debug] 11509\#0: *29 stream lua tcp socket handle read error
2023/12/28 10:47:39 [debug] 11509\#0: *29 stream lua tcp socket waking up the current request
2023/12/28 10:47:39 [debug] 11509\#0: *29 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:47:39 [debug] 11509\#0: *29 stream lua tcp operation done, resuming lua thread
2023/12/28 10:47:39 [debug] 11509\#0: *29 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6CCC4D0
2023/12/28 10:47:39 [debug] 11509\#0: *29 stream lua tcp socket receive return value handler
2023/12/28 10:47:39 [debug] 11509\#0: *29 lua run thread, top:9
2023/12/28 10:47:39 [debug] 11509\#0: *29 lua reuse free buf memory 37 >= 37, cl:08AFCEE8, p:08AFD720
2023/12/28 10:47:39 [debug] 11509\#0: *29 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 10:47:53 [debug] 11851\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2023/12/28 10:47:53 [debug] 11851\#0: *272 http keepalive handler
2023/12/28 10:47:53 [debug] 11851\#0: *272 close http connection: 16
2023/12/28 10:47:53 [debug] 11851\#0: *272 event timer del: 16: 6412245
2023/12/28 10:47:53 [debug] 11851\#0: *272 reusable connection: 0
2023/12/28 10:47:53 [debug] 11851\#0: *272 free: 08AC9258, unused: 0
2023/12/28 10:47:53 [debug] 11851\#0: *272 free: 08ABBF50, unused: 0
2023/12/28 10:47:53 [debug] 11851\#0: *272 free: 08ABBF30, unused: 0
2023/12/28 10:47:53 [debug] 11851\#0: *272 free: 08AC7660, unused: 0
2023/12/28 10:47:53 [debug] 11851\#0: *272 free: 08AC2310, 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 10:47:54 [debug] 11903\#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 10:47:54 [debug] 11903\#0: *299 http keepalive handler
2023/12/28 10:47:54 [debug] 11903\#0: *299 close http connection: 17
2023/12/28 10:47:54 [debug] 11903\#0: *299 event timer del: 17: 6421945
2023/12/28 10:47:54 [debug] 11903\#0: *299 reusable connection: 0
2023/12/28 10:47:54 [debug] 11903\#0: *299 free: 08AC22C0, unused: 0
2023/12/28 10:47:54 [debug] 11903\#0: *299 free: 08AFF458, unused: 0
2023/12/28 10:47:54 [debug] 11903\#0: *299 free: 08AFF438, unused: 0
2023/12/28 10:47:54 [debug] 11903\#0: *299 free: 08ADBD08, unused: 0
2023/12/28 10:47:54 [debug] 11903\#0: *299 free: 08ADBCF8, unused: 0
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2023/12/28 10:47:55 [debug] 11937\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/28 10:47:55 [debug] 11937\#0: stream lua tcp socket keepalive close handler: fd:16
2023/12/28 10:47:55 [debug] 11937\#0: event timer del: 16: 6414681
2023/12/28 10:47:55 [debug] 11937\#0: reusable connection: 0
2023/12/28 10:47:55 [debug] 11937\#0: stream lua tcp socket keepalive: free connection pool for "B"
2023/12/28 10:47:55 [notice] 11937\#0: exiting
2023/12/28 10:47:55 [debug] 11937\#0: flush files
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08ABEC48
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08ADF680
2023/12/28 10:47:55 [debug] 11937\#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 10:47:55 [debug] 11937\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2023/12/28 10:47:55 [notice] 11937\#0: exiting
2023/12/28 10:47:55 [debug] 11937\#0: flush files
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08ABEC48
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08ADF680
2023/12/28 10:47:55 [debug] 11937\#0: lua decrementing the reference count for Lua VM: 1
2023/12/28 10:47:55 [debug] 11937\#0: lua close the global Lua VM B6D691C8
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08ADF660
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08ADF640
2023/12/28 10:47:55 [debug] 11937\#0: run cleanup: 08AD7E88
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:47:56 [error] 11972\#0: *351 stream lua tcp socket connect timed out, when connecting to 127.0.0.1:11211, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:47:56 [debug] 11972\#0: *351 stream lua tcp socket handle connect error
2023/12/28 10:47:56 [debug] 11972\#0: *351 stream lua finalize socket
2023/12/28 10:47:56 [debug] 11972\#0: *351 lua stream cleanup free: 08AD1688
2023/12/28 10:47:56 [debug] 11972\#0: *351 lua close socket connection
2023/12/28 10:47:56 [debug] 11972\#0: *351 free: 08AD3AD0, unused: 0
2023/12/28 10:47:56 [debug] 11972\#0: *351 reusable connection: 0
2023/12/28 10:47:56 [debug] 11972\#0: *351 stream lua tcp socket waking up the current request
2023/12/28 10:47:56 [debug] 11972\#0: *351 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:47:56 [debug] 11972\#0: *351 stream lua tcp operation done, resuming lua thread
'
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 10:47:57 [debug] 11972\#0: stream lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2023/12/28 10:47:57 [notice] 11972\#0: exiting
2023/12/28 10:47:57 [debug] 11972\#0: flush files
2023/12/28 10:47:57 [debug] 11972\#0: run cleanup: 08AB9FA8
2023/12/28 10:47:57 [debug] 11972\#0: run cleanup: 08AF8010
2023/12/28 10:47:57 [debug] 11972\#0: lua decrementing the reference count for Lua VM: 1
2023/12/28 10:47:57 [debug] 11972\#0: lua close the global Lua VM B6CA71C8
2023/12/28 10:47:57 [debug] 11972\#0: run cleanup: 08AF7FF0
2023/12/28 10:47:57 [debug] 11972\#0: run cleanup: 08AF7FD0
2023/12/28 10:47:57 [debug] 11972\#0: run cleanup: 08AE6F30
'
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 10:47:57 [debug] 12007\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/28 10:47:57 [debug] 12007\#0: stream lua tcp socket keepalive close handler: fd:17
2023/12/28 10:47:57 [debug] 12007\#0: event timer del: 17: 6417153
2023/12/28 10:47:57 [debug] 12007\#0: reusable connection: 0
2023/12/28 10:47:57 [debug] 12007\#0: stream lua tcp socket keepalive: free connection pool for "B"
2023/12/28 10:47:57 [debug] 12007\#0: worker cycle
2023/12/28 10:47:57 [debug] 12007\#0: epoll timer: 118
2023/12/28 10:47:57 [debug] 12007\#0: epoll: fd:9 ev:2011 d:08AEE2D5
2023/12/28 10:47:57 [debug] 12007\#0: epoll_wait() error on fd:9 ev:2011
2023/12/28 10:47:57 [debug] 12007\#0: *381 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 10:47:57 [debug] 12007\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2023/12/28 10:47:57 [debug] 12007\#0: worker cycle
2023/12/28 10:47:57 [debug] 12007\#0: epoll timer: 118
2023/12/28 10:47:57 [debug] 12007\#0: epoll: fd:9 ev:2011 d:08AEE2D5
2023/12/28 10:47:57 [debug] 12007\#0: epoll_wait() error on fd:9 ev:2011
2023/12/28 10:47:57 [debug] 12007\#0: *381 http wait request handler
2023/12/28 10:47:57 [debug] 12007\#0: *381 malloc: 08ABF840:52
2023/12/28 10:47:57 [debug] 12007\#0: *381 malloc: 08B02660:8
2023/12/28 10:47:57 [debug] 12007\#0: *381 malloc: 08AFB428:1024
2023/12/28 10:47:57 [debug] 12007\#0: *381 malloc: 08AD6A38: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 10:47:58 [debug] 12040\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2023/12/28 10:47:58 [debug] 12040\#0: worker cycle
2023/12/28 10:47:58 [debug] 12040\#0: epoll timer: 132
2023/12/28 10:47:58 [debug] 12040\#0: epoll: fd:6 ev:2011 d:08AC95C5
2023/12/28 10:47:58 [debug] 12040\#0: epoll_wait() error on fd:6 ev:2011
2023/12/28 10:47:58 [debug] 12040\#0: *409 http wait request handler
2023/12/28 10:47:58 [debug] 12040\#0: *409 malloc: 08AE6EF8:52
2023/12/28 10:47:58 [debug] 12040\#0: *409 malloc: 08AFD568:8
2023/12/28 10:47:58 [debug] 12040\#0: *409 malloc: 08ABA070:1024
2023/12/28 10:47:58 [debug] 12040\#0: *409 malloc: 08AE4500: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 10:48:05 [error] 12272\#0: *592 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:48:05 [debug] 12272\#0: *592 stream lua tcp socket handle read error
2023/12/28 10:48:05 [debug] 12272\#0: *592 stream lua tcp socket waking up the current request
2023/12/28 10:48:05 [debug] 12272\#0: *592 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:48:05 [debug] 12272\#0: *592 stream lua tcp operation done, resuming lua thread
2023/12/28 10:48:05 [debug] 12272\#0: *592 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D89688
2023/12/28 10:48:05 [debug] 12272\#0: *592 stream lua tcp socket receive return value handler
2023/12/28 10:48:05 [debug] 12272\#0: *592 lua run thread, top:9
2023/12/28 10:48:05 [debug] 12272\#0: *592 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:08AFC888, p:08AFFBD8
2023/12/28 10:48:05 [debug] 12272\#0: *592 free: 08AFFBD8
'
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 10:48:06 [error] 12272\#0: *592 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:48:06 [debug] 12272\#0: *592 stream lua tcp socket handle read error
2023/12/28 10:48:06 [debug] 12272\#0: *592 stream lua tcp socket waking up the current request
2023/12/28 10:48:06 [debug] 12272\#0: *592 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:48:06 [debug] 12272\#0: *592 stream lua tcp operation done, resuming lua thread
2023/12/28 10:48:06 [debug] 12272\#0: *592 stream lua tcp socket calling prepare retvals handler 0819642D, u:B6D8DB60
2023/12/28 10:48:06 [debug] 12272\#0: *592 stream lua tcp socket receive return value handler
2023/12/28 10:48:06 [debug] 12272\#0: *592 lua run thread, top:9
2023/12/28 10:48:06 [debug] 12272\#0: *592 lua reuse free buf memory 37 >= 37, cl:08AFC888, p:08AF3340
2023/12/28 10:48:06 [debug] 12272\#0: *592 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 10:48:06 [debug] 12272\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2023/12/28 10:48:06 [notice] 12272\#0: exiting
2023/12/28 10:48:06 [debug] 12272\#0: flush files
2023/12/28 10:48:06 [debug] 12272\#0: run cleanup: 08ABEC48
2023/12/28 10:48:06 [debug] 12272\#0: run cleanup: 08AE2410
2023/12/28 10:48:06 [debug] 12272\#0: lua decrementing the reference count for Lua VM: 1
2023/12/28 10:48:06 [debug] 12272\#0: lua close the global Lua VM B6D691C8
2023/12/28 10:48:06 [debug] 12272\#0: run cleanup: 08AE23F0
2023/12/28 10:48:06 [debug] 12272\#0: run cleanup: 08AE23D0
2023/12/28 10:48:06 [debug] 12272\#0: run cleanup: 08AE55D8
'
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 10:48:07 [debug] 12318\#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 10:48:07 [debug] 12318\#0: worker cycle
2023/12/28 10:48:07 [debug] 12318\#0: epoll timer: 93
2023/12/28 10:48:07 [debug] 12318\#0: epoll: fd:4 ev:2011 d:08AC95C4
2023/12/28 10:48:07 [debug] 12318\#0: epoll_wait() error on fd:4 ev:2011
2023/12/28 10:48:07 [debug] 12318\#0: *626 http wait request handler
2023/12/28 10:48:07 [debug] 12318\#0: *626 malloc: 08AF8F90:52
2023/12/28 10:48:07 [debug] 12318\#0: *626 malloc: 08AFE520:8
2023/12/28 10:48:07 [debug] 12318\#0: *626 malloc: 08ABA070:1024
2023/12/28 10:48:07 [debug] 12318\#0: *626 malloc: 08AC34C8:8
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 48: conn queuing: resume connect operation if resumed connect failed (uthread aborted while resolving) - pattern "resume success" should match a line in error.log (req 0)
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8188 pending timers
'
expected: 'stream lua found 8191 pending timers
'
Looks like you failed 1 test of 146.
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
126-shdict-frag.t TEST 7: merge big slabs (less than max slab size) backward - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-successfully set bar.
+successfully set bar with force.
failed to safe set baz: no memory
found bar: 4000
delete bar
'
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
'
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 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:56:45 [error] 28064\#0: send() failed (111: Connection refused) while logging to syslog, server: 127.0.0.1:12345" (req 0) 2023/12/28 10:56:45 [debug] 28064\#0: close listening unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock \#7
2023/12/28 10:56:45 [debug] 28064\#0: epoll del event: fd:8 op:2 ev:00000000
2023/12/28 10:56:45 [debug] 28064\#0: close listening 0.0.0.0:1985 \#8
2023/12/28 10:56:45 [debug] 28064\#0: epoll del event: fd:9 op:2 ev:00000000
2023/12/28 10:56:45 [debug] 28064\#0: close listening 0.0.0.0:1984 \#9
2023/12/28 10:56:45 [notice] 28064\#0: exiting
2023/12/28 10:56:45 [debug] 28064\#0: flush files
2023/12/28 10:56:45 [debug] 28064\#0: run cleanup: 09440FA8
2023/12/28 10:56:45 [debug] 28064\#0: run cleanup: 09493468
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:57:57 [error] 30602\#0: send() failed (111: Connection refused) while logging to syslog, server: 127.0.0.1:12345" (req 0) 2023/12/28 10:57:57 [debug] 30602\#0: close listening unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock \#13
2023/12/28 10:57:57 [debug] 30602\#0: epoll del event: fd:8 op:2 ev:00000000
2023/12/28 10:57:57 [debug] 30602\#0: close listening 0.0.0.0:1985 \#8
2023/12/28 10:57:57 [debug] 30602\#0: epoll del event: fd:9 op:2 ev:00000000
2023/12/28 10:57:57 [debug] 30602\#0: close listening 0.0.0.0:1984 \#9
2023/12/28 10:57:57 [notice] 30602\#0: exiting
2023/12/28 10:57:57 [debug] 30602\#0: flush files
2023/12/28 10:57:57 [debug] 30602\#0: run cleanup: 0976DFA8
2023/12/28 10:57:57 [debug] 30602\#0: run cleanup: 097A4A20
'

Warnings

Go back to the index page.