(This page was automatically generated by the tools in the opsboy project on 19:10:18 17-Apr-2018 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
91a0ad23 | 2018-04-15 17:46:04 GMT | 20 | 375 | 194 | 20139 | 6563 sec |
File | Name | Details |
---|---|---|
109-timer-hup.t | TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 0) |
got: '' expected: 'lua found 100 pending timers ' |
124-init-worker.t | TEST 20: destroy Lua VM in cache processes (without privileged agent or shdict) - grep_error_log_out (req 0) |
'lua close the global Lua VM 04CDC8F0 in the cache helper process 23138 lua close the global Lua VM 04CDC8F0 lua close the global Lua VM 052A5E88 lua close the global Lua VM 04CDC8F0 in the cache helper process 23140 lua close the global Lua VM 04CDC8F0 ' doesn't match '(?^:\A(?:lua close the global Lua VM ([0-9A-F]+) in the cache helper process \d+ lua close the global Lua VM \1 lua close the global Lua VM \1 in the cache helper process \d+ lua close the global Lua VM \1 |lua close the global Lua VM ([0-9A-F]+) in the cache helper process \d+ lua close the global Lua VM \2 in the cache helper process \d+ lua close the global Lua VM \2 lua close the global Lua VM \2 )(?:lua close the global Lua VM [0-9A-F]+ )*\z)' |
145-shdict-list.t | ERROR: client socket timed out - TEST 15: list removed: expired |
' |
145-shdict-list.t | TEST 15: list removed: expired - status code ok |
got: '' expected: '200' |
145-shdict-list.t | ERROR: client socket timed out - TEST 16: list removed: forcibly |
' |
145-shdict-list.t | TEST 16: list removed: forcibly - status code ok |
got: '' expected: '200' |
145-shdict-list.t | ERROR: client socket timed out - TEST 19: incr on expired list |
' |
145-shdict-list.t | TEST 19: incr on expired list - status code ok |
got: '' expected: '200' |
147-tcp-socket-timeouts.t | TEST 2: read timeout - response_body_like - response is expected (failed to send request: timeout) |
'failed to send request: timeout ' doesn't match '(?^s:failed to receive a line: timeout \[\] )' |
147-tcp-socket-timeouts.t | TEST 2: read timeout - pattern "lua tcp socket read timed out" should match a line in error.log (req 0) | |
147-tcp-socket-timeouts.t | TEST 7: different timeout with duplex socket (settimeouts) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -received: ok +failed to send request: timeout -failed to receive a line: closed [] ' |
147-tcp-socket-timeouts.t | TEST 7: different timeout with duplex socket (settimeouts) - pattern "[error]" should not match any line in error.log but matches line "2018/04/15 22:15:21 [error] 27300\#0: *94 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
147-tcp-socket-timeouts.t | TEST 1: sanity - response_body_like - response is expected (failed to send request: timeout) |
'failed to send request: timeout ' doesn't match '(?^s:received: foo )' |
147-tcp-socket-timeouts.t | TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2018/04/15 22:15:30 [error] 27318\#0: *111 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
147-tcp-socket-timeouts.t | TEST 6: different timeout with duplex socket (settimeout) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -received: ok +failed to send request: timeout -failed to receive a line: closed [] ' |
147-tcp-socket-timeouts.t | TEST 6: different timeout with duplex socket (settimeout) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0) | |
147-tcp-socket-timeouts.t | TEST 6: different timeout with duplex socket (settimeout) - pattern "failed to receive data: timeout" should match a line in error.log (req 0) | |
151-initby-hup.t | TEST 2: error in init after HUP (master still alive, worker process still the same as before) - pattern "failed to init" should match a line in error.log (req 0) | |
151-initby-hup.t | TEST 5: error in init after HUP, not reloaded but foo have changed. - response_body - response is expected (repeated req 0, req 0) |
got: "hello, FOO\x{0a}" length: 11 expected: "foo have changed\x{0a}" length: 17 strings begin to differ at char 1 (line 1 column 1) |
151-initby-hup.t | TEST 5: error in init after HUP, not reloaded but foo have changed. - pattern "failed to init" should match a line in error.log (req 0) |
File | Name | Details |
---|---|---|
023-rewrite/socket-keepalive.t | TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 20:51:20 [debug] 17366\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) | |
043-shdict.t | TEST 49: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,4 @@ -2 +3 bah bar +foo ' |
043-shdict.t | TEST 55: list all keys in a shdict with all keys expired - response_body - response is expected (repeated req 0, req 0) |
got: '1 ' expected: '0 ' |
043-shdict.t | TEST 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) |
got: '1 ' expected: '0 ' |
043-shdict.t | nginx: [emerg] | lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26 |
043-shdict.t | TEST 57: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) |
got: '2051 ' expected: '2048 ' |
043-shdict.t | TEST 52: list keys in a shdict with limit larger than number of keys - response_body - response is expected (repeated req 0, req 0) |
got: '3 ' expected: '2 ' |
043-shdict.t | TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -nil +true -nil +true ' |
056-flush.t | TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0) | |
056-flush.t | TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1) | |
059-unix-socket.t | TEST 4: ngx.socket.stream - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -request sent: 57 -received: HTTP/1.1 200 OK -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -failed to receive a line: closed -close: 1 nil ' |
059-unix-socket.t | TEST 4: ngx.socket.stream - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -request sent: 57 -received: HTTP/1.1 200 OK -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -failed to receive a line: closed -close: 1 nil ' |
068-socket-keepalive.t | TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 21:39:13 [debug] 10140\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) | |
068-socket-keepalive.t | TEST 15: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 21:39:21 [debug] 10231\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) | |
068-socket-keepalive.t | TEST 15: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 21:39:21 [debug] 10231\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) | |
068-socket-keepalive.t | TEST 16: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 21:39:23 [debug] 10253\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) | |
068-socket-keepalive.t | TEST 17: custom pools (same pool for the same path) - unix - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -connected: 1, reused: 0 +failed to connect: no such file or directory -connected: 1, reused: 1 +failed to connect: no such file or directory ' |
068-socket-keepalive.t | TEST 17: 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 17: 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 17: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 21:39:25 [debug] 10275\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) | |
068-socket-keepalive.t | TEST 17: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2018/04/15 21:39:25 [debug] 10275\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) | |
086-init-by.t | nginx: [error] | init_by_lua error: init_by_lua:2: failed to init |
106-timer.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
106-timer.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 1) | |
106-timer.t | TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1) | |
106-timer.t | TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" should match a line in error.log (req 0) | |
106-timer.t | TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0) | |
106-timer.t | TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 1) | |
106-timer.t | TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1) | |
106-timer.t | TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 1) | |
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 "http lua close fake http connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 1: single timer - pattern "in callback: hello, 1" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 1: single timer - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 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 "http lua close fake http connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 1!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 2!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 3!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 4!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 5!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 6!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 7!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 8!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 9!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 2: multiple timers - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) |
got: '' expected: '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: 'lua found 8183 pending timers ' expected: 'lua found 8191 pending timers ' |
109-timer-hup.t | TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 0) |
got: '' expected: 'lua found 1 pending timers ' |
109-timer-hup.t | TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 1) |
got: '' expected: 'lua found 1 pending timers ' |
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 "http lua close fake http connection" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0) | |
109-timer-hup.t | TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" should match a line in error.log (req 0) | |
124-init-worker.t | TEST 18: syslog error log - udp_query ok |
'' doesn't match '(?^:Bad bad bad)' |
126-shdict-frag.t | TEST 2: merge 2 single-page free slabs (forcibly evicted, merge backward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ -successfully set foo. +successfully set foo with force. successfully set bar. found foo: 4000 successfully set baz with force. ' |
126-shdict-frag.t | TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,11 @@ successfully set foo. -successfully set bar. -successfully set baz with force. -foo not found +failed to set bar: no memory +failed to set baz: no memory +found foo: 4000 bar not found -found baz: 8102 -successfully set foo with force. -successfully set bar. +baz not found +successfully set foo. +successfully set bar with force. successfully set baz with force. foo not found bar not found ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,5 @@ -successfully set bar. +successfully set bar with force. failed to safe set baz: no memory found bar: 4000 delete bar -failed to safe set baz: no memory +successfully safe set baz ' |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 29: 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 29: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 29: 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 26: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: true ' |
129-ssl-socket.t | TEST 26: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: true ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: 18: self signed certificate ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: 18: self signed certificate ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1) | |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56 |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2018/04/15 22:10:06 [emerg] 25444\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) | |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 14: 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 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 14: 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 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 14: 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 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "[emerg]" should not match any line in error.log but matches line "2018/04/15 22:10:16 [emerg] 25444\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 "received memc reply: OK" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 "received memc reply: OK" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2018/04/15 22:10:36 [emerg] 25444\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
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 "get_phase: ssl_cert" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
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 "get_phase: ssl_cert" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
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 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 18: 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 18: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 18: 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 18: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - pattern "(?^:\[error\] .*? send\(\) failed)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 18: 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 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: timeout ' |
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 "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - pattern "[error]" should not match any line in error.log but matches line "2018/04/15 22:10:47 [error] 25756\#0: send() failed (111: Connection refused)" (req 0) | |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: timeout ' |
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 "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: timeout ' |
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 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 15: coroutine API - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 15: coroutine API - grep_error_log_out (req 0) |
@@ -1,6 +0,0 @@ -co resume, status: suspended -co yield: 0 -co resume, status: suspended -co yield: 1 -co resume, status: suspended -co yield: 2 ' |
139-ssl-cert-by.t | TEST 15: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 15: coroutine API - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 15: coroutine API - grep_error_log_out (req 1) |
@@ -1,6 +0,0 @@ -co resume, status: suspended -co yield: 0 -co resume, status: suspended -co yield: 1 -co resume, status: suspended -co yield: 2 ' |
139-ssl-cert-by.t | TEST 15: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 15: coroutine API - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 15: coroutine API - grep_error_log_out (req 2) |
@@ -1,6 +0,0 @@ -co resume, status: suspended -co yield: 0 -co resume, status: suspended -co yield: 1 -co resume, status: suspended -co yield: 2 ' |
139-ssl-cert-by.t | TEST 15: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" 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 http {} level - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} 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 http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" 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 http {} level - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} 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 http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" 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 http {} level - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - 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 http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 2) | |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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) | |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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 - response_body - response is expected (repeated req 2, req 0) |
@@ -1,11 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
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) | |
142-ssl-session-store.t | nginx: [emerg] | "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28 |
142-ssl-session-store.t | TEST 3: timer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 3: timer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 3: timer - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 8: get phase - pattern "[emerg]" should not match any line in error.log but matches line "2018/04/15 22:11:39 [emerg] 26034\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/https.sock failed (2: No such file or directory)" (req 0) | |
142-ssl-session-store.t | TEST 8: get phase - pattern "[emerg]" should not match any line in error.log but matches line "2018/04/15 22:11:39 [emerg] 26034\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/http.sock failed (2: No such file or directory)" (req 0) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
142-ssl-session-store.t | TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2) | |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -ssl_session_fetch_by_lua_block:3: bad bad bad -ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - grep_error_log_out (req 2) |
@@ -1,2 +0,0 @@ -ssl_session_fetch_by_lua_block:3: bad bad bad -ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2018/04/15 22:12:02 [emerg] 26236\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/http.sock failed (2: No such file or directory)" (req 0) | |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -ssl cert by lua is running! -ssl store session by lua is running! ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ -ssl fetch session by lua is running! -ssl cert by lua is running! -ssl store session by lua is running! ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 2) |
@@ -1,3 +0,0 @@ -ssl fetch session by lua is running! -ssl cert by lua is running! -ssl store session by lua is running! ' |
143-ssl-session-fetch.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 4: cosocket - grep_error_log_out (req 1) |
got: '' expected: 'received memc reply: OK ' |
143-ssl-session-fetch.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 4: cosocket - grep_error_log_out (req 2) |
got: '' expected: 'received memc reply: OK ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 10: get phase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 10: get phase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 10: get phase - grep_error_log_out (req 1) |
got: '' expected: 'get_phase: ssl_session_fetch ' |
143-ssl-session-fetch.t | TEST 10: get phase - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 10: get phase - grep_error_log_out (req 2) |
got: '' expected: 'get_phase: ssl_session_fetch ' |
143-ssl-session-fetch.t | TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 1: simple logging - grep_error_log_out (req 1) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 1 ssl session fetch: connection reusable: 1 reusable connection: 0 ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!, )' |
143-ssl-session-fetch.t | TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 1: simple logging - grep_error_log_out (req 2) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 1 ssl session fetch: connection reusable: 1 reusable connection: 0 ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!, )' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - grep_error_log_out (req 1) |
got: '' expected: 'a.lua:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - grep_error_log_out (req 2) |
got: '' expected: 'a.lua:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 1) |
got: '' expected: 'lua exit with code 0 ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 2) |
got: '' expected: 'lua exit with code 0 ' |
143-ssl-session-fetch.t | TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 2: sleep - grep_error_log_out (req 1) |
'' doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)' |
143-ssl-session-fetch.t | TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 2: sleep - grep_error_log_out (req 2) |
'' doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad ' |
145-shdict-list.t | TEST 15: list removed: expired - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +0,0 @@ -max - 1 matched keys length: true -keys all expired, left number: 0 -loop again, max matched: true -loop again, max matched: true ' |
145-shdict-list.t | TEST 2: get operation on list type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ -push success +push err: value not a list -nil value is a list +bar nil ' |
145-shdict-list.t | TEST 16: list removed: forcibly - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +0,0 @@ -two == number 2: true -no one left: 0 -two == number 2: true ' |
145-shdict-list.t | TEST 13: lpush and rpop - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ -1 +push err: value not a list -2 +pop err: value not a list -3 ' |
145-shdict-list.t | TEST 7: incr operation on list type - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ -push success +push err: value not a list nil not a number -nil value is a list +bar nil ' |
145-shdict-list.t | TEST 12: lpush and lpop - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ -3 +push err: value not a list -2 +pop err: value not a list -1 ' |
145-shdict-list.t | TEST 19: incr on expired list - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'done ' |
146-malloc-trim.t | TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2018/04/15 22:14:00 [debug] 27044\#0: *2 malloc_trim() disabled" (req 0) | |
146-malloc-trim.t | TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2018/04/15 22:14:00 [debug] 27044\#0: *3 malloc_trim() disabled" (req 0) | |
146-malloc-trim.t | TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2018/04/15 22:14:00 [debug] 27044\#0: *4 malloc_trim() disabled" (req 0) | |
146-malloc-trim.t | TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2018/04/15 22:14:01 [debug] 27044\#0: *5 malloc_trim() disabled" (req 0) | |
146-malloc-trim.t | TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) |
'malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 ' doesn't match '(?^:\Amalloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] \z)' |
146-malloc-trim.t | TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) |
'malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 ' doesn't match '(?^:\Amalloc_trim\(1\) returned [01] \z)' |
146-malloc-trim.t | TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) |
'malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 ' doesn't match '(?^:\Amalloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] \z)' |
146-malloc-trim.t | TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) |
'malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 ' doesn't match '(?^:\Amalloc_trim\(1\) returned [01] malloc_trim\(1\) returned [01] \z)' |
146-malloc-trim.t | TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) |
'malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 malloc_trim(1) returned 0 ' doesn't match '(?^:\Amalloc_trim\(1\) returned [01] \z)' |
146-malloc-trim.t | TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) |
@@ -1,3 +1,12 @@ -malloc_trim(1) returned 1 +malloc_trim(1) returned 0 -malloc_trim(1) returned 1 +malloc_trim(1) returned 0 -malloc_trim(1) returned 1 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 +malloc_trim(1) returned 0 ' |
148-fake-shm-zone.t | TEST 3: get_info - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,4 @@ name=x1 size=1048576 isinit=true -isold=false +isold=true ' |
148-fake-shm-zone.t | TEST 4: multiply zones - response_body - response is expected (repeated req 0, req 0) |
@@ -1,7 +1,7 @@ name=x1 size=1048576 isinit=true -isold=false +isold=true name=x2 size=2097152 isinit=true ' |
148-fake-shm-zone.t | nginx: [emerg] | lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26 |
152-timer-every.t | TEST 5: callback args - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 22:16:26 [alert] 27585\#0: 9 lua_max_running_timers are not enough" (req 0) | |
152-timer-every.t | TEST 5: callback args - pattern "[alert]" should not match any line in error.log but matches line "2018/04/15 22:16:27 [alert] 27585\#0: 9 lua_max_running_timers are not enough" (req 0) | |
152-timer-every.t | TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ registered timer -foo = 6 +foo = 3 ' |
152-timer-every.t | TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
152-timer-every.t | TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
152-timer-every.t | TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 1) | |
152-timer-every.t | TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ registered timer -foo = 6 +foo = 3 ' |
152-timer-every.t | TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ registered timer -growth1 == growth2: true +growth1 == growth2: false ' |
153-semaphore-hup.t | TEST 2: timer + reload (lua code cache off) - grep_error_log_out (req 0) |
@@ -1,5 +1,2 @@ created semaphore object created semaphore object -try to reload nginx -created semaphore object -created semaphore object ' |
Go back to the index page.