(This page was automatically generated by the tools in the opsboy project on 03:17:25 31-May-2022 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
7f1b2f34 2022-04-14 05:36:02 GMT 10 44 116 10254 1853 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

Compilation Errors

Unexpected Failures

File Name Details
160-disable-init-by-lua.t TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 0)
160-disable-init-by-lua.t TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "[error]" should not match any line in error.log but matches line "2022/04/14 06:07:33 [error] 3054\#0: send() failed (111: Connection refused)" (req 0) 2022/04/14 06:07:33 [debug] 3054\#0: close listening unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock \#11
2022/04/14 06:07:33 [debug] 3054\#0: epoll del event: fd:7 op:2 ev:00000000
2022/04/14 06:07:33 [debug] 3054\#0: close listening 0.0.0.0:1985 \#7
2022/04/14 06:07:33 [debug] 3054\#0: epoll del event: fd:8 op:2 ev:00000000
2022/04/14 06:07:33 [debug] 3054\#0: close listening 0.0.0.0:1984 \#8
2022/04/14 06:07:33 [notice] 3054\#0: exiting
2022/04/14 06:07:33 [debug] 3054\#0: flush files
2022/04/14 06:07:33 [debug] 3054\#0: run cleanup: 000000000804E9B0
2022/04/14 06:07:33 [debug] 3054\#0: run cleanup: 00000000097A1790
'
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - failed to reload configuration after 200 failed test requests
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
ssl handshake: userdata
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
ssl handshake: userdata
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
ssl handshake: userdata
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 23: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 2)

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 = hello, world
'
043-shdict.t TEST 28: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
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: '1
'
expected: '0
'
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: nil not a number
-foo = nil
+foo = hello
'
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: '2051
'
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
'
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 "2022/04/14 05:54:59 [debug] 15156\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2022/04/14 05:54:59 [debug] 15156\#0: *292 http keepalive handler
2022/04/14 05:54:59 [debug] 15156\#0: *292 close http connection: 15
2022/04/14 05:54:59 [debug] 15156\#0: *292 event timer del: 15: 1293667
2022/04/14 05:54:59 [debug] 15156\#0: *292 reusable connection: 0
2022/04/14 05:54:59 [debug] 15156\#0: *292 free: 00000000081F24E0, unused: 0
2022/04/14 05:54:59 [debug] 15156\#0: *292 free: 0000000008190340, unused: 0
2022/04/14 05:54:59 [debug] 15156\#0: *292 free: 0000000008116E60, unused: 0
2022/04/14 05:54:59 [debug] 15156\#0: *292 free: 0000000008116E10, unused: 0
2022/04/14 05:54:59 [debug] 15156\#0: *292 free: 0000000008116D70, 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 "2022/04/14 05:54:59 [debug] 15199\#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) 2022/04/14 05:54:59 [debug] 15199\#0: *321 http keepalive handler
2022/04/14 05:54:59 [debug] 15199\#0: *321 close http connection: 16
2022/04/14 05:54:59 [debug] 15199\#0: *321 event timer del: 16: 1303530
2022/04/14 05:54:59 [debug] 15199\#0: *321 reusable connection: 0
2022/04/14 05:54:59 [debug] 15199\#0: *321 free: 0000000008C842C0, unused: 0
2022/04/14 05:54:59 [debug] 15199\#0: *321 free: 0000000008C84270, unused: 0
2022/04/14 05:54:59 [debug] 15199\#0: *321 free: 0000000008C59550, unused: 0
2022/04/14 05:54:59 [debug] 15199\#0: *321 free: 0000000008BF2BB0, unused: 0
2022/04/14 05:54:59 [debug] 15199\#0: *321 free: 0000000008BE8A80, 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 "2022/04/14 05:55:00 [debug] 15234\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2022/04/14 05:55:00 [debug] 15234\#0: stream lua tcp socket keepalive close handler: fd:15
2022/04/14 05:55:00 [debug] 15234\#0: event timer del: 15: 1296360
2022/04/14 05:55:00 [debug] 15234\#0: reusable connection: 0
2022/04/14 05:55:00 [debug] 15234\#0: stream lua tcp socket keepalive: free connection pool for "B"
2022/04/14 05:55:00 [notice] 15234\#0: exiting
2022/04/14 05:55:00 [debug] 15234\#0: flush files
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 0000000008B389A0
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 00000000087FD2C0
2022/04/14 05:55:00 [debug] 15234\#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 "2022/04/14 05:55:00 [debug] 15234\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2022/04/14 05:55:00 [notice] 15234\#0: exiting
2022/04/14 05:55:00 [debug] 15234\#0: flush files
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 0000000008B389A0
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 00000000087FD2C0
2022/04/14 05:55:00 [debug] 15234\#0: lua decrementing the reference count for Lua VM: 1
2022/04/14 05:55:00 [debug] 15234\#0: lua close the global Lua VM 0000000008373FB0
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 00000000087C8670
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 00000000087DB590
2022/04/14 05:55:00 [debug] 15234\#0: run cleanup: 000000000822EE80
'
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 "2022/04/14 05:55:01 [debug] 15264\#0: stream lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2022/04/14 05:55:01 [notice] 15264\#0: exiting
2022/04/14 05:55:01 [debug] 15264\#0: flush files
2022/04/14 05:55:01 [debug] 15264\#0: run cleanup: 000000000812EDF0
2022/04/14 05:55:01 [debug] 15264\#0: run cleanup: 0000000008432AC0
2022/04/14 05:55:01 [debug] 15264\#0: lua decrementing the reference count for Lua VM: 1
2022/04/14 05:55:01 [debug] 15264\#0: lua close the global Lua VM 0000000008CF1330
2022/04/14 05:55:01 [debug] 15264\#0: run cleanup: 0000000008431490
2022/04/14 05:55:01 [debug] 15264\#0: run cleanup: 0000000008431250
2022/04/14 05:55:01 [debug] 15264\#0: run cleanup: 00000000086E7E40
'
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 "2022/04/14 05:55:02 [debug] 15300\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2022/04/14 05:55:02 [debug] 15300\#0: stream lua tcp socket keepalive close handler: fd:16
2022/04/14 05:55:02 [debug] 15300\#0: event timer del: 16: 1297975
2022/04/14 05:55:02 [debug] 15300\#0: reusable connection: 0
2022/04/14 05:55:02 [debug] 15300\#0: stream lua tcp socket keepalive: free connection pool for "B"
2022/04/14 05:55:02 [debug] 15300\#0: worker cycle
2022/04/14 05:55:02 [debug] 15300\#0: epoll timer: 59500
2022/04/14 05:55:02 [debug] 15300\#0: epoll: fd:8 ev:2011 d:00000000092152D9
2022/04/14 05:55:02 [debug] 15300\#0: epoll_wait() error on fd:8 ev:2011
2022/04/14 05:55:02 [debug] 15300\#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 "2022/04/14 05:55:02 [debug] 15300\#0: stream lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2022/04/14 05:55:02 [debug] 15300\#0: worker cycle
2022/04/14 05:55:02 [debug] 15300\#0: epoll timer: 59500
2022/04/14 05:55:02 [debug] 15300\#0: epoll: fd:8 ev:2011 d:00000000092152D9
2022/04/14 05:55:02 [debug] 15300\#0: epoll_wait() error on fd:8 ev:2011
2022/04/14 05:55:02 [debug] 15300\#0: *408 http wait request handler
2022/04/14 05:55:02 [debug] 15300\#0: *408 malloc: 00000000091B84B0:80
2022/04/14 05:55:02 [debug] 15300\#0: *408 malloc: 00000000091BEDB0:16
2022/04/14 05:55:02 [debug] 15300\#0: *408 malloc: 000000000970EC80:1024
2022/04/14 05:55:02 [debug] 15300\#0: *408 malloc: 00000000091D0070: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 "2022/04/14 05:55:03 [debug] 15337\#0: stream lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2022/04/14 05:55:03 [debug] 15337\#0: worker cycle
2022/04/14 05:55:03 [debug] 15337\#0: epoll timer: 59526
2022/04/14 05:55:03 [debug] 15337\#0: epoll: fd:5 ev:2011 d:00000000085B80E9
2022/04/14 05:55:03 [debug] 15337\#0: epoll_wait() error on fd:5 ev:2011
2022/04/14 05:55:03 [debug] 15337\#0: *438 http wait request handler
2022/04/14 05:55:03 [debug] 15337\#0: *438 malloc: 00000000096904D0:80
2022/04/14 05:55:03 [debug] 15337\#0: *438 malloc: 00000000093E53D0:16
2022/04/14 05:55:03 [debug] 15337\#0: *438 malloc: 000000000821A020:1024
2022/04/14 05:55:03 [debug] 15337\#0: *438 malloc: 000000000940D950: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 "2022/04/14 05:55:09 [debug] 15588\#0: stream lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2022/04/14 05:55:09 [notice] 15588\#0: exiting
2022/04/14 05:55:09 [debug] 15588\#0: flush files
2022/04/14 05:55:09 [debug] 15588\#0: run cleanup: 00000000081C0820
2022/04/14 05:55:09 [debug] 15588\#0: run cleanup: 00000000093D7AD0
2022/04/14 05:55:09 [debug] 15588\#0: lua decrementing the reference count for Lua VM: 1
2022/04/14 05:55:09 [debug] 15588\#0: lua close the global Lua VM 0000000008BD7990
2022/04/14 05:55:09 [debug] 15588\#0: run cleanup: 0000000008BD06A0
2022/04/14 05:55:09 [debug] 15588\#0: run cleanup: 0000000008D7E080
2022/04/14 05:55:09 [debug] 15588\#0: run cleanup: 0000000008682F50
'
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 "2022/04/14 05:55:10 [debug] 15618\#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) 2022/04/14 05:55:10 [debug] 15618\#0: worker cycle
2022/04/14 05:55:10 [debug] 15618\#0: epoll timer: 59532
2022/04/14 05:55:10 [debug] 15618\#0: epoll: fd:4 ev:2011 d:0000000008FEE198
2022/04/14 05:55:10 [debug] 15618\#0: epoll_wait() error on fd:4 ev:2011
2022/04/14 05:55:10 [debug] 15618\#0: *671 http wait request handler
2022/04/14 05:55:10 [debug] 15618\#0: *671 malloc: 00000000090CAC80:80
2022/04/14 05:55:10 [debug] 15618\#0: *671 malloc: 0000000008312670:16
2022/04/14 05:55:10 [debug] 15618\#0: *671 malloc: 0000000008186340:1024
2022/04/14 05:55:10 [debug] 15618\#0: *671 malloc: 00000000090139F0: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 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)
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 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)
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 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)
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 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8188 pending timers
'
expected: 'stream lua found 8191 pending timers
'
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)
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 (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] 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
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.