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

Detailed Test Report for ngx_stream_lua in linux x86_64 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
2ef14f37 2023-02-06 08:38:43 GMT 51 55 117 10294 3527 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 2cf51864

OpenSSL

OpenSSL 1.1.1s 1 Nov 2022

Compilation Errors

Unexpected Failures

File Name Details
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] still could not bind()
002-content.t TEST 2: basic say - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 2: basic say - status code ok got: ''
expected: '200'
002-content.t TEST 2: basic say - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "Hello, Lua!\x{0a}Yay! 123\x{0a}"
length: 21
strings begin to differ at char 1 (line 1 column 1)
002-content.t TEST 2: basic say - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 2: basic say - status code ok got: ''
expected: '200'
002-content.t TEST 2: basic say - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "Hello, Lua!\x{0a}Yay! 123\x{0a}"
length: 21
strings begin to differ at char 1 (line 1 column 1)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] still could not bind()
002-content.t TEST 13: Lua file does not exist - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 13: Lua file does not exist - status code ok got: ''
expected: '200'
002-content.t TEST 13: Lua file does not exist - pattern "(?^:failed to load external Lua file ".*?test2\.lua": cannot open .*? No such file or directory)" should match a line in error.log (req 0)
002-content.t TEST 13: Lua file does not exist - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 13: Lua file does not exist - status code ok got: ''
expected: '200'
002-content.t TEST 13: Lua file does not exist - pattern "(?^:failed to load external Lua file ".*?test2\.lua": cannot open .*? No such file or directory)" should match a line in error.log (req 1)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] still could not bind()
002-content.t TEST 4: calc expression - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 4: calc expression - status code ok got: ''
expected: '200'
002-content.t TEST 4: calc expression - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "result: -0.4090441561579\x{0a}"
length: 25
strings begin to differ at char 1 (line 1 column 1)
002-content.t TEST 4: calc expression - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 4: calc expression - status code ok got: ''
expected: '200'
002-content.t TEST 4: calc expression - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "result: -0.4090441561579\x{0a}"
length: 25
strings begin to differ at char 1 (line 1 column 1)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
002-content.t nginx: [emerg] still could not bind()
002-content.t TEST 1: basic print - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 1: basic print - status code ok got: ''
expected: '200'
002-content.t TEST 1: basic print - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "Hello, Lua!\x{0a}"
length: 12
strings begin to differ at char 1 (line 1 column 1)
002-content.t TEST 1: basic print - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
002-content.t TEST 1: basic print - status code ok got: ''
expected: '200'
002-content.t TEST 1: basic print - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "Hello, Lua!\x{0a}"
length: 12
strings begin to differ at char 1 (line 1 column 1)
139-ssl-cert-by.t ERROR: client socket timed out - TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port '
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - status code ok got: ''
expected: '200'
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'

Expected Failures

File Name Details
023-preread/sanity.t TEST 13: phase postponing works - response_body - response is expected (repeated req 0, req 0) got: "receive stream response error: connection reset by"...
length: 56
expected: "done"
length: 4
strings begin to differ at char 1 (line 1 column 1)
023-preread/sanity.t TEST 13: phase postponing works - response_body - response is expected (repeated req 1, req 0) got: "receive stream response error: connection reset by"...
length: 56
expected: "done"
length: 4
strings begin to differ at char 1 (line 1 column 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
'
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 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 17:13:45 [error] 10954\#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 17:13:45 [debug] 10954\#0: *1 lua tcp socket recv returned -1: "/t?"
2023/02/06 17:13:45 [debug] 10954\#0: *1 lua tcp socket handle read error
2023/02/06 17:13:45 [debug] 10954\#0: *1 lua tcp socket waking up the current request
2023/02/06 17:13:45 [debug] 10954\#0: *1 lua tcp operation done, resuming lua thread
2023/02/06 17:13:45 [debug] 10954\#0: *1 lua tcp socket calling prepare retvals handler 00000000004E2BA5, u:00000000085FB2C0
2023/02/06 17:13:45 [debug] 10954\#0: *1 lua tcp socket receive return value handler
2023/02/06 17:13:45 [debug] 10954\#0: *1 poll del event: fd:9 ev:1
2023/02/06 17:13:45 [debug] 10954\#0: *1 lua run thread, top:9 c:1
2023/02/06 17:13:45 [debug] 10954\#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 17:13:45 [error] 10954\#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 17:13:45 [debug] 10954\#0: *4 lua tcp socket recv returned -1: "/t?"
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua tcp socket handle read error
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua tcp socket waking up the current request
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua tcp operation done, resuming lua thread
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua tcp socket calling prepare retvals handler 00000000004E2BA5, u:00000000086064E0
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua tcp socket receive return value handler
2023/02/06 17:13:45 [debug] 10954\#0: *4 poll del event: fd:9 ev:1
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua run thread, top:0 c:1
2023/02/06 17:13:45 [debug] 10954\#0: *4 lua finalize socket
'
067-req-socket.t TEST 14: receiveany small block size for a big size block - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,26 @@
ok
-receive: hel
-receive: lo,
-receive: st
-receive: rea
-receive: m r
-receive: ece
-receive: ive
-receive: any
+receive: h
+receive: e
+receive: l
+receive: l
+receive: o
+receive: ,
+receive:
+receive: s
+receive: t
+receive: r
+receive: e
+receive: a
+receive: m
+receive:
+receive: r
+receive: e
+receive: c
+receive: e
+receive: i
+receive: v
+receive: e
+receive: a
+receive: n
+receive: y
receive: !
'
067-req-socket.t TEST 14: receiveany small block size for a big size block - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,26 @@
ok
-receive: hel
-receive: lo,
-receive: st
-receive: rea
-receive: m r
-receive: ece
-receive: ive
-receive: any
+receive: h
+receive: e
+receive: l
+receive: l
+receive: o
+receive: ,
+receive:
+receive: s
+receive: t
+receive: r
+receive: e
+receive: a
+receive: m
+receive:
+receive: r
+receive: e
+receive: c
+receive: e
+receive: i
+receive: v
+receive: e
+receive: a
+receive: n
+receive: y
receive: !
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
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)
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 8190 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 2: multiple timers - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 1!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 2!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 3!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 4!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 5!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 6!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 7!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 8!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 9!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - 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 "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 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)
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.