(This page was automatically generated by the tools in the opsboy project on 06:33:32 03-Feb-2023 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
992bfc35 2023-02-02 09:18:10 GMT 14 98 215 22770 8596 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 2cf51864

OpenSSL

OpenSSL 1.1.1s 1 Nov 2022

Compilation Errors

Unexpected 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
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - status code ok got: '500'
expected: '200'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
expected: 'connected: 1
'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - pattern "[error]" should not match any line in error.log but matches line "2023/02/02 13:55:32 [error] 30418\#30418: *6 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:62):9: bad request" (req 1) stack traceback:
coroutine 0:
[C]: in function 'connect'
content_by_lua(nginx.conf:62):9: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2023/02/02 13:55:32 [debug] 30418\#30418: *6 lua request cleanup: forcible=0
2023/02/02 13:55:32 [debug] 30418\#30418: *6 http lua finalize threads
2023/02/02 13:55:32 [debug] 30418\#30418: *6 lua deleting light thread 000000000894D570 (ref 1)
2023/02/02 13:55:32 [debug] 30418\#30418: *6 lua caching unused lua thread 000000000894D570 (ref 1)
2023/02/02 13:55:32 [debug] 30418\#30418: *6 lua run thread returned 500
'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - status code ok got: '500'
expected: '200'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - response_body - response is expected (repeated req 2, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
expected: 'connected: 1
'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - pattern "[error]" should not match any line in error.log but matches line "2023/02/02 13:55:32 [error] 30418\#30418: *7 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:62):9: bad request" (req 2) stack traceback:
coroutine 0:
[C]: in function 'connect'
content_by_lua(nginx.conf:62):9: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2023/02/02 13:55:32 [debug] 30418\#30418: *7 lua request cleanup: forcible=0
2023/02/02 13:55:32 [debug] 30418\#30418: *7 http lua finalize threads
2023/02/02 13:55:32 [debug] 30418\#30418: *7 lua deleting light thread 000000000894D570 (ref 1)
2023/02/02 13:55:32 [debug] 30418\#30418: *7 lua caching unused lua thread 000000000894D570 (ref 1)
2023/02/02 13:55:32 [debug] 30418\#30418: *7 lua run thread returned 500
'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - status code ok got: '500'
expected: '200'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - response_body - response is expected (repeated req 3, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>
'
expected: 'connected: 1
'
168-tcp-socket-bind.t TEST 6: tcpsock across request after bind - pattern "[error]" should not match any line in error.log but matches line "2023/02/02 13:55:32 [error] 30418\#30418: *8 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:62):9: bad request" (req 3) stack traceback:
coroutine 0:
[C]: in function 'connect'
content_by_lua(nginx.conf:62):9: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2023/02/02 13:55:32 [debug] 30418\#30418: *8 lua request cleanup: forcible=0
2023/02/02 13:55:32 [debug] 30418\#30418: *8 http lua finalize threads
2023/02/02 13:55:32 [debug] 30418\#30418: *8 lua deleting light thread 000000000894D570 (ref 1)
2023/02/02 13:55:32 [debug] 30418\#30418: *8 lua caching unused lua thread 000000000894D570 (ref 1)
2023/02/02 13:55:32 [debug] 30418\#30418: *8 lua run thread returned 500
'
186-cosocket-busy-bufs.t TEST 1: ngx.say and cosocket '
186-cosocket-busy-bufs.t TEST 1: ngx.say and cosocket - status code ok got: ''
expected: '200'
186-cosocket-busy-bufs.t TEST 1: ngx.say and cosocket '
186-cosocket-busy-bufs.t TEST 1: ngx.say and cosocket - status code ok got: ''
expected: '200'

Expected Failures

File Name Details
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 23: exit both in header filter and content handler - status code ok got: ''
expected: '201'
005-exit.t TEST 22: exit 201 in header filter - status code ok got: ''
expected: '201'
005-exit.t TEST 24: exit 444 in header filter - status code ok got: ''
expected: '444'
014-bugs.t nginx: [emerg] unexpected "A" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) '
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) '
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - status code ok got: ''
expected: '200'
020-subrequest.t TEST 54: forwarding in-file request bodies to multiple subrequests (exceeding client_body_buffer_size) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
-hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world
'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
025-codecache.t TEST 29: 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 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2023/02/02 12:21:54 [debug] 26322\#26322: lua tcp socket keepalive max idle timeout" (req 0) 2023/02/02 12:21:54 [debug] 26322\#26322: lua tcp socket keepalive close handler: fd:8
2023/02/02 12:21:54 [debug] 26322\#26322: poll del event: fd:8 ev:1
2023/02/02 12:21:54 [debug] 26322\#26322: reusable connection: 0
2023/02/02 12:21:54 [debug] 26322\#26322: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2023/02/02 12:21:54 [debug] 26322\#26322: posted event 0000000008935E00
2023/02/02 12:21:54 [debug] 26322\#26322: *1 delete posted event 0000000008935E00
2023/02/02 12:21:54 [debug] 26322\#26322: *1 http run request: "/t?"
2023/02/02 12:21:54 [debug] 26322\#26322: *1 http writer handler: "/t?"
2023/02/02 12:21:54 [debug] 26322\#26322: *1 http output filter "/t?"
'
025-codecache.t TEST 29: 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 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2023/02/02 12:21:54 [debug] 26322\#26322: lua tcp socket keepalive max idle timeout" (req 1) 2023/02/02 12:21:54 [debug] 26322\#26322: lua tcp socket keepalive close handler: fd:8
2023/02/02 12:21:54 [debug] 26322\#26322: poll del event: fd:8 ev:1
2023/02/02 12:21:54 [debug] 26322\#26322: reusable connection: 0
2023/02/02 12:21:54 [debug] 26322\#26322: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2023/02/02 12:21:54 [debug] 26322\#26322: posted event 0000000008935E00
2023/02/02 12:21:54 [debug] 26322\#26322: *1 delete posted event 0000000008935E00
2023/02/02 12:21:54 [debug] 26322\#26322: *1 http run request: "/t?"
2023/02/02 12:21:54 [debug] 26322\#26322: *1 http writer handler: "/t?"
2023/02/02 12:21:54 [debug] 26322\#26322: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2023/02/02 12:21:55 [debug] 26322\#26322: lua tcp socket keepalive max idle timeout" (req 1) 2023/02/02 12:21:55 [debug] 26322\#26322: lua tcp socket keepalive close handler: fd:8
2023/02/02 12:21:55 [debug] 26322\#26322: poll del event: fd:8 ev:1
2023/02/02 12:21:55 [debug] 26322\#26322: reusable connection: 0
2023/02/02 12:21:55 [debug] 26322\#26322: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2023/02/02 12:21:55 [debug] 26322\#26322: posted event 0000000008935E00
2023/02/02 12:21:55 [debug] 26322\#26322: *3 delete posted event 0000000008935E00
2023/02/02 12:21:55 [debug] 26322\#26322: *3 http run request: "/t?"
2023/02/02 12:21:55 [debug] 26322\#26322: *3 http writer handler: "/t?"
2023/02/02 12:21:55 [debug] 26322\#26322: *3 http output filter "/t?"
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/02/02 12:22:08 [debug] 26411\#26411: lua decrementing the reference count for Lua VM: 3" (req 0) 2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47BC0, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47B10, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47A60, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47810, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47580, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A46EE0, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A45E30, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: posted event 000000000892B2C0
2023/02/02 12:22:08 [debug] 26411\#26411: *1 delete posted event 000000000892B2C0
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/02/02 12:22:08 [debug] 26411\#26411: lua decrementing the reference count for Lua VM: 3" (req 1) 2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47BC0, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47B10, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47A60, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47810, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A47580, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A46EE0, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: free: 0000000008A45E30, unused: 0
2023/02/02 12:22:08 [debug] 26411\#26411: posted event 000000000892B2C0
2023/02/02 12:22:08 [debug] 26411\#26411: *1 delete posted event 000000000892B2C0
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2023/02/02 12:22:09 [debug] 26411\#26411: lua decrementing the reference count for Lua VM: 3" (req 1) 2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B64180, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B640D0, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B64020, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B63DD0, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B63B40, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B634A0, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: free: 0000000008B623F0, unused: 0
2023/02/02 12:22:09 [debug] 26411\#26411: posted event 000000000892B2C0
2023/02/02 12:22:09 [debug] 26411\#26411: *4 delete posted event 000000000892B2C0
'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
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
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1)
058-tcp-socket.t TEST 65: 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 65: 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 68: 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 68: 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 69: 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 69: 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 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 14: 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 14: 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 15: 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 15: 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 16: 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 16: 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:
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
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
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2023/02/02 13:21:19 [warn] 16799\#16799: *1 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2023/02/02 13:21:19 [debug] 16799\#16799: *1 lua resume returned 0
2023/02/02 13:21:19 [debug] 16799\#16799: *1 lua light thread ended normally
2023/02/02 13:21:19 [debug] 16799\#16799: *1 lua deleting light thread 000000000892F3A0 (ref 1)
2023/02/02 13:21:19 [debug] 16799\#16799: *1 lua caching unused lua thread 000000000892F3A0 (ref 1)
2023/02/02 13:21:19 [debug] 16799\#16799: *1 lua run thread returned 0
2023/02/02 13:21:19 [debug] 16799\#16799: *1 http finalize request: 0, "/t?" a:1, c:1
2023/02/02 13:21:19 [debug] 16799\#16799: *1 event timer add: 7: 60000:14734376
2023/02/02 13:21:19 [debug] 16799\#16799: *1 poll add event: fd:7 ev:4
2023/02/02 13:21:19 [debug] 16799\#16799: worker cycle
'
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2023/02/02 13:21:20 [warn] 16799\#16799: *2 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2023/02/02 13:21:20 [debug] 16799\#16799: *2 lua resume returned 0
2023/02/02 13:21:20 [debug] 16799\#16799: *2 lua light thread ended normally
2023/02/02 13:21:20 [debug] 16799\#16799: *2 lua deleting light thread 000000000892F3A0 (ref 1)
2023/02/02 13:21:20 [debug] 16799\#16799: *2 lua caching unused lua thread 000000000892F3A0 (ref 1)
2023/02/02 13:21:20 [debug] 16799\#16799: *2 lua run thread returned 0
2023/02/02 13:21:20 [debug] 16799\#16799: *2 http finalize request: 0, "/t?" a:1, c:1
2023/02/02 13:21:20 [debug] 16799\#16799: *2 event timer add: 7: 60000:14734716
2023/02/02 13:21:20 [debug] 16799\#16799: *2 poll add event: fd:7 ev:4
2023/02/02 13:21:20 [debug] 16799\#16799: worker cycle
'
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
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 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 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 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 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 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)
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)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8188 pending timers
'
expected: '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: 'lua found 8185 pending timers
'
expected: 'lua found 8191 pending timers
'
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 0, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 1, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
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
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
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
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
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 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 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 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.