(This page was automatically generated by the tools in the opsboy project on 15:08:05 28-Dec-2023 GMT.)

Detailed Test Report for ngx_stream_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
378a7e6e 2021-04-22 06:24:26 GMT 0 47 115 9571 1621 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1k 25 Mar 2021

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
043-shdict.t TEST 24: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-add: true nil false
+add: false exists false
-foo = 10502
+foo = 32
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+56
-nil
+56
'
043-shdict.t TEST 53: 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: '2049
'
expected: '2048
'
043-shdict.t TEST 48: 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 51: 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 45: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-2
+3
+56
bah
bar
'
043-shdict.t TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-incr: nil not found
+incr: 34 nil
-foo = nil
+foo = 34
'
043-shdict.t TEST 50: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '0
'
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/22 09:12:22 [debug] 2083\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2021/04/22 09:12:22 [debug] 2083\#0: *292 http keepalive handler
2021/04/22 09:12:22 [debug] 2083\#0: *292 close http connection: 15
2021/04/22 09:12:22 [debug] 2083\#0: *292 event timer del: 15: 10244385
2021/04/22 09:12:22 [debug] 2083\#0: *292 reusable connection: 0
2021/04/22 09:12:22 [debug] 2083\#0: *292 free: 0000000008192520, unused: 0
2021/04/22 09:12:22 [debug] 2083\#0: *292 free: 0000000008192440, unused: 0
2021/04/22 09:12:22 [debug] 2083\#0: *292 free: 00000000081454B0, unused: 0
2021/04/22 09:12:22 [debug] 2083\#0: *292 free: 0000000008133A90, unused: 0
2021/04/22 09:12:22 [debug] 2083\#0: *292 free: 0000000008133120, unused: 0
'
068-socket-keepalive.t TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/22 09:12:23 [debug] 2113\#0: stream lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2021/04/22 09:12:23 [debug] 2113\#0: *321 http keepalive handler
2021/04/22 09:12:23 [debug] 2113\#0: *321 close http connection: 16
2021/04/22 09:12:23 [debug] 2113\#0: *321 event timer del: 16: 10254269
2021/04/22 09:12:23 [debug] 2113\#0: *321 reusable connection: 0
2021/04/22 09:12:23 [debug] 2113\#0: *321 free: 00000000090ED200, unused: 0
2021/04/22 09:12:23 [debug] 2113\#0: *321 free: 00000000090ED1B0, unused: 0
2021/04/22 09:12:23 [debug] 2113\#0: *321 free: 00000000090DE830, unused: 0
2021/04/22 09:12:23 [debug] 2113\#0: *321 free: 0000000009029EA0, unused: 0
2021/04/22 09:12:23 [debug] 2113\#0: *321 free: 0000000008CFD0C0, unused: 0
'
068-socket-keepalive.t TEST 16: 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 "2021/04/22 09:12:24 [debug] 2143\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2021/04/22 09:12:24 [debug] 2143\#0: stream lua tcp socket keepalive close handler: fd:15
2021/04/22 09:12:24 [debug] 2143\#0: event timer del: 15: 10247121
2021/04/22 09:12:24 [debug] 2143\#0: reusable connection: 0
2021/04/22 09:12:24 [debug] 2143\#0: stream lua tcp socket keepalive: free connection pool for "B"
2021/04/22 09:12:24 [notice] 2143\#0: exiting
2021/04/22 09:12:24 [debug] 2143\#0: flush files
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 0000000008B2D360
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 00000000086C6B60
2021/04/22 09:12:24 [debug] 2143\#0: lua decrementing the reference count for Lua VM: 1
'
068-socket-keepalive.t TEST 16: 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 "2021/04/22 09:12:24 [debug] 2143\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2021/04/22 09:12:24 [notice] 2143\#0: exiting
2021/04/22 09:12:24 [debug] 2143\#0: flush files
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 0000000008B2D360
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 00000000086C6B60
2021/04/22 09:12:24 [debug] 2143\#0: lua decrementing the reference count for Lua VM: 1
2021/04/22 09:12:24 [debug] 2143\#0: lua close the global Lua VM 0000000008BCC6B0
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 000000000868D4E0
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 000000000868CCA0
2021/04/22 09:12:24 [debug] 2143\#0: run cleanup: 0000000008227D70
'
068-socket-keepalive.t TEST 17: 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 "2021/04/22 09:12:25 [debug] 2173\#0: stream lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2021/04/22 09:12:25 [notice] 2173\#0: exiting
2021/04/22 09:12:25 [debug] 2173\#0: flush files
2021/04/22 09:12:25 [debug] 2173\#0: run cleanup: 0000000008260840
2021/04/22 09:12:25 [debug] 2173\#0: run cleanup: 0000000008D74DD0
2021/04/22 09:12:25 [debug] 2173\#0: lua decrementing the reference count for Lua VM: 1
2021/04/22 09:12:25 [debug] 2173\#0: lua close the global Lua VM 0000000008BE36D0
2021/04/22 09:12:25 [debug] 2173\#0: run cleanup: 0000000008D72DC0
2021/04/22 09:12:25 [debug] 2173\#0: run cleanup: 0000000008D6D370
2021/04/22 09:12:25 [debug] 2173\#0: run cleanup: 0000000008BA8460
'
068-socket-keepalive.t TEST 18: 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 "2021/04/22 09:12:26 [debug] 2203\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2021/04/22 09:12:26 [debug] 2203\#0: stream lua tcp socket keepalive close handler: fd:16
2021/04/22 09:12:26 [debug] 2203\#0: event timer del: 16: 10248781
2021/04/22 09:12:26 [debug] 2203\#0: reusable connection: 0
2021/04/22 09:12:26 [debug] 2203\#0: stream lua tcp socket keepalive: free connection pool for "B"
2021/04/22 09:12:26 [debug] 2203\#0: worker cycle
2021/04/22 09:12:26 [debug] 2203\#0: epoll timer: 59488
2021/04/22 09:12:26 [debug] 2203\#0: epoll: fd:8 ev:2011 d:0000000008401331
2021/04/22 09:12:26 [debug] 2203\#0: epoll_wait() error on fd:8 ev:2011
2021/04/22 09:12:26 [debug] 2203\#0: *408 http wait request handler
'
068-socket-keepalive.t TEST 18: 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 "2021/04/22 09:12:26 [debug] 2203\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2021/04/22 09:12:26 [debug] 2203\#0: worker cycle
2021/04/22 09:12:26 [debug] 2203\#0: epoll timer: 59488
2021/04/22 09:12:26 [debug] 2203\#0: epoll: fd:8 ev:2011 d:0000000008401331
2021/04/22 09:12:26 [debug] 2203\#0: epoll_wait() error on fd:8 ev:2011
2021/04/22 09:12:26 [debug] 2203\#0: *408 http wait request handler
2021/04/22 09:12:26 [debug] 2203\#0: *408 malloc: 000000000914C9D0:80
2021/04/22 09:12:26 [debug] 2203\#0: *408 malloc: 00000000092BAEA0:16
2021/04/22 09:12:26 [debug] 2203\#0: *408 malloc: 00000000082B2190:1024
2021/04/22 09:12:26 [debug] 2203\#0: *408 malloc: 00000000092BAEF0:16
'
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/22 09:12:26 [debug] 2233\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2021/04/22 09:12:26 [debug] 2233\#0: worker cycle
2021/04/22 09:12:26 [debug] 2233\#0: epoll timer: 59508
2021/04/22 09:12:26 [debug] 2233\#0: epoll: fd:5 ev:2011 d:000000000814C6C1
2021/04/22 09:12:26 [debug] 2233\#0: epoll_wait() error on fd:5 ev:2011
2021/04/22 09:12:26 [debug] 2233\#0: *438 http wait request handler
2021/04/22 09:12:26 [debug] 2233\#0: *438 malloc: 0000000008277310:80
2021/04/22 09:12:26 [debug] 2233\#0: *438 malloc: 00000000083B0DE0:16
2021/04/22 09:12:26 [debug] 2233\#0: *438 malloc: 00000000083B0830:1024
2021/04/22 09:12:26 [debug] 2233\#0: *438 malloc: 00000000086316D0:16
'
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/22 09:12:33 [debug] 2443\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2021/04/22 09:12:33 [notice] 2443\#0: exiting
2021/04/22 09:12:33 [debug] 2443\#0: flush files
2021/04/22 09:12:33 [debug] 2443\#0: run cleanup: 0000000008151FF0
2021/04/22 09:12:33 [debug] 2443\#0: run cleanup: 00000000088243F0
2021/04/22 09:12:33 [debug] 2443\#0: lua decrementing the reference count for Lua VM: 1
2021/04/22 09:12:33 [debug] 2443\#0: lua close the global Lua VM 0000000008C62550
2021/04/22 09:12:33 [debug] 2443\#0: run cleanup: 00000000087C5C30
2021/04/22 09:12:33 [debug] 2443\#0: run cleanup: 00000000083B23E0
2021/04/22 09:12:33 [debug] 2443\#0: run cleanup: 00000000086882B0
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/22 09:12:34 [debug] 2473\#0: stream lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2021/04/22 09:12:34 [debug] 2473\#0: worker cycle
2021/04/22 09:12:34 [debug] 2473\#0: epoll timer: 59508
2021/04/22 09:12:34 [debug] 2473\#0: epoll: fd:4 ev:2011 d:00000000085B6070
2021/04/22 09:12:34 [debug] 2473\#0: epoll_wait() error on fd:4 ev:2011
2021/04/22 09:12:34 [debug] 2473\#0: *671 http wait request handler
2021/04/22 09:12:34 [debug] 2473\#0: *671 malloc: 000000000862BBC0:80
2021/04/22 09:12:34 [debug] 2473\#0: *671 malloc: 000000000875E8E0:16
2021/04/22 09:12:34 [debug] 2473\#0: *671 malloc: 0000000008FF54C0:1024
2021/04/22 09:12:34 [debug] 2473\#0: *671 malloc: 0000000008763490:16
'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
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 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-9]|8[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 27: 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)
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)
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 "stream lua close fake stream 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: 'stream lua found 8188 pending timers
'
expected: 'stream lua found 8191 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 "stream lua close fake stream 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 5: merge one single-page block forward, but no more - 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.
successfully set baz.
found foo: 4000
'
126-shdict-frag.t TEST 4: merge one single-page block backward, but no more - response_body - response is expected (repeated req 0, 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
'
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,5 +1,5 @@
successfully set foo.
-successfully set bar.
+failed to set bar: no memory
found foo: 4000
successfully set baz with force.
foo not found
'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.