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

Detailed Test Report for ngx_lua in linux i386 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
d3a86264 2021-04-27 04:41:25 GMT 26 111 207 21508 10812 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

Compilation Errors

Unexpected Failures

File Name Details
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 0) got: ''
expected: 'lua found 100 pending timers
'
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 1) got: 'lua found 200 pending timers
'
expected: 'lua found 100 pending timers
'
124-init-worker.t TEST 20: destroy Lua VM in cache processes (without privileged agent or shdict) - grep_error_log_out (req 0) 'lua close the global Lua VM 05500018 in the cache helper process 23656
lua close the global Lua VM 05500018
lua close the global Lua VM 05270060
lua close the global Lua VM 05500018 in the cache helper process 23657
lua close the global Lua VM 05500018
'
doesn't match '(?^:\A(?:lua close the global Lua VM ([0-9A-F]+) in the cache helper process \d+
lua close the global Lua VM \1
lua close the global Lua VM \1 in the cache helper process \d+
lua close the global Lua VM \1
|lua close the global Lua VM ([0-9A-F]+) in the cache helper process \d+
lua close the global Lua VM \2 in the cache helper process \d+
lua close the global Lua VM \2
lua close the global Lua VM \2
|lua close the global Lua VM ([0-9A-F]+)
lua close the global Lua VM \3 in the cache helper process \d+
lua close the global Lua VM \3
lua close the global Lua VM \3 in the cache helper process \d+
|lua close the global Lua VM ([0-9A-F]+)
lua close the global Lua VM \4 in the cache helper process \d+
lua close the global Lua VM \4 in the cache helper process \d+
lua close the global Lua VM \4
)(?:lua close the global Lua VM [0-9A-F]+
)*\z)'
124-init-worker.t TEST 21: destroy Lua VM in cache processes (without privileged agent but with shdict) - grep_error_log_out (req 0) 'lua close the global Lua VM 05A24628 in the cache helper process 23720
lua close the global Lua VM 05A24628
lua close the global Lua VM 057AADA0
lua close the global Lua VM 05A24628 in the cache helper process 23721
lua close the global Lua VM 05A24628
'
doesn't match '(?^:\A(?:lua close the global Lua VM ([0-9A-F]+) in the cache helper process \d+
lua close the global Lua VM \1
lua close the global Lua VM \1 in the cache helper process \d+
lua close the global Lua VM \1
|lua close the global Lua VM ([0-9A-F]+) in the cache helper process \d+
lua close the global Lua VM \2 in the cache helper process \d+
lua close the global Lua VM \2
lua close the global Lua VM \2
|lua close the global Lua VM ([0-9A-F]+)
lua close the global Lua VM \3 in the cache helper process \d+
lua close the global Lua VM \3
lua close the global Lua VM \3 in the cache helper process \d+
)(?:lua close the global Lua VM [0-9A-F]+
)*\z)'
145-shdict-list.t ERROR: client socket timed out - TEST 15: list removed: expired '
145-shdict-list.t TEST 15: list removed: expired - status code ok got: ''
expected: '200'
145-shdict-list.t ERROR: client socket timed out - TEST 16: list removed: forcibly '
145-shdict-list.t TEST 16: list removed: forcibly - status code ok got: ''
expected: '200'
147-tcp-socket-timeouts.t TEST 1: sanity - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:received: foo
)'
147-tcp-socket-timeouts.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2021/04/27 07:51:12 [error] 30053\#0: *1 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2021/04/27 07:51:12 [debug] 30053\#0: *1 lua tcp socket handle write error
2021/04/27 07:51:12 [debug] 30053\#0: *1 lua tcp socket waking up the current request
2021/04/27 07:51:12 [debug] 30053\#0: *1 lua tcp operation done, resuming lua thread
2021/04/27 07:51:12 [debug] 30053\#0: *1 lua tcp socket calling prepare retvals handler 0814EF62, u:04C88DE0
2021/04/27 07:51:12 [debug] 30053\#0: *1 lua tcp socket send return value handler
2021/04/27 07:51:12 [debug] 30053\#0: *1 poll del event: fd:10 ev:4
2021/04/27 07:51:12 [debug] 30053\#0: *1 poll del index: 4
2021/04/27 07:51:12 [debug] 30053\#0: *1 delete posted event 04C82CB8
2021/04/27 07:51:12 [debug] 30053\#0: *1 lua run thread, top:9 c:1
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 7: different timeout with duplex socket (settimeouts) - pattern "[error]" should not match any line in error.log but matches line "2021/04/27 07:51:30 [error] 30060\#0: *28 lua tcp socket write timed out, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2021/04/27 07:51:30 [debug] 30060\#0: *28 lua tcp socket handle write error
2021/04/27 07:51:30 [debug] 30060\#0: *28 lua tcp socket waking up the current request
2021/04/27 07:51:30 [debug] 30060\#0: *28 lua tcp operation done, resuming lua thread
2021/04/27 07:51:30 [debug] 30060\#0: *28 lua tcp socket calling prepare retvals handler 0814EF62, u:04F4FC90
2021/04/27 07:51:30 [debug] 30060\#0: *28 lua tcp socket send return value handler
2021/04/27 07:51:30 [debug] 30060\#0: *28 poll del event: fd:4 ev:4
2021/04/27 07:51:30 [debug] 30060\#0: *28 poll del index: 4
2021/04/27 07:51:30 [debug] 30060\#0: *28 delete posted event 04F21D80
2021/04/27 07:51:30 [debug] 30060\#0: *28 lua run thread, top:9 c:1
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "failed to receive data: timeout" should match a line in error.log (req 0)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-received: ok
+failed to send request: timeout
-failed to receive a line: closed []
'
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "lua tcp socket read timed out" should match a line in error.log (req 1)
147-tcp-socket-timeouts.t TEST 6: different timeout with duplex socket (settimeout) - pattern "failed to receive data: timeout" should match a line in error.log (req 1)
147-tcp-socket-timeouts.t TEST 2: read timeout - response_body_like - response is expected (failed to send request: timeout) 'failed to send request: timeout
'
doesn't match '(?^s:failed to receive a line: timeout \[\]
)'
147-tcp-socket-timeouts.t TEST 2: read timeout - pattern "lua tcp socket read timed out" should match a line in error.log (req 0)
151-initby-hup.t TEST 2: error in init after HUP (master still alive, worker process still the same as before) - pattern "failed to init" should match a line in error.log (req 0)
151-initby-hup.t TEST 5: error in init after HUP, not reloaded but foo have changed. - response_body - response is expected (repeated req 0, req 0) got: "hello, FOO\x{0a}"
length: 11
expected: "foo have changed\x{0a}"
length: 17
strings begin to differ at char 1 (line 1 column 1)
151-initby-hup.t TEST 5: error in init after HUP, not reloaded but foo have changed. - pattern "failed to init" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "setkeepalive successfully" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 0)

Expected Failures

File Name Details
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 05:36:31 [debug] 24525\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2021/04/27 05:36:31 [debug] 24525\#0: *273 http keepalive handler
2021/04/27 05:36:31 [debug] 24525\#0: *273 close http connection: 6
2021/04/27 05:36:31 [debug] 24525\#0: *273 event timer del: 6: 3456211
2021/04/27 05:36:31 [debug] 24525\#0: *273 reusable connection: 0
2021/04/27 05:36:31 [debug] 24525\#0: *273 free: 04D66850, unused: 0
2021/04/27 05:36:31 [debug] 24525\#0: *273 free: 04D667B0, unused: 0
2021/04/27 05:36:31 [debug] 24525\#0: *273 free: 04D66738, unused: 0
2021/04/27 05:36:31 [debug] 24525\#0: *273 free: 04D666B0, unused: 0
2021/04/27 05:36:31 [debug] 24525\#0: *273 free: 04D66638, unused: 0
'
043-shdict.t TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
043-shdict.t TEST 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '4
'
expected: '0
'
043-shdict.t TEST 55: list all keys in a shdict with all keys expired - response_body - response is expected (repeated req 0, req 0) got: '1024
'
expected: '0
'
043-shdict.t TEST 49: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-2
+3
bah
bar
+foo
'
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
043-shdict.t TEST 52: list keys in a shdict with limit larger than number of keys - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '2
'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '1024
'
expected: '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 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)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:55:42 [debug] 3475\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2021/04/27 06:55:42 [debug] 3475\#0: *280 http keepalive handler
2021/04/27 06:55:42 [debug] 3475\#0: *280 close http connection: 8
2021/04/27 06:55:42 [debug] 3475\#0: *280 event timer del: 8: 8207396
2021/04/27 06:55:42 [debug] 3475\#0: *280 reusable connection: 0
2021/04/27 06:55:42 [debug] 3475\#0: *280 free: 05030518, unused: 0
2021/04/27 06:55:42 [debug] 3475\#0: *280 free: 050304E0, unused: 0
2021/04/27 06:55:42 [debug] 3475\#0: *280 free: 05030468, unused: 0
2021/04/27 06:55:42 [debug] 3475\#0: *280 free: 050303E0, unused: 0
2021/04/27 06:55:42 [debug] 3475\#0: *280 free: 05024DE0, unused: 0
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:55:55 [debug] 3603\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2021/04/27 06:55:55 [debug] 3603\#0: lua tcp socket keepalive close handler: fd:8
2021/04/27 06:55:55 [debug] 3603\#0: event timer del: 8: 8213112
2021/04/27 06:55:55 [debug] 3603\#0: reusable connection: 0
2021/04/27 06:55:54 [debug] 3635\#0: setproctitle: "nginx: worker process"
2021/04/27 06:55:55 [debug] 3603\#0: lua tcp socket keepalive: free connection pool for "B"
2021/04/27 06:55:54 [debug] 3635\#0: worker cycle
2021/04/27 06:55:55 [notice] 3603\#0: exiting
2021/04/27 06:55:55 [debug] 3603\#0: flush files
2021/04/27 06:55:54 [debug] 3635\#0: epoll timer: -1
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:55:55 [debug] 3603\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2021/04/27 06:55:54 [debug] 3635\#0: worker cycle
2021/04/27 06:55:55 [notice] 3603\#0: exiting
2021/04/27 06:55:55 [debug] 3603\#0: flush files
2021/04/27 06:55:54 [debug] 3635\#0: epoll timer: -1
2021/04/27 06:55:55 [debug] 3603\#0: run cleanup: 05A10FA0
2021/04/27 06:55:55 [debug] 3603\#0: run cleanup: 057FE7E0
2021/04/27 06:55:55 [debug] 3603\#0: lua decrementing the reference count for Lua VM: 1
2021/04/27 06:55:55 [debug] 3603\#0: lua close the global Lua VM 057A7978
2021/04/27 06:55:55 [debug] 3603\#0: run cleanup: 057FE768
'
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:55:58 [debug] 3635\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2021/04/27 06:55:58 [notice] 3635\#0: exiting
2021/04/27 06:55:58 [debug] 3635\#0: flush files
2021/04/27 06:55:58 [debug] 3635\#0: run cleanup: 0583A648
2021/04/27 06:55:58 [debug] 3635\#0: run cleanup: 05A7CF00
2021/04/27 06:55:58 [debug] 3635\#0: lua decrementing the reference count for Lua VM: 1
2021/04/27 06:55:58 [debug] 3635\#0: lua close the global Lua VM 05A614C0
2021/04/27 06:55:58 [debug] 3635\#0: run cleanup: 05A7CE88
2021/04/27 06:55:58 [debug] 3635\#0: run cleanup: 05A7CE10
2021/04/27 06:55:58 [debug] 3635\#0: run cleanup: 05A49BE0
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:56:01 [debug] 3667\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2021/04/27 06:56:01 [debug] 3667\#0: lua tcp socket keepalive close handler: fd:8
2021/04/27 06:56:01 [debug] 3667\#0: event timer del: 8: 8219140
2021/04/27 06:56:01 [debug] 3667\#0: reusable connection: 0
2021/04/27 06:56:01 [debug] 3667\#0: lua tcp socket keepalive: free connection pool for "B"
2021/04/27 06:56:01 [debug] 3667\#0: worker cycle
2021/04/27 06:56:01 [debug] 3667\#0: epoll timer: 58708
2021/04/27 06:56:01 [debug] 3667\#0: epoll: fd:3 ev:2011 d:05F84349
2021/04/27 06:56:01 [debug] 3667\#0: epoll_wait() error on fd:3 ev:2011
2021/04/27 06:56:01 [debug] 3667\#0: *448 http wait request handler
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:56:01 [debug] 3667\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2021/04/27 06:56:01 [debug] 3667\#0: worker cycle
2021/04/27 06:56:01 [debug] 3667\#0: epoll timer: 58708
2021/04/27 06:56:01 [debug] 3667\#0: epoll: fd:3 ev:2011 d:05F84349
2021/04/27 06:56:01 [debug] 3667\#0: epoll_wait() error on fd:3 ev:2011
2021/04/27 06:56:01 [debug] 3667\#0: *448 http wait request handler
2021/04/27 06:56:01 [debug] 3667\#0: *448 malloc: 05D653E8:52
2021/04/27 06:56:01 [debug] 3667\#0: *448 malloc: 05D65C58:8
2021/04/27 06:56:01 [debug] 3667\#0: *448 malloc: 05D76E88:1024
2021/04/27 06:56:01 [debug] 3667\#0: *448 malloc: 05FFF7E0:8
'
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:56:04 [debug] 3699\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2021/04/27 06:56:04 [debug] 3699\#0: worker cycle
2021/04/27 06:56:04 [debug] 3699\#0: epoll timer: 58792
2021/04/27 06:56:04 [debug] 3699\#0: epoll: fd:3 ev:2011 d:04B51C79
2021/04/27 06:56:04 [debug] 3699\#0: epoll_wait() error on fd:3 ev:2011
2021/04/27 06:56:04 [debug] 3699\#0: *477 http wait request handler
2021/04/27 06:56:04 [debug] 3699\#0: *477 malloc: 04B76BA0:52
2021/04/27 06:56:04 [debug] 3699\#0: *477 malloc: 04B76C08:8
2021/04/27 06:56:04 [debug] 3699\#0: *477 malloc: 04B87358:1024
2021/04/27 06:56:04 [debug] 3699\#0: *477 malloc: 060255B8:8
'
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:56:32 [debug] 3986\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2021/04/27 06:56:32 [notice] 3986\#0: exiting
2021/04/27 06:56:32 [debug] 3986\#0: flush files
2021/04/27 06:56:32 [debug] 3986\#0: run cleanup: 04AC8D10
2021/04/27 06:56:32 [debug] 3986\#0: run cleanup: 05D82F20
2021/04/27 06:56:32 [debug] 3986\#0: lua decrementing the reference count for Lua VM: 1
2021/04/27 06:56:32 [debug] 3986\#0: lua close the global Lua VM 05A4BDC8
2021/04/27 06:56:32 [debug] 3986\#0: run cleanup: 05D82EA8
2021/04/27 06:56:32 [debug] 3986\#0: run cleanup: 05CD0F08
2021/04/27 06:56:32 [debug] 3986\#0: run cleanup: 05AAF9D8
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2021/04/27 06:56:36 [debug] 4017\#0: lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2021/04/27 06:56:36 [debug] 4017\#0: worker cycle
2021/04/27 06:56:36 [debug] 4017\#0: epoll timer: 58740
2021/04/27 06:56:36 [debug] 4017\#0: epoll: fd:3 ev:2011 d:05C68A60
2021/04/27 06:56:36 [debug] 4017\#0: epoll_wait() error on fd:3 ev:2011
2021/04/27 06:56:36 [debug] 4017\#0: *756 http wait request handler
2021/04/27 06:56:36 [debug] 4017\#0: *756 malloc: 04A52B80:52
2021/04/27 06:56:36 [debug] 4017\#0: *756 malloc: 05D41330:8
2021/04/27 06:56:36 [debug] 4017\#0: *756 malloc: 05D7CC50:1024
2021/04/27 06:56:36 [debug] 4017\#0: *756 malloc: 05D7D080:8
'
068-socket-keepalive.t TEST 44: conn queuing: resume next connect operation if resumed connect failed immediately - pattern "[error]" should not match any line in error.log but matches line "2021/04/27 06:57:24 [error] 4482\#0: *1180 lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2021/04/27 06:57:24 [debug] 4513\#0: *1207 http log handler
2021/04/27 06:57:24 [debug] 4513\#0: *1207 malloc: 04A32BB8:102
2021/04/27 06:57:24 [debug] 4513\#0: *1207 malloc: 04ABE298:8
2021/04/27 06:57:24 [debug] 4513\#0: *1207 free: 04ABE298, unused: 0
2021/04/27 06:57:24 [debug] 4513\#0: *1207 free: 04AB8E50, unused: 0
2021/04/27 06:57:24 [debug] 4482\#0: *1180 lua tcp socket waking up the current request
2021/04/27 06:57:24 [debug] 4513\#0: *1207 free: 04AA9418, unused: 0
2021/04/27 06:57:24 [debug] 4513\#0: *1207 free: 04AA8D48, unused: 0
2021/04/27 06:57:24 [debug] 4513\#0: *1207 free: 04AA5220, unused: 0
'
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
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\.(?:1[4-9]|2[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 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 1)
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 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 1)
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-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-6]))" should match a line in error.log (req 1)
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 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 1)
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 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 1)
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 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 1)
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 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 1)
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)
109-timer-hup.t TEST 1: single timer - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "in callback: hello, 1" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "timer prematurely expired: 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 0) got: ''
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 8180 pending timers
'
expected: 'lua found 8191 pending timers
'
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 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 "http lua close fake http 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 "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: ''
expected: 'lua found 1 pending timers
'
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 7: merge big slabs (less than max slab size) backward - 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
-successfully safe set baz
+failed to safe set baz: no memory
'
126-shdict-frag.t TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
successfully set baz with force.
foo not found
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
-successfully set bar.
+successfully set bar with force.
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
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 "]]" 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 "]=]" 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 "]==]" 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 "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 15: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2021/04/27 07:44:24 [error] 27491\#0: send() failed (111: Connection refused)" (req 0) 2021/04/27 07:44:24 [debug] 27491\#0: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#11
2021/04/27 07:44:24 [debug] 27491\#0: epoll del event: fd:8 op:2 ev:00000000
2021/04/27 07:44:24 [debug] 27491\#0: close listening 0.0.0.0:1984 \#8
2021/04/27 07:44:24 [notice] 27491\#0: exiting
2021/04/27 07:44:24 [debug] 27491\#0: flush files
2021/04/27 07:44:24 [debug] 27491\#0: run cleanup: 055DFED0
2021/04/27 07:44:24 [debug] 27491\#0: run cleanup: 058EECB8
2021/04/27 07:44:24 [debug] 27491\#0: lua decrementing the reference count for Lua VM: 1
2021/04/27 07:44:24 [debug] 27491\#0: lua close the global Lua VM 0589B130
'
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
145-shdict-list.t TEST 14: rpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-1
+push err: value not a list
-2
+pop err: value not a list
-3
'
145-shdict-list.t TEST 8: get_keys operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
key: foo
'
145-shdict-list.t TEST 15: list removed: expired - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-max - 1 matched keys length: true
-keys all expired, left number: 0
-loop again, max matched: true
-loop again, max matched: true
'
145-shdict-list.t TEST 16: list removed: forcibly - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-two == number 2: true
-no one left: 0
-two == number 2: true
'
145-shdict-list.t TEST 13: lpush and rpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
+push err: nil
+bar
1
-2
+pop err: nil
-3
'
145-shdict-list.t TEST 4: replace operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
true nil
bar nil
'
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 6: zero count means off - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
expected: ''
146-malloc-trim.t TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
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,18 @@
-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
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
148-fake-shm-zone.t TEST 4: multiply zones - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1,7 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
name=x2
size=2097152
isinit=true
'
148-fake-shm-zone.t TEST 3: get_info - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
'
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 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)
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
'
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
'
153-semaphore-hup.t TEST 1: timer + reload - grep_error_log_out (req 0) @@ -1,5 +1,2 @@
created semaphore object
created semaphore object
-try to reload nginx
-created semaphore object
-created semaphore object
'
160-disable-init-by-lua.t TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 0)
160-disable-init-by-lua.t TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 1)
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.