(This page was automatically generated by the tools in the opsboy project on 09:42:25 11-Nov-2015 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
1bf0757a 2015-07-07 13:29:55 GMT 0 77 170 17643 3035 sec

LuaJIT

LuaJIT 2.1.0-alpha, commit 5d54514

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/07/07 15:31:37 [debug] 23256\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0)
023-rewrite/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$
)'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (req 0) got: '1024
'
expected: '0
'
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 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
+56
bah
bar
'
043-shdict.t TEST 47: flush_expires an empty dict - response_body - response is expected (req 0) got: '2
'
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 36: replace key (key not exists) - response_body - response is expected (req 0) @@ -1,2 +1,2 @@
-incr: nil not found
+incr: 34 nil
-foo = nil
+foo = 34
'
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/07/07 15:53:47 [debug] 14194\#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/07/07 15:53:50 [debug] 14279\#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/07/07 15:53:50 [debug] 14279\#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/07/07 15:53:51 [debug] 14300\#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/07/07 15:53:52 [debug] 14321\#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/07/07 15:53:52 [debug] 14321\#0: lua tcp socket keepalive: free connection pool for \"B\"" (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 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 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 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 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 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 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 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 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 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 6: log_by_lua + shared dict - pattern "(?^:/lua200: [12])" 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 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 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 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 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 25: no ngx.req.socket() - 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)
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 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 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 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 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 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 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 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)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8183 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 8187 pending timers
'
expected: 'lua found 8191 pending timers
'
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 (req 0) @@ -1,12 +1,12 @@
successfully set foo.
-successfully set bar.
+failed to set bar: no memory
found foo: 4000
-successfully set baz with force.
-foo not found
+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.
found foo: 4000
successfully set baz with force.
foo not found
'
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - 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
'
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" matches a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - 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
'
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" matches a line in error.log (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 12: CRL has expired
-failed to send http request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" matches a line in error.log (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (req 1) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 12: CRL has expired
-failed to send http request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" matches a line in error.log (req 1)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - 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 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (req 0) @@ -1,4 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: true
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (req 1) @@ -1,4 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: true
-connected: 1
-ssl handshake: true
'
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
$)'

Warnings

Go back to the index page.