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

Detailed Test Report for ngx_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
905d7d0f 2015-11-10 03:23:53 GMT 0 99 171 17849 3069 sec

LuaJIT

LuaJIT 2.1.0-beta1, commit f4db99d

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 "2015/11/10 03:39:38 [debug] 23063\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0)
043-shdict.t TEST 51: list all keys in a shdict with expires - response_body - response is expected (req 0) got: '3
'
expected: '2
'
043-shdict.t TEST 52: list keys in a shdict with limit larger than number of keys - response_body - response is expected (req 0) got: '3
'
expected: '2
'
043-shdict.t TEST 32: replace key (key not exists) - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
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 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 36: replace key (key not exists) - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
-incr: nil not found
+incr: nil not a number
-foo = nil
+foo = true
'
043-shdict.t TEST 28: add key (key not exists) - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
-add: true nil false
+add: false exists false
-foo = 10502
+foo = true
'
043-shdict.t TEST 53: list keys in an empty shdict - 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
+hello
-nil
+hello
'
043-shdict.t TEST 55: list all keys in a shdict with all keys expired - response_body - response is expected (req 0) got: '1024
'
expected: '0
'
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 "2015/11/10 04:02:05 [debug] 14304\#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 "2015/11/10 04:02:09 [debug] 14389\#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 "2015/11/10 04:02:09 [debug] 14389\#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 "2015/11/10 04:02:09 [debug] 14410\#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 "2015/11/10 04:02:10 [debug] 14431\#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 "2015/11/10 04:02:10 [debug] 14431\#0: lua tcp socket keepalive: free connection pool for \"B\"" (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 6: log_by_lua + shared dict - pattern "(?^:/lua200: [12])" 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 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 10: lua error (nil) - pattern "failed to run log_by_lua*: unknown reason" 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 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 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 21: no ngx.exec - pattern "API disabled in the context of log_by_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 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 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 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 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 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 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 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 17: no ngx.location.capture - pattern "API disabled in the context of log_by_lua*" 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)
100-client-abort.t TEST 10: ngx.req.socket + receive() + sleep + stop - pattern "client prematurely closed connection" 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)
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 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 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 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 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)
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 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 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)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8186 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 8184 pending timers
'
expected: 'lua found 8191 pending timers
'
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 2: multiple timers - pattern "http lua close fake http connection" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 1!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 2!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 3!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 4!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 5!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 6!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 7!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 8!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 9!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 10!" matches a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "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 "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 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - 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 with force.
foo not found
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (req 0) @@ -1,4 +1,4 @@
-successfully set bar.
+successfully set bar with force.
failed to safe set baz: no memory
found bar: 4000
delete bar
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - 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
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - 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
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (req 1) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):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] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
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] 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

Warnings

Go back to the index page.