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

Detailed Test Report for ngx_stream_lua in linux x86_64 (o)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
9b4c301d 2024-08-06 16:11:55 GMT 0 849 118 10178 427 sec

LuaJIT

LuaJIT 2.1.1719379426, commit 4182d6bf

OpenSSL

OpenSSL 1.1.1w 11 Sep 2023

Compilation Errors

Segmentation Faults

Unexpected Failures

(none)

Expected Failures

File Name Details
002-content.t TEST 9: multiple eof - pattern "lua send eof" should match a line in error.log (req 0)
002-content.t TEST 9: multiple eof - pattern "lua send eof" should match a line in error.log (req 1)
023-preread/exit.t TEST 1: throw 500 - pattern "finalize stream request: 500" should match a line in error.log (req 0)
023-preread/exit.t TEST 1: throw 500 - pattern "finalize stream request: 500" should match a line in error.log (req 1)
023-preread/req-socket.t TEST 7: peeking preread buffer, buffer size is small - pattern "finalize stream session: 400" should match a line in error.log (req 0)
023-preread/req-socket.t TEST 7: peeking preread buffer, buffer size is small - pattern "finalize stream session: 400" should match a line in error.log (req 1)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 0)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 1)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 0)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 1)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "lua ready to sleep for" should match a line in error.log (req 0)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "lua ready to sleep for" should match a line in error.log (req 1)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "lua ready to sleep for" should match a line in error.log (req 0)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "lua ready to sleep for" should match a line in error.log (req 1)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 26: make sure inline code keys are correct - grep_error_log_out (req 0) @@ -1,4 +0,0 @@
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_68f5f4e946c3efd1cc206452b807e8b6'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_042c9b3a136fbacbbd0e4b9ad10896b7'
'
025-codecache.t TEST 26: make sure inline code keys are correct - grep_error_log_out (req 1) @@ -1,8 +0,0 @@
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_68f5f4e946c3efd1cc206452b807e8b6'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_042c9b3a136fbacbbd0e4b9ad10896b7'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_68f5f4e946c3efd1cc206452b807e8b6'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_042c9b3a136fbacbbd0e4b9ad10896b7'
'
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 25: make sure inline code keys are correct - grep_error_log_out (req 0) @@ -1,4 +0,0 @@
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
'
025-codecache.t TEST 25: make sure inline code keys are correct - grep_error_log_out (req 1) @@ -1,8 +0,0 @@
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
047-match-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
047-match-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
047-match-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
047-match-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
047-match-jit.t TEST 3: matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
047-match-jit.t TEST 4: not matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
049-gmatch-jit.t TEST 2: fail to match - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 2: fail to match - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 3: gmatch matched but no iterate - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 3: gmatch matched but no iterate - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 6: fail to match + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 7: gmatch matched but no iterate + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 1: gmatch matched - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 1: gmatch matched - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 8: gmatch matched but only iterate once and still matches remain + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 5: gmatch matched + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 4: gmatch matched but only iterate once and still matches remain - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 4: gmatch matched but only iterate once and still matches remain - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
051-sub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
051-sub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
051-sub-jit.t TEST 4: not matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
051-sub-jit.t TEST 3: matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
051-sub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
051-sub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
053-gsub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
053-gsub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
053-gsub-jit.t TEST 3: matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
053-gsub-jit.t TEST 4: not matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
053-gsub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
053-gsub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
056-flush.t TEST 4: flush wait in a user coroutine - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 0)
056-flush.t TEST 4: flush wait in a user coroutine - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 1)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 1)
058-tcp-socket.t TEST 53: reuse cleanup - pattern "lua stream cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 53: reuse cleanup - pattern "lua stream cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 0)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua tcp socket reconnect without shutting down" should match a line in error.log (req 0)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 1)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua tcp socket reconnect without shutting down" should match a line in error.log (req 1)
058-tcp-socket.t TEST 49: tcp_nodelay on - pattern "stream lua socket tcp_nodelay" should match a line in error.log (req 0)
058-tcp-socket.t TEST 49: tcp_nodelay on - pattern "stream lua socket tcp_nodelay" should match a line in error.log (req 1)
058-tcp-socket.t TEST 47: cosocket resolving aborted by coroutine yielding failures (require) - pattern "resolve name done" should match a line in error.log (req 0)
058-tcp-socket.t TEST 47: cosocket resolving aborted by coroutine yielding failures (require) - pattern "resolve name done" should match a line in error.log (req 1)
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - pattern "lua tcp socket calling receiveany() method to read at most 7 bytes" should match a line in error.log (req 0)
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - pattern "lua tcp socket calling receiveany() method to read at most 7 bytes" should match a line in error.log (req 1)
058-tcp-socket.t TEST 61: TCP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua tcp socket request" should match a line in error.log (req 0)
058-tcp-socket.t TEST 61: TCP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua tcp socket request" should match a line in error.log (req 1)
058-tcp-socket.t TEST 52: kill a thread with a connecting socket - pattern "stream lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
058-tcp-socket.t TEST 52: kill a thread with a connecting socket - pattern "stream lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
058-tcp-socket.t TEST 62: receiveany method in cosocket - pattern "lua tcp socket read any" should match a line in error.log (req 0)
058-tcp-socket.t TEST 62: receiveany method in cosocket - pattern "lua tcp socket read any" should match a line in error.log (req 1)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 0)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 1)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
058-tcp-socket.t TEST 48: cosocket resolving aborted by coroutine yielding failures (xpcall err) - pattern "resolve name done" should match a line in error.log (req 0)
058-tcp-socket.t TEST 48: cosocket resolving aborted by coroutine yielding failures (xpcall err) - pattern "resolve name done" should match a line in error.log (req 1)
058-tcp-socket.t TEST 56: setkeepalive on socket already shutdown - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
058-tcp-socket.t TEST 56: setkeepalive on socket already shutdown - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
058-tcp-socket.t TEST 40: u->coctx left over bug - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
058-tcp-socket.t TEST 40: u->coctx left over bug - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
058-tcp-socket.t TEST 54: reuse cleanup in ngx.timer (fake_request) - pattern "lua stream cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 54: reuse cleanup in ngx.timer (fake_request) - pattern "lua stream cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - pattern "lua tcp socket calling receiveany() method to read at most 128 bytes" should match a line in error.log (req 0)
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - pattern "lua tcp socket calling receiveany() method to read at most 128 bytes" should match a line in error.log (req 1)
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 150" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 150" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 15: sock:settimeout(-1) does not override lua_socket_send_timeout - pattern "finalize stream request: 500" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 15: sock:settimeout(-1) does not override lua_socket_send_timeout - pattern "finalize stream request: 500" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 20: abort when downstream socket pending on writes - pattern "stream lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 20: abort when downstream socket pending on writes - pattern "stream lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 5: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 5: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket send timeout: 150" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket send timeout: 150" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket read timeout: 150" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket read timeout: 150" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 10: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 10: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket read timeout: 10" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket read timeout: 10" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
067-req-socket.t TEST 12: req socket GC'd - grep_error_log_out (req 0) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
067-req-socket.t TEST 12: req socket GC'd - grep_error_log_out (req 1) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
068-socket-keepalive.t TEST 1: sanity - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 1: sanity - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
068-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)
068-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)
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 1\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - pattern "lua tcp socket keepalive timeout: unlimited" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 123 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 101 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 25\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - pattern "lua tcp socket keepalive timeout: unlimited" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive create connection pool for key "unix:" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive create connection pool for key "B"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive create connection pool for key "foo"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive create connection pool for key "B"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive create connection pool for key "3.14"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "lua tcp socket connection pool size: 1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive create connection pool for key "unix:" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket connection pool size: 1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive create connection pool for key "B"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket connection pool size: 1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 30: conn queuing: connect() uses lua_socket_pool_size as default if 'backlog' is given - pattern "lua tcp socket connection pool size: 1234" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - pattern "lua tcp socket queue connect operation for connection pool "127.0.0.1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 34: conn queuing: connect until backlog is reached - grep_error_log_out (req 0) @@ -1,6 +1,4 @@
start to handle timer
-queue connect operation for connection pool
start to handle cosocket
-queue connect operation for connection pool
continue to handle timer
continue to handle cosocket
'
068-socket-keepalive.t TEST 34: conn queuing: connect until backlog is reached - pattern "lua tcp socket queue connect operation for connection pool "127.0.0.1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 35: conn queuing: memory reuse for host in queueing connect operation ctx - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-queue connect operation for connection pool
-queue connect operation for connection pool
-queue connect operation for connection pool
'
068-socket-keepalive.t TEST 36: conn queuing: connect() returns error after connect operation resumed - grep_error_log_out (req 0) got: ''
expected: 'queue connect operation for connection pool
'
068-socket-keepalive.t TEST 37: conn queuing: in uthread - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-queue connect operation for connection pool
-queue connect operation for connection pool
'
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) - pattern "queue connect operation for connection pool "test"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 46: conn queuing: resume connect operation if resumed connect failed (could not be resolved) - pattern "queue connect operation for connection pool "test"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 47: conn queuing: resume connect operation if resumed connect failed (connection refused) - pattern "queue connect operation for connection pool "test"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 52: conn queuing: clean up pending connect operations which are in queue - pattern "lua tcp socket abort queueing" should match a line in error.log (req 0)
075-logby.t TEST 5: ngx.ctx available in log_by_lua (not defined yet) - pattern "lua release ngx.ctx" should match a line in error.log (req 0)
075-logby.t TEST 5: ngx.ctx available in log_by_lua (not defined yet) - pattern "lua release ngx.ctx" should match a line in error.log (req 1)
075-logby.t TEST 4: ngx.ctx available in log_by_lua (already defined) - pattern "lua release ngx.ctx" should match a line in error.log (req 0)
075-logby.t TEST 4: ngx.ctx available in log_by_lua (already defined) - pattern "lua release ngx.ctx" should match a line in error.log (req 1)
077-sleep.t TEST 6: sleep 0 - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 6: sleep 0 - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 6: sleep 0 - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 6: sleep 0 - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 0)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 1)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 9: ngx.sleep() fails to yield (require) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
077-sleep.t TEST 9: ngx.sleep() fails to yield (require) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 8: ngx.sleep() fails to yield (xpcall err handler) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
077-sleep.t TEST 8: ngx.sleep() fails to yield (xpcall err handler) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
087-udp-socket.t TEST 19: UDP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua udp socket upstream request" should match a line in error.log (req 0)
087-udp-socket.t TEST 19: UDP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua udp socket upstream request" should match a line in error.log (req 1)
087-udp-socket.t TEST 11: access the google DNS server (using domain names) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 0)
087-udp-socket.t TEST 11: access the google DNS server (using domain names) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 1)
087-udp-socket.t TEST 1: sanity - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 0)
087-udp-socket.t TEST 1: sanity - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 1)
087-udp-socket.t TEST 18: send boolean and nil - grep_error_log_out (req 0) ''
doesn't match '(?^:sendto: fd:\d+ 4 of 4
sendto: fd:\d+ 5 of 5
sendto: fd:\d+ 3 of 3)'
087-udp-socket.t TEST 18: send boolean and nil - grep_error_log_out (req 1) ''
doesn't match '(?^:sendto: fd:\d+ 4 of 4
sendto: fd:\d+ 5 of 5
sendto: fd:\d+ 3 of 3)'
087-udp-socket.t TEST 10: access the google DNS server (using IP addr) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 0)
087-udp-socket.t TEST 10: access the google DNS server (using IP addr) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 1)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 0)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua udp socket reconnect without shutting down" should match a line in error.log (req 0)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 1)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua udp socket reconnect without shutting down" should match a line in error.log (req 1)
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "lua udp socket receive buffer size: 1400" should match a line in error.log (req 0)
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "lua udp socket receive buffer size: 1400" should match a line in error.log (req 1)
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
106-timer.t TEST 8: udp cosocket in timer handler - pattern "lua ngx.timer expired" 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 "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "lua ngx.timer expired" 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 "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 2: separated global env - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 2: separated global env - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 19: multiple parallel timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 19: multiple parallel timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 19: multiple parallel timers - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 19: multiple parallel timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 4: simple at (sleep in the timer callback) - 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 ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 27: user args - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 28: use of ngx.ctx - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua release ngx.ctx at ref " should match a line in error.log (req 0)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 28: use of ngx.ctx - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua release ngx.ctx at ref " should match a line in error.log (req 1)
106-timer.t TEST 15: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 15: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 15: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 15: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 17: chained timers (0 delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 17: chained timers (0 delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 17: chained timers (0 delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 17: chained timers (0 delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 11: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 11: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 11: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 11: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 14: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 14: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 14: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 14: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 13: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 13: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 13: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 13: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 12: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 12: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 12: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 12: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 20: lua_max_pending_timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 20: lua_max_pending_timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 20: lua_max_pending_timers - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 20: lua_max_pending_timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 7: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 7: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 2: ngx.print() - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 2: ngx.print() - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 2: ngx.print() - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 2: ngx.print() - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 1: ngx.say() - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 1: ngx.say() - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 1: ngx.say() - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 1: ngx.say() - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 5: ngx.eof - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 5: ngx.eof - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 5: ngx.eof - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 5: ngx.eof - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 3: ngx.flush() - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 3: ngx.flush() - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 3: ngx.flush() - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 3: ngx.flush() - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "lua ngx.timer expired" 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 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "lua ngx.timer expired" 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 1)
108-timer-safe.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - 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 ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 9: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 9: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 9: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 9: coroutine API - 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 "lua ngx.timer expired" 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 "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 11: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 11: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 11: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 11: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 5: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 5: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 5: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 5: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
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: ''
expected: 'stream lua found 8191 pending timers
'
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 "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 1: single timer - pattern "stream lua close fake stream connection" 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
'
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 1) got: ''
expected: 'lua found 100 pending timers
'
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 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 "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 2: multiple timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "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 "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 10: receiveuntil - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 10: receiveuntil - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 13: shutdown can only be called once and prevents all further output - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 13: shutdown can only be called once and prevents all further output - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 14: simulated lingering close - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 14: simulated lingering close - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
124-init-worker.t TEST 4: timer.at + cosocket - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 4: timer.at + cosocket - pattern "lua tcp socket send timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 4: timer.at + cosocket - pattern "lua tcp socket read timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - pattern "lua tcp socket send timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - pattern "lua tcp socket read timeout: 60000" should match a line in error.log (req 0)
127-uthread-kill.t TEST 3: kill pending resolver - pattern "lua tcp socket abort resolver" should match a line in error.log (req 0)
127-uthread-kill.t TEST 3: kill pending resolver - pattern "lua tcp socket abort resolver" should match a line in error.log (req 1)
127-uthread-kill.t TEST 1: kill pending sleep - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
127-uthread-kill.t TEST 1: kill pending sleep - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
127-uthread-kill.t TEST 4: kill pending connect - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-stream lua finalize socket
-stream lua finalize socket
'
127-uthread-kill.t TEST 4: kill pending connect - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-stream lua finalize socket
-stream lua finalize socket
'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - pattern "lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - pattern "lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 1)
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: ([0-9A-F]+)
stream lua ssl save session: ([0-9A-F]+)
stream lua ssl free session: ([0-9A-F]+)
stream lua ssl free session: ([0-9A-F]+)
stream lua ssl free session: ([0-9A-F]+)
$)'
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) - grep_error_log_out (req 1) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+)
stream lua ssl save session: ([0-9A-F]+)
stream lua ssl save session: ([0-9A-F]+)
stream lua ssl free session: ([0-9A-F]+)
stream lua ssl free session: ([0-9A-F]+)
stream lua ssl free session: ([0-9A-F]+)
$)'
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 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 15: explicit cipher configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "(?^:SSL: TLSv\d(?:\.\d)?, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - 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 15: explicit cipher configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "(?^:SSL: TLSv\d(?:\.\d)?, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
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 - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
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 25: multiple handshake calls - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - 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 33: explicit cipher configuration - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_128_GCM_SHA256 TLSv1.3)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - 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 33: explicit cipher configuration - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_128_GCM_SHA256 TLSv1.3)" should match a line in error.log (req 1)
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 - 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 32: default cipher - TLSv1.3 - 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 32: default cipher - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_256_GCM_SHA384 TLSv1.3)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - 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 32: default cipher - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_256_GCM_SHA384 TLSv1.3)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - 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 30: unix domain ssl cosocket (verify cert but no host name check, passed) - 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 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl server name: "www.google.com"" 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) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 1)
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 - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
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 13: openresty.org: passing SSL verify with multiple certificates - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
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 7: certificate does not match host name (no verify) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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 "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
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 - 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 "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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 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 - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
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]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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 16: explicit ssl protocol configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - 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 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (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 22: unix domain ssl cosocket (verify) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (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 22: unix domain ssl cosocket (verify) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 34: explicit cipher configuration not in the default list - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 34: explicit cipher configuration not in the default list - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
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) - 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 5: certificate does not match host name (verify) - pattern "stream lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "stream lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 26: handshake timed out - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 26: handshake timed out - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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 - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
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 3: SNI, no verify - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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 - 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 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) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 0)
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 11: www.google.com (SSL verify passes) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
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 2: no 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 28: unix domain ssl cosocket (gen session, true) - 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 28: unix domain ssl cosocket (gen session, true) - 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 21: unix domain ssl cosocket (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 21: unix domain ssl cosocket (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]+)
$)'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
138-balancer.t TEST 11: set_more_tries bugfix - grep_error_log_out (req 0) @@ -1,4 +0,0 @@
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
'
138-balancer.t TEST 11: set_more_tries bugfix - grep_error_log_out (req 1) @@ -1,4 +0,0 @@
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
'
138-balancer.t TEST 2: exit 403 - pattern "lua exit with code 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "proxy connect: 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream proxy: 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream session: 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "lua exit with code 403" should match a line in error.log (req 1)
138-balancer.t TEST 2: exit 403 - pattern "proxy connect: 403" should match a line in error.log (req 1)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream proxy: 403" should match a line in error.log (req 1)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream session: 403" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'ssl_certificate_by_lua:1: ssl cert by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl cert: connection reusable: 0
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'ssl_certificate_by_lua:1: ssl cert by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl cert: connection reusable: 0
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'ssl_certificate_by_lua:1: ssl cert by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl cert: connection reusable: 0
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 24: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 24: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 24: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 23: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 23: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 23: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 10: DER cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 10: DER cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 10: DER cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 11: client random - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 11: client random - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 11: client random - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 9: private key protected by passphrase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 9: private key protected by passphrase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 9: private key protected by passphrase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-req-udp-socket.t TEST 5: req socket GC'd - grep_error_log_out (req 0) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
142-req-udp-socket.t TEST 5: req socket GC'd - grep_error_log_out (req 1) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
142-req-udp-socket.t TEST 7: request on secondary ip address - grep_error_log_out (req 0) ''
doesn't match '(?^:sendto: fd:\d+ \d+ of \d+ to "10.254.254.1")'
142-req-udp-socket.t TEST 7: request on secondary ip address - grep_error_log_out (req 1) ''
doesn't match '(?^:sendto: fd:\d+ \d+ of \d+ to "10.254.254.1")'
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 0) @@ -1,5 +1,3 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
-semaphore handler: wait queue: empty, resource count: 1
'
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 1) @@ -1,5 +1,3 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
-semaphore handler: wait queue: empty, resource count: 1
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - grep_error_log_out (req 0) @@ -1,7 +0,0 @@
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - grep_error_log_out (req 1) @@ -1,7 +0,0 @@
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
'
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)
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 1)
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:
162-ssl-client-hello-by.t TEST 22: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 22: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 22: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
162-ssl-client-hello-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
162-ssl-client-hello-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
162-ssl-client-hello-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 9: lua exception - no yield - pattern "lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 9: lua exception - no yield - pattern "lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 9: lua exception - no yield - pattern "lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 10: lua exception - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 10: lua exception - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 10: lua exception - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
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 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
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 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
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 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
163-ssl-two-verification.t TEST 1: simple logging - grep_error_log_out (req 0) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
163-ssl-two-verification.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
163-ssl-two-verification.t TEST 1: simple logging - grep_error_log_out (req 1) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
163-ssl-two-verification.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
163-ssl-two-verification.t TEST 1: simple logging - grep_error_log_out (req 2) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
163-ssl-two-verification.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)

Warnings

Go back to the index page.