(This page was automatically generated by the tools in the opsboy project on 02:05:06 07-Aug-2021 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-23 11:15:49 GMT 0 11 5 296 94 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
bug.t TEST 1: small flush_limit, instant flush - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-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 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)
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 1: small flush_limit, instant flush - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 11:36:39 [error] 13998\#0: *147 lua ssl certificate verify error: (18: self signed certificate), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2021/04/23 11:36:39 [debug] 13998\#0: *147 lua tcp socket handle connect error
2021/04/23 11:36:39 [debug] 13998\#0: *147 lua finalize socket
2021/04/23 11:36:39 [debug] 13998\#0: *147 lua http cleanup free: 0000000008A5CD90
2021/04/23 11:36:39 [debug] 13998\#0: *147 lua close socket connection
2021/04/23 11:36:39 [debug] 13998\#0: *147 SSL_shutdown: 1
2021/04/23 11:36:39 [debug] 13998\#0: *147 free: 0000000008C5E020, unused: 0
2021/04/23 11:36:39 [debug] 13998\#0: *147 reusable connection: 0
2021/04/23 11:36:39 [debug] 13998\#0: *147 lua tcp socket waking up the current request
2021/04/23 11:36:39 [debug] 13998\#0: *147 lua tcp operation done, resuming lua thread
'
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)
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 11:37:12 [error] 14475\#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/23 11:37:12 [debug] 14475\#0: *54 lua tcp socket handle write error
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua tcp socket waking up the current request
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua tcp operation done, resuming lua thread
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua tcp socket calling prepare retvals handler 000000000050A893, u:00000000090ED570
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua tcp socket send return value handler
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del event: fd:7 ev:4
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del index: 5
2021/04/23 11:37:12 [debug] 14475\#0: *54 delete posted event 0000000008E41260
2021/04/23 11:37:12 [debug] 14475\#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/23 11:37:12 [error] 14475\#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/23 11:37:12 [debug] 14475\#0: *54 lua tcp socket handle connect error
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua finalize socket
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua http cleanup free: 00000000090EE620
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del event: fd:9 ev:1
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del index: 6
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del event: fd:9 ev:4
2021/04/23 11:37:12 [debug] 14475\#0: *54 index: copy event 7 to 6
2021/04/23 11:37:12 [debug] 14475\#0: *54 delete posted event 0000000008E412C0
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua close socket connection
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2021/04/23 11:37:12 [error] 14475\#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/23 11:37:12 [debug] 14475\#0: *54 lua tcp socket handle connect error
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua finalize socket
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua http cleanup free: 00000000090EE620
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del event: fd:9 ev:1
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del index: 7
2021/04/23 11:37:12 [debug] 14475\#0: *54 poll del event: fd:9 ev:4
2021/04/23 11:37:12 [debug] 14475\#0: *54 delete posted event 0000000008E412C0
2021/04/23 11:37:12 [debug] 14475\#0: *54 lua close socket connection
2021/04/23 11:37:12 [debug] 14475\#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.