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

Detailed Test Report for lua-resty-logger-socket in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
caa33d78 2021-04-25 16:15:39 GMT 4 10 5 296 93 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1k 25 Mar 2021

Compilation Errors

Unexpected Failures

File Name Details
bug.t TEST 1: small flush_limit, instant flush ==20244== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==20244== at 0x524CC50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==20244== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==20244== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==20244== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==20244== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==20244== by 0x424719: main (nginx.c:386)
==20244== Address 0x1ffeffd6dc is on thread 1's stack
==20244== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==20244==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
proto.t TEST 1: default sock_type (tcp) ==20295== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==20295== at 0x5047C50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==20295== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==20295== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==20295== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==20295== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==20295== by 0x424719: main (nginx.c:386)
==20295== Address 0x1ffeffd73c is on thread 1's stack
==20295== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==20295==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
sanity.t TEST 8: do not log subrequests ==20370== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==20370== at 0x5047C50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==20370== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==20370== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==20370== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==20370== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==20370== by 0x424719: main (nginx.c:386)
==20370== Address 0x1ffeffd73c is on thread 1's stack
==20370== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==20370==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
timeout.t TEST 2: send timeout ==20976== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==20976== at 0x524CC50: __sendmsg_nocancel (in /lib64/libpthread-2.17.so)
==20976== by 0x44A6F8: ngx_write_channel (ngx_channel.c:79)
==20976== by 0x44C19A: ngx_pass_open_channel (ngx_process_cycle.c:481)
==20976== by 0x44C21A: ngx_start_worker_processes (ngx_process_cycle.c:385)
==20976== by 0x44E0BA: ngx_master_process_cycle (ngx_process_cycle.c:241)
==20976== by 0x424719: main (nginx.c:386)
==20976== Address 0x1ffeffd6ec is on thread 1's stack
==20976== in frame #2, created by ngx_pass_open_channel (ngx_process_cycle.c:455)
==20976==
{
<insert_a_suppression_name_here>
Memcheck:Param
sendmsg(msg.msg_iov[0])
fun:__sendmsg_nocancel
fun:ngx_write_channel
fun:ngx_pass_open_channel
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}

Expected Failures

File Name Details
bug.t TEST 1: small flush_limit, instant flush - grep_error_log_out (req 0) @@ -1,3 +1 @@
resend log messages to the log server: timeout
-resend log messages to the log server: timeout
-resend log messages to the log server: timeout
'
sanity.t TEST 18: SSL logging - Verify - pattern "lua ssl certificate verify error" should match a line in error.log (req 0)
sanity.t TEST 19: SSL logging - No SNI - pattern "Message received: Hello SSL" should match a line in error.log (req 0)
sanity.t TEST 19: SSL logging - No SNI - pattern "SNI Host: nil" should match a line in error.log (req 0)
sanity.t TEST 17: SSL logging - pattern "Message received: Hello SSL" should match a line in error.log (req 0)
sanity.t TEST 17: SSL logging - pattern "SNI Host: test.com" should match a line in error.log (req 0)
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2021/04/25 19:06:35 [error] 20985\#0: *54 lua tcp socket write timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp socket handle write error
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp socket waking up the current request
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp operation done, resuming lua thread
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp socket calling prepare retvals handler 000000000050B873, u:00000000090F45A0
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp socket send return value handler
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del event: fd:7 ev:4
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del index: 5
2021/04/25 19:06:35 [debug] 20985\#0: *54 delete posted event 0000000008E48200
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua run thread, top:0 c:1
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2021/04/25 19:06:35 [error] 20985\#0: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp socket handle connect error
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua finalize socket
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua http cleanup free: 00000000090F5650
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del event: fd:9 ev:1
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del index: 6
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del event: fd:9 ev:4
2021/04/25 19:06:35 [debug] 20985\#0: *54 delete posted event 0000000008E48260
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua close socket connection
2021/04/25 19:06:35 [debug] 20985\#0: *54 reusable connection: 0
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2021/04/25 19:06:35 [error] 20985\#0: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2021/04/25 19:06:35 [debug] 20985\#0: *54 lua tcp socket handle connect error
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua finalize socket
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua http cleanup free: 00000000090F5650
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del event: fd:12 ev:1
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del index: 7
2021/04/25 19:06:35 [debug] 20985\#0: *54 poll del event: fd:12 ev:4
2021/04/25 19:06:35 [debug] 20985\#0: *54 delete posted event 0000000008E482C0
2021/04/25 19:06:35 [debug] 20985\#0: *54 lua close socket connection
2021/04/25 19:06:35 [debug] 20985\#0: *54 reusable connection: 0
'
timeout.t TEST 4: return previous log error - pattern "log error:try to send log messages to the log server failed after 1 retries: try to connect to the log server failed after 1 retries: timeout" should match a line in error.log (req 0)

Warnings

Go back to the index page.