(This page was automatically generated by the tools in the opsboy project on 03:17:24 31-May-2022 GMT.)

Detailed Test Report for ngx_stream_lua in linux i386 (w)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
de8fda87 2021-04-27 04:41:25 GMT 0 49 115 9571 1516 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

OpenSSL

OpenSSL 1.1.1k 25 Mar 2021

Compilation Errors

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 "2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive max idle timeout" (req 0) 2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive close handler: fd:12
2021/04/27 09:35:42 [debug] 19433\#0: poll del event: fd:12 ev:1
2021/04/27 09:35:42 [debug] 19433\#0: index: copy event 6 to 5
2021/04/27 09:35:42 [debug] 19433\#0: reusable connection: 0
2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2021/04/27 09:35:42 [debug] 19433\#0: posted event 08A58F08
2021/04/27 09:35:42 [debug] 19433\#0: *1 delete posted event 08A58F08
2021/04/27 09:35:42 [debug] 19433\#0: *1 lua tcp socket handler for "/t?", wev 0
2021/04/27 09:35:42 [debug] 19433\#0: *1 lua tcp socket read 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 "2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive max idle timeout" (req 1) 2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive close handler: fd:12
2021/04/27 09:35:42 [debug] 19433\#0: poll del event: fd:12 ev:1
2021/04/27 09:35:42 [debug] 19433\#0: index: copy event 6 to 5
2021/04/27 09:35:42 [debug] 19433\#0: reusable connection: 0
2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2021/04/27 09:35:42 [debug] 19433\#0: posted event 08A58F08
2021/04/27 09:35:42 [debug] 19433\#0: *1 delete posted event 08A58F08
2021/04/27 09:35:42 [debug] 19433\#0: *1 lua tcp socket handler for "/t?", wev 0
2021/04/27 09:35:42 [debug] 19433\#0: *1 lua tcp socket read 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 "2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive max idle timeout" (req 1) 2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive close handler: fd:12
2021/04/27 09:35:42 [debug] 19433\#0: poll del event: fd:12 ev:1
2021/04/27 09:35:42 [debug] 19433\#0: index: copy event 6 to 5
2021/04/27 09:35:42 [debug] 19433\#0: reusable connection: 0
2021/04/27 09:35:42 [debug] 19433\#0: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2021/04/27 09:35:42 [debug] 19433\#0: posted event 08A58F08
2021/04/27 09:35:42 [debug] 19433\#0: *5 delete posted event 08A58F08
2021/04/27 09:35:42 [debug] 19433\#0: *5 lua tcp socket handler for "/t?", wev 0
2021/04/27 09:35:42 [debug] 19433\#0: *5 lua tcp socket read 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 "2021/04/27 09:35:52 [debug] 19454\#0: stream lua decrementing the reference count for Lua VM: 3" (req 0) 2021/04/27 09:35:52 [debug] 19454\#0: run cleanup: 091E90F8
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F7310, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F5C88, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091E9108, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091E90E8, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091E90B8, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F7300, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F72A0, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F5C78, 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 "2021/04/27 09:35:52 [debug] 19454\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2021/04/27 09:35:52 [debug] 19454\#0: run cleanup: 091E90F8
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F7310, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F5C88, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091E9108, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091E90E8, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091E90B8, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F7300, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F72A0, unused: 0
2021/04/27 09:35:52 [debug] 19454\#0: free: 091F5C78, 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 "2021/04/27 09:35:53 [debug] 19454\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1) 2021/04/27 09:35:53 [debug] 19454\#0: run cleanup: 091E90F8
2021/04/27 09:35:53 [debug] 19454\#0: free: 091F72F0, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091F5C78, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091E9108, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091E90E8, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091E90B8, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091F72E0, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091F7280, unused: 0
2021/04/27 09:35:53 [debug] 19454\#0: free: 091F5C68, 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 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 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 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 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
'
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 "2021/04/27 09:44:48 [error] 21156\#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) 2021/04/27 09:44:48 [debug] 21156\#0: *1 lua tcp socket recv returned -1: "/t?"
2021/04/27 09:44:48 [debug] 21156\#0: *1 lua tcp socket handle read error
2021/04/27 09:44:48 [debug] 21156\#0: *1 lua tcp socket waking up the current request
2021/04/27 09:44:48 [debug] 21156\#0: *1 lua tcp operation done, resuming lua thread
2021/04/27 09:44:48 [debug] 21156\#0: *1 lua tcp socket calling prepare retvals handler 08124203, u:B6D0A108
2021/04/27 09:44:48 [debug] 21156\#0: *1 lua tcp socket receive return value handler
2021/04/27 09:44:48 [debug] 21156\#0: *1 poll del event: fd:10 ev:1
2021/04/27 09:44:48 [debug] 21156\#0: *1 lua run thread, top:9 c:1
2021/04/27 09:44:48 [debug] 21156\#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 "2021/04/27 09:44:48 [error] 21156\#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) 2021/04/27 09:44:48 [debug] 21156\#0: *4 lua tcp socket recv returned -1: "/t?"
2021/04/27 09:44:48 [debug] 21156\#0: *4 lua tcp socket handle read error
2021/04/27 09:44:48 [debug] 21156\#0: *4 lua tcp socket waking up the current request
2021/04/27 09:44:48 [debug] 21156\#0: *4 lua tcp operation done, resuming lua thread
2021/04/27 09:44:48 [debug] 21156\#0: *4 lua tcp socket calling prepare retvals handler 08124203, u:B6D44828
2021/04/27 09:44:48 [debug] 21156\#0: *4 lua tcp socket receive return value handler
2021/04/27 09:44:48 [debug] 21156\#0: *4 poll del event: fd:10 ev:1
2021/04/27 09:44:48 [debug] 21156\#0: *4 lua run thread, top:0 c:1
2021/04/27 09:44:48 [debug] 21156\#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 8188 pending timers
'
expected: 'stream lua found 8191 pending timers
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
Looks like you failed 1 test of 39.
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.