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

Detailed Test Report for ngx_stream_lua in linux i386 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
cafa6f55 2023-12-28 09:02:49 GMT 234 177 118 10364 5287 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

Compilation Errors

Unexpected Failures

File Name Details
023-preread/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-preread/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"
-lua tcp socket get keepalive peer: using connection
'
023-preread/socket-keepalive.t ERROR: client socket timed out - TEST 1: sanity '
023-preread/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-lua tcp socket get keepalive peer: using connection
-lua tcp socket get keepalive peer: using connection
'
023-preread/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-preread/socket-keepalive.t ERROR: client socket timed out - TEST 2: free up the whole connection pool if no active connections '
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t ERROR: client socket timed out - TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t ERROR: client socket timed out - TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t ERROR: client socket timed out - TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t ERROR: client socket timed out - TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
057-flush-timeout.t TEST 5: flush wait in multiple user threads - return "timeout" error - response_body - response is expected (repeated req 0, req 0) got: 'received 11 bytes of response data.
'
expected: 'received 12 bytes of response data.
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t ERROR: client socket timed out - TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t ERROR: client socket timed out - TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t ERROR: client socket timed out - TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t ERROR: client socket timed out - TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
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 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:
'
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:50:32 [error] 28875\#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:50:32 [debug] 28875\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:50:32 [debug] 28875\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:50:32 [debug] 28875\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:50:32 [debug] 28875\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:50:32 [debug] 28875\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCCBA0
2023/12/28 09:50:32 [debug] 28875\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:50:32 [debug] 28875\#0: *3 lua run thread, top:9
2023/12/28 09:50:32 [debug] 28875\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04BCE200, p:04BCE310
2023/12/28 09:50:32 [debug] 28875\#0: *3 free: 04BCE310
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:50:33 [error] 28875\#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:50:33 [debug] 28875\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:50:33 [debug] 28875\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:50:33 [debug] 28875\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:50:33 [debug] 28875\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:50:33 [debug] 28875\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD0D98
2023/12/28 09:50:33 [debug] 28875\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:50:33 [debug] 28875\#0: *3 lua run thread, top:9
2023/12/28 09:50:33 [debug] 28875\#0: *3 lua reuse free buf memory 37 >= 37, cl:04BCE200, p:04BCF940
2023/12/28 09:50:33 [debug] 28875\#0: *3 lua say response
'
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:50:37 [error] 28912\#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:50:37 [debug] 28912\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:50:37 [debug] 28912\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:50:37 [debug] 28912\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:50:37 [debug] 28912\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:50:37 [debug] 28912\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCCE60
2023/12/28 09:50:37 [debug] 28912\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:50:37 [debug] 28912\#0: *3 lua run thread, top:9
2023/12/28 09:50:37 [debug] 28912\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04BCE4C0, p:04BCE5D0
2023/12/28 09:50:37 [debug] 28912\#0: *3 free: 04BCE5D0
'
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:50:38 [error] 28912\#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:50:38 [debug] 28912\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:50:38 [debug] 28912\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:50:38 [debug] 28912\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:50:38 [debug] 28912\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:50:38 [debug] 28912\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD1058
2023/12/28 09:50:38 [debug] 28912\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:50:38 [debug] 28912\#0: *3 lua run thread, top:9
2023/12/28 09:50:38 [debug] 28912\#0: *3 lua reuse free buf memory 37 >= 37, cl:04BCE4C0, p:04BCFC00
2023/12/28 09:50:38 [debug] 28912\#0: *3 lua say response
'
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:51:57 [error] 29401\#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:51:57 [debug] 29401\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:51:57 [debug] 29401\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:51:57 [debug] 29401\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:51:57 [debug] 29401\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:51:57 [debug] 29401\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCE610
2023/12/28 09:51:57 [debug] 29401\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:51:57 [debug] 29401\#0: *3 lua run thread, top:9
2023/12/28 09:51:57 [debug] 29401\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 24, cl:04BCFD98, p:04BCFEA8
2023/12/28 09:51:57 [debug] 29401\#0: *3 free: 04BCFEA8
'
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:51:58 [error] 29401\#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:51:58 [debug] 29401\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:51:58 [debug] 29401\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:51:58 [debug] 29401\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:51:58 [debug] 29401\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:51:58 [debug] 29401\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD1780
2023/12/28 09:51:58 [debug] 29401\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:51:58 [debug] 29401\#0: *3 lua run thread, top:9
2023/12/28 09:51:58 [debug] 29401\#0: *3 lua reuse free buf memory 37 >= 37, cl:04BCFD98, p:04BD14D8
2023/12/28 09:51:58 [debug] 29401\#0: *3 lua say response
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t ERROR: client socket timed out - TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool '
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 51: conn queuing: only decrease the counter for connections which were counted by the pool - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
071-idle-socket.t TEST 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:53:45 [error] 30099\#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:53:45 [debug] 30099\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:53:45 [debug] 30099\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:53:45 [debug] 30099\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:53:45 [debug] 30099\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:53:45 [debug] 30099\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCC658
2023/12/28 09:53:45 [debug] 30099\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:53:45 [debug] 30099\#0: *3 lua run thread, top:9
2023/12/28 09:53:45 [debug] 30099\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:04BCDC70, p:04BCDF20
2023/12/28 09:53:45 [debug] 30099\#0: *3 free: 04BCDF20
'
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:53:46 [error] 30099\#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:53:46 [debug] 30099\#0: *7 stream lua tcp socket handle read error
2023/12/28 09:53:46 [debug] 30099\#0: *7 stream lua tcp socket waking up the current request
2023/12/28 09:53:46 [debug] 30099\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:53:46 [debug] 30099\#0: *7 stream lua tcp operation done, resuming lua thread
2023/12/28 09:53:46 [debug] 30099\#0: *7 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD2330
2023/12/28 09:53:46 [debug] 30099\#0: *7 stream lua tcp socket receive return value handler
2023/12/28 09:53:46 [debug] 30099\#0: *7 lua run thread, top:0
2023/12/28 09:53:46 [debug] 30099\#0: *7 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:04BD3900, p:04BD3B68
2023/12/28 09:53:46 [debug] 30099\#0: *7 free: 04BD3B68
'
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:53:59 [error] 30186\#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:53:59 [debug] 30186\#0: *3 stream lua tcp socket handle read error
2023/12/28 09:53:59 [debug] 30186\#0: *3 stream lua tcp socket waking up the current request
2023/12/28 09:53:59 [debug] 30186\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:53:59 [debug] 30186\#0: *3 stream lua tcp operation done, resuming lua thread
2023/12/28 09:53:59 [debug] 30186\#0: *3 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BCCA88
2023/12/28 09:53:59 [debug] 30186\#0: *3 stream lua tcp socket receive return value handler
2023/12/28 09:53:59 [debug] 30186\#0: *3 lua run thread, top:9
2023/12/28 09:53:59 [debug] 30186\#0: *3 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:04BCE0A0, p:04BCE350
2023/12/28 09:53:59 [debug] 30186\#0: *3 free: 04BCE350
'
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:54:00 [error] 30186\#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:54:00 [debug] 30186\#0: *7 stream lua tcp socket handle read error
2023/12/28 09:54:00 [debug] 30186\#0: *7 stream lua tcp socket waking up the current request
2023/12/28 09:54:00 [debug] 30186\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:54:00 [debug] 30186\#0: *7 stream lua tcp operation done, resuming lua thread
2023/12/28 09:54:00 [debug] 30186\#0: *7 stream lua tcp socket calling prepare retvals handler 0819642D, u:04BD2AD8
2023/12/28 09:54:00 [debug] 30186\#0: *7 stream lua tcp socket receive return value handler
2023/12/28 09:54:00 [debug] 30186\#0: *7 lua run thread, top:0
2023/12/28 09:54:00 [debug] 30186\#0: *7 lua reuse free buf chain, but reallocate memory because 37 >= 17, cl:04BD40A8, p:04BD4310
2023/12/28 09:54:00 [debug] 30186\#0: *7 free: 04BD4310
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:58:50 [error] 32049\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket handle error
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket waking up the current request
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCB780
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket receive return value handler
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket error retval handler
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua run thread, top:9
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCBAA0, p:04BCBBB0
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:58:50 [error] 32049\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket handle error
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket waking up the current request
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCB780
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket receive return value handler
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua udp socket error retval handler
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua run thread, top:9
2023/12/28 09:58:50 [debug] 32049\#0: *3 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCBAA0, p:04BCBBB0
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:58:52 [error] 32049\#0: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:58:52 [debug] 32049\#0: *7 lua udp socket handle error
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua udp socket waking up the current request
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua udp operation done, resuming lua thread
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua udp socket calling prepare retvals handler 0819B147, u:04BD0110
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua udp socket receive return value handler
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua udp socket error retval handler
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua run thread, top:0
2023/12/28 09:58:52 [debug] 32049\#0: *7 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BD0430, p:04BD0540
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:58:59 [error] 32105\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket handle error
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket waking up the current request
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCAE48
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket receive return value handler
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket error retval handler
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua run thread, top:9
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCB168, p:04BCB278
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: timeout
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:58:59 [error] 32105\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket handle error
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket waking up the current request
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCAE48
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket receive return value handler
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua udp socket error retval handler
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua run thread, top:9
2023/12/28 09:58:59 [debug] 32105\#0: *3 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCB168, p:04BCB278
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:00 [error] 32105\#0: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:59:00 [debug] 32105\#0: *7 lua udp socket handle error
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua udp socket waking up the current request
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua udp operation done, resuming lua thread
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua udp socket calling prepare retvals handler 0819B147, u:04BCF7F0
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua udp socket receive return value handler
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua udp socket error retval handler
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua run thread, top:0
2023/12/28 09:59:00 [debug] 32105\#0: *7 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCFB10, p:04BCFC20
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t ERROR: client socket timed out - TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:20 [error] 32233\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket handle error
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket waking up the current request
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCC518
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket receive return value handler
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket error retval handler
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua run thread, top:9
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCC838, p:04BCC948
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:20 [error] 32233\#0: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket handle error
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket waking up the current request
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp operation done, resuming lua thread
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket calling prepare retvals handler 0819B147, u:04BCC518
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket receive return value handler
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua udp socket error retval handler
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua run thread, top:9
2023/12/28 09:59:20 [debug] 32233\#0: *3 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BCC838, p:04BCC948
'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 09:59:21 [error] 32233\#0: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2023/12/28 09:59:21 [debug] 32233\#0: *7 lua udp socket handle error
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua udp socket waking up the current request
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua ngx_stream_lua_content_wev_handler
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua udp operation done, resuming lua thread
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua udp socket calling prepare retvals handler 0819B147, u:04BD0F08
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua udp socket receive return value handler
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua udp socket error retval handler
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua run thread, top:0
2023/12/28 09:59:21 [debug] 32233\#0: *7 lua reuse free buf chain, but reallocate memory because 32 >= 10, cl:04BD1228, p:04BD1338
'
093-uthread-spawn.t ERROR: client socket timed out - TEST 16: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
093-uthread-spawn.t ERROR: client socket timed out - TEST 16: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
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)'
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 0) got: ''
expected: 'lua found 100 pending timers
'
124-init-worker.t TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 4: timer.at + cosocket - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t ERROR: client socket timed out - TEST 20: lua_ssl_trusted_certificate '
124-init-worker.t TEST 20: lua_ssl_trusted_certificate - status code ok got: ''
expected: '200'
124-init-worker.t TEST 20: lua_ssl_trusted_certificate - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
124-init-worker.t TEST 20: lua_ssl_trusted_certificate - pattern "ssl handshake: userdata" should match a line in error.log (req 0)
124-init-worker.t TEST 20: lua_ssl_trusted_certificate - pattern "close: 1 nil" should match a line in error.log (req 0)
124-init-worker.t TEST 20: lua_ssl_trusted_certificate - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:15:15 [error] 5928\#0: *2 stream [lua] init_worker_by_lua:19: failed to do SSL handshake: timeout, context: ngx.timer" (req 0) 2023/12/28 10:15:15 [debug] 5928\#0: *2 lua resume returned 0
2023/12/28 10:15:15 [debug] 5928\#0: *2 lua light thread ended normally
2023/12/28 10:15:15 [debug] 5928\#0: *2 lua deleting light thread
2023/12/28 10:15:15 [debug] 5928\#0: *2 stream lua run thread returned 0
2023/12/28 10:15:15 [debug] 5928\#0: *2 stream lua finalize fake request: 0
2023/12/28 10:15:15 [debug] 5928\#0: *2 stream lua close fake request
2023/12/28 10:15:15 [debug] 5928\#0: *2 lua request cleanup: forcible=0
2023/12/28 10:15:15 [debug] 5928\#0: *2 stream lua close fake stream connection 04BCE994
2023/12/28 10:15:15 [debug] 5928\#0: run cleanup: 04C3EF68
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t ERROR: client socket timed out - TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
139-ssl-cert-by.t TEST 24: check the count of running timers - 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: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - 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 25: get raw_client_addr - IPv4 - 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 13: simple logging (by_lua_file) - 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 14: coroutine API - 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 11: get phase - 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
'
139-ssl-cert-by.t TEST 26: get raw_client_addr - unix domain socket - 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 2: sleep - 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 23: simple logging (syslog) - 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 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - 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 1: simple logging - 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 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - 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 3: timer - 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 16: simple logging - use ssl_certificate_by_lua* on the server {} level - 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 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:27:19 [error] 10405\#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 1) 2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua tcp socket handle read error
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua tcp socket waking up the current request
2023/12/28 10:27:19 [debug] 10405\#0: *6 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua tcp operation done, resuming lua thread
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C10EA0
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua tcp socket receive return value handler
2023/12/28 10:27:19 [debug] 10405\#0: *6 lua run thread, top:0
2023/12/28 10:27:19 [error] 10405\#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:27:19 [debug] 10405\#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:27:19 [error] 10405\#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 1) 2023/12/28 10:27:19 [debug] 10405\#0: *6 lua resume returned 0
2023/12/28 10:27:19 [debug] 10405\#0: *6 lua light thread ended normally
2023/12/28 10:27:19 [debug] 10405\#0: *6 lua deleting light thread
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua run thread returned 0
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua finalize fake request: 0
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua close fake request
2023/12/28 10:27:19 [debug] 10405\#0: *6 cleanup lua tcp socket request
2023/12/28 10:27:19 [debug] 10405\#0: *6 stream lua finalize socket
2023/12/28 10:27:19 [debug] 10405\#0: *6 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 "[error]" should not match any line in error.log but matches line "2023/12/28 10:27:21 [error] 10405\#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 2) 2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua tcp socket handle read error
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua tcp socket waking up the current request
2023/12/28 10:27:21 [debug] 10405\#0: *13 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua tcp operation done, resuming lua thread
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C40200
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua tcp socket receive return value handler
2023/12/28 10:27:21 [debug] 10405\#0: *13 lua run thread, top:0
2023/12/28 10:27:21 [error] 10405\#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:27:21 [debug] 10405\#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:27:21 [error] 10405\#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 2) 2023/12/28 10:27:21 [debug] 10405\#0: *13 lua resume returned 0
2023/12/28 10:27:21 [debug] 10405\#0: *13 lua light thread ended normally
2023/12/28 10:27:21 [debug] 10405\#0: *13 lua deleting light thread
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua run thread returned 0
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua finalize fake request: 0
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua close fake request
2023/12/28 10:27:21 [debug] 10405\#0: *13 cleanup lua tcp socket request
2023/12/28 10:27:21 [debug] 10405\#0: *13 stream lua finalize socket
2023/12/28 10:27:21 [debug] 10405\#0: *13 poll del event: fd:17 ev:1
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - 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
'
140-ssl-c-api.t TEST 1: simple cert + private key - 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
'
140-ssl-c-api.t TEST 9: private key protected by passphrase - 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
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - 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
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - 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
'
140-ssl-c-api.t ERROR: client socket timed out - TEST 7: verify client without CA certificates '
140-ssl-c-api.t TEST 7: verify client without CA certificates - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 7: verify client without CA certificates - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'FAILED:self signed certificate
'
140-ssl-c-api.t ERROR: client socket timed out - TEST 7: verify client without CA certificates '
140-ssl-c-api.t TEST 7: verify client without CA certificates - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 7: verify client without CA certificates - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'FAILED:self signed certificate
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - 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
'
140-ssl-c-api.t ERROR: client socket timed out - TEST 6: verify client with CA certificates '
140-ssl-c-api.t TEST 6: verify client with CA certificates - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 6: verify client with CA certificates - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'SUCCESS
'
140-ssl-c-api.t ERROR: client socket timed out - TEST 6: verify client with CA certificates '
140-ssl-c-api.t TEST 6: verify client with CA certificates - status code ok got: ''
expected: '200'
140-ssl-c-api.t TEST 6: verify client with CA certificates - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'SUCCESS
'
157-socket-keepalive-hup.t TEST 1: exiting - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "setkeepalive successfully" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 11: get phase - 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 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - 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 2: sleep - 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 25: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:31:59 [error] 12220\#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 1) 2023/12/28 10:31:59 [debug] 12220\#0: *6 lua udp socket handle error
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua udp socket waking up the current request
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua udp operation done, resuming lua thread
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua udp socket calling prepare retvals handler 0819B147, u:04C0F3F0
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua udp socket receive return value handler
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua udp socket error retval handler
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua run thread, top:0
2023/12/28 10:31:59 [error] 12220\#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:31:59 [error] 12220\#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 1) 2023/12/28 10:31:59 [debug] 12220\#0: *6 lua resume returned 0
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua light thread ended normally
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua deleting light thread
2023/12/28 10:31:59 [debug] 12220\#0: *6 lua run thread returned 0
2023/12/28 10:31:59 [debug] 12220\#0: *6 stream lua finalize fake request: 0
2023/12/28 10:31:59 [debug] 12220\#0: *6 stream lua close fake request
2023/12/28 10:31:59 [debug] 12220\#0: *6 cleanup lua udp socket upstream request
2023/12/28 10:31:59 [debug] 12220\#0: *6 stream lua finalize socket
2023/12/28 10:31:59 [debug] 12220\#0: *6 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:32:02 [error] 12220\#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 2) 2023/12/28 10:32:02 [debug] 12220\#0: *13 lua udp socket handle error
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua udp socket waking up the current request
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua udp operation done, resuming lua thread
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua udp socket calling prepare retvals handler 0819B147, u:04C4D858
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua udp socket receive return value handler
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua udp socket error retval handler
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua run thread, top:0
2023/12/28 10:32:02 [error] 12220\#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:32:02 [error] 12220\#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 2) 2023/12/28 10:32:02 [debug] 12220\#0: *13 lua resume returned 0
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua light thread ended normally
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua deleting light thread
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua run thread returned 0
2023/12/28 10:32:02 [debug] 12220\#0: *13 stream lua finalize fake request: 0
2023/12/28 10:32:02 [debug] 12220\#0: *13 stream lua close fake request
2023/12/28 10:32:02 [debug] 12220\#0: *13 cleanup lua udp socket upstream request
2023/12/28 10:32:02 [debug] 12220\#0: *13 stream lua finalize socket
2023/12/28 10:32:02 [debug] 12220\#0: *13 lua close socket connection
'
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - 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 1: simple logging - 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 24: get raw_client_addr - unix domain socket - 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 15: simple user thread wait with yielding - 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 3: timer - 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 22: simple logging (syslog) - 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 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - 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 14: coroutine API - 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 20: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - 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 23: get raw_client_addr - IPv4 - 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 - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2023/12/28 10:34:10 [error] 12958\#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 1) 2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua tcp socket handle read error
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua tcp socket waking up the current request
2023/12/28 10:34:10 [debug] 12958\#0: *6 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua tcp operation done, resuming lua thread
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C100A0
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua tcp socket receive return value handler
2023/12/28 10:34:10 [debug] 12958\#0: *6 lua run thread, top:0
2023/12/28 10:34:10 [error] 12958\#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:34:10 [debug] 12958\#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:34:10 [error] 12958\#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 1) 2023/12/28 10:34:10 [debug] 12958\#0: *6 lua resume returned 0
2023/12/28 10:34:10 [debug] 12958\#0: *6 lua light thread ended normally
2023/12/28 10:34:10 [debug] 12958\#0: *6 lua deleting light thread
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua run thread returned 0
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua finalize fake request: 0
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua close fake request
2023/12/28 10:34:10 [debug] 12958\#0: *6 cleanup lua tcp socket request
2023/12/28 10:34:10 [debug] 12958\#0: *6 stream lua finalize socket
2023/12/28 10:34:10 [debug] 12958\#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 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:34:13 [error] 12958\#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 2) 2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua tcp socket handle read error
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua tcp socket waking up the current request
2023/12/28 10:34:13 [debug] 12958\#0: *13 lua ngx_stream_lua_content_wev_handler
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua tcp operation done, resuming lua thread
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua tcp socket calling prepare retvals handler 0819642D, u:04C4F878
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua tcp socket receive return value handler
2023/12/28 10:34:13 [debug] 12958\#0: *13 lua run thread, top:0
2023/12/28 10:34:13 [error] 12958\#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:34:13 [debug] 12958\#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:34:13 [error] 12958\#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 2) 2023/12/28 10:34:13 [debug] 12958\#0: *13 lua resume returned 0
2023/12/28 10:34:13 [debug] 12958\#0: *13 lua light thread ended normally
2023/12/28 10:34:13 [debug] 12958\#0: *13 lua deleting light thread
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua run thread returned 0
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua finalize fake request: 0
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua close fake request
2023/12/28 10:34:13 [debug] 12958\#0: *13 cleanup lua tcp socket request
2023/12/28 10:34:13 [debug] 12958\#0: *13 stream lua finalize socket
2023/12/28 10:34:13 [debug] 12958\#0: *13 poll del event: fd:14 ev:1
'
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 26: uthread (kill) - 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
'
163-ssl-two-verification.t TEST 1: simple logging - 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
'
163-ssl-two-verification.t TEST 1: simple logging - 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
'
163-ssl-two-verification.t TEST 1: simple logging - 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
'

Expected Failures

File Name Details
023-preread/sanity.t TEST 13: phase postponing works - response_body - response is expected (repeated req 0, req 0) got: "receive stream response error: connection reset by"...
length: 56
expected: "done"
length: 4
strings begin to differ at char 1 (line 1 column 1)
023-preread/sanity.t TEST 13: phase postponing works - response_body - response is expected (repeated req 1, req 0) got: "receive stream response error: connection reset by"...
length: 56
expected: "done"
length: 4
strings begin to differ at char 1 (line 1 column 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
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 TEST 37: successful reread after a read time out happen (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 37: successful reread after a read time out happen (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 34: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 34: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
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 36: successful reread after a read time out happen (receiveuntil -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 36: successful reread after a read time out happen (receiveuntil -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
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 TEST 35: successful reread after a read time out happen (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
058-tcp-socket.t TEST 35: successful reread after a read time out happen (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
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 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:50:15 [error] 28777\#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:50:15 [debug] 28777\#0: *1 lua tcp socket recv returned -1: "/t?"
2023/12/28 09:50:15 [debug] 28777\#0: *1 lua tcp socket handle read error
2023/12/28 09:50:15 [debug] 28777\#0: *1 lua tcp socket waking up the current request
2023/12/28 09:50:15 [debug] 28777\#0: *1 lua tcp operation done, resuming lua thread
2023/12/28 09:50:15 [debug] 28777\#0: *1 lua tcp socket calling prepare retvals handler 0814D8DB, u:04BC9E80
2023/12/28 09:50:15 [debug] 28777\#0: *1 lua tcp socket receive return value handler
2023/12/28 09:50:15 [debug] 28777\#0: *1 poll del event: fd:10 ev:1
2023/12/28 09:50:15 [debug] 28777\#0: *1 lua run thread, top:9 c:1
2023/12/28 09:50:15 [debug] 28777\#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:50:15 [error] 28777\#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:50:15 [debug] 28777\#0: *4 lua tcp socket recv returned -1: "/t?"
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua tcp socket handle read error
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua tcp socket waking up the current request
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua tcp operation done, resuming lua thread
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua tcp socket calling prepare retvals handler 0814D8DB, u:04BD30B8
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua tcp socket receive return value handler
2023/12/28 09:50:15 [debug] 28777\#0: *4 poll del event: fd:10 ev:1
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua run thread, top:0 c:1
2023/12/28 09:50:15 [debug] 28777\#0: *4 lua finalize socket
'
067-req-socket.t TEST 14: receiveany small block size for a big size block - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,26 @@
ok
-receive: hel
-receive: lo,
-receive: st
-receive: rea
-receive: m r
-receive: ece
-receive: ive
-receive: any
+receive: h
+receive: e
+receive: l
+receive: l
+receive: o
+receive: ,
+receive:
+receive: s
+receive: t
+receive: r
+receive: e
+receive: a
+receive: m
+receive:
+receive: r
+receive: e
+receive: c
+receive: e
+receive: i
+receive: v
+receive: e
+receive: a
+receive: n
+receive: y
receive: !
'
067-req-socket.t TEST 14: receiveany small block size for a big size block - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,26 @@
ok
-receive: hel
-receive: lo,
-receive: st
-receive: rea
-receive: m r
-receive: ece
-receive: ive
-receive: any
+receive: h
+receive: e
+receive: l
+receive: l
+receive: o
+receive: ,
+receive:
+receive: s
+receive: t
+receive: r
+receive: e
+receive: a
+receive: m
+receive:
+receive: r
+receive: e
+receive: c
+receive: e
+receive: i
+receive: v
+receive: e
+receive: a
+receive: n
+receive: y
receive: !
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t ERROR: client socket timed out - TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
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 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)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "in callback: hello, 1" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: ''
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8188 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 2: multiple timers - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 1!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 2!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 3!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 4!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 5!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 6!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 7!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 8!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 9!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0)
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
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: timeout failed to send stream request: closed) 'connected: 1
failed to do SSL handshake: timeout
failed to send stream request: closed
'
doesn't match '(?^s:\Aconnected: 1
failed to do SSL handshake: (?:handshake failed|certificate host mismatch)
failed to send stream request: closed
\z)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent http request: 80 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent http request: 80 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: timeout) 'connected: 1
failed to do SSL handshake: timeout
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: timeout) 'connected: 1
failed to do SSL handshake: timeout
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 53 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "(?:ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256)|ECDHE-(?:RSA|ECDSA)-CHACHA20-POLY1305) TLSv1\.2)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "(?:ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256)|ECDHE-(?:RSA|ECDSA)-CHACHA20-POLY1305) TLSv1\.2)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: timeout
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)\))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: timeout
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)\))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent: ping
-received: pong
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+)
stream lua ssl save session: \1
stream lua ssl save session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
$)'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+)
stream lua ssl save session: \1
stream lua ssl save session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
$)'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: timeout failed to send stream request: closed) 'connected: 1
failed to do SSL handshake: timeout
failed to send stream request: closed
'
doesn't match '(?^s:\Aconnected: 1
failed to do SSL handshake: (?:handshake failed|certificate host mismatch)
failed to send stream request: closed
\z)'
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: timeout) 'connected: 1
failed to do SSL handshake: timeout
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: timeout) 'connected: 1
failed to do SSL handshake: timeout
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: timeout
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: timeout
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: timeout
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: timeout
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 53 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
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
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.