(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_lua in linux x86_64 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
0e769b76 2023-12-27 12:35:50 GMT 40 53 219 23015 7782 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

Compilation Errors

Unexpected Failures

File Name Details
020-subrequest.t ERROR: client socket timed out - TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) '
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-status: 200
-body: hello world
-truncated: true
'
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - pattern "upstream prematurely closed connection" should match a line in error.log (req 0)
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - TCP query length ok got: '64'
expected: '65'
020-subrequest.t ERROR: client socket timed out - TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) '
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-status: 200
-body: hello world
-truncated: true
'
020-subrequest.t TEST 56: subrequests truncated in its response body due to premature connection close (nonbuffered + chunked) - TCP query length ok got: '64'
expected: '65'
023-rewrite/request_body.t TEST 9: test HTTP2 reading request body was disabled - command "curl -i -H User-Agent: -H Accept: -H Host: -sS --http2 --http2-prior-knowledge -X POST -H Host: localhost -H Content-Length: -H Content-Type: --data-binary @/home/ec2-user/git/lua-nginx-module/t/servroot/html/curl.data.bin --connect-timeout 3 --max-time 3 http://127.0.0.1:1984/echo_body" generates stderr output: curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused '
023-rewrite/request_body.t TEST 9: test HTTP2 reading request body was disabled - status code ok got: ''
expected: '200'
023-rewrite/request_body.t TEST 9: test HTTP2 reading request body was disabled - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "nil"
length: 3
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/request_body.t TEST 9: test HTTP2 reading request body was disabled - command "curl -i -H User-Agent: -H Accept: -H Host: -sS --http2 --http2-prior-knowledge -X POST -H Host: localhost -H Content-Length: -H Content-Type: --data-binary @/home/ec2-user/git/lua-nginx-module/t/servroot/html/curl.data.bin --connect-timeout 3 --max-time 3 http://127.0.0.1:1984/echo_body" generates stderr output: curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused '
023-rewrite/request_body.t TEST 9: test HTTP2 reading request body was disabled - status code ok got: ''
expected: '200'
023-rewrite/request_body.t TEST 9: test HTTP2 reading request body was disabled - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "nil"
length: 3
strings begin to differ at char 1 (line 1 column 1)
023-rewrite/request_body.t # Looks like you planned 40 tests but ran 42.
024-access/request_body.t TEST 9: test HTTP2 reading request body was disabled - command "curl -i -H User-Agent: -H Accept: -H Host: -sS --http2 --http2-prior-knowledge -X POST -H Host: localhost -H Content-Length: -H Content-Type: --data-binary @/home/ec2-user/git/lua-nginx-module/t/servroot/html/curl.data.bin --connect-timeout 3 --max-time 3 http://127.0.0.1:1984/echo_body" generates stderr output: curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused '
024-access/request_body.t TEST 9: test HTTP2 reading request body was disabled - status code ok got: ''
expected: '200'
024-access/request_body.t TEST 9: test HTTP2 reading request body was disabled - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "nil"
length: 3
strings begin to differ at char 1 (line 1 column 1)
024-access/request_body.t TEST 9: test HTTP2 reading request body was disabled - command "curl -i -H User-Agent: -H Accept: -H Host: -sS --http2 --http2-prior-knowledge -X POST -H Host: localhost -H Content-Length: -H Content-Type: --data-binary @/home/ec2-user/git/lua-nginx-module/t/servroot/html/curl.data.bin --connect-timeout 3 --max-time 3 http://127.0.0.1:1984/echo_body" generates stderr output: curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused '
024-access/request_body.t TEST 9: test HTTP2 reading request body was disabled - status code ok got: ''
expected: '200'
024-access/request_body.t TEST 9: test HTTP2 reading request body was disabled - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "nil"
length: 3
strings begin to differ at char 1 (line 1 column 1)
024-access/request_body.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
024-access/request_body.t # Looks like you planned 40 tests but ran 42.
044-req-body.t TEST 53: HTTP2 read buffered body was discarded - command "curl -i -H User-Agent: -H Accept: -H Host: -sS --http2 --http2-prior-knowledge -X POST -H Host: localhost -H Content-Length: -H Content-Type: --data-binary @/home/ec2-user/git/lua-nginx-module/t/servroot/html/curl.data.bin --connect-timeout 3 --max-time 3 http://127.0.0.1:1984/test" generates stderr output: curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused '
044-req-body.t TEST 53: HTTP2 read buffered body was discarded - status code ok got: ''
expected: '500'
044-req-body.t TEST 53: HTTP2 read buffered body was discarded - pattern "http2 requests are not supported without content-length header" should match a line in error.log (req 0)
044-req-body.t TEST 53: HTTP2 read buffered body was discarded - command "curl -i -H User-Agent: -H Accept: -H Host: -sS --http2 --http2-prior-knowledge -X POST -H Host: localhost -H Content-Length: -H Content-Type: --data-binary @/home/ec2-user/git/lua-nginx-module/t/servroot/html/curl.data.bin --connect-timeout 3 --max-time 3 http://127.0.0.1:1984/test" generates stderr output: curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused '
044-req-body.t TEST 53: HTTP2 read buffered body was discarded - status code ok got: ''
expected: '500'
044-req-body.t TEST 53: HTTP2 read buffered body was discarded - pattern "http2 requests are not supported without content-length header" should match a line in error.log (req 1)
044-req-body.t nginx: [emerg] bind() to 0.0.0.0:1984 failed (98: Address already in use)
044-req-body.t # Looks like you planned 528 tests but ran 530.
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 11: openresty.org: SSL verify enabled and no corresponding trusted certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body_like - response is expected () ''
doesn't match '(?^s:\Aconnected: 1
failed to do SSL handshake: (?:handshake failed|certificate host mismatch)
failed to send http request: closed
\z)'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) ''
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate|21: unable to verify the first certificate)
failed to send http request: closed
)'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - status code ok got: ''
expected: '200'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body_like - response is expected () ''
doesn't match '(?^s:\Aconnected: 1
failed to do SSL handshake: (?:handshake failed|certificate host mismatch)
failed to send http request: closed
\z)'

Expected Failures

File Name Details
014-bugs.t TEST 47: cosocket does not exit on worker_shutdown_timeout - pattern "(?^:failed to read a line: closed)" should match a line in error.log
014-bugs.t nginx: [emerg] unexpected "A" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
086-init-by.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):2: failed to init
086-init-by.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):4: ')' expected (to close '(' at line 3) near 'ngx'
086-init-by.t nginx: [error] init_by_lua_file error: ...e/ec2-user/git/lua-nginx-module/t/servroot/html/init.lua:3: ')' expected (to close '(' at line 2) near 'ngx'
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua(nginx.conf:25):7: init_by_lua(nginx.conf:25):4: something went wrong
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 30: 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\.(?:1[4-9]|2[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)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[1-3]))" 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\.(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_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)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[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 "http lua close fake http 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 1) got: 'lua found 8183 pending timers
'
expected: '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 "http lua close fake http 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 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 0) got: ''
expected: 'lua found 1 pending timers
'
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 1) got: 'lua found 1 pending timers
lua found 1 pending timers
'
expected: 'lua found 1 pending timers
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1
ssl handshake: cdata
-set keepalive: 1 nil
+set keepalive: nil connection in dubious state
connected: 1
ssl handshake: cdata
set keepalive: 1 nil
'
129-ssl-socket.t TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) 'lua ssl save session: 0000000008682340
lua ssl set session: 0000000008682340
lua ssl save session: 00000000086E0040
lua ssl free session: 00000000086E0040
lua ssl free session: 0000000008682340
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1
ssl handshake: cdata
-set keepalive: 1 nil
+set keepalive: nil connection in dubious state
connected: 1
ssl handshake: cdata
set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) 'lua ssl save session: 0000000008682480
lua ssl save session: 00000000086E0180
lua ssl save session: 00000000086E0180
lua ssl free session: 00000000086E0180
lua ssl free session: 00000000086E0180
lua ssl free session: 0000000008682480
'
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]", the inlined Lua code may be too long in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
146-malloc-trim.t TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) @@ -1,3 +1,3 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 1: simple very - 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)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
153-semaphore-hup.t TEST 2: timer + reload (lua code cache off) - grep_error_log_out (req 0) @@ -1,5 +1,5 @@
created semaphore object
-created semaphore object
try to reload nginx
+created semaphore object
created semaphore object
created semaphore object
'
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.