(This page was automatically generated by the tools in the opsboy project on 09:46:46 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
65d87507 2020-10-27 16:11:12 GMT 3 66 207 21491 3273 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1h 22 Sep 2020

Compilation Errors

Unexpected Failures

File Name Details
016-resp-header.t TEST 94: fix negative content-length number(#1791) ==2677== Use of uninitialised value of size 8
==2677== at 0x52674E4: lj_str_new (lj_str.c:347)
==2677== by 0x5270FE9: lj_buf_str (lj_buf.h:100)
==2677== by 0x5270FE9: lj_strfmt_pushvf (lj_strfmt.c:456)
==2677== by 0x52755CE: lua_pushfstring (lj_api.c:684)
==2677== by 0x4F1E7B: ngx_http_lua_ngx_resp_get_headers (ngx_http_lua_headers.c:499)
==2677== by 0x5260822: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==2677== by 0x527807E: lua_pcall (lj_api.c:1169)
==2677== by 0x5046B3: ngx_http_lua_header_filter_by_chunk (ngx_http_lua_headerfilterby.c:101)
==2677== by 0x504837: ngx_http_lua_header_filter_inline (ngx_http_lua_headerfilterby.c:181)
==2677== by 0x5045E5: ngx_http_lua_header_filter (ngx_http_lua_headerfilterby.c:276)
==2677== by 0x4960E9: ngx_http_not_modified_header_filter (ngx_http_not_modified_filter_module.c:61)
==2677== by 0x462C73: ngx_http_send_header (ngx_http_core_module.c:1841)
==2677== by 0x47B0B1: ngx_http_upstream_send_response (ngx_http_upstream.c:2920)
==2677== by 0x47B0B1: ngx_http_upstream_process_header (ngx_http_upstream.c:2446)
==2677== by 0x478884: ngx_http_upstream_handler (ngx_http_upstream.c:1290)
==2677== by 0x44EE1F: ngx_epoll_process_events (ngx_epoll_module.c:901)
==2677== by 0x44401B: ngx_process_events_and_timers (ngx_event.c:257)
==2677== by 0x44CA27: ngx_worker_process_cycle (ngx_process_cycle.c:811)
==2677== by 0x44AF9C: ngx_spawn_process (ngx_process.c:199)
==2677== by 0x44BB0D: ngx_start_worker_processes (ngx_process_cycle.c:387)
==2677== by 0x44DB7A: ngx_master_process_cycle (ngx_process_cycle.c:241)
==2677== by 0x424367: main (nginx.c:385)
==2677==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_str_new
fun:lj_buf_str
fun:lj_strfmt_pushvf
fun:lua_pushfstring
fun:ngx_http_lua_ngx_resp_get_headers
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_header_filter_by_chunk
fun:ngx_http_lua_header_filter_inline
fun:ngx_http_lua_header_filter
fun:ngx_http_not_modified_header_filter
fun:ngx_http_send_header
fun:ngx_http_upstream_send_response
fun:ngx_http_upstream_process_header
fun:ngx_http_upstream_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
016-resp-header.t TEST 94: fix negative content-length number(#1791) ==2677== Use of uninitialised value of size 8
==2677== at 0x526760D: lj_str_alloc (lj_str.c:328)
==2677== by 0x526760D: lj_str_new (lj_str.c:374)
==2677== by 0x5270FE9: lj_buf_str (lj_buf.h:100)
==2677== by 0x5270FE9: lj_strfmt_pushvf (lj_strfmt.c:456)
==2677== by 0x52755CE: lua_pushfstring (lj_api.c:684)
==2677== by 0x4F1E7B: ngx_http_lua_ngx_resp_get_headers (ngx_http_lua_headers.c:499)
==2677== by 0x5260822: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==2677== by 0x527807E: lua_pcall (lj_api.c:1169)
==2677== by 0x5046B3: ngx_http_lua_header_filter_by_chunk (ngx_http_lua_headerfilterby.c:101)
==2677== by 0x504837: ngx_http_lua_header_filter_inline (ngx_http_lua_headerfilterby.c:181)
==2677== by 0x5045E5: ngx_http_lua_header_filter (ngx_http_lua_headerfilterby.c:276)
==2677== by 0x4960E9: ngx_http_not_modified_header_filter (ngx_http_not_modified_filter_module.c:61)
==2677== by 0x462C73: ngx_http_send_header (ngx_http_core_module.c:1841)
==2677== by 0x47B0B1: ngx_http_upstream_send_response (ngx_http_upstream.c:2920)
==2677== by 0x47B0B1: ngx_http_upstream_process_header (ngx_http_upstream.c:2446)
==2677== by 0x478884: ngx_http_upstream_handler (ngx_http_upstream.c:1290)
==2677== by 0x44EE1F: ngx_epoll_process_events (ngx_epoll_module.c:901)
==2677== by 0x44401B: ngx_process_events_and_timers (ngx_event.c:257)
==2677== by 0x44CA27: ngx_worker_process_cycle (ngx_process_cycle.c:811)
==2677== by 0x44AF9C: ngx_spawn_process (ngx_process.c:199)
==2677== by 0x44BB0D: ngx_start_worker_processes (ngx_process_cycle.c:387)
==2677== by 0x44DB7A: ngx_master_process_cycle (ngx_process_cycle.c:241)
==2677== by 0x424367: main (nginx.c:385)
==2677==
{
<insert_a_suppression_name_here>
Memcheck:Value8
fun:lj_str_alloc
fun:lj_str_new
fun:lj_buf_str
fun:lj_strfmt_pushvf
fun:lua_pushfstring
fun:ngx_http_lua_ngx_resp_get_headers
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_header_filter_by_chunk
fun:ngx_http_lua_header_filter_inline
fun:ngx_http_lua_header_filter
fun:ngx_http_not_modified_header_filter
fun:ngx_http_send_header
fun:ngx_http_upstream_send_response
fun:ngx_http_upstream_process_header
fun:ngx_http_upstream_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
016-resp-header.t TEST 94: fix negative content-length number(#1791) ==2677== Syscall param write(buf) points to uninitialised byte(s)
==2677== at 0x5047690: __write_nocancel (in /lib64/libpthread-2.17.so)
==2677== by 0x424E7E: ngx_write_fd (ngx_files.h:147)
==2677== by 0x424E7E: ngx_log_error_core (ngx_log.c:195)
==2677== by 0x4EB7C4: log_wrapper (ngx_http_lua_log.c:273)
==2677== by 0x4EB818: ngx_http_lua_print (ngx_http_lua_log.c:86)
==2677== by 0x5260822: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==2677== by 0x527807E: lua_pcall (lj_api.c:1169)
==2677== by 0x5046B3: ngx_http_lua_header_filter_by_chunk (ngx_http_lua_headerfilterby.c:101)
==2677== by 0x504837: ngx_http_lua_header_filter_inline (ngx_http_lua_headerfilterby.c:181)
==2677== by 0x5045E5: ngx_http_lua_header_filter (ngx_http_lua_headerfilterby.c:276)
==2677== by 0x4960E9: ngx_http_not_modified_header_filter (ngx_http_not_modified_filter_module.c:61)
==2677== by 0x462C73: ngx_http_send_header (ngx_http_core_module.c:1841)
==2677== by 0x47B0B1: ngx_http_upstream_send_response (ngx_http_upstream.c:2920)
==2677== by 0x47B0B1: ngx_http_upstream_process_header (ngx_http_upstream.c:2446)
==2677== by 0x478884: ngx_http_upstream_handler (ngx_http_upstream.c:1290)
==2677== by 0x44EE1F: ngx_epoll_process_events (ngx_epoll_module.c:901)
==2677== by 0x44401B: ngx_process_events_and_timers (ngx_event.c:257)
==2677== by 0x44CA27: ngx_worker_process_cycle (ngx_process_cycle.c:811)
==2677== by 0x44AF9C: ngx_spawn_process (ngx_process.c:199)
==2677== by 0x44BB0D: ngx_start_worker_processes (ngx_process_cycle.c:387)
==2677== by 0x44DB7A: ngx_master_process_cycle (ngx_process_cycle.c:241)
==2677== by 0x424367: main (nginx.c:385)
==2677== Address 0x1ffeffe646 is on thread 1's stack
==2677== in frame #1, created by ngx_log_error_core (ngx_files.h:106)
==2677==
{
<insert_a_suppression_name_here>
Memcheck:Param
write(buf)
fun:__write_nocancel
fun:ngx_write_fd
fun:ngx_log_error_core
fun:log_wrapper
fun:ngx_http_lua_print
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_header_filter_by_chunk
fun:ngx_http_lua_header_filter_inline
fun:ngx_http_lua_header_filter
fun:ngx_http_not_modified_header_filter
fun:ngx_http_send_header
fun:ngx_http_upstream_send_response
fun:ngx_http_upstream_process_header
fun:ngx_http_upstream_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}

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/10/27 18:21:46 [debug] 12701\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/10/27 18:21:46 [debug] 12701\#0: *264 http keepalive handler
2020/10/27 18:21:46 [debug] 12701\#0: *264 close http connection: 5
2020/10/27 18:21:46 [debug] 12701\#0: *264 event timer del: 5: 7970611
2020/10/27 18:21:46 [debug] 12701\#0: *264 reusable connection: 0
2020/10/27 18:21:46 [debug] 12701\#0: *264 free: 0000000009B378B0, unused: 0
2020/10/27 18:21:46 [debug] 12701\#0: *264 free: 0000000009B377D0, unused: 0
2020/10/27 18:21:46 [debug] 12701\#0: *264 free: 000000000939BFD0, unused: 0
2020/10/27 18:21:46 [debug] 12701\#0: *264 free: 000000000939BF00, unused: 0
2020/10/27 18:21:46 [debug] 12701\#0: *264 free: 0000000009356650, unused: 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 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 47: flush_expires an empty dict - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '0
'
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 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
'
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
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/10/27 18:43:36 [debug] 17843\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/10/27 18:43:36 [debug] 17843\#0: *270 http keepalive handler
2020/10/27 18:43:36 [debug] 17843\#0: *270 close http connection: 7
2020/10/27 18:43:36 [debug] 17843\#0: *270 event timer del: 7: 9281294
2020/10/27 18:43:36 [debug] 17843\#0: *270 reusable connection: 0
2020/10/27 18:43:36 [debug] 17843\#0: *270 free: 0000000009751CE0, unused: 0
2020/10/27 18:43:36 [debug] 17843\#0: *270 free: 0000000008610880, unused: 0
2020/10/27 18:43:36 [debug] 17843\#0: *270 free: 00000000086107D0, unused: 0
2020/10/27 18:43:36 [debug] 17843\#0: *270 free: 0000000008610700, unused: 0
2020/10/27 18:43:36 [debug] 17843\#0: *270 free: 000000000860A3A0, 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/10/27 18:43:40 [debug] 17967\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/10/27 18:43:40 [debug] 17967\#0: lua tcp socket keepalive close handler: fd:7
2020/10/27 18:43:40 [debug] 17967\#0: event timer del: 7: 9277566
2020/10/27 18:43:40 [debug] 17967\#0: reusable connection: 0
2020/10/27 18:43:40 [debug] 17967\#0: lua tcp socket keepalive: free connection pool for "B"
2020/10/27 18:43:40 [notice] 17967\#0: exiting
2020/10/27 18:43:40 [debug] 17967\#0: flush files
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008AA5060
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008EE3410
2020/10/27 18:43:40 [debug] 17967\#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/10/27 18:43:40 [debug] 17967\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/10/27 18:43:40 [notice] 17967\#0: exiting
2020/10/27 18:43:40 [debug] 17967\#0: flush files
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008AA5060
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008EE3410
2020/10/27 18:43:40 [debug] 17967\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 18:43:40 [debug] 17967\#0: lua close the global Lua VM 0000000008E21400
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008EE3360
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008ECCE60
2020/10/27 18:43:40 [debug] 17967\#0: run cleanup: 0000000008ED1D20
'
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/10/27 18:43:41 [debug] 17998\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2020/10/27 18:43:41 [notice] 17998\#0: exiting
2020/10/27 18:43:41 [debug] 17998\#0: flush files
2020/10/27 18:43:41 [debug] 17998\#0: run cleanup: 00000000089904C0
2020/10/27 18:43:41 [debug] 17998\#0: run cleanup: 0000000008A42EF0
2020/10/27 18:43:41 [debug] 17998\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 18:43:41 [debug] 17998\#0: lua close the global Lua VM 00000000090369E0
2020/10/27 18:43:41 [debug] 17998\#0: run cleanup: 0000000008A35E50
2020/10/27 18:43:41 [debug] 17998\#0: run cleanup: 0000000008A35DA0
2020/10/27 18:43:41 [debug] 17998\#0: run cleanup: 00000000089EC680
'
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/10/27 18:43:41 [debug] 18029\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/10/27 18:43:41 [debug] 18029\#0: lua tcp socket keepalive close handler: fd:7
2020/10/27 18:43:41 [debug] 18029\#0: event timer del: 7: 9279074
2020/10/27 18:43:41 [debug] 18029\#0: reusable connection: 0
2020/10/27 18:43:41 [debug] 18029\#0: lua tcp socket keepalive: free connection pool for "B"
2020/10/27 18:43:41 [debug] 18029\#0: worker cycle
2020/10/27 18:43:41 [debug] 18029\#0: epoll timer: 59608
2020/10/27 18:43:41 [debug] 18029\#0: epoll: fd:3 ev:2011 d:000000000924C781
2020/10/27 18:43:41 [debug] 18029\#0: epoll_wait() error on fd:3 ev:2011
2020/10/27 18:43:41 [debug] 18029\#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/10/27 18:43:41 [debug] 18029\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/10/27 18:43:41 [debug] 18029\#0: worker cycle
2020/10/27 18:43:41 [debug] 18029\#0: epoll timer: 59608
2020/10/27 18:43:41 [debug] 18029\#0: epoll: fd:3 ev:2011 d:000000000924C781
2020/10/27 18:43:41 [debug] 18029\#0: epoll_wait() error on fd:3 ev:2011
2020/10/27 18:43:41 [debug] 18029\#0: *432 http wait request handler
2020/10/27 18:43:41 [debug] 18029\#0: *432 malloc: 00000000098487B0:80
2020/10/27 18:43:41 [debug] 18029\#0: *432 malloc: 000000000984C000:16
2020/10/27 18:43:41 [debug] 18029\#0: *432 malloc: 0000000008910730:1024
2020/10/27 18:43:41 [debug] 18029\#0: *432 malloc: 0000000008910B70: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/10/27 18:43:42 [debug] 18060\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/10/27 18:43:42 [debug] 18060\#0: worker cycle
2020/10/27 18:43:42 [debug] 18060\#0: epoll timer: 59632
2020/10/27 18:43:42 [debug] 18060\#0: epoll: fd:3 ev:2011 d:00000000096BF571
2020/10/27 18:43:42 [debug] 18060\#0: epoll_wait() error on fd:3 ev:2011
2020/10/27 18:43:42 [debug] 18060\#0: *460 http wait request handler
2020/10/27 18:43:42 [debug] 18060\#0: *460 malloc: 00000000097EA3F0:80
2020/10/27 18:43:42 [debug] 18060\#0: *460 malloc: 00000000097D6080:16
2020/10/27 18:43:42 [debug] 18060\#0: *460 malloc: 00000000096CFFC0:1024
2020/10/27 18:43:42 [debug] 18060\#0: *460 malloc: 00000000097EA480: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/10/27 18:43:50 [debug] 18336\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2020/10/27 18:43:50 [notice] 18336\#0: exiting
2020/10/27 18:43:50 [debug] 18336\#0: flush files
2020/10/27 18:43:50 [debug] 18336\#0: run cleanup: 000000000850D6B0
2020/10/27 18:43:50 [debug] 18336\#0: run cleanup: 0000000008837370
2020/10/27 18:43:50 [debug] 18336\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 18:43:50 [debug] 18336\#0: lua close the global Lua VM 00000000085B2D60
2020/10/27 18:43:50 [debug] 18336\#0: run cleanup: 00000000089F4A70
2020/10/27 18:43:50 [debug] 18336\#0: run cleanup: 00000000089F4A10
2020/10/27 18:43:50 [debug] 18336\#0: run cleanup: 00000000086083D0
'
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/10/27 18:43:51 [debug] 18366\#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/10/27 18:43:51 [debug] 18366\#0: worker cycle
2020/10/27 18:43:51 [debug] 18366\#0: epoll timer: 59612
2020/10/27 18:43:51 [debug] 18366\#0: epoll: fd:3 ev:2011 d:00000000089FE110
2020/10/27 18:43:51 [debug] 18366\#0: epoll_wait() error on fd:3 ev:2011
2020/10/27 18:43:51 [debug] 18366\#0: *729 http wait request handler
2020/10/27 18:43:51 [debug] 18366\#0: *729 malloc: 0000000008E6A490:80
2020/10/27 18:43:51 [debug] 18366\#0: *729 malloc: 0000000008EC90C0:16
2020/10/27 18:43:51 [debug] 18366\#0: *729 malloc: 0000000009718040:1024
2020/10/27 18:43:51 [debug] 18366\#0: *729 malloc: 0000000008EC9110: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 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-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)
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 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8187 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 8187 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 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
'
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,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
found foo: 4000
successfully set baz with force.
'
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
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
139-ssl-cert-by.t TEST 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 18:59:35 [error] 8750\#0: send() failed (111: Connection refused)" (req 0) 2020/10/27 18:59:35 [debug] 8750\#0: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#11
2020/10/27 18:59:35 [debug] 8750\#0: epoll del event: fd:7 op:2 ev:00000000
2020/10/27 18:59:35 [debug] 8750\#0: close listening 0.0.0.0:1984 \#7
2020/10/27 18:59:35 [notice] 8750\#0: exiting
2020/10/27 18:59:35 [debug] 8750\#0: flush files
2020/10/27 18:59:35 [debug] 8750\#0: run cleanup: 00000000084AFC30
2020/10/27 18:59:35 [debug] 8750\#0: run cleanup: 0000000008FBDAE0
2020/10/27 18:59:35 [debug] 8750\#0: lua decrementing the reference count for Lua VM: 1
2020/10/27 18:59:35 [debug] 8750\#0: lua close the global Lua VM 000000000855BA40
'
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 16: list removed: forcibly - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-two == number 2: true
+two == number 2: false
no one left: 0
-two == number 2: true
+two == number 2: false
'
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 17: expire on all types - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-keys number: 2
+keys number: 3
keys number: 0
'
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 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
'
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 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 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
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 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)'
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,15 @@
-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
'
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
'
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/10/27 19:01:38 [debug] 11106\#0: *152 malloc_trim() disabled" (req 0) 2020/10/27 19:01:38 [debug] 11106\#0: *152 lua log handler, uri:"/ver" c:1
2020/10/27 19:01:38 [debug] 11106\#0: *152 http log handler
2020/10/27 19:01:38 [debug] 11106\#0: *152 malloc: 0000000008E7E7D0:123
2020/10/27 19:01:38 [debug] 11106\#0: *152 malloc: 0000000008E69DF0:16
2020/10/27 19:01:38 [debug] 11106\#0: *152 free: 0000000008E69DF0, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *152 free: 0000000008E69DA0, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *152 free: 0000000008E69D00, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *152 free: 0000000008E69C00, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *152 free: 0000000008E620A0, 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/10/27 19:01:38 [debug] 11106\#0: *153 malloc_trim() disabled" (req 0) 2020/10/27 19:01:38 [debug] 11106\#0: *153 lua log handler, uri:"/ver" c:1
2020/10/27 19:01:38 [debug] 11106\#0: *153 http log handler
2020/10/27 19:01:38 [debug] 11106\#0: *153 malloc: 0000000008EB84A0:123
2020/10/27 19:01:38 [debug] 11106\#0: *153 malloc: 0000000008EB8560:16
2020/10/27 19:01:38 [debug] 11106\#0: *153 free: 0000000008EB8560, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *153 free: 0000000008EB8450, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *153 free: 0000000008EB83B0, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *153 free: 0000000008EB8120, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *153 free: 0000000008EB8080, 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/10/27 19:01:38 [debug] 11106\#0: *154 malloc_trim() disabled" (req 0) 2020/10/27 19:01:38 [debug] 11106\#0: *154 lua log handler, uri:"/ver" c:1
2020/10/27 19:01:38 [debug] 11106\#0: *154 http log handler
2020/10/27 19:01:38 [debug] 11106\#0: *154 malloc: 0000000008E312B0:123
2020/10/27 19:01:38 [debug] 11106\#0: *154 malloc: 0000000008E31370:16
2020/10/27 19:01:38 [debug] 11106\#0: *154 free: 0000000008E31370, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *154 free: 0000000008E31260, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *154 free: 00000000085DAE40, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *154 free: 00000000085DAD40, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *154 free: 0000000008593770, 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/10/27 19:01:38 [debug] 11106\#0: *155 malloc_trim() disabled" (req 0) 2020/10/27 19:01:38 [debug] 11106\#0: *155 lua log handler, uri:"/ver" c:1
2020/10/27 19:01:38 [debug] 11106\#0: *155 http log handler
2020/10/27 19:01:38 [debug] 11106\#0: *155 malloc: 0000000008ECB340:123
2020/10/27 19:01:38 [debug] 11106\#0: *155 malloc: 0000000008ECB400:16
2020/10/27 19:01:38 [debug] 11106\#0: *155 free: 0000000008ECB400, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *155 free: 0000000008509D60, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *155 free: 0000000008509CC0, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *155 free: 0000000008509BC0, unused: 0
2020/10/27 19:01:38 [debug] 11106\#0: *155 free: 0000000008509B20, unused: 0
'
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 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 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
'
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.