(This page was automatically generated by the tools in the opsboy project on 16:17:14 09-Jan-2016 GMT.)

Detailed Test Report for ngx_lua in linux i386 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
17621837 2016-01-08 19:39:37 GMT 0 172 178 18401 4412 sec

LuaJIT

LuaJIT 2.1.0-beta1, commit 2ef8be4

Compilation Errors

Unexpected Failures

(none)

Expected Failures

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 "2016/01/08 20:00:21 [debug] 23484\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0)
043-shdict.t TEST 60: get_stale: expired entries can still be fetched - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
32, nil, true
-33, nil, false
+33, nil, true
'
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 (req 0) got: '2050
'
expected: '2048
'
043-shdict.t TEST 45: flush_expires - response_body - response is expected (req 0) got: '53
'
expected: '1
'
043-shdict.t TEST 47: flush_expires an empty dict - response_body - response is expected (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 (req 0) got: '2
'
expected: '0
'
043-shdict.t TEST 48: flush_expires a dict without expired items - response_body - response is expected (req 0) got: '1
'
expected: '0
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
-nil
+32
-nil
+32
'
043-shdict.t TEST 49: list all keys in a shdict - response_body - response is expected (req 0) @@ -1,3 +1,4 @@
-2
+3
bah
bar
+foo
'
043-shdict.t TEST 51: list all keys in a shdict with expires - response_body - response is expected (req 0) got: '1024
'
expected: '2
'
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" matches 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" matches a line in error.log (req 1)
058-tcp-socket.t TEST 9: resolver error (timeout) - response_body_like - response is expected (failed to connect: blah-blah-not-found.agentzh.org could not be resolved (3: Host not found) connected: nil failed to send request: closed) 'failed to connect: blah-blah-not-found.agentzh.org could not be resolved (3: Host not found)
connected: nil
failed to send request: closed
'
doesn't match '(?^s:^failed to connect: blah-blah-not-found\.agentzh\.org could not be resolved(?: \(\d+: Operation timed out\))?
connected: nil
failed to send request: closed$
)'
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 "2016/01/08 20:32:57 [debug] 15691\#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 "2016/01/08 20:33:03 [debug] 15780\#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 "2016/01/08 20:33:03 [debug] 15780\#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 "2016/01/08 20:33:04 [debug] 15802\#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 (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"" matches 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" matches 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 "2016/01/08 20:33:06 [debug] 15824\#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 "2016/01/08 20:33:06 [debug] 15824\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0)
075-logby.t TEST 31: reading ngx.header.HEADER in log_by_lua - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):1: content-type: text/plain)" matches a line in error.log (req 0)
075-logby.t TEST 17: no ngx.location.capture - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 6: log_by_lua + shared dict - pattern "(?^:/lua200: [12])" matches a line in error.log (req 0)
075-logby.t TEST 22: no ngx.req.set_uri(uri, true) - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 7: ngx.ctx used in different locations and different ctx (1) - pattern "ngx.ctx.counter: nil" matches a line in error.log (req 0)
075-logby.t TEST 7: ngx.ctx used in different locations and different ctx (1) - pattern "lua release ngx.ctx" matches a line in error.log (req 0)
075-logby.t TEST 9: lua error (string) - pattern "(?^:failed to run log_by_lua\*: log_by_lua\(nginx\.conf:\d+\):1: Bad)" matches a line in error.log (req 0)
075-logby.t TEST 20: no ngx.redirect - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 1: log_by_lua - pattern "Hello from log_by_lua: /lua" matches a line in error.log (req 0)
075-logby.t TEST 2: log_by_lua_file - pattern "Hello from log_by_lua: /lua" matches a line in error.log (req 0)
075-logby.t TEST 12: no ngx.print - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 23: ngx.req.set_uri(uri) exists - pattern "log_by_lua: uri: /blah" matches a line in error.log (req 0)
075-logby.t TEST 14: no ngx.flush - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 3: log_by_lua_file & content_by_lua - pattern "Hello from log_by_lua: 8" matches a line in error.log (req 0)
075-logby.t TEST 28: backtrace - pattern "something bad happened" matches a line in error.log (req 0)
075-logby.t TEST 28: backtrace - pattern "stack traceback:" matches a line in error.log (req 0)
075-logby.t TEST 28: backtrace - pattern "in function 'error'" matches a line in error.log (req 0)
075-logby.t TEST 28: backtrace - pattern "in function 'bar'" matches a line in error.log (req 0)
075-logby.t TEST 28: backtrace - pattern "in function 'foo'" matches a line in error.log (req 0)
075-logby.t TEST 11: globals get cleared for every single request - pattern "foo = 1" matches a line in error.log (req 0)
075-logby.t TEST 25: no ngx.req.socket() - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 24: no ngx.req.read_body() - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 27: no ngx.socket.connect() - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 13: no ngx.say - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 26: no ngx.socket.tcp() - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 15: no ngx.eof - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 5: ngx.ctx available in log_by_lua (not defined yet) - pattern "ngx.ctx.counter: nil" matches 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" matches a line in error.log (req 0)
075-logby.t TEST 16: no ngx.send_headers - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 19: no ngx.exit - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 18: no ngx.location.capture_multi - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
075-logby.t TEST 21: no ngx.exec - pattern "API disabled in the context of log_by_lua*" matches a line in error.log (req 0)
087-udp-socket.t TEST 9: read timeout and re-receive - pattern "lua udp socket read timed out" matches a line in error.log (req 0)
089-phase.t TEST 9: get_phase in ngx.timer callback - pattern "current phase: timer" matches a line in error.log (req 0)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "go(): request sent: 11" matches a line in error.log (req 0)
106-timer.t TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - pattern "go(): received: OK" matches 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]))" matches 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]))" matches a line in error.log (req 1)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" matches a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "(?^:go\(\): connected: 1, reused: \d+)" matches a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): request sent: 11" matches a line in error.log (req 0)
106-timer.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" matches a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" matches 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]))" matches 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]))" matches 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]))" matches a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "http lua close fake http connection" matches 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]))" matches a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" matches a line in error.log (req 0)
106-timer.t TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 16: shared dict - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 16: shared dict - pattern "get foo: 32 number" matches a line in error.log (req 0)
106-timer.t TEST 16: shared dict - pattern "get bah: 10502 number" matches 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)" matches a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "http lua close fake http connection" matches a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "(?^:go\(\): connected: 1, reused: \d+)" matches a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): request sent: 11" matches a line in error.log (req 0)
108-timer-safe.t TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - pattern "go(): received: OK" matches 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]))" matches 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]))" matches a line in error.log (req 1)
108-timer-safe.t TEST 5: 0 timer - pattern "http lua close fake http connection" matches 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\] .*? my lua timer handler)" matches 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]))" matches a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "http lua close fake http connection" matches 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]))" matches 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]))" matches 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]))" matches a line in error.log (req 1)
109-timer-hup.t TEST 1: single timer - pattern "http lua close fake http connection" matches a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "in callback: hello, 1" matches a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "timer prematurely expired: true" matches 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" matches 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" matches 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" matches 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" matches 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" matches a line in error.log (req 0)
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 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8184 pending timers
'
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 8185 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" matches 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" matches 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" matches 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" matches 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" matches 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" matches 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" matches 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" matches 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 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
126-shdict-frag.t TEST 2: merge 2 single-page free slabs (forcibly evicted, merge backward) - response_body - response is expected (req 0) @@ -1,6 +1,6 @@
-successfully set foo.
-successfully set bar.
-found foo: 4000
+failed to set foo: no memory
+successfully set bar with force.
+foo not found
successfully set baz with force.
foo not found
bar not found
'
126-shdict-frag.t TEST 4: merge one single-page block backward, but no more - response_body - response is expected (req 0) @@ -1,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
successfully set baz.
found foo: 4000
'
126-shdict-frag.t TEST 5: merge one single-page block forward, but no more - response_body - response is expected (req 0) @@ -1,5 +1,5 @@
successfully set foo.
-successfully set bar.
+successfully set bar with force.
successfully set baz.
found foo: 4000
found bar: 4001
'
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] unexpected lua 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 5: ngx.exit(0) - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2016/01/08 20:56:09 [emerg] 30571\#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 6: ngx.exit(ngx.ERROR) - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2016/01/08 20:56:16 [emerg] 30571\#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 13: subrequests disabled - response_body - response is expected (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"" matches 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*" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: subrequests disabled - response_body - response is expected (req 1) @@ -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"" matches 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*" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: subrequests disabled - response_body - response is expected (req 2) @@ -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"" matches 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*" matches a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" matches a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2016/01/08 20:56:25 [emerg] 30571\#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 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (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 3: timer - pattern "lua ssl server name: "test.com"" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (req 1) @@ -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 3: timer - pattern "lua ssl server name: "test.com"" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (req 2) @@ -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 3: timer - pattern "lua ssl server name: "test.com"" matches a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" matches a line in error.log (req 2)
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (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 16: simple user thread wait with yielding - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (req 1) @@ -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 16: simple user thread wait with yielding - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (req 2) @@ -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 16: simple user thread wait with yielding - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2016/01/08 20:56:35 [emerg] 30571\#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 (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"" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (req 1) @@ -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"" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (req 2) @@ -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"" matches a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" matches a line in error.log (req 2)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (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"" matches a line in error.log (req 0)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (req 1) @@ -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"" matches a line in error.log (req 1)
139-ssl-cert-by.t TEST 15: coroutine API - response_body - response is expected (req 2) @@ -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"" matches a line in error.log (req 2)

Warnings

Go back to the index page.