(This page was automatically generated by the tools in the opsboy project on 04:52:02 11-Oct-2024 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
2ef14f37 2023-02-06 08:38:43 GMT 0 50 117 10287 3649 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 2cf51864

OpenSSL

OpenSSL 1.1.1s 1 Nov 2022

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 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 "2023/02/06 14:25:13 [debug] 12056\#0: stream lua tcp socket keepalive max idle timeout" (req 0) 2023/02/06 14:25:13 [debug] 12056\#0: stream lua tcp socket keepalive close handler: fd:11
2023/02/06 14:25:13 [debug] 12056\#0: poll del event: fd:11 ev:1
2023/02/06 14:25:13 [debug] 12056\#0: index: copy event 6 to 5
2023/02/06 14:25:13 [debug] 12056\#0: reusable connection: 0
2023/02/06 14:25:13 [debug] 12056\#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2023/02/06 14:25:13 [debug] 12056\#0: posted event 00000000085FBD80
2023/02/06 14:25:13 [debug] 12056\#0: *3 delete posted event 00000000085FBD80
2023/02/06 14:25:13 [debug] 12056\#0: *3 session run request: "0000000008601C60"
2023/02/06 14:25:13 [debug] 12056\#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 "2023/02/06 14:25:13 [debug] 12056\#0: stream lua tcp socket keepalive max idle timeout" (req 1) 2023/02/06 14:25:13 [debug] 12056\#0: stream lua tcp socket keepalive close handler: fd:11
2023/02/06 14:25:13 [debug] 12056\#0: poll del event: fd:11 ev:1
2023/02/06 14:25:13 [debug] 12056\#0: index: copy event 6 to 5
2023/02/06 14:25:13 [debug] 12056\#0: reusable connection: 0
2023/02/06 14:25:13 [debug] 12056\#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2023/02/06 14:25:13 [debug] 12056\#0: posted event 00000000085FBD80
2023/02/06 14:25:13 [debug] 12056\#0: *3 delete posted event 00000000085FBD80
2023/02/06 14:25:13 [debug] 12056\#0: *3 session run request: "0000000008601C60"
2023/02/06 14:25:13 [debug] 12056\#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 "2023/02/06 14:25:14 [debug] 12056\#0: stream lua tcp socket keepalive max idle timeout" (req 1) 2023/02/06 14:25:14 [debug] 12056\#0: stream lua tcp socket keepalive close handler: fd:11
2023/02/06 14:25:14 [debug] 12056\#0: poll del event: fd:11 ev:1
2023/02/06 14:25:14 [debug] 12056\#0: index: copy event 6 to 5
2023/02/06 14:25:14 [debug] 12056\#0: reusable connection: 0
2023/02/06 14:25:14 [debug] 12056\#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2023/02/06 14:25:14 [debug] 12056\#0: posted event 00000000085FBD80
2023/02/06 14:25:14 [debug] 12056\#0: *7 delete posted event 00000000085FBD80
2023/02/06 14:25:14 [debug] 12056\#0: *7 session run request: "00000000086F7FC0"
2023/02/06 14:25:14 [debug] 12056\#0: *7 stream writer handler
'
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 "2023/02/06 14:25:24 [debug] 12119\#0: stream lua decrementing the reference count for Lua VM: 3" (req 0) 2023/02/06 14:25:24 [debug] 12119\#0: run cleanup: 00000000086DFFC0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086E0180, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086E00D0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086E0020, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFF70, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFEB0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFCE0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFBB0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFA90, 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 "2023/02/06 14:25:24 [debug] 12119\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2023/02/06 14:25:24 [debug] 12119\#0: run cleanup: 00000000086DFFC0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086E0180, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086E00D0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086E0020, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFF70, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFEB0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFCE0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFBB0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000086DFA90, 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 "2023/02/06 14:25:24 [debug] 12119\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2023/02/06 14:25:24 [debug] 12119\#0: run cleanup: 00000000087CE2F0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CE4B0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CE400, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CE350, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CE2A0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CE1E0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CE010, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CDEE0, unused: 0
2023/02/06 14:25:24 [debug] 12119\#0: free: 00000000087CDDC0, unused: 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 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 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
'
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 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 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 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 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
'
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 "2023/02/06 14:48:42 [error] 21078\#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) 2023/02/06 14:48:42 [debug] 21078\#0: *1 lua tcp socket recv returned -1: "/t?"
2023/02/06 14:48:42 [debug] 21078\#0: *1 lua tcp socket handle read error
2023/02/06 14:48:42 [debug] 21078\#0: *1 lua tcp socket waking up the current request
2023/02/06 14:48:42 [debug] 21078\#0: *1 lua tcp operation done, resuming lua thread
2023/02/06 14:48:42 [debug] 21078\#0: *1 lua tcp socket calling prepare retvals handler 00000000004E2BA5, u:00000000085FB110
2023/02/06 14:48:42 [debug] 21078\#0: *1 lua tcp socket receive return value handler
2023/02/06 14:48:42 [debug] 21078\#0: *1 poll del event: fd:9 ev:1
2023/02/06 14:48:42 [debug] 21078\#0: *1 lua run thread, top:9 c:1
2023/02/06 14:48:42 [debug] 21078\#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 "2023/02/06 14:48:43 [error] 21078\#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) 2023/02/06 14:48:43 [debug] 21078\#0: *4 lua tcp socket recv returned -1: "/t?"
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua tcp socket handle read error
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua tcp socket waking up the current request
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua tcp operation done, resuming lua thread
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua tcp socket calling prepare retvals handler 00000000004E2BA5, u:0000000008606390
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua tcp socket receive return value handler
2023/02/06 14:48:43 [debug] 21078\#0: *4 poll del event: fd:9 ev:1
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua run thread, top:0 c:1
2023/02/06 14:48:43 [debug] 21078\#0: *4 lua finalize socket
'
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 8190 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 8187 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:

Warnings

Go back to the index page.