(This page was automatically generated by the tools in the opsboy project on 04:52:03 11-Oct-2024 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 2024-08-06 16:11:55 GMT 0 13 5 296 77 sec

LuaJIT

LuaJIT 2.1.1719379426, commit 4182d6bf

Compilation Errors

Segmentation Faults

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 +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 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 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 18: SSL logging - Verify - pattern "lua ssl certificate verify error" should match a line in error.log (req 0)
sanity.t TEST 2: small flush_limit, instant flush, unix domain socket - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 18:49:05 [error] 19362\#19362: *268 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) 2024/08/06 18:49:05 [debug] 19362\#19362: *268 lua tcp socket handle connect error
2024/08/06 18:49:05 [debug] 19362\#19362: *268 lua finalize socket
2024/08/06 18:49:05 [debug] 19362\#19362: *268 lua http cleanup free: 0000000008C4A5B0
2024/08/06 18:49:05 [debug] 19362\#19362: *268 lua close socket connection
2024/08/06 18:49:05 [debug] 19362\#19362: *268 SSL_shutdown: 1
2024/08/06 18:49:05 [debug] 19362\#19362: *268 free: 0000000008C2DE90, unused: 0
2024/08/06 18:49:05 [debug] 19362\#19362: *268 reusable connection: 0
2024/08/06 18:49:05 [debug] 19362\#19362: *268 lua tcp socket waking up the current request
2024/08/06 18:49:05 [debug] 19362\#19362: *268 lua tcp operation done, resuming lua thread
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 18:49:28 [error] 19883\#19883: *54 lua tcp socket write timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E0A000:10
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket handle write error
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009052BF0:16
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket waking up the current request
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E0A050:64
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp operation done, resuming lua thread
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009052C40:16
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket calling prepare retvals handler 00000000005386F4, u:0000000008E4FF80
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket send return value handler
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 18:49:28 [error] 19883\#19883: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 00000000090547C0:16
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E0F5E0:5
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009054810:16
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E0F630:32
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009054860:16
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E0F690:16
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 00000000090548B0:16
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E0F6E0:21
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009054900:16
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 18:49:28 [error] 19883\#19883: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009057880:16
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket handle connect error
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua finalize socket
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E19ED0:8
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua http cleanup free: 0000000008E51080
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 00000000090578D0:16
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del event: fd:9 ev:1
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E19F20:8
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del index: 6
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 18:49:28 [error] 19883\#19883: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket handle connect error
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E1D090:560
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua finalize socket
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009058910:16
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua http cleanup free: 0000000008E51080
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000008E1D300:8
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del event: fd:9 ev:1
2024/08/06 18:49:28 [debug] 19855\#19855: malloc: 0000000009058960:16
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del index: 6
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 18:49:28 [error] 19883\#19883: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua tcp socket handle connect error
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua finalize socket
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua http cleanup free: 0000000008E51080
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del event: fd:9 ev:1
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del index: 6
2024/08/06 18:49:28 [debug] 19883\#19883: *54 poll del event: fd:9 ev:4
2024/08/06 18:49:28 [debug] 19883\#19883: *54 delete posted event 0000000008DF1A40
2024/08/06 18:49:28 [debug] 19883\#19883: *54 lua close socket connection
2024/08/06 18:49:28 [debug] 19883\#19883: *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.