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

Detailed Test Report for ngx_stream_lua in linux i386 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
cafa6f55 2023-12-28 09:02:36 GMT 156 93 118 10366 5764 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

Compilation Errors

Segmentation Faults

Unexpected Failures

File Name Details
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 - 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 - 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 - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-preread/tcp-socket.t TEST 5: connection timeout (tcp) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connect: nil timeout
-send: nil closed
+send: nil closed-receive: nil closed
-close: nil closed
'
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) - 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 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) - 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
'
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 - 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 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 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 - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - 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 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)$)'
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 - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t 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 - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
066-socket-receiveuntil.t 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 - 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 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:57 [error] 30901\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:55:57 [debug] 30901\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:55:57 [debug] 30901\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:55:57 [debug] 30901\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:55:57 [debug] 30901\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:55:57 [debug] 30901\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCC658
2023/12/28 09:55:57 [debug] 30901\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:55:57 [debug] 30901\#0: *3 lua run thread, top:9
2023/12/28 09:55:57 [debug] 30901\#0: *3 malloc: 04BCF7F0:8
2023/12/28 09:55:57 [debug] 30901\#0: *3 malloc: 04BCF828:8
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:58 [error] 30901\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:55:58 [debug] 30901\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:55:58 [debug] 30901\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:55:58 [debug] 30901\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:55:58 [debug] 30901\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:55:58 [debug] 30901\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD0D58
2023/12/28 09:55:58 [debug] 30901\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:55:58 [debug] 30901\#0: *3 lua run thread, top:9
2023/12/28 09:55:58 [debug] 30901\#0: *3 malloc: 04BD13F8:8
2023/12/28 09:55:58 [debug] 30901\#0: *3 malloc: 04BD1430:8
'
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 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:56:02 [error] 30938\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:56:02 [debug] 30938\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:56:02 [debug] 30938\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:56:02 [debug] 30938\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:56:02 [debug] 30938\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:56:02 [debug] 30938\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCCF08
2023/12/28 09:56:02 [debug] 30938\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:56:02 [debug] 30938\#0: *3 lua run thread, top:9
2023/12/28 09:56:02 [debug] 30938\#0: *3 malloc: 04BD00A0:8
2023/12/28 09:56:02 [debug] 30938\#0: *3 malloc: 04BD00D8:8
'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:56:03 [error] 30938\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:56:03 [debug] 30938\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:56:03 [debug] 30938\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:56:03 [debug] 30938\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:56:03 [debug] 30938\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:56:03 [debug] 30938\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD1608
2023/12/28 09:56:03 [debug] 30938\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:56:03 [debug] 30938\#0: *3 lua run thread, top:9
2023/12/28 09:56:03 [debug] 30938\#0: *3 malloc: 04BD1CA8:8
2023/12/28 09:56:03 [debug] 30938\#0: *3 malloc: 04BD1CE0:8
'
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 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:32 [error] 31487\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:57:32 [debug] 31487\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:57:32 [debug] 31487\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:57:32 [debug] 31487\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:57:32 [debug] 31487\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:57:32 [debug] 31487\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCE038
2023/12/28 09:57:32 [debug] 31487\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:57:32 [debug] 31487\#0: *3 lua run thread, top:9
2023/12/28 09:57:32 [debug] 31487\#0: *3 malloc: 04BD12F8:8
2023/12/28 09:57:32 [debug] 31487\#0: *3 malloc: 04BD1330:8
'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:57:33 [error] 31487\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:57:33 [debug] 31487\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:57:33 [debug] 31487\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:57:33 [debug] 31487\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:57:33 [debug] 31487\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:57:33 [debug] 31487\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD16B0
2023/12/28 09:57:33 [debug] 31487\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:57:33 [debug] 31487\#0: *3 lua run thread, top:9
2023/12/28 09:57:33 [debug] 31487\#0: *3 malloc: 04BD1D50:8
2023/12/28 09:57:33 [debug] 31487\#0: *3 malloc: 04BD1D88:8
'
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
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:27 [error] 32202\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:59:27 [debug] 32202\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:59:27 [debug] 32202\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:59:27 [debug] 32202\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:27 [debug] 32202\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:27 [debug] 32202\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCBF70
2023/12/28 09:59:27 [debug] 32202\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:59:27 [debug] 32202\#0: *3 lua run thread, top:9
2023/12/28 09:59:27 [debug] 32202\#0: *3 malloc: 04BCED88:8
2023/12/28 09:59:27 [debug] 32202\#0: *3 malloc: 04BCEDC0:8
'
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:28 [error] 32202\#0: *7 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:59:28 [debug] 32202\#0: *7 stream lua tcp socket handle read error
2023/12/28 09:59:28 [debug] 32202\#0: *7 stream lua tcp socket waking up the current request
2023/12/28 09:59:28 [debug] 32202\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:28 [debug] 32202\#0: *7 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:28 [debug] 32202\#0: *7 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD20D0
2023/12/28 09:59:28 [debug] 32202\#0: *7 stream lua tcp socket receive return value handler
2023/12/28 09:59:28 [debug] 32202\#0: *7 lua run thread, top:0
2023/12/28 09:59:28 [debug] 32202\#0: *7 malloc: 04BD4E08:8
2023/12/28 09:59:28 [debug] 32202\#0: *7 malloc: 04BD4E40:8
'
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 - 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 "2023/12/28 09:59:46 [error] 32319\#0: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:59:46 [debug] 32319\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:59:46 [debug] 32319\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:59:46 [debug] 32319\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:46 [debug] 32319\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:46 [debug] 32319\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCBC08
2023/12/28 09:59:46 [debug] 32319\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:59:46 [debug] 32319\#0: *3 lua run thread, top:9
2023/12/28 09:59:46 [debug] 32319\#0: *3 malloc: 04BCEA20:8
2023/12/28 09:59:46 [debug] 32319\#0: *3 malloc: 04BCEA58:8
'
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:47 [error] 32319\#0: *7 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:59:47 [debug] 32319\#0: *7 stream lua tcp socket handle read error
2023/12/28 09:59:47 [debug] 32319\#0: *7 stream lua tcp socket waking up the current request
2023/12/28 09:59:47 [debug] 32319\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:47 [debug] 32319\#0: *7 stream lua tcp operation done, resuming lua thread
2023/12/28 09:59:47 [debug] 32319\#0: *7 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD2660
2023/12/28 09:59:47 [debug] 32319\#0: *7 stream lua tcp socket receive return value handler
2023/12/28 09:59:47 [debug] 32319\#0: *7 lua run thread, top:0
2023/12/28 09:59:47 [debug] 32319\#0: *7 malloc: 04BD5398:8
2023/12/28 09:59:47 [debug] 32319\#0: *7 malloc: 04BD53D0:8
'
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 - 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 "2023/12/28 10:04:51 [error] 1800\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket handle error
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket waking up the current request
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCC370
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket receive return value handler
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket error retval handler
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua run thread, top:9
2023/12/28 10:04:51 [debug] 1800\#0: *3 malloc: 04BCDB80:8
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:04:51 [error] 1800\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket handle error
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket waking up the current request
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCC370
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket receive return value handler
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua udp socket error retval handler
2023/12/28 10:04:51 [debug] 1800\#0: *3 lua run thread, top:9
2023/12/28 10:04:51 [debug] 1800\#0: *3 malloc: 04BCDB80:8
'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:04:52 [error] 1800\#0: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:04:52 [debug] 1800\#0: *7 lua udp socket handle error
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua udp socket waking up the current request
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua udp operation done, resuming lua thread
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua udp socket calling prepare retvals handler 0819B147, u:04BD0EE0
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua udp socket receive return value handler
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua udp socket error retval handler
2023/12/28 10:04:52 [debug] 1800\#0: *7 lua run thread, top:0
2023/12/28 10:04:52 [debug] 1800\#0: *7 malloc: 04BD26A0:8
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:05:16 [error] 1956\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket handle error
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket waking up the current request
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCB718
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket receive return value handler
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket error retval handler
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua run thread, top:9
2023/12/28 10:05:16 [debug] 1956\#0: *3 malloc: 04BCCEC8:8
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:05:16 [error] 1956\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket handle error
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket waking up the current request
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCB718
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket receive return value handler
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua udp socket error retval handler
2023/12/28 10:05:16 [debug] 1956\#0: *3 lua run thread, top:9
2023/12/28 10:05:16 [debug] 1956\#0: *3 malloc: 04BCCEC8:8
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:05:18 [error] 1956\#0: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:05:18 [debug] 1956\#0: *7 lua udp socket handle error
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua udp socket waking up the current request
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua udp operation done, resuming lua thread
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua udp socket calling prepare retvals handler 0819B147, u:04BD0240
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua udp socket receive return value handler
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua udp socket error retval handler
2023/12/28 10:05:18 [debug] 1956\#0: *7 lua run thread, top:0
2023/12/28 10:05:18 [debug] 1956\#0: *7 malloc: 04BD19A0:8
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:05:22 [error] 1993\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket handle error
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket waking up the current request
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCB7E8
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket receive return value handler
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket error retval handler
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua run thread, top:9
2023/12/28 10:05:22 [debug] 1993\#0: *3 malloc: 04BCCF98:8
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:05:22 [error] 1993\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket handle error
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket waking up the current request
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCB7E8
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket receive return value handler
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua udp socket error retval handler
2023/12/28 10:05:22 [debug] 1993\#0: *3 lua run thread, top:9
2023/12/28 10:05:22 [debug] 1993\#0: *3 malloc: 04BCCF98:8
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:05:23 [error] 1993\#0: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:05:23 [debug] 1993\#0: *7 lua udp socket handle error
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua udp socket waking up the current request
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua udp operation done, resuming lua thread
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua udp socket calling prepare retvals handler 0819B147, u:04BD02F8
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua udp socket receive return value handler
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua udp socket error retval handler
2023/12/28 10:05:23 [debug] 1993\#0: *7 lua run thread, top:0
2023/12/28 10:05:23 [debug] 1993\#0: *7 malloc: 04BD1A58:8
'
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 - 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
'
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times - status code ok got: ''
expected: '200'
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times - response_body - response is expected (repeated req 0, req 0) @@ -1,100 +0,0 @@
-1: done
-2: done
-3: done
-4: done
-5: done
-6: done
-7: done
-8: done
-9: done
-10: done
-11: done
-12: done
-13: done
-14: done
-15: done
-16: done
-17: done
-18: done
-19: done
-20: done
-21: done
-22: done
-23: done
-24: done
-25: done
-26: done
-27: done
-28: done
-29: done
-30: done
-31: done
-32: done
-33: done
-34: done
-35: done
-36: done
-37: done
-38: done
-39: done
-40: done
-41: done
-42: done
-43: done
-44: done
-45: done
-46: done
-47: done
-48: done
-49: done
-50: done
-51: done
-52: done
-53: done
-54: done
-55: done
-56: done
-57: done
-58: done
-59: done
-60: done
-61: done
-62: done
-63: done
-64: done
-65: done
-66: done
-67: done
-68: done
-69: done
-70: done
-71: done
-72: done
-73: done
-74: done
-75: done
-76: done
-77: done
-78: done
-79: done
-80: done
-81: done
-82: done
-83: done
-84: done
-85: done
-86: done
-87: done
-88: done
-89: done
-90: done
-91: done
-92: done
-93: done
-94: done
-95: done
-96: done
-97: done
-98: done
-99: done
-100: done
'
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times - status code ok got: ''
expected: '200'
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times - response_body - response is expected (repeated req 1, req 0) @@ -1,100 +0,0 @@
-1: done
-2: done
-3: done
-4: done
-5: done
-6: done
-7: done
-8: done
-9: done
-10: done
-11: done
-12: done
-13: done
-14: done
-15: done
-16: done
-17: done
-18: done
-19: done
-20: done
-21: done
-22: done
-23: done
-24: done
-25: done
-26: done
-27: done
-28: done
-29: done
-30: done
-31: done
-32: done
-33: done
-34: done
-35: done
-36: done
-37: done
-38: done
-39: done
-40: done
-41: done
-42: done
-43: done
-44: done
-45: done
-46: done
-47: done
-48: done
-49: done
-50: done
-51: done
-52: done
-53: done
-54: done
-55: done
-56: done
-57: done
-58: done
-59: done
-60: done
-61: done
-62: done
-63: done
-64: done
-65: done
-66: done
-67: done
-68: done
-69: done
-70: done
-71: done
-72: done
-73: done
-74: done
-75: done
-76: done
-77: done
-78: done
-79: done
-80: done
-81: done
-82: done
-83: done
-84: done
-85: done
-86: done
-87: done
-88: done
-89: done
-90: done
-91: done
-92: done
-93: done
-94: done
-95: done
-96: done
-97: done
-98: done
-99: done
-100: done
'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:14:48 [error] 5525\#0: *4 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:14:48 [debug] 5525\#0: *4 lua udp socket handle error
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua udp socket waking up the current request
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua udp operation done, resuming lua thread
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua udp socket calling prepare retvals handler 0819B147, u:04C05508
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua udp socket receive return value handler
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua udp socket error retval handler
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua run thread, top:0
2023/12/28 10:14:48 [error] 5525\#0: *4 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 8: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:14:48 [error] 5525\#0: *4 stream [lua] content_by_lua(nginx.conf:64):4: fail(): failed to receive data: timeout, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:14:48 [debug] 5525\#0: *4 lua resume returned 0
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua light thread ended normally
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua deleting light thread
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua run thread returned 0
2023/12/28 10:14:48 [debug] 5525\#0: *4 stream lua finalize fake request: 0
2023/12/28 10:14:48 [debug] 5525\#0: *4 stream lua close fake request
2023/12/28 10:14:48 [debug] 5525\#0: *4 cleanup lua udp socket upstream request
2023/12/28 10:14:48 [debug] 5525\#0: *4 stream lua finalize socket
2023/12/28 10:14:48 [debug] 5525\#0: *4 lua close socket connection
'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:18:09 [error] 6768\#0: *4 lua udp socket read timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 10:18:09 [debug] 6768\#0: *4 lua udp socket handle error
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua udp socket waking up the current request
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua udp operation done, resuming lua thread
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua udp socket calling prepare retvals handler 0819B147, u:04C05C08
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua udp socket receive return value handler
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua udp socket error retval handler
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua run thread, top:0
2023/12/28 10:18:09 [error] 6768\#0: *4 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 6: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:18:09 [error] 6768\#0: *4 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 1) 2023/12/28 10:18:09 [debug] 6768\#0: *4 lua resume returned 0
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua light thread ended normally
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua deleting light thread
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua run thread returned 0
2023/12/28 10:18:09 [debug] 6768\#0: *4 stream lua finalize fake request: 0
2023/12/28 10:18:09 [debug] 6768\#0: *4 stream lua close fake request
2023/12/28 10:18:09 [debug] 6768\#0: *4 cleanup lua udp socket upstream request
2023/12/28 10:18:09 [debug] 6768\#0: *4 stream lua finalize socket
2023/12/28 10:18:09 [debug] 6768\#0: *4 lua close socket connection
'
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) - 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) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:35:26 [error] 13324\#0: *6 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua tcp socket handle read error
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua tcp socket waking up the current request
2023/12/28 10:35:26 [debug] 13324\#0: *6 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua tcp operation done, resuming lua thread
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C0CF28
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua tcp socket receive return value handler
2023/12/28 10:35:26 [debug] 13324\#0: *6 lua run thread, top:0
2023/12/28 10:35:26 [error] 13324\#0: *6 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 10:35:26 [debug] 13324\#0: *6 lua resume returned 0
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:35:26 [error] 13324\#0: *6 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 10:35:26 [debug] 13324\#0: *6 lua resume returned 0
2023/12/28 10:35:26 [debug] 13324\#0: *6 lua light thread ended normally
2023/12/28 10:35:26 [debug] 13324\#0: *6 lua deleting light thread
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua run thread returned 0
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua finalize fake request: 0
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua close fake request
2023/12/28 10:35:26 [debug] 13324\#0: *6 cleanup lua tcp socket request
2023/12/28 10:35:26 [debug] 13324\#0: *6 stream lua finalize socket
2023/12/28 10:35:26 [debug] 13324\#0: *6 poll del event: fd:15 ev:1
'
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 "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:35:29 [error] 13324\#0: *13 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua tcp socket handle read error
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua tcp socket waking up the current request
2023/12/28 10:35:29 [debug] 13324\#0: *13 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua tcp operation done, resuming lua thread
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C48708
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua tcp socket receive return value handler
2023/12/28 10:35:29 [debug] 13324\#0: *13 lua run thread, top:0
2023/12/28 10:35:29 [error] 13324\#0: *13 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 10:35:29 [debug] 13324\#0: *13 lua resume returned 0
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:35:29 [error] 13324\#0: *13 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 10:35:29 [debug] 13324\#0: *13 lua resume returned 0
2023/12/28 10:35:29 [debug] 13324\#0: *13 lua light thread ended normally
2023/12/28 10:35:29 [debug] 13324\#0: *13 lua deleting light thread
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua run thread returned 0
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua finalize fake request: 0
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua close fake request
2023/12/28 10:35:29 [debug] 13324\#0: *13 cleanup lua tcp socket request
2023/12/28 10:35:29 [debug] 13324\#0: *13 stream lua finalize socket
2023/12/28 10:35:29 [debug] 13324\#0: *13 poll del event: fd:15 ev:1
'
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 "received memc reply: OK" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:35:32 [error] 13324\#0: *20 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua tcp socket handle read error
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua tcp socket waking up the current request
2023/12/28 10:35:32 [debug] 13324\#0: *20 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua tcp operation done, resuming lua thread
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C82430
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua tcp socket receive return value handler
2023/12/28 10:35:32 [debug] 13324\#0: *20 lua run thread, top:0
2023/12/28 10:35:32 [error] 13324\#0: *20 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 10:35:32 [debug] 13324\#0: *20 lua resume returned 0
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:35:32 [error] 13324\#0: *20 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 10:35:32 [debug] 13324\#0: *20 lua resume returned 0
2023/12/28 10:35:32 [debug] 13324\#0: *20 lua light thread ended normally
2023/12/28 10:35:32 [debug] 13324\#0: *20 lua deleting light thread
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua run thread returned 0
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua finalize fake request: 0
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua close fake request
2023/12/28 10:35:32 [debug] 13324\#0: *20 cleanup lua tcp socket request
2023/12/28 10:35:32 [debug] 13324\#0: *20 stream lua finalize socket
2023/12/28 10:35:32 [debug] 13324\#0: *20 poll del event: fd:15 ev:1
'
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:40:45 [error] 15376\#0: *6 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua tcp socket handle read error
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua tcp socket waking up the current request
2023/12/28 10:40:45 [debug] 15376\#0: *6 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua tcp operation done, resuming lua thread
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C0C030
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua tcp socket receive return value handler
2023/12/28 10:40:45 [debug] 15376\#0: *6 lua run thread, top:0
2023/12/28 10:40:45 [error] 15376\#0: *6 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 10:40:45 [debug] 15376\#0: *6 lua resume returned 0
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:40:45 [error] 15376\#0: *6 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 10:40:45 [debug] 15376\#0: *6 lua resume returned 0
2023/12/28 10:40:45 [debug] 15376\#0: *6 lua light thread ended normally
2023/12/28 10:40:45 [debug] 15376\#0: *6 lua deleting light thread
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua run thread returned 0
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua finalize fake request: 0
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua close fake request
2023/12/28 10:40:45 [debug] 15376\#0: *6 cleanup lua tcp socket request
2023/12/28 10:40:45 [debug] 15376\#0: *6 stream lua finalize socket
2023/12/28 10:40:45 [debug] 15376\#0: *6 poll del event: fd:15 ev:1
'
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:40:48 [error] 15376\#0: *13 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua tcp socket handle read error
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua tcp socket waking up the current request
2023/12/28 10:40:48 [debug] 15376\#0: *13 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua tcp operation done, resuming lua thread
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C47810
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua tcp socket receive return value handler
2023/12/28 10:40:48 [debug] 15376\#0: *13 lua run thread, top:0
2023/12/28 10:40:48 [error] 15376\#0: *13 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 10:40:48 [debug] 15376\#0: *13 lua resume returned 0
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:40:48 [error] 15376\#0: *13 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 10:40:48 [debug] 15376\#0: *13 lua resume returned 0
2023/12/28 10:40:48 [debug] 15376\#0: *13 lua light thread ended normally
2023/12/28 10:40:48 [debug] 15376\#0: *13 lua deleting light thread
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua run thread returned 0
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua finalize fake request: 0
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua close fake request
2023/12/28 10:40:48 [debug] 15376\#0: *13 cleanup lua tcp socket request
2023/12/28 10:40:48 [debug] 15376\#0: *13 stream lua finalize socket
2023/12/28 10:40:48 [debug] 15376\#0: *13 poll del event: fd:15 ev:1
'
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:40:50 [error] 15376\#0: *20 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua tcp socket handle read error
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua tcp socket waking up the current request
2023/12/28 10:40:50 [debug] 15376\#0: *20 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua tcp operation done, resuming lua thread
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C818F8
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua tcp socket receive return value handler
2023/12/28 10:40:50 [debug] 15376\#0: *20 lua run thread, top:0
2023/12/28 10:40:50 [error] 15376\#0: *20 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
2023/12/28 10:40:50 [debug] 15376\#0: *20 lua resume returned 0
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:40:50 [error] 15376\#0: *20 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 10:40:50 [debug] 15376\#0: *20 lua resume returned 0
2023/12/28 10:40:50 [debug] 15376\#0: *20 lua light thread ended normally
2023/12/28 10:40:50 [debug] 15376\#0: *20 lua deleting light thread
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua run thread returned 0
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua finalize fake request: 0
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua close fake request
2023/12/28 10:40:50 [debug] 15376\#0: *20 cleanup lua tcp socket request
2023/12/28 10:40:50 [debug] 15376\#0: *20 stream lua finalize socket
2023/12/28 10:40:50 [debug] 15376\#0: *20 poll del event: fd:15 ev:1
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:42:10 [error] 15886\#0: *6 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 10:42:10 [debug] 15886\#0: *6 lua udp socket handle error
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua udp socket waking up the current request
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua udp operation done, resuming lua thread
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua udp socket calling prepare retvals handler 0819B147, u:04C0B3B8
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua udp socket receive return value handler
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua udp socket error retval handler
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua run thread, top:0
2023/12/28 10:42:10 [error] 15886\#0: *6 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:42:10 [error] 15886\#0: *6 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2023/12/28 10:42:10 [debug] 15886\#0: *6 lua resume returned 0
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua light thread ended normally
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua deleting light thread
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua run thread returned 0
2023/12/28 10:42:10 [debug] 15886\#0: *6 stream lua finalize fake request: 0
2023/12/28 10:42:10 [debug] 15886\#0: *6 stream lua close fake request
2023/12/28 10:42:10 [debug] 15886\#0: *6 cleanup lua udp socket upstream request
2023/12/28 10:42:10 [debug] 15886\#0: *6 stream lua finalize socket
2023/12/28 10:42:10 [debug] 15886\#0: *6 lua close socket connection
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:42:13 [error] 15886\#0: *13 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 10:42:13 [debug] 15886\#0: *13 lua udp socket handle error
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua udp socket waking up the current request
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua udp operation done, resuming lua thread
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua udp socket calling prepare retvals handler 0819B147, u:04C45828
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua udp socket receive return value handler
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua udp socket error retval handler
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua run thread, top:0
2023/12/28 10:42:13 [error] 15886\#0: *13 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:42:13 [error] 15886\#0: *13 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2023/12/28 10:42:13 [debug] 15886\#0: *13 lua resume returned 0
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua light thread ended normally
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua deleting light thread
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua run thread returned 0
2023/12/28 10:42:13 [debug] 15886\#0: *13 stream lua finalize fake request: 0
2023/12/28 10:42:13 [debug] 15886\#0: *13 stream lua close fake request
2023/12/28 10:42:13 [debug] 15886\#0: *13 cleanup lua udp socket upstream request
2023/12/28 10:42:13 [debug] 15886\#0: *13 stream lua finalize socket
2023/12/28 10:42:13 [debug] 15886\#0: *13 lua close socket connection
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:42:16 [error] 15886\#0: *20 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 10:42:16 [debug] 15886\#0: *20 lua udp socket handle error
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua udp socket waking up the current request
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua udp operation done, resuming lua thread
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua udp socket calling prepare retvals handler 0819B147, u:04C7E1E0
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua udp socket receive return value handler
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua udp socket error retval handler
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua run thread, top:0
2023/12/28 10:42:16 [error] 15886\#0: *20 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:42:16 [error] 15886\#0: *20 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2023/12/28 10:42:16 [debug] 15886\#0: *20 lua resume returned 0
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua light thread ended normally
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua deleting light thread
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua run thread returned 0
2023/12/28 10:42:16 [debug] 15886\#0: *20 stream lua finalize fake request: 0
2023/12/28 10:42:16 [debug] 15886\#0: *20 stream lua close fake request
2023/12/28 10:42:16 [debug] 15886\#0: *20 cleanup lua udp socket upstream request
2023/12/28 10:42:16 [debug] 15886\#0: *20 stream lua finalize socket
2023/12/28 10:42:16 [debug] 15886\#0: *20 lua close socket connection
'

Expected Failures

File Name Details
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 0, req 0) got: 'h'
expected: 'hi
'
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 1, req 0) got: 'h'
expected: 'hi
'
023-preread/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-preread/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
025-codecache.t ERROR: client socket timed out - TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t ERROR: client socket timed out - TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t ERROR: client socket timed out - TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t ERROR: client socket timed out - TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - 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 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/12/28 09:19:09 [debug] 17254\#0: stream lua decrementing the reference count for Lua VM: 3" (req 0) 2023/12/28 09:19:09 [debug] 17254\#0: run cleanup: 04C8C060
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C190, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C118, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C0A0, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C028, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BFA8, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BE90, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BDD8, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BD20, unused: 0
'
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/12/28 09:19:09 [debug] 17254\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2023/12/28 09:19:09 [debug] 17254\#0: run cleanup: 04C8C060
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C190, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C118, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C0A0, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8C028, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BFA8, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BE90, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BDD8, unused: 0
2023/12/28 09:19:09 [debug] 17254\#0: free: 04C8BD20, unused: 0
'
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/12/28 09:19:10 [debug] 17254\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2023/12/28 09:19:10 [debug] 17254\#0: run cleanup: 04D53DE8
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53F18, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53EA0, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53E28, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53DB0, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53D30, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53C18, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53B60, unused: 0
2023/12/28 09:19:10 [debug] 17254\#0: free: 04D53AA8, unused: 0
'
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 1)
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 62: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 62: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
067-req-socket.t TEST 9: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 9: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 10: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 10: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - response_body - response is expected (repeated req 0, req 0) got: 'receive stream response error: connection reset by peer
'
expected: '1: received: hello
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "Got: 5 bytes" should match a line in error.log (req 0)
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:38 [error] 30785\#0: *1 recv() failed (104: Connection reset by peer), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/12/28 09:55:38 [debug] 30785\#0: *1 lua tcp socket recv returned -1: "/t?"
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua tcp socket handle read error
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua tcp socket waking up the current request
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua tcp operation done, resuming lua thread
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua tcp socket calling prepare retvals handler 0814D8DB, u:04BC9A08
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua tcp socket receive return value handler
2023/12/28 09:55:38 [debug] 30785\#0: *1 poll del event: fd:10 ev:1
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua run thread, top:9 c:1
2023/12/28 09:55:38 [debug] 30785\#0: *1 lua finalize socket
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - response_body - response is expected (repeated req 1, req 0) got: 'receive stream response error: connection reset by peer
'
expected: '1: received: hello
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "Got: 5 bytes" should match a line in error.log (req 1)
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:55:38 [error] 30785\#0: *4 recv() failed (104: Connection reset by peer), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/12/28 09:55:38 [debug] 30785\#0: *4 lua tcp socket recv returned -1: "/t?"
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua tcp socket handle read error
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua tcp socket waking up the current request
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua tcp operation done, resuming lua thread
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua tcp socket calling prepare retvals handler 0814D8DB, u:04BD3048
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua tcp socket receive return value handler
2023/12/28 09:55:38 [debug] 30785\#0: *4 poll del event: fd:10 ev:1
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua run thread, top:0 c:1
2023/12/28 09:55:38 [debug] 30785\#0: *4 lua finalize socket
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
093-uthread-spawn.t ERROR: client socket timed out - TEST 16: user threads + ngx.socket.tcp '
098-uthread-wait.t ERROR: client socket timed out - TEST 22: spawn and wait uthreads for many times '
100-client-abort.t TEST 16: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 17: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 17: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 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 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
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)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8188 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 8181 pending timers
'
expected: 'stream lua found 8191 pending timers
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
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
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
semaphore handler: wait queue: empty, resource count: 1
+close stream connection
'
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 1) @@ -1,5 +1,5 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
semaphore handler: wait queue: empty, resource count: 1
+close stream connection
'
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.