(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 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
17621837 2016-01-08 19:39:37 GMT 0 135 178 18399 10645 sec

LuaJIT

LuaJIT 2.1.0-beta1, commit 2ef8be4

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
023-rewrite/on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - status code ok got: ''
expected: '200'
023-rewrite/on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - response_body - response is expected (req 0) got: ''
expected: 'cannot set on_abort: lua_check_client_abort is off
'
024-access/on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - status code ok got: ''
expected: '200'
024-access/on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - response_body - response is expected (req 0) got: ''
expected: 'cannot set on_abort: lua_check_client_abort is off
'
025-codecache.t TEST 21: set ngx.ctx before internal redirects performed by other nginx modules (with log_by_lua) - pattern "lua release ngx.ctx at ref" matches a line in error.log (req 0)
025-codecache.t TEST 21: set ngx.ctx before internal redirects performed by other nginx modules (with log_by_lua) - pattern "lua close the global Lua VM" matches a line in error.log (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
'
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$
)'
062-count.t TEST 13: entries under ngx. (log by lua) - pattern "ngx. entry count: 116" matches a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
1: failed to connect: timeout
-2: connected: 1
+2: failed to connect: timeout
'
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 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 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 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 2: log_by_lua_file - pattern "Hello from log_by_lua: /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 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 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 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 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 11: globals get cleared for every single request - pattern "foo = 1" 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 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 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 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 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 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 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 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 4: ngx.ctx available in log_by_lua (already defined) - pattern "lua release ngx.ctx" 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 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 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 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 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 15: no ngx.eof - 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)
101-on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - status code ok got: ''
expected: '200'
101-on-abort.t TEST 8: ignore the client abort event in the user callback (no check) - response_body - response is expected (req 0) got: ''
expected: 'cannot set on_abort: lua_check_client_abort is off
'
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(): received: OK" 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 30: user args - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "close: 1 nil" 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 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 13: tcp cosocket in timer handler (keep-alive connections) - set_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 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(): request sent: 11" 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 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 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 1: simple at - pattern "http lua close fake http connection" matches a line in error.log (req 0)
106-timer.t TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - pattern "http lua close fake http connection" 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 4: simple at (sleep in the timer callback) - 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\] .*? my lua timer handler)" 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 "lua ngx.timer expired" 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)
108-timer-safe.t TEST 5: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" matches a line in error.log (req 0)
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 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 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)
108-timer-safe.t TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_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\] .*? 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 "lua ngx.timer expired" 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 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)
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 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 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 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8185 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 8183 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)
109-timer-hup.t TEST 1: single timer - pattern "lua abort pending timers" matches a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" matches a line in error.log (req 0)
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)
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
'
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
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)

Warnings

Go back to the index page.