(This page was automatically generated by the tools in the opsboy project on 10:07:08 03-Nov-2020 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
83a61d6b 2020-11-01 14:30:12 GMT 2 69 207 21501 3350 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

Compilation Errors

Unexpected Failures

File Name Details
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)

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 "2020/11/01 14:45:06 [debug] 600\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/11/01 14:45:06 [debug] 600\#0: *264 http keepalive handler
2020/11/01 14:45:06 [debug] 600\#0: *264 close http connection: 5
2020/11/01 14:45:06 [debug] 600\#0: *264 event timer del: 5: 1013455
2020/11/01 14:45:06 [debug] 600\#0: *264 reusable connection: 0
2020/11/01 14:45:06 [debug] 600\#0: *264 free: 0000000009316BE0, unused: 0
2020/11/01 14:45:06 [debug] 600\#0: *264 free: 0000000009316B00, unused: 0
2020/11/01 14:45:06 [debug] 600\#0: *264 free: 0000000008913AC0, unused: 0
2020/11/01 14:45:06 [debug] 600\#0: *264 free: 00000000089139F0, unused: 0
2020/11/01 14:45:06 [debug] 600\#0: *264 free: 0000000008913950, unused: 0
'
043-shdict.t TEST 51: list all keys in a shdict with expires - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '2
'
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 57: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) got: '2050
'
expected: '2048
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+hello, world
-nil
+hello, world
'
043-shdict.t TEST 28: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-add: true nil false
+add: false exists false
-foo = 10502
+foo = hello, world
'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '3
'
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 "2020/11/01 15:07:31 [debug] 5866\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/11/01 15:07:31 [debug] 5866\#0: *270 http keepalive handler
2020/11/01 15:07:31 [debug] 5866\#0: *270 close http connection: 7
2020/11/01 15:07:31 [debug] 5866\#0: *270 event timer del: 7: 2358501
2020/11/01 15:07:31 [debug] 5866\#0: *270 reusable connection: 0
2020/11/01 15:07:31 [debug] 5866\#0: *270 free: 00000000097A5F00, unused: 0
2020/11/01 15:07:31 [debug] 5866\#0: *270 free: 00000000097A5EB0, unused: 0
2020/11/01 15:07:31 [debug] 5866\#0: *270 free: 00000000097A5E00, unused: 0
2020/11/01 15:07:31 [debug] 5866\#0: *270 free: 0000000009784990, unused: 0
2020/11/01 15:07:31 [debug] 5866\#0: *270 free: 00000000097848F0, 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 "2020/11/01 15:07:34 [debug] 5990\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/11/01 15:07:34 [debug] 5990\#0: lua tcp socket keepalive close handler: fd:7
2020/11/01 15:07:34 [debug] 5990\#0: event timer del: 7: 2354885
2020/11/01 15:07:34 [debug] 5990\#0: reusable connection: 0
2020/11/01 15:07:34 [debug] 5990\#0: lua tcp socket keepalive: free connection pool for "B"
2020/11/01 15:07:34 [notice] 5990\#0: exiting
2020/11/01 15:07:34 [debug] 5990\#0: flush files
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 00000000089B7C20
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 00000000085CFD40
2020/11/01 15:07:34 [debug] 5990\#0: lua decrementing the reference count for Lua VM: 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 "2020/11/01 15:07:34 [debug] 5990\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/11/01 15:07:34 [notice] 5990\#0: exiting
2020/11/01 15:07:34 [debug] 5990\#0: flush files
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 00000000089B7C20
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 00000000085CFD40
2020/11/01 15:07:34 [debug] 5990\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 15:07:34 [debug] 5990\#0: lua close the global Lua VM 0000000008E34B80
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 00000000085CFC90
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 00000000085CFBE0
2020/11/01 15:07:34 [debug] 5990\#0: run cleanup: 0000000008E7E1F0
'
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 "2020/11/01 15:07:35 [debug] 6021\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2020/11/01 15:07:35 [notice] 6021\#0: exiting
2020/11/01 15:07:35 [debug] 6021\#0: flush files
2020/11/01 15:07:35 [debug] 6021\#0: run cleanup: 000000000867C410
2020/11/01 15:07:35 [debug] 6021\#0: run cleanup: 0000000008A508B0
2020/11/01 15:07:35 [debug] 6021\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 15:07:35 [debug] 6021\#0: lua close the global Lua VM 0000000009B49590
2020/11/01 15:07:35 [debug] 6021\#0: run cleanup: 0000000008A42FB0
2020/11/01 15:07:35 [debug] 6021\#0: run cleanup: 0000000008A42F00
2020/11/01 15:07:35 [debug] 6021\#0: run cleanup: 0000000008A58F30
'
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 "2020/11/01 15:07:36 [debug] 6052\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/11/01 15:07:36 [debug] 6052\#0: lua tcp socket keepalive close handler: fd:7
2020/11/01 15:07:36 [debug] 6052\#0: event timer del: 7: 2356445
2020/11/01 15:07:36 [debug] 6052\#0: reusable connection: 0
2020/11/01 15:07:36 [debug] 6052\#0: lua tcp socket keepalive: free connection pool for "B"
2020/11/01 15:07:36 [debug] 6052\#0: worker cycle
2020/11/01 15:07:36 [debug] 6052\#0: epoll timer: 59596
2020/11/01 15:07:36 [debug] 6052\#0: epoll: fd:3 ev:2011 d:000000000943D8D1
2020/11/01 15:07:36 [debug] 6052\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 15:07:36 [debug] 6052\#0: *432 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 "2020/11/01 15:07:36 [debug] 6052\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/11/01 15:07:36 [debug] 6052\#0: worker cycle
2020/11/01 15:07:36 [debug] 6052\#0: epoll timer: 59596
2020/11/01 15:07:36 [debug] 6052\#0: epoll: fd:3 ev:2011 d:000000000943D8D1
2020/11/01 15:07:36 [debug] 6052\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 15:07:36 [debug] 6052\#0: *432 http wait request handler
2020/11/01 15:07:36 [debug] 6052\#0: *432 malloc: 0000000008EDA200:80
2020/11/01 15:07:36 [debug] 6052\#0: *432 malloc: 0000000008911890:16
2020/11/01 15:07:36 [debug] 6052\#0: *432 malloc: 0000000008923750:1024
2020/11/01 15:07:36 [debug] 6052\#0: *432 malloc: 0000000008923B90:16
'
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 "2020/11/01 15:07:37 [debug] 6083\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/11/01 15:07:37 [debug] 6083\#0: worker cycle
2020/11/01 15:07:37 [debug] 6083\#0: epoll timer: 59620
2020/11/01 15:07:37 [debug] 6083\#0: epoll: fd:3 ev:2011 d:000000000944E4D1
2020/11/01 15:07:37 [debug] 6083\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 15:07:37 [debug] 6083\#0: *460 http wait request handler
2020/11/01 15:07:37 [debug] 6083\#0: *460 malloc: 0000000008997780:80
2020/11/01 15:07:37 [debug] 6083\#0: *460 malloc: 0000000008A3B610:16
2020/11/01 15:07:37 [debug] 6083\#0: *460 malloc: 000000000888E170:1024
2020/11/01 15:07:37 [debug] 6083\#0: *460 malloc: 000000000888E5B0:16
'
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 "2020/11/01 15:07:45 [debug] 6359\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2020/11/01 15:07:45 [notice] 6359\#0: exiting
2020/11/01 15:07:45 [debug] 6359\#0: flush files
2020/11/01 15:07:45 [debug] 6359\#0: run cleanup: 0000000008541590
2020/11/01 15:07:45 [debug] 6359\#0: run cleanup: 000000000975CF10
2020/11/01 15:07:45 [debug] 6359\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 15:07:45 [debug] 6359\#0: lua close the global Lua VM 00000000088AA660
2020/11/01 15:07:45 [debug] 6359\#0: run cleanup: 000000000976D730
2020/11/01 15:07:45 [debug] 6359\#0: run cleanup: 00000000096F6A60
2020/11/01 15:07:45 [debug] 6359\#0: run cleanup: 000000000982CA90
'
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 "2020/11/01 15:07:46 [debug] 6389\#0: lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2020/11/01 15:07:46 [debug] 6389\#0: worker cycle
2020/11/01 15:07:46 [debug] 6389\#0: epoll timer: 59588
2020/11/01 15:07:46 [debug] 6389\#0: epoll: fd:3 ev:2011 d:000000000944E300
2020/11/01 15:07:46 [debug] 6389\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 15:07:46 [debug] 6389\#0: *729 http wait request handler
2020/11/01 15:07:46 [debug] 6389\#0: *729 malloc: 00000000084CE620:80
2020/11/01 15:07:46 [debug] 6389\#0: *729 malloc: 000000000855FC90:16
2020/11/01 15:07:46 [debug] 6389\#0: *729 malloc: 0000000008EEB120:1024
2020/11/01 15:07:46 [debug] 6389\#0: *729 malloc: 000000000855FCE0:16
'
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 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 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 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-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 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 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8189 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 8189 pending timers
'
expected: 'lua found 8191 pending timers
'
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
'
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
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,4 +1,4 @@
-successfully set bar.
+successfully set bar with force.
failed to safe set baz: no memory
found bar: 4000
delete bar
'
126-shdict-frag.t TEST 2: merge 2 single-page free slabs (forcibly evicted, merge backward) - response_body - response is expected (repeated req 0, req 0) @@ -1,12 +1,12 @@
successfully set foo.
-successfully set bar.
+failed to set bar: no memory
found foo: 4000
-successfully set baz with force.
-foo not found
+failed to set baz: no memory
+found foo: 4000
bar not found
-found baz: 8102
-successfully set foo with force.
-successfully set bar.
+baz not found
+successfully set foo.
+successfully set bar with force.
found foo: 4000
successfully set baz with force.
foo not found
'
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] "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
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2020/11/01 15:23:51 [error] 29289\#0: send() failed (111: Connection refused)" (req 0) 2020/11/01 15:23:51 [debug] 29289\#0: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#10
2020/11/01 15:23:51 [debug] 29289\#0: epoll del event: fd:7 op:2 ev:00000000
2020/11/01 15:23:51 [debug] 29289\#0: close listening 0.0.0.0:1984 \#7
2020/11/01 15:23:51 [notice] 29289\#0: exiting
2020/11/01 15:23:51 [debug] 29289\#0: flush files
2020/11/01 15:23:51 [debug] 29289\#0: run cleanup: 00000000084E0620
2020/11/01 15:23:51 [debug] 29289\#0: run cleanup: 0000000008595520
2020/11/01 15:23:51 [debug] 29289\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 15:23:51 [debug] 29289\#0: lua close the global Lua VM 0000000008A010A0
'
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 1: lpush & lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
push success
+2 nil
+bar nil
1 nil
bar nil
-0 nil
-nil nil
'
145-shdict-list.t TEST 7: incr 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
nil not a number
-nil value is a list
+bar nil
'
145-shdict-list.t TEST 12: lpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-3
+push err: value not a list
-2
+pop err: value not a list
-1
'
145-shdict-list.t TEST 6: delete 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
nil nil
'
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
'
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
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
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
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 7: zero count means off, log_by_lua - 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
'
expected: ''
146-malloc-trim.t TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2020/11/01 15:25:54 [debug] 31545\#0: *77 malloc_trim() disabled" (req 0) 2020/11/01 15:25:54 [debug] 31545\#0: *77 lua log handler, uri:"/ver" c:1
2020/11/01 15:25:54 [debug] 31545\#0: *77 http log handler
2020/11/01 15:25:54 [debug] 31545\#0: *77 malloc: 0000000009447760:123
2020/11/01 15:25:54 [debug] 31545\#0: *77 malloc: 0000000009447820:16
2020/11/01 15:25:54 [debug] 31545\#0: *77 free: 0000000009447820, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *77 free: 0000000009447710, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *77 free: 0000000009447670, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *77 free: 0000000009447570, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *77 free: 00000000094474D0, unused: 0
'
146-malloc-trim.t TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2020/11/01 15:25:54 [debug] 31545\#0: *78 malloc_trim() disabled" (req 0) 2020/11/01 15:25:54 [debug] 31545\#0: *78 lua log handler, uri:"/ver" c:1
2020/11/01 15:25:54 [debug] 31545\#0: *78 http log handler
2020/11/01 15:25:54 [debug] 31545\#0: *78 malloc: 000000000944A530:123
2020/11/01 15:25:54 [debug] 31545\#0: *78 malloc: 000000000944A5F0:16
2020/11/01 15:25:54 [debug] 31545\#0: *78 free: 000000000944A5F0, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *78 free: 000000000944A4E0, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *78 free: 000000000944A440, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *78 free: 000000000944A340, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *78 free: 000000000944A2A0, unused: 0
'
146-malloc-trim.t TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2020/11/01 15:25:54 [debug] 31545\#0: *79 malloc_trim() disabled" (req 0) 2020/11/01 15:25:54 [debug] 31545\#0: *79 lua log handler, uri:"/ver" c:1
2020/11/01 15:25:54 [debug] 31545\#0: *79 http log handler
2020/11/01 15:25:54 [debug] 31545\#0: *79 malloc: 000000000944D300:123
2020/11/01 15:25:54 [debug] 31545\#0: *79 malloc: 000000000944D3C0:16
2020/11/01 15:25:54 [debug] 31545\#0: *79 free: 000000000944D3C0, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *79 free: 000000000944D2B0, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *79 free: 000000000944D210, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *79 free: 000000000944D110, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *79 free: 000000000944D070, unused: 0
'
146-malloc-trim.t TEST 6: zero count means off - pattern "malloc_trim() disabled" should not match any line in error.log but matches line "2020/11/01 15:25:54 [debug] 31545\#0: *80 malloc_trim() disabled" (req 0) 2020/11/01 15:25:54 [debug] 31545\#0: *80 lua log handler, uri:"/ver" c:1
2020/11/01 15:25:54 [debug] 31545\#0: *80 http log handler
2020/11/01 15:25:54 [debug] 31545\#0: *80 malloc: 00000000094500D0:123
2020/11/01 15:25:54 [debug] 31545\#0: *80 malloc: 0000000009450190:16
2020/11/01 15:25:54 [debug] 31545\#0: *80 free: 0000000009450190, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *80 free: 0000000009450080, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *80 free: 000000000944FFE0, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *80 free: 000000000944FEE0, unused: 0
2020/11/01 15:25:54 [debug] 31545\#0: *80 free: 000000000944FE40, unused: 0
'
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
'
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 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
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 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
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 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 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 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)
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
'
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.