(This page was automatically generated by the tools in the opsboy project on 00:22:39 30-Oct-2025 GMT.)

Detailed Test Report for ngx_stream_lua in linux x86_64 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
db8022db 2025-10-28 05:30:06 GMT 0 56 122 10777 4861 sec

LuaJIT

LuaJIT 2.1.1761112883, commit b65ec19d

Compilation Errors

Segmentation Faults

Unexpected Failures

(none)

Expected Failures

File Name Details
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 0, req 0) got: 'h'
expected: 'hi
'
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 1, req 0) got: 'h'
expected: 'hi
'
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2025/10/28 05:41:21 [debug] 1247#0: stream lua decrementing the reference count for Lua VM: 3" (req 0) 2025/10/28 05:41:21 [debug] 1247#0: run cleanup: 00000000061FA9B0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FAB70, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FAAC0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FAA10, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA960, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA8A0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA6D0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA5A0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA470, unused: 0
'
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2025/10/28 05:41:21 [debug] 1247#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2025/10/28 05:41:21 [debug] 1247#0: run cleanup: 00000000061FA9B0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FAB70, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FAAC0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FAA10, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA960, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA8A0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA6D0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA5A0, unused: 0
2025/10/28 05:41:21 [debug] 1247#0: free: 00000000061FA470, unused: 0
'
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2025/10/28 05:41:22 [debug] 1247#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2025/10/28 05:41:22 [debug] 1247#0: run cleanup: 000000000630B340
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630B500, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630B450, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630B3A0, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630B2F0, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630B230, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630B060, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630AF30, unused: 0
2025/10/28 05:41:22 [debug] 1247#0: free: 000000000630AE00, unused: 0
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2025/10/28 05:41:47 [debug] 1271#0: stream lua tcp socket keepalive max idle timeout" (req 0) 2025/10/28 05:41:47 [debug] 1271#0: stream lua tcp socket keepalive close handler: fd:11
2025/10/28 05:41:47 [debug] 1271#0: poll del event: fd:11 ev:1
2025/10/28 05:41:47 [debug] 1271#0: index: copy event 6 to 5
2025/10/28 05:41:47 [debug] 1271#0: reusable connection: 0
2025/10/28 05:41:47 [debug] 1271#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2025/10/28 05:41:47 [debug] 1271#0: posted event 0000000006070720
2025/10/28 05:41:47 [debug] 1271#0: *3 delete posted event 0000000006070720
2025/10/28 05:41:47 [debug] 1271#0: *3 session run request: "0000000006076690"
2025/10/28 05:41:47 [debug] 1271#0: *3 stream writer handler
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2025/10/28 05:41:47 [debug] 1271#0: stream lua tcp socket keepalive max idle timeout" (req 1) 2025/10/28 05:41:47 [debug] 1271#0: stream lua tcp socket keepalive close handler: fd:11
2025/10/28 05:41:47 [debug] 1271#0: poll del event: fd:11 ev:1
2025/10/28 05:41:47 [debug] 1271#0: index: copy event 6 to 5
2025/10/28 05:41:47 [debug] 1271#0: reusable connection: 0
2025/10/28 05:41:47 [debug] 1271#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2025/10/28 05:41:47 [debug] 1271#0: posted event 0000000006070720
2025/10/28 05:41:47 [debug] 1271#0: *3 delete posted event 0000000006070720
2025/10/28 05:41:47 [debug] 1271#0: *3 session run request: "0000000006076690"
2025/10/28 05:41:47 [debug] 1271#0: *3 stream writer handler
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2025/10/28 05:41:48 [debug] 1271#0: stream lua tcp socket keepalive max idle timeout" (req 1) 2025/10/28 05:41:48 [debug] 1271#0: stream lua tcp socket keepalive close handler: fd:11
2025/10/28 05:41:48 [debug] 1271#0: poll del event: fd:11 ev:1
2025/10/28 05:41:48 [debug] 1271#0: index: copy event 6 to 5
2025/10/28 05:41:48 [debug] 1271#0: reusable connection: 0
2025/10/28 05:41:48 [debug] 1271#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2025/10/28 05:41:48 [debug] 1271#0: posted event 0000000006070720
2025/10/28 05:41:48 [debug] 1271#0: *7 delete posted event 0000000006070720
2025/10/28 05:41:48 [debug] 1271#0: *7 session run request: "0000000006213960"
2025/10/28 05:41:48 [debug] 1271#0: *7 stream writer handler
'
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 1)
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 62: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
058-tcp-socket.t TEST 62: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
067-req-socket.t TEST 9: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
067-req-socket.t TEST 9: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
067-req-socket.t TEST 10: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
067-req-socket.t TEST 10: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
067-req-socket.t TEST 13: sanity of raw req socket receive any - response_body - response is expected (repeated req 0, req 0) got: 'receive stream response error: connection reset by peer
'
expected: '1: received: hello
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "Got: 5 bytes" should match a line in error.log (req 0)
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "[error]" should not match any line in error.log but matches line "2025/10/28 06:13:00 [error] 4605#0: *1 recv() failed (104: Connection reset by peer), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2025/10/28 06:13:00 [debug] 4605#0: *1 lua tcp socket recv returned -1: "/t?"
2025/10/28 06:13:00 [debug] 4605#0: *1 lua tcp socket handle read error
2025/10/28 06:13:00 [debug] 4605#0: *1 lua tcp socket waking up the current request
2025/10/28 06:13:00 [debug] 4605#0: *1 lua tcp operation done, resuming lua thread
2025/10/28 06:13:00 [debug] 4605#0: *1 lua tcp socket calling prepare retvals handler 0000000000518BCA, u:000000000606F800
2025/10/28 06:13:00 [debug] 4605#0: *1 lua tcp socket receive return value handler
2025/10/28 06:13:00 [debug] 4605#0: *1 poll del event: fd:9 ev:1
2025/10/28 06:13:00 [debug] 4605#0: *1 lua run thread, top:8 c:1
2025/10/28 06:13:00 [debug] 4605#0: *1 lua finalize socket
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - response_body - response is expected (repeated req 1, req 0) got: 'receive stream response error: connection reset by peer
'
expected: '1: received: hello
'
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "Got: 5 bytes" should match a line in error.log (req 1)
067-req-socket.t TEST 13: sanity of raw req socket receive any - pattern "[error]" should not match any line in error.log but matches line "2025/10/28 06:13:00 [error] 4605#0: *4 recv() failed (104: Connection reset by peer), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2025/10/28 06:13:00 [debug] 4605#0: *4 lua tcp socket recv returned -1: "/t?"
2025/10/28 06:13:00 [debug] 4605#0: *4 lua tcp socket handle read error
2025/10/28 06:13:00 [debug] 4605#0: *4 lua tcp socket waking up the current request
2025/10/28 06:13:00 [debug] 4605#0: *4 lua tcp operation done, resuming lua thread
2025/10/28 06:13:00 [debug] 4605#0: *4 lua tcp socket calling prepare retvals handler 0000000000518BCA, u:000000000607D4D0
2025/10/28 06:13:00 [debug] 4605#0: *4 lua tcp socket receive return value handler
2025/10/28 06:13:00 [debug] 4605#0: *4 poll del event: fd:9 ev:1
2025/10/28 06:13:00 [debug] 4605#0: *4 lua run thread, top:0 c:1
2025/10/28 06:13:00 [debug] 4605#0: *4 lua finalize socket
'
068-socket-keepalive.t TEST 53: wrong first argument of setkeepalive() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+c
\ No newline at end of file
-request sent: 61
-received response of 156 bytes
068-socket-keepalive.t TEST 54: wrong second argument of setkeepalive() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+c
\ No newline at end of file
-request sent: 61
-received response of 156 bytes
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
100-client-abort.t TEST 17: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 17: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8187 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
'
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
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
semaphore handler: wait queue: empty, resource count: 1
+close stream connection
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 1) @@ -1,5 +1,5 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
semaphore handler: wait queue: empty, resource count: 1
+close stream connection
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:
164-proxy-ssl-verify-by.t TEST 4: sleep - pattern "(?^:elapsed in proxy ssl verify by lua: 0.(?:09|1\d)\d+ while loading proxy ssl verify by lua,)" should match a line in error.log (req 0)
164-proxy-ssl-verify-by.t nginx: [emerg] "proxy_ssl_verify_by_lua_block" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:25
164-proxy-ssl-verify-by.t nginx: [emerg] proxy_ssl_verify_by_lua* should be used with proxy_ssl directive
164-proxy-ssl-verify-by.t TEST 22: upstream connection aborted - pattern "proxy_ssl_verify_by_lua: cert verify callback aborted" should match a line in error.log (req 0)

Warnings

Go back to the index page.