(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 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
83a61d6b 2020-11-01 14:30:12 GMT 2 47 207 21498 1685 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1h 22 Sep 2020

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 17:21:49 [debug] 21999\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/11/01 17:21:49 [debug] 21999\#0: *258 http keepalive handler
2020/11/01 17:21:49 [debug] 21999\#0: *258 close http connection: 5
2020/11/01 17:21:49 [debug] 21999\#0: *258 event timer del: 5: 10422281
2020/11/01 17:21:49 [debug] 21999\#0: *258 reusable connection: 0
2020/11/01 17:21:49 [debug] 21999\#0: *258 free: 0000000001B659D0, unused: 0
2020/11/01 17:21:49 [debug] 21999\#0: *258 free: 0000000001B473C0, unused: 0
2020/11/01 17:21:49 [debug] 21999\#0: *258 free: 0000000001B5D900, unused: 0
2020/11/01 17:21:49 [debug] 21999\#0: *258 free: 0000000001B5D8E0, unused: 0
2020/11/01 17:21:49 [debug] 21999\#0: *258 free: 0000000001B5D8A0, unused: 0
'
Looks like you failed 1 test of 138.
043-shdict.t TEST 36: incr key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-incr: nil not found
+incr: 34.14 nil
-foo = nil
+foo = 34.14
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+true
-nil
+true
'
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 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 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 = 32
'
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 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 TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '0
'
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: '2049
'
expected: '2048
'
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
'
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 17:32:49 [debug] 26165\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/11/01 17:32:49 [debug] 26165\#0: *256 http keepalive handler
2020/11/01 17:32:49 [debug] 26165\#0: *256 close http connection: 7
2020/11/01 17:32:49 [debug] 26165\#0: *256 event timer del: 7: 11081967
2020/11/01 17:32:49 [debug] 26165\#0: *256 reusable connection: 0
2020/11/01 17:32:49 [debug] 26165\#0: *256 free: 000000000231A2A0, unused: 0
2020/11/01 17:32:49 [debug] 26165\#0: *256 free: 000000000231A280, unused: 0
2020/11/01 17:32:49 [debug] 26165\#0: *256 free: 000000000231A240, unused: 0
2020/11/01 17:32:49 [debug] 26165\#0: *256 free: 000000000236DEC0, unused: 0
2020/11/01 17:32:49 [debug] 26165\#0: *256 free: 000000000230D540, 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 17:32:50 [debug] 26283\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/11/01 17:32:50 [debug] 26283\#0: lua tcp socket keepalive close handler: fd:7
2020/11/01 17:32:50 [debug] 26283\#0: event timer del: 7: 11076367
2020/11/01 17:32:50 [debug] 26283\#0: reusable connection: 0
2020/11/01 17:32:50 [debug] 26283\#0: lua tcp socket keepalive: free connection pool for "B"
2020/11/01 17:32:50 [notice] 26283\#0: exiting
2020/11/01 17:32:50 [debug] 26283\#0: flush files
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 0000000002312E50
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 0000000002324DB0
2020/11/01 17:32:50 [debug] 26283\#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 17:32:50 [debug] 26283\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/11/01 17:32:50 [notice] 26283\#0: exiting
2020/11/01 17:32:50 [debug] 26283\#0: flush files
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 0000000002312E50
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 0000000002324DB0
2020/11/01 17:32:50 [debug] 26283\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 17:32:50 [debug] 26283\#0: lua close the global Lua VM 00007FDD5FE90380
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 0000000002324D70
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 0000000002324D30
2020/11/01 17:32:50 [debug] 26283\#0: run cleanup: 000000000235D480
'
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 17:32:51 [debug] 26312\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2020/11/01 17:32:51 [notice] 26312\#0: exiting
2020/11/01 17:32:51 [debug] 26312\#0: flush files
2020/11/01 17:32:51 [debug] 26312\#0: run cleanup: 000000000230CEA0
2020/11/01 17:32:51 [debug] 26312\#0: run cleanup: 00000000023A0570
2020/11/01 17:32:51 [debug] 26312\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 17:32:51 [debug] 26312\#0: lua close the global Lua VM 00007FDD5FE30380
2020/11/01 17:32:51 [debug] 26312\#0: run cleanup: 00000000023A0530
2020/11/01 17:32:51 [debug] 26312\#0: run cleanup: 0000000002375A30
2020/11/01 17:32:51 [debug] 26312\#0: run cleanup: 0000000002369CF0
'
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 17:32:51 [debug] 26341\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/11/01 17:32:51 [debug] 26341\#0: lua tcp socket keepalive close handler: fd:7
2020/11/01 17:32:51 [debug] 26341\#0: event timer del: 7: 11077079
2020/11/01 17:32:51 [debug] 26341\#0: reusable connection: 0
2020/11/01 17:32:51 [debug] 26341\#0: lua tcp socket keepalive: free connection pool for "B"
2020/11/01 17:32:51 [debug] 26341\#0: worker cycle
2020/11/01 17:32:51 [debug] 26341\#0: epoll timer: 59748
2020/11/01 17:32:51 [debug] 26341\#0: epoll: fd:3 ev:2011 d:0000000002386E41
2020/11/01 17:32:51 [debug] 26341\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 17:32:51 [debug] 26341\#0: *408 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 17:32:51 [debug] 26341\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/11/01 17:32:51 [debug] 26341\#0: worker cycle
2020/11/01 17:32:51 [debug] 26341\#0: epoll timer: 59748
2020/11/01 17:32:51 [debug] 26341\#0: epoll: fd:3 ev:2011 d:0000000002386E41
2020/11/01 17:32:51 [debug] 26341\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 17:32:51 [debug] 26341\#0: *408 http wait request handler
2020/11/01 17:32:51 [debug] 26341\#0: *408 malloc: 000000000237FEA0:80
2020/11/01 17:32:51 [debug] 26341\#0: *408 malloc: 0000000002369810:16
2020/11/01 17:32:51 [debug] 26341\#0: *408 malloc: 000000000233BAF0:1024
2020/11/01 17:32:51 [debug] 26341\#0: *408 malloc: 0000000002332C50: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 17:32:51 [debug] 26370\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/11/01 17:32:51 [debug] 26370\#0: worker cycle
2020/11/01 17:32:51 [debug] 26370\#0: epoll timer: 59760
2020/11/01 17:32:51 [debug] 26370\#0: epoll: fd:3 ev:2011 d:000000000237C121
2020/11/01 17:32:51 [debug] 26370\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 17:32:51 [debug] 26370\#0: *434 http wait request handler
2020/11/01 17:32:51 [debug] 26370\#0: *434 malloc: 0000000002360FE0:80
2020/11/01 17:32:51 [debug] 26370\#0: *434 malloc: 0000000002381E90:16
2020/11/01 17:32:51 [debug] 26370\#0: *434 malloc: 0000000002323FF0:1024
2020/11/01 17:32:51 [debug] 26370\#0: *434 malloc: 0000000002369830: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 17:32:56 [debug] 26638\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2020/11/01 17:32:56 [notice] 26638\#0: exiting
2020/11/01 17:32:56 [debug] 26638\#0: flush files
2020/11/01 17:32:56 [debug] 26638\#0: run cleanup: 0000000002312E50
2020/11/01 17:32:56 [debug] 26638\#0: run cleanup: 000000000239FA10
2020/11/01 17:32:56 [debug] 26638\#0: lua decrementing the reference count for Lua VM: 1
2020/11/01 17:32:56 [debug] 26638\#0: lua close the global Lua VM 00007FDD5FE90380
2020/11/01 17:32:56 [debug] 26638\#0: run cleanup: 000000000239F9D0
2020/11/01 17:32:56 [debug] 26638\#0: run cleanup: 000000000239F990
2020/11/01 17:32:56 [debug] 26638\#0: run cleanup: 000000000233E710
'
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 17:32:56 [debug] 26669\#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 17:32:56 [debug] 26669\#0: worker cycle
2020/11/01 17:32:56 [debug] 26669\#0: epoll timer: 59740
2020/11/01 17:32:56 [debug] 26669\#0: epoll: fd:3 ev:2011 d:000000000231B5B0
2020/11/01 17:32:56 [debug] 26669\#0: epoll_wait() error on fd:3 ev:2011
2020/11/01 17:32:56 [debug] 26669\#0: *696 http wait request handler
2020/11/01 17:32:56 [debug] 26669\#0: *696 malloc: 0000000002346A30:80
2020/11/01 17:32:56 [debug] 26669\#0: *696 malloc: 000000000232B420:16
2020/11/01 17:32:56 [debug] 26669\#0: *696 malloc: 0000000002312A40:1024
2020/11/01 17:32:56 [debug] 26669\#0: *696 malloc: 0000000002385A40: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
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
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,11 +1,11 @@
successfully set foo.
-successfully set bar.
-successfully set baz with force.
-foo not found
+failed to set bar: no memory
+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.
successfully set baz with force.
foo not found
bar not found
'
Looks like you failed 1 test of 39.
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] "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
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 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
'
145-shdict-list.t TEST 3: set 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
'
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 12: lpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-3
-2
+push err: nil
1
+bar
+pop err: 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
'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 0
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_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,14 @@
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
+malloc_trim(1) returned 1
'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
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 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_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 1
'
expected: ''
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
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
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
'
Looks like you failed 1 test of 14.
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
'
Looks like you failed 1 test of 6.
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.