(This page was automatically generated by the tools in the opsboy project on 09:46:46 03-Nov-2020 GMT.)

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

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
caa33d78 2020-10-18 03:12:30 GMT 3 18 5 292 267 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

Compilation Errors

Unexpected Failures

File Name Details
bug.t TEST 3: Test deadlock (https://github.com/cloudflare/lua-resty-logger-socket/pull/5) - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 05:06:01 [error] 25661\#0: *3 lua tcp socket connect timed out, when connecting to 127.0.0.1:29999, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/18 05:06:01 [debug] 25661\#0: *3 lua tcp socket handle connect error
2020/10/18 05:06:01 [debug] 25661\#0: *3 lua finalize socket
2020/10/18 05:06:01 [debug] 25661\#0: *3 lua http cleanup free: 0000000008948FC0
2020/10/18 05:06:01 [debug] 25661\#0: *3 poll del event: fd:8 ev:1
2020/10/18 05:06:01 [debug] 25661\#0: *3 poll del index: 3
2020/10/18 05:06:01 [debug] 25661\#0: *3 poll del event: fd:8 ev:4
2020/10/18 05:06:01 [debug] 25661\#0: *3 delete posted event 00000000089000B0
2020/10/18 05:06:01 [debug] 25661\#0: *3 lua close socket connection
2020/10/18 05:06:01 [debug] 25661\#0: *3 free: 0000000008949130, unused: 0
'
bug.t TEST 3: Test deadlock (https://github.com/cloudflare/lua-resty-logger-socket/pull/5) - tcp_query ok got: ''
expected: '/t?a=1&b=2'
bug.t TEST 3: Test deadlock (https://github.com/cloudflare/lua-resty-logger-socket/pull/5) - TCP query length ok got: '0'
expected: '10'

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
'
bug.t TEST 1: small flush_limit, instant flush - grep_error_log_out (req 1) @@ -1,3 +1,2 @@
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 18: SSL logging - Verify - pattern "lua ssl certificate verify error" should match a line in error.log (req 1)
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 19: SSL logging - No SNI - pattern "Message received: Hello SSL" should match a line in error.log (req 1)
sanity.t TEST 19: SSL logging - No SNI - pattern "SNI Host: nil" should match a line in error.log (req 1)
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 17: SSL logging - pattern "Message received: Hello SSL" should match a line in error.log (req 1)
sanity.t TEST 17: SSL logging - pattern "SNI Host: test.com" should match a line in error.log (req 1)
timeout.t TEST 2: send timeout - pattern "lua tcp socket write timed out" should match a line in error.log (req 0)
timeout.t TEST 2: send timeout - pattern "resend log messages to the log server: timeout" should match a line in error.log (req 0)
timeout.t TEST 3: risk condition - tcp_query ok got: ''
expected: '12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849501234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950'
timeout.t TEST 3: risk condition - TCP query length ok got: '0'
expected: '182'
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)
timeout.t TEST 5: flush race condition - pattern "tcp socket connect timed out" should not match any line in error.log but matches line "2020/10/18 05:09:56 [error] 25758\#0: *4 lua tcp socket connect timed out, when connecting to 127.0.0.1:29999, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/10/18 05:09:56 [debug] 25758\#0: *4 lua tcp socket handle connect error
2020/10/18 05:09:56 [debug] 25758\#0: *4 lua finalize socket
2020/10/18 05:09:56 [debug] 25758\#0: *4 lua http cleanup free: 0000000008948E50
2020/10/18 05:09:56 [debug] 25758\#0: *4 poll del event: fd:7 ev:1
2020/10/18 05:09:56 [debug] 25758\#0: *4 poll del index: 3
2020/10/18 05:09:56 [debug] 25758\#0: *4 poll del event: fd:7 ev:4
2020/10/18 05:09:56 [debug] 25758\#0: *4 delete posted event 0000000008900C10
2020/10/18 05:09:56 [debug] 25758\#0: *4 lua close socket connection
2020/10/18 05:09:56 [debug] 25758\#0: *4 free: 0000000008949D60, unused: 0
'

Warnings

Go back to the index page.