(This page was automatically generated by the tools in the opsboy project on 03:43:17 07-Feb-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
b7f403cb 2022-05-30 07:16:36 GMT 223 37 117 10334 2782 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

OpenSSL

OpenSSL 1.1.1n 15 Mar 2022

Compilation Errors

Unexpected Failures

File Name Details
023-preread/socket-keepalive.t TEST 1: sanity '
023-preread/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"
-lua tcp socket get keepalive peer: using connection
'
023-preread/socket-keepalive.t TEST 1: sanity '
023-preread/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-lua tcp socket get keepalive peer: using connection
-lua tcp socket get keepalive peer: using connection
'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections '
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections '
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
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)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
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)
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 55: free cleanup in ngx.timer (without sock:close) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:50:01 [error] 9553\#0: *125 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:50:01 [debug] 9553\#0: *125 stream lua tcp socket handle read error
2022/05/30 09:50:01 [debug] 9553\#0: *125 stream lua tcp socket waking up the current request
2022/05/30 09:50:01 [debug] 9553\#0: *125 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:50:01 [debug] 9553\#0: *125 stream lua tcp operation done, resuming lua thread
2022/05/30 09:50:01 [debug] 9553\#0: *125 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E27F68
2022/05/30 09:50:01 [debug] 9553\#0: *125 stream lua tcp socket receive return value handler
2022/05/30 09:50:01 [debug] 9553\#0: *125 lua run thread, top:9
2022/05/30 09:50:01 [debug] 9553\#0: *125 lua reuse free buf memory 57 >= 40, cl:09F099F0, p:09F26358
2022/05/30 09:50:01 [debug] 9553\#0: *125 lua say response
'
058-tcp-socket.t TEST 16: ngx.socket.connect (working) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:50:04 [error] 9553\#0: *131 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:50:04 [debug] 9553\#0: *131 stream lua tcp socket handle read error
2022/05/30 09:50:04 [debug] 9553\#0: *131 stream lua tcp socket waking up the current request
2022/05/30 09:50:04 [debug] 9553\#0: *131 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:50:04 [debug] 9553\#0: *131 stream lua tcp operation done, resuming lua thread
2022/05/30 09:50:04 [debug] 9553\#0: *131 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E46308
2022/05/30 09:50:04 [debug] 9553\#0: *131 stream lua tcp socket receive return value handler
2022/05/30 09:50:04 [debug] 9553\#0: *131 lua run thread, top:0
2022/05/30 09:50:04 [debug] 9553\#0: *131 lua reuse free buf memory 57 >= 40, cl:09F23F98, p:09F2A3C0
2022/05/30 09:50:04 [debug] 9553\#0: *131 lua say response
'
058-tcp-socket.t TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 23: connect again immediately - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:50:51 [error] 10523\#0: *900 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 09:50:51 [debug] 10523\#0: *900 stream lua tcp socket handle read error
2022/05/30 09:50:51 [debug] 10523\#0: *900 stream lua tcp socket waking up the current request
2022/05/30 09:50:51 [debug] 10523\#0: *900 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:50:51 [debug] 10523\#0: *900 stream lua tcp operation done, resuming lua thread
2022/05/30 09:50:51 [debug] 10523\#0: *900 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E4B830
2022/05/30 09:50:51 [debug] 10523\#0: *900 stream lua tcp socket receive return value handler
2022/05/30 09:50:51 [debug] 10523\#0: *900 lua run thread, top:0
2022/05/30 09:50:51 [debug] 10523\#0: *900 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09F52D38, p:09F0E048
2022/05/30 09:50:51 [debug] 10523\#0: *900 free: 09F0E048
'
060-lua-memcached.t TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
060-lua-memcached.t TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
066-socket-receiveuntil.t TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
068-socket-keepalive.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1, reused: 0
request sent: 11
-received: OK
+failed to receive a line: timeout []
connected: 1, reused: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1, reused: 0
request sent: 11
-received: OK
+failed to receive a line: timeout []
connected: 1, reused: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +1,8 @@
connected: 1, reused: 0
request sent: 11
-received: OK
+failed to receive a line: timeout []
connected: 1, reused: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
reused: 1
reused: 0
'
068-socket-keepalive.t TEST 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 TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool '
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:57:55 [error] 17916\#0: *65 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:57:55 [debug] 17916\#0: *65 stream lua tcp socket handle read error
2022/05/30 09:57:55 [debug] 17916\#0: *65 stream lua tcp socket waking up the current request
2022/05/30 09:57:55 [debug] 17916\#0: *65 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:57:55 [debug] 17916\#0: *65 stream lua tcp operation done, resuming lua thread
2022/05/30 09:57:55 [debug] 17916\#0: *65 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6D905B8
2022/05/30 09:57:55 [debug] 17916\#0: *65 stream lua tcp socket receive return value handler
2022/05/30 09:57:55 [debug] 17916\#0: *65 lua run thread, top:9
2022/05/30 09:57:55 [debug] 17916\#0: *65 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09187168, p:09191C20
2022/05/30 09:57:55 [debug] 17916\#0: *65 free: 09191C20
'
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:57:56 [error] 17916\#0: *69 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 09:57:56 [debug] 17916\#0: *69 stream lua tcp socket handle read error
2022/05/30 09:57:56 [debug] 17916\#0: *69 stream lua tcp socket waking up the current request
2022/05/30 09:57:56 [debug] 17916\#0: *69 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:57:56 [debug] 17916\#0: *69 stream lua tcp operation done, resuming lua thread
2022/05/30 09:57:56 [debug] 17916\#0: *69 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6DA8F98
2022/05/30 09:57:56 [debug] 17916\#0: *69 stream lua tcp socket receive return value handler
2022/05/30 09:57:56 [debug] 17916\#0: *69 lua run thread, top:0
2022/05/30 09:57:56 [debug] 17916\#0: *69 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:09187168, p:09191C20
2022/05/30 09:57:56 [debug] 17916\#0: *69 free: 09191C20
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:58:02 [error] 18010\#0: *127 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:58:02 [debug] 18010\#0: *127 stream lua tcp socket handle read error
2022/05/30 09:58:02 [debug] 18010\#0: *127 stream lua tcp socket waking up the current request
2022/05/30 09:58:02 [debug] 18010\#0: *127 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:58:02 [debug] 18010\#0: *127 stream lua tcp operation done, resuming lua thread
2022/05/30 09:58:02 [debug] 18010\#0: *127 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6D8FF80
2022/05/30 09:58:02 [debug] 18010\#0: *127 stream lua tcp socket receive return value handler
2022/05/30 09:58:02 [debug] 18010\#0: *127 lua run thread, top:9
2022/05/30 09:58:02 [debug] 18010\#0: *127 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:0919A750, p:0917E2A8
2022/05/30 09:58:02 [debug] 18010\#0: *127 free: 0917E2A8
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:58:02 [error] 18010\#0: *131 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 09:58:02 [debug] 18010\#0: *131 stream lua tcp socket handle read error
2022/05/30 09:58:02 [debug] 18010\#0: *131 stream lua tcp socket waking up the current request
2022/05/30 09:58:02 [debug] 18010\#0: *131 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:58:02 [debug] 18010\#0: *131 stream lua tcp operation done, resuming lua thread
2022/05/30 09:58:02 [debug] 18010\#0: *131 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6DA8E38
2022/05/30 09:58:02 [debug] 18010\#0: *131 stream lua tcp socket receive return value handler
2022/05/30 09:58:02 [debug] 18010\#0: *131 lua run thread, top:0
2022/05/30 09:58:02 [debug] 18010\#0: *131 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:0919A750, p:0917E2A8
2022/05/30 09:58:02 [debug] 18010\#0: *131 free: 0917E2A8
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:11 [error] 20607\#0: *65 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket handle error
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket waking up the current request
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp operation done, resuming lua thread
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket calling prepare retvals handler 08173457, u:B6DDA0D8
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket receive return value handler
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket error retval handler
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua run thread, top:9
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086D1820, p:086D5178
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:11 [error] 20607\#0: *65 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket handle error
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket waking up the current request
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp operation done, resuming lua thread
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket calling prepare retvals handler 08173457, u:B6DDA0D8
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket receive return value handler
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua udp socket error retval handler
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua run thread, top:9
2022/05/30 10:00:11 [debug] 20607\#0: *65 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086D1820, p:086D5178
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:12 [error] 20607\#0: *69 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:00:12 [debug] 20607\#0: *69 lua udp socket handle error
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua udp socket waking up the current request
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua udp operation done, resuming lua thread
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua udp socket calling prepare retvals handler 08173457, u:B6DF2838
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua udp socket receive return value handler
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua udp socket error retval handler
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua run thread, top:0
2022/05/30 10:00:12 [debug] 20607\#0: *69 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086E9B18, p:086D5178
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:18 [error] 20735\#0: *153 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket handle error
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket waking up the current request
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp operation done, resuming lua thread
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket calling prepare retvals handler 08173457, u:B6D39628
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket receive return value handler
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket error retval handler
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua run thread, top:9
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086FDB88, p:086F9EB0
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:18 [error] 20735\#0: *153 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket handle error
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket waking up the current request
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp operation done, resuming lua thread
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket calling prepare retvals handler 08173457, u:B6D39628
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket receive return value handler
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua udp socket error retval handler
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua run thread, top:9
2022/05/30 10:00:18 [debug] 20735\#0: *153 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086FDB88, p:086F9EB0
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:19 [error] 20735\#0: *157 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:00:19 [debug] 20735\#0: *157 lua udp socket handle error
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua udp socket waking up the current request
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua udp operation done, resuming lua thread
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua udp socket calling prepare retvals handler 08173457, u:B6D342B0
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua udp socket receive return value handler
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua udp socket error retval handler
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua run thread, top:0
2022/05/30 10:00:19 [debug] 20735\#0: *157 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086FB190, p:086FA730
'
087-udp-socket.t TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:39 [error] 21052\#0: *372 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket handle error
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket waking up the current request
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp operation done, resuming lua thread
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket calling prepare retvals handler 08173457, u:B6DCD470
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket receive return value handler
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket error retval handler
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua run thread, top:9
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086DC980, p:086D5C98
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:39 [error] 21052\#0: *372 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket handle error
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket waking up the current request
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp operation done, resuming lua thread
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket calling prepare retvals handler 08173457, u:B6DCD470
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket receive return value handler
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua udp socket error retval handler
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua run thread, top:9
2022/05/30 10:00:39 [debug] 21052\#0: *372 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:086DC980, p:086D5C98
'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:00:40 [error] 21052\#0: *376 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:00:40 [debug] 21052\#0: *376 lua udp socket handle error
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua udp socket waking up the current request
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua udp operation done, resuming lua thread
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua udp socket calling prepare retvals handler 08173457, u:B6DDBF10
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua udp socket receive return value handler
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua udp socket error retval handler
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua run thread, top:0
2022/05/30 10:00:40 [debug] 21052\#0: *376 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:08707B40, p:086D5C98
'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "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 28: use of ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:05:27 [error] 26483\#0: *154 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:05:27 [debug] 26483\#0: *154 lua udp socket handle error
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua udp socket waking up the current request
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua udp operation done, resuming lua thread
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua udp socket calling prepare retvals handler 08173457, u:B6DBD920
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua udp socket receive return value handler
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua udp socket error retval handler
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua run thread, top:0
2022/05/30 10:05:27 [error] 26483\#0: *154 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 28: use of ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:05:27 [error] 26483\#0: *154 stream [lua] content_by_lua(nginx.conf:64):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:05:27 [debug] 26483\#0: *154 lua resume returned 0
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua light thread ended normally
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua deleting light thread
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua run thread returned 0
2022/05/30 10:05:27 [debug] 26483\#0: *154 stream lua finalize fake request: 0
2022/05/30 10:05:27 [debug] 26483\#0: *154 stream lua close fake request
2022/05/30 10:05:27 [debug] 26483\#0: *154 cleanup lua udp socket upstream request
2022/05/30 10:05:27 [debug] 26483\#0: *154 stream lua finalize socket
2022/05/30 10:05:27 [debug] 26483\#0: *154 lua close socket connection
'
106-timer.t TEST 28: use of ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:05:28 [error] 26483\#0: *159 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:05:28 [debug] 26483\#0: *159 lua udp socket handle error
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua udp socket waking up the current request
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua udp operation done, resuming lua thread
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua udp socket calling prepare retvals handler 08173457, u:B6DC0808
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua udp socket receive return value handler
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua udp socket error retval handler
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua run thread, top:0
2022/05/30 10:05:28 [error] 26483\#0: *159 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 28: use of ngx.ctx - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:05:28 [error] 26483\#0: *159 stream [lua] content_by_lua(nginx.conf:64):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:05:28 [debug] 26483\#0: *159 lua resume returned 0
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua light thread ended normally
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua deleting light thread
2022/05/30 10:05:28 [debug] 26483\#0: *159 lua run thread returned 0
2022/05/30 10:05:28 [debug] 26483\#0: *159 stream lua finalize fake request: 0
2022/05/30 10:05:28 [debug] 26483\#0: *159 stream lua close fake request
2022/05/30 10:05:28 [debug] 26483\#0: *159 cleanup lua udp socket upstream request
2022/05/30 10:05:28 [debug] 26483\#0: *159 stream lua finalize socket
2022/05/30 10:05:28 [debug] 26483\#0: *159 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 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "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 11: shared dict - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:06:52 [error] 28065\#0: *247 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A4D8:8
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua udp socket handle error
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A4E8:24
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua udp socket waking up the current request
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A508:8
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A518:32
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua udp operation done, resuming lua thread
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A540:8
'
108-timer-safe.t TEST 11: shared dict - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:06:52 [error] 28065\#0: *247 stream [lua] content_by_lua(nginx.conf:65):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A708:8
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua resume returned 0
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A718:141
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua light thread ended normally
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 0982A7B0:8
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua deleting light thread
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 09824608:64
2022/05/30 10:06:52 [debug] 28065\#0: *247 lua run thread returned 0
2022/05/30 10:06:52 [debug] 27769\#0: malloc: 09824650:8
'
108-timer-safe.t TEST 11: shared dict - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:06:53 [error] 28065\#0: *252 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:06:53 [debug] 28065\#0: *252 lua udp socket handle error
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua udp socket waking up the current request
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua udp operation done, resuming lua thread
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua udp socket calling prepare retvals handler 08173457, u:B6DDE688
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua udp socket receive return value handler
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua udp socket error retval handler
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua run thread, top:0
2022/05/30 10:06:53 [error] 28065\#0: *252 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 11: shared dict - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:06:53 [error] 28065\#0: *252 stream [lua] content_by_lua(nginx.conf:65):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 10:06:53 [debug] 28065\#0: *252 lua resume returned 0
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua light thread ended normally
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua deleting light thread
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua run thread returned 0
2022/05/30 10:06:53 [debug] 28065\#0: *252 stream lua finalize fake request: 0
2022/05/30 10:06:53 [debug] 28065\#0: *252 stream lua close fake request
2022/05/30 10:06:53 [debug] 28065\#0: *252 cleanup lua udp socket upstream request
2022/05/30 10:06:53 [debug] 28065\#0: *252 stream lua finalize socket
2022/05/30 10:06:53 [debug] 28065\#0: *252 lua close socket connection
'
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 1)
124-init-worker.t TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 4: timer.at + cosocket - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:13:43 [error] 3060\#0: *522 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) 2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua tcp socket handle read error
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua tcp socket waking up the current request
2022/05/30 10:13:43 [debug] 3060\#0: *522 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua tcp operation done, resuming lua thread
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6CF8928
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua tcp socket receive return value handler
2022/05/30 10:13:43 [debug] 3060\#0: *522 lua run thread, top:0
2022/05/30 10:13:43 [error] 3060\#0: *522 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2022/05/30 10:13:43 [debug] 3060\#0: *522 lua resume returned 0
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:13:43 [error] 3060\#0: *522 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) 2022/05/30 10:13:43 [debug] 3060\#0: *522 lua resume returned 0
2022/05/30 10:13:43 [debug] 3060\#0: *522 lua light thread ended normally
2022/05/30 10:13:43 [debug] 3060\#0: *522 lua deleting light thread
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua run thread returned 0
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua finalize fake request: 0
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua close fake request
2022/05/30 10:13:43 [debug] 3060\#0: *522 cleanup lua tcp socket request
2022/05/30 10:13:43 [debug] 3060\#0: *522 stream lua finalize socket
2022/05/30 10:13:43 [debug] 3060\#0: *522 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 "2022/05/30 10:13:45 [error] 3060\#0: *529 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua tcp socket handle read error
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua tcp socket waking up the current request
2022/05/30 10:13:45 [debug] 3060\#0: *529 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua tcp operation done, resuming lua thread
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6CF8ED8
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua tcp socket receive return value handler
2022/05/30 10:13:45 [debug] 3060\#0: *529 lua run thread, top:0
2022/05/30 10:13:45 [error] 3060\#0: *529 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2022/05/30 10:13:45 [debug] 3060\#0: *529 lua resume returned 0
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:13:45 [error] 3060\#0: *529 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:13:45 [debug] 3060\#0: *529 lua resume returned 0
2022/05/30 10:13:45 [debug] 3060\#0: *529 lua light thread ended normally
2022/05/30 10:13:45 [debug] 3060\#0: *529 lua deleting light thread
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua run thread returned 0
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua finalize fake request: 0
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua close fake request
2022/05/30 10:13:45 [debug] 3060\#0: *529 cleanup lua tcp socket request
2022/05/30 10:13:45 [debug] 3060\#0: *529 stream lua finalize socket
2022/05/30 10:13:45 [debug] 3060\#0: *529 lua close socket connection
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:13:47 [error] 3060\#0: *536 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua tcp socket handle read error
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua tcp socket waking up the current request
2022/05/30 10:13:47 [debug] 3060\#0: *536 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua tcp operation done, resuming lua thread
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6CF95C0
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua tcp socket receive return value handler
2022/05/30 10:13:47 [debug] 3060\#0: *536 lua run thread, top:0
2022/05/30 10:13:47 [error] 3060\#0: *536 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2022/05/30 10:13:47 [debug] 3060\#0: *536 lua resume returned 0
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:13:47 [error] 3060\#0: *536 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:13:47 [debug] 3060\#0: *536 lua resume returned 0
2022/05/30 10:13:47 [debug] 3060\#0: *536 lua light thread ended normally
2022/05/30 10:13:47 [debug] 3060\#0: *536 lua deleting light thread
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua run thread returned 0
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua finalize fake request: 0
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua close fake request
2022/05/30 10:13:47 [debug] 3060\#0: *536 cleanup lua tcp socket request
2022/05/30 10:13:47 [debug] 3060\#0: *536 stream lua finalize socket
2022/05/30 10:13:47 [debug] 3060\#0: *536 lua close socket connection
'
162-ssl-client-hello-by.t TEST 18: use ssl_client_hello_by_lua* on the server {} level with non-ssl server - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:15:54 [error] 5714\#0: send() failed (111: Connection refused)" (req 0) 2022/05/30 10:15:54 [debug] 5714\#0: close listening unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock \#12
2022/05/30 10:15:54 [debug] 5714\#0: epoll del event: fd:8 op:2 ev:00000000
2022/05/30 10:15:54 [debug] 5714\#0: close listening 0.0.0.0:1985 \#8
2022/05/30 10:15:54 [debug] 5714\#0: epoll del event: fd:9 op:2 ev:00000000
2022/05/30 10:15:54 [debug] 5714\#0: close listening 0.0.0.0:1984 \#9
2022/05/30 10:15:54 [notice] 5714\#0: exiting
2022/05/30 10:15:54 [debug] 5714\#0: flush files
2022/05/30 10:15:54 [debug] 5714\#0: run cleanup: 09F36018
2022/05/30 10:15:54 [debug] 5714\#0: run cleanup: 09F876E0
'
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 "2022/05/30 10:16:19 [error] 6186\#0: *840 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) 2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua tcp socket handle read error
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua tcp socket waking up the current request
2022/05/30 10:16:19 [debug] 6186\#0: *840 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua tcp operation done, resuming lua thread
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6CEB1A0
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua tcp socket receive return value handler
2022/05/30 10:16:19 [debug] 6186\#0: *840 lua run thread, top:0
2022/05/30 10:16:19 [error] 6186\#0: *840 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2022/05/30 10:16:19 [debug] 6186\#0: *840 lua resume returned 0
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:19 [error] 6186\#0: *840 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) 2022/05/30 10:16:19 [debug] 6186\#0: *840 lua resume returned 0
2022/05/30 10:16:19 [debug] 6186\#0: *840 lua light thread ended normally
2022/05/30 10:16:19 [debug] 6186\#0: *840 lua deleting light thread
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua run thread returned 0
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua finalize fake request: 0
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua close fake request
2022/05/30 10:16:19 [debug] 6186\#0: *840 cleanup lua tcp socket request
2022/05/30 10:16:19 [debug] 6186\#0: *840 stream lua finalize socket
2022/05/30 10:16:19 [debug] 6186\#0: *840 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 "2022/05/30 10:16:21 [error] 6186\#0: *847 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua tcp socket handle read error
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua tcp socket waking up the current request
2022/05/30 10:16:21 [debug] 6186\#0: *847 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua tcp operation done, resuming lua thread
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6CD4E58
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua tcp socket receive return value handler
2022/05/30 10:16:21 [debug] 6186\#0: *847 lua run thread, top:0
2022/05/30 10:16:21 [error] 6186\#0: *847 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2022/05/30 10:16:21 [debug] 6186\#0: *847 lua resume returned 0
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:21 [error] 6186\#0: *847 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:16:21 [debug] 6186\#0: *847 lua resume returned 0
2022/05/30 10:16:21 [debug] 6186\#0: *847 lua light thread ended normally
2022/05/30 10:16:21 [debug] 6186\#0: *847 lua deleting light thread
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua run thread returned 0
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua finalize fake request: 0
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua close fake request
2022/05/30 10:16:21 [debug] 6186\#0: *847 cleanup lua tcp socket request
2022/05/30 10:16:21 [debug] 6186\#0: *847 stream lua finalize socket
2022/05/30 10:16:21 [debug] 6186\#0: *847 lua close socket connection
'
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:23 [error] 6186\#0: *854 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua tcp socket handle read error
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua tcp socket waking up the current request
2022/05/30 10:16:23 [debug] 6186\#0: *854 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua tcp operation done, resuming lua thread
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6CD5540
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua tcp socket receive return value handler
2022/05/30 10:16:23 [debug] 6186\#0: *854 lua run thread, top:0
2022/05/30 10:16:23 [error] 6186\#0: *854 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2022/05/30 10:16:23 [debug] 6186\#0: *854 lua resume returned 0
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:23 [error] 6186\#0: *854 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:16:23 [debug] 6186\#0: *854 lua resume returned 0
2022/05/30 10:16:23 [debug] 6186\#0: *854 lua light thread ended normally
2022/05/30 10:16:23 [debug] 6186\#0: *854 lua deleting light thread
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua run thread returned 0
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua finalize fake request: 0
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua close fake request
2022/05/30 10:16:23 [debug] 6186\#0: *854 cleanup lua tcp socket request
2022/05/30 10:16:23 [debug] 6186\#0: *854 stream lua finalize socket
2022/05/30 10:16:23 [debug] 6186\#0: *854 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 "2022/05/30 10:16:27 [error] 6258\#0: *883 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) 2022/05/30 10:16:27 [debug] 6258\#0: *883 lua udp socket handle error
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua udp socket waking up the current request
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua udp operation done, resuming lua thread
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua udp socket calling prepare retvals handler 08173457, u:B6D8D150
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua udp socket receive return value handler
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua udp socket error retval handler
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua run thread, top:0
2022/05/30 10:16:27 [error] 6258\#0: *883 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:27 [error] 6258\#0: *883 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) 2022/05/30 10:16:27 [debug] 6258\#0: *883 lua resume returned 0
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua light thread ended normally
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua deleting light thread
2022/05/30 10:16:27 [debug] 6258\#0: *883 lua run thread returned 0
2022/05/30 10:16:27 [debug] 6258\#0: *883 stream lua finalize fake request: 0
2022/05/30 10:16:27 [debug] 6258\#0: *883 stream lua close fake request
2022/05/30 10:16:27 [debug] 6258\#0: *883 cleanup lua udp socket upstream request
2022/05/30 10:16:27 [debug] 6258\#0: *883 stream lua finalize socket
2022/05/30 10:16:27 [debug] 6258\#0: *883 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 "2022/05/30 10:16:29 [error] 6258\#0: *890 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:16:29 [debug] 6258\#0: *890 lua udp socket handle error
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua udp socket waking up the current request
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua udp operation done, resuming lua thread
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua udp socket calling prepare retvals handler 08173457, u:B6D8D428
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua udp socket receive return value handler
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua udp socket error retval handler
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua run thread, top:0
2022/05/30 10:16:29 [error] 6258\#0: *890 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:29 [error] 6258\#0: *890 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:16:29 [debug] 6258\#0: *890 lua resume returned 0
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua light thread ended normally
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua deleting light thread
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua run thread returned 0
2022/05/30 10:16:29 [debug] 6258\#0: *890 stream lua finalize fake request: 0
2022/05/30 10:16:29 [debug] 6258\#0: *890 stream lua close fake request
2022/05/30 10:16:29 [debug] 6258\#0: *890 cleanup lua udp socket upstream request
2022/05/30 10:16:29 [debug] 6258\#0: *890 stream lua finalize socket
2022/05/30 10:16:29 [debug] 6258\#0: *890 lua close socket connection
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:31 [error] 6258\#0: *897 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:16:31 [debug] 6258\#0: *897 lua udp socket handle error
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua udp socket waking up the current request
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua ngx_stream_lua_content_wev_handler
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua udp operation done, resuming lua thread
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua udp socket calling prepare retvals handler 08173457, u:B6D77020
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua udp socket receive return value handler
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua udp socket error retval handler
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua run thread, top:0
2022/05/30 10:16:31 [error] 6258\#0: *897 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:16:31 [error] 6258\#0: *897 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:16:31 [debug] 6258\#0: *897 lua resume returned 0
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua light thread ended normally
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua deleting light thread
2022/05/30 10:16:31 [debug] 6258\#0: *897 lua run thread returned 0
2022/05/30 10:16:31 [debug] 6258\#0: *897 stream lua finalize fake request: 0
2022/05/30 10:16:31 [debug] 6258\#0: *897 stream lua close fake request
2022/05/30 10:16:31 [debug] 6258\#0: *897 cleanup lua udp socket upstream request
2022/05/30 10:16:31 [debug] 6258\#0: *897 stream lua finalize socket
2022/05/30 10:16:31 [debug] 6258\#0: *897 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: '4
'
expected: '0
'
043-shdict.t TEST 53: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) got: '2053
'
expected: '2048
'
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 = hello, world
'
043-shdict.t TEST 43: flush_expires an empty dict - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '0
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+56
-nil
+56
'
043-shdict.t TEST 28: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:55:49 [error] 15723\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:55:49 [debug] 15723\#0: *3 stream lua tcp socket handle read error
2022/05/30 09:55:49 [debug] 15723\#0: *3 stream lua tcp socket waking up the current request
2022/05/30 09:55:49 [debug] 15723\#0: *3 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:55:49 [debug] 15723\#0: *3 stream lua tcp operation done, resuming lua thread
2022/05/30 09:55:49 [debug] 15723\#0: *3 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E76550
2022/05/30 09:55:49 [debug] 15723\#0: *3 stream lua tcp socket receive return value handler
2022/05/30 09:55:49 [debug] 15723\#0: *3 lua run thread, top:9
2022/05/30 09:55:49 [debug] 15723\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:096E2A70, p:09702990
2022/05/30 09:55:49 [debug] 15723\#0: *3 free: 09702990
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:55:50 [error] 15723\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:55:50 [debug] 15723\#0: *3 stream lua tcp socket handle read error
2022/05/30 09:55:50 [debug] 15723\#0: *3 stream lua tcp socket waking up the current request
2022/05/30 09:55:50 [debug] 15723\#0: *3 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:55:50 [debug] 15723\#0: *3 stream lua tcp operation done, resuming lua thread
2022/05/30 09:55:50 [debug] 15723\#0: *3 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E5BA60
2022/05/30 09:55:50 [debug] 15723\#0: *3 stream lua tcp socket receive return value handler
2022/05/30 09:55:50 [debug] 15723\#0: *3 lua run thread, top:9
2022/05/30 09:55:50 [debug] 15723\#0: *3 lua reuse free buf memory 37 >= 37, cl:096E2A70, p:096F7BD8
2022/05/30 09:55:50 [debug] 15723\#0: *3 lua say response
'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:55:53 [error] 15742\#0: *29 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:55:53 [debug] 15742\#0: *29 stream lua tcp socket handle read error
2022/05/30 09:55:53 [debug] 15742\#0: *29 stream lua tcp socket waking up the current request
2022/05/30 09:55:53 [debug] 15742\#0: *29 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:55:53 [debug] 15742\#0: *29 stream lua tcp operation done, resuming lua thread
2022/05/30 09:55:53 [debug] 15742\#0: *29 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6DB6E88
2022/05/30 09:55:53 [debug] 15742\#0: *29 stream lua tcp socket receive return value handler
2022/05/30 09:55:53 [debug] 15742\#0: *29 lua run thread, top:9
2022/05/30 09:55:53 [debug] 15742\#0: *29 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:096F9318, p:0971C048
2022/05/30 09:55:53 [debug] 15742\#0: *29 free: 0971C048
'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:55:54 [error] 15742\#0: *29 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:55:54 [debug] 15742\#0: *29 stream lua tcp socket handle read error
2022/05/30 09:55:54 [debug] 15742\#0: *29 stream lua tcp socket waking up the current request
2022/05/30 09:55:54 [debug] 15742\#0: *29 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:55:54 [debug] 15742\#0: *29 stream lua tcp operation done, resuming lua thread
2022/05/30 09:55:54 [debug] 15742\#0: *29 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6D9D938
2022/05/30 09:55:54 [debug] 15742\#0: *29 stream lua tcp socket receive return value handler
2022/05/30 09:55:54 [debug] 15742\#0: *29 lua run thread, top:9
2022/05/30 09:55:54 [debug] 15742\#0: *29 lua reuse free buf memory 37 >= 37, cl:096F9318, p:0971C318
2022/05/30 09:55:54 [debug] 15742\#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 "2022/05/30 09:56:18 [debug] 16140\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2022/05/30 09:56:18 [debug] 16140\#0: *272 http keepalive handler
2022/05/30 09:56:18 [debug] 16140\#0: *272 close http connection: 16
2022/05/30 09:56:18 [debug] 16140\#0: *272 event timer del: 16: 9715948
2022/05/30 09:56:18 [debug] 16140\#0: *272 reusable connection: 0
2022/05/30 09:56:18 [debug] 16140\#0: *272 free: 09700C68, unused: 0
2022/05/30 09:56:18 [debug] 16140\#0: *272 free: 096F0010, unused: 0
2022/05/30 09:56:18 [debug] 16140\#0: *272 free: 096EFFF0, unused: 0
2022/05/30 09:56:18 [debug] 16140\#0: *272 free: 096FBDE0, unused: 0
2022/05/30 09:56:18 [debug] 16140\#0: *272 free: 09705828, unused: 0
'
068-socket-keepalive.t TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:20 [debug] 16186\#0: stream lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2022/05/30 09:56:20 [debug] 16186\#0: *298 http keepalive handler
2022/05/30 09:56:20 [debug] 16186\#0: *298 close http connection: 17
2022/05/30 09:56:20 [debug] 16186\#0: *298 event timer del: 17: 9726607
2022/05/30 09:56:20 [debug] 16186\#0: *298 reusable connection: 0
2022/05/30 09:56:20 [debug] 16186\#0: *298 free: 09708218, unused: 0
2022/05/30 09:56:20 [debug] 16186\#0: *298 free: 096E26A8, unused: 0
2022/05/30 09:56:20 [debug] 16186\#0: *298 free: 096E2688, unused: 0
2022/05/30 09:56:20 [debug] 16186\#0: *298 free: 096D90B8, unused: 0
2022/05/30 09:56:20 [debug] 16186\#0: *298 free: 096D90A8, unused: 0
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:22 [debug] 16219\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2022/05/30 09:56:22 [debug] 16219\#0: stream lua tcp socket keepalive close handler: fd:16
2022/05/30 09:56:22 [debug] 16219\#0: event timer del: 16: 9720383
2022/05/30 09:56:22 [debug] 16219\#0: reusable connection: 0
2022/05/30 09:56:22 [debug] 16219\#0: stream lua tcp socket keepalive: free connection pool for "B"
2022/05/30 09:56:22 [notice] 16219\#0: exiting
2022/05/30 09:56:22 [debug] 16219\#0: flush files
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096DDB60
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096FE1D0
2022/05/30 09:56:22 [debug] 16219\#0: lua decrementing the reference count for Lua VM: 1
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:22 [debug] 16219\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2022/05/30 09:56:22 [notice] 16219\#0: exiting
2022/05/30 09:56:22 [debug] 16219\#0: flush files
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096DDB60
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096FE1D0
2022/05/30 09:56:22 [debug] 16219\#0: lua decrementing the reference count for Lua VM: 1
2022/05/30 09:56:22 [debug] 16219\#0: lua close the global Lua VM B6E1B1C8
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096FE1B0
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096FE190
2022/05/30 09:56:22 [debug] 16219\#0: run cleanup: 096E95D8
'
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:23 [debug] 16259\#0: stream lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2022/05/30 09:56:23 [notice] 16259\#0: exiting
2022/05/30 09:56:23 [debug] 16259\#0: flush files
2022/05/30 09:56:23 [debug] 16259\#0: run cleanup: 096D9018
2022/05/30 09:56:23 [debug] 16259\#0: run cleanup: 09707B90
2022/05/30 09:56:23 [debug] 16259\#0: lua decrementing the reference count for Lua VM: 1
2022/05/30 09:56:23 [debug] 16259\#0: lua close the global Lua VM B6D791C8
2022/05/30 09:56:23 [debug] 16259\#0: run cleanup: 09707B70
2022/05/30 09:56:23 [debug] 16259\#0: run cleanup: 09707B50
2022/05/30 09:56:23 [debug] 16259\#0: run cleanup: 096DF4F0
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:25 [debug] 16301\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2022/05/30 09:56:25 [debug] 16301\#0: stream lua tcp socket keepalive close handler: fd:17
2022/05/30 09:56:25 [debug] 16301\#0: event timer del: 17: 9724031
2022/05/30 09:56:25 [debug] 16301\#0: reusable connection: 0
2022/05/30 09:56:25 [debug] 16301\#0: stream lua tcp socket keepalive: free connection pool for "B"
2022/05/30 09:56:25 [debug] 16301\#0: worker cycle
2022/05/30 09:56:25 [debug] 16301\#0: epoll timer: 59440
2022/05/30 09:56:25 [debug] 16301\#0: epoll: fd:9 ev:2011 d:0971DD39
2022/05/30 09:56:25 [debug] 16301\#0: epoll_wait() error on fd:9 ev:2011
2022/05/30 09:56:25 [debug] 16301\#0: *379 http wait request handler
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:25 [debug] 16301\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2022/05/30 09:56:25 [debug] 16301\#0: worker cycle
2022/05/30 09:56:25 [debug] 16301\#0: epoll timer: 59440
2022/05/30 09:56:25 [debug] 16301\#0: epoll: fd:9 ev:2011 d:0971DD39
2022/05/30 09:56:25 [debug] 16301\#0: epoll_wait() error on fd:9 ev:2011
2022/05/30 09:56:25 [debug] 16301\#0: *379 http wait request handler
2022/05/30 09:56:25 [debug] 16301\#0: *379 malloc: 09727D48:52
2022/05/30 09:56:25 [debug] 16301\#0: *379 malloc: 096F9CD8:8
2022/05/30 09:56:25 [debug] 16301\#0: *379 malloc: 09709C88:1024
2022/05/30 09:56:25 [debug] 16301\#0: *379 malloc: 096FE8E0:8
'
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:27 [debug] 16335\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2022/05/30 09:56:27 [debug] 16335\#0: worker cycle
2022/05/30 09:56:27 [debug] 16335\#0: epoll timer: 59474
2022/05/30 09:56:27 [debug] 16335\#0: epoll: fd:6 ev:2011 d:096EA7D1
2022/05/30 09:56:27 [debug] 16335\#0: epoll_wait() error on fd:6 ev:2011
2022/05/30 09:56:27 [debug] 16335\#0: *407 http wait request handler
2022/05/30 09:56:27 [debug] 16335\#0: *407 malloc: 0971B708:52
2022/05/30 09:56:27 [debug] 16335\#0: *407 malloc: 096F71E8:8
2022/05/30 09:56:27 [debug] 16335\#0: *407 malloc: 096F4D70:1024
2022/05/30 09:56:27 [debug] 16335\#0: *407 malloc: 0971C798:8
'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:56:41 [error] 16607\#0: *590 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:56:41 [debug] 16607\#0: *590 stream lua tcp socket handle read error
2022/05/30 09:56:41 [debug] 16607\#0: *590 stream lua tcp socket waking up the current request
2022/05/30 09:56:41 [debug] 16607\#0: *590 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:56:41 [debug] 16607\#0: *590 stream lua tcp operation done, resuming lua thread
2022/05/30 09:56:41 [debug] 16607\#0: *590 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E56380
2022/05/30 09:56:41 [debug] 16607\#0: *590 stream lua tcp socket receive return value handler
2022/05/30 09:56:41 [debug] 16607\#0: *590 lua run thread, top:9
2022/05/30 09:56:41 [debug] 16607\#0: *590 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:097249B8, p:096FD930
2022/05/30 09:56:41 [debug] 16607\#0: *590 free: 096FD930
'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 09:56:42 [error] 16607\#0: *590 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2022/05/30 09:56:42 [debug] 16607\#0: *590 stream lua tcp socket handle read error
2022/05/30 09:56:42 [debug] 16607\#0: *590 stream lua tcp socket waking up the current request
2022/05/30 09:56:42 [debug] 16607\#0: *590 lua ngx_stream_lua_content_wev_handler
2022/05/30 09:56:42 [debug] 16607\#0: *590 stream lua tcp operation done, resuming lua thread
2022/05/30 09:56:42 [debug] 16607\#0: *590 stream lua tcp socket calling prepare retvals handler 0816E739, u:B6E6F020
2022/05/30 09:56:42 [debug] 16607\#0: *590 stream lua tcp socket receive return value handler
2022/05/30 09:56:42 [debug] 16607\#0: *590 lua run thread, top:9
2022/05/30 09:56:42 [debug] 16607\#0: *590 lua reuse free buf memory 37 >= 37, cl:097249B8, p:096FFA68
2022/05/30 09:56:42 [debug] 16607\#0: *590 lua say response
'
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:42 [debug] 16607\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2022/05/30 09:56:42 [notice] 16607\#0: exiting
2022/05/30 09:56:42 [debug] 16607\#0: flush files
2022/05/30 09:56:42 [debug] 16607\#0: run cleanup: 096DDB60
2022/05/30 09:56:42 [debug] 16607\#0: run cleanup: 09708438
2022/05/30 09:56:42 [debug] 16607\#0: lua decrementing the reference count for Lua VM: 1
2022/05/30 09:56:42 [debug] 16607\#0: lua close the global Lua VM B6E1B1C8
2022/05/30 09:56:42 [debug] 16607\#0: run cleanup: 09708418
2022/05/30 09:56:42 [debug] 16607\#0: run cleanup: 097083F8
2022/05/30 09:56:42 [debug] 16607\#0: run cleanup: 096F0E00
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2022/05/30 09:56:44 [debug] 16658\#0: stream lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2022/05/30 09:56:44 [debug] 16658\#0: worker cycle
2022/05/30 09:56:44 [debug] 16658\#0: epoll timer: 59399
2022/05/30 09:56:44 [debug] 16658\#0: epoll: fd:4 ev:2011 d:096EA6F8
2022/05/30 09:56:44 [debug] 16658\#0: epoll_wait() error on fd:4 ev:2011
2022/05/30 09:56:44 [debug] 16658\#0: *624 http wait request handler
2022/05/30 09:56:44 [debug] 16658\#0: *624 malloc: 09727ED8:52
2022/05/30 09:56:44 [debug] 16658\#0: *624 malloc: 096FA380:8
2022/05/30 09:56:44 [debug] 16658\#0: *624 malloc: 096DF6A0:1024
2022/05/30 09:56:44 [debug] 16658\#0: *624 malloc: 097004C0:8
'
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 0) got: 'stream lua found 8189 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8186 pending timers
'
expected: 'stream lua found 8191 pending timers
'
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
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 5: merge one single-page block forward, but no more - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
successfully set baz.
found foo: 4000
'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.