(This page was automatically generated by the tools in the opsboy project on 15:08:06 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 2023-12-22 15:22:29 GMT 0 40 5 321 77 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

OpenSSL

OpenSSL 1.1.1w 11 Sep 2023

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 +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 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 0000000008E89BC0:88
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 0000000008E89C60:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 stream socket 4
2023/12/22 15:42:56 [debug] 31019\#31019: *564 epoll add connection: fd:4 ev:80002005
2023/12/22 15:42:56 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:4 \#575
2023/12/22 15:42:56 [debug] 31019\#31019: *564 connected
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua http cleanup reuse: 0000000008597450
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect: 0" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 malloc: 0000000008E89CB0:48
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connected: fd:4
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket ssl handshake
2023/12/22 15:42:56 [debug] 31019\#31019: *564 malloc: 0000000008E89EA0:96
2023/12/22 15:42:56 [debug] 31019\#31019: *564 malloc: 0000000008E89F40:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua ssl server name: "test.com"
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097708A0:8
2023/12/22 15:42:56 [debug] 31019\#31019: *564 SSL_do_handshake: -1
2023/12/22 15:42:56 [debug] 31019\#31019: *564 SSL_get_error: 2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connected: fd:4" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket ssl handshake
2023/12/22 15:42:56 [debug] 31019\#31019: *564 malloc: 0000000008E89EA0:96
2023/12/22 15:42:56 [debug] 31019\#31019: *564 malloc: 0000000008E89F40:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua ssl server name: "test.com"
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097708A0:8
2023/12/22 15:42:56 [debug] 31019\#31019: *564 SSL_do_handshake: -1
2023/12/22 15:42:56 [debug] 31019\#31019: *564 SSL_get_error: 2
2023/12/22 15:42:56 [debug] 31019\#31019: *564 ngx_ssl_handshake returned: -2
2023/12/22 15:42:56 [debug] 31019\#31019: *564 event timer add: 4: 1000:1287352
'
sanity.t TEST 8: do not log subrequests - pattern "[error]" should not match any line in error.log but matches line "2023/12/22 15:42:56 [error] 31019\#31019: *564 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) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket handle connect error
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua close socket connection
2023/12/22 15:42:56 [debug] 31019\#31019: *564 SSL_shutdown: 1
2023/12/22 15:42:56 [debug] 31062\#31062: *577 image filter
2023/12/22 15:42:56 [debug] 31019\#31019: *564 free: 0000000008E89F40, unused: 0
2023/12/22 15:42:56 [debug] 31019\#31019: *564 reusable connection: 0
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket waking up the current request
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097D8250:88
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097D82F0:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:56 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:56 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#598
2023/12/22 15:42:56 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:56 [debug] 31062\#31062: *597 malloc: 0000000008A03830:10
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:56 [debug] 31062\#31062: *597 malloc: 00000000092DB8C0:176
2023/12/22 15:42:56 [debug] 31062\#31062: *597 malloc: 0000000008A58780:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:56 [debug] 31019\#31019: *564 event timer add: 0: 100:1286830
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua resume returned 1
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097D8AA0:88
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097D8B40:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:56 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:56 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#599
2023/12/22 15:42:56 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:56 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 0) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:56 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:56 [debug] 31019\#31019: *564 event timer add: 0: 100:1286930
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097B1A20:88
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097B1AC0:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:56 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:56 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#600
2023/12/22 15:42:56 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:56 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:56 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:56 [debug] 31019\#31019: *564 event timer add: 0: 100:1287031
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097B21F0:88
2023/12/22 15:42:56 [debug] 31019\#31019: malloc: 00000000097B2290:16
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:56 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:56 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#601
2023/12/22 15:42:56 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:56 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:56 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:56 [debug] 31019\#31019: *564 event timer add: 0: 100:1287132
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:56 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000097B2B80:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000097B2C20:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#602
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1287333
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000097E28D0:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000097E2970:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#603
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1287434
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000097E30A0:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000097E3140:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#604
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1287535
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000084F7A10:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000084F7AB0:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#605
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1287636
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000084F82F0:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000084F8390:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#606
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1287837
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000084F8AC0:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 00000000084F8B60:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#607
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1287937
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 0000000008C0FFB0:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 0000000008C10050:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#608
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1288038
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect timeout: 1000" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 0000000008C10780:88
2023/12/22 15:42:57 [debug] 31019\#31019: malloc: 0000000008C10820:16
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket network address given directly
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket resolve retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 stream socket 6
2023/12/22 15:42:57 [debug] 31019\#31019: *564 epoll add connection: fd:6 ev:80002005
2023/12/22 15:42:57 [debug] 31019\#31019: *564 connect to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock, fd:6 \#609
2023/12/22 15:42:57 [crit] 31019\#31019: *564 connect() to unix:/home/ec2-user/git/lua-resty-logger-socket/t/servroot/html/ssl.sock failed (2: No such file or directory), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2023/12/22 15:42:57 [debug] 31019\#31019: *564 reusable connection: 0
'
sanity.t TEST 8: do not log subrequests - pattern "lua tcp socket connect" should not match any line in error.log but matches line "2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket connect: -5" (req 1) 2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua tcp socket error retval handler
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua finalize socket
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua http cleanup free: 0000000008597450
2023/12/22 15:42:57 [debug] 31019\#31019: *564 [lua] socket.lua:169: _connect(): reconnect to the log server: no such file or directory
2023/12/22 15:42:57 [debug] 31019\#31019: *564 event timer add: 0: 100:1288139
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua ready to sleep for 100 ms
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua resume returned 1
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua thread yielded
2023/12/22 15:42:57 [debug] 31019\#31019: *564 lua run thread returned -2
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2023/12/22 15:43:09 [error] 31161\#31161: *54 lua tcp socket write timed out, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009051380:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp socket handle write error
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E07360:64
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp socket waking up the current request
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 00000000090513D0:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp operation done, resuming lua thread
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp socket calling prepare retvals handler 00000000005357B9, u:0000000008E4E1F0
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E073E0:56
2023/12/22 15:43:09 [debug] 31161\#31161: *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 "2023/12/22 15:43:09 [error] 31161\#31161: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E0B580:16
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009053040:16
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E0B5D0:80
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009053090:16
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E0B660:288
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 00000000090530E0:16
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E0B7C0:536
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009053130:16
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E0BA20:2264
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2023/12/22 15:43:09 [error] 31161\#31161: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E15310:8
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp socket handle connect error
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009056100:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua finalize socket
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua http cleanup free: 0000000008E4F2F0
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E15360:24
2023/12/22 15:43:09 [debug] 31161\#31161: *54 poll del event: fd:9 ev:1
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009056150:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 poll del index: 6
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2023/12/22 15:43:09 [error] 31161\#31161: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009057320:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp socket handle connect error
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E19340:8
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua finalize socket
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009057370:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua http cleanup free: 0000000008E4F2F0
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E19390:24
2023/12/22 15:43:09 [debug] 31161\#31161: *54 poll del event: fd:9 ev:1
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 00000000090573C0:16
'
timeout.t TEST 3: risk condition - pattern "[error]" should not match any line in error.log but matches line "2023/12/22 15:43:09 [error] 31161\#31161: *54 connect() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E1CA90:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua tcp socket handle connect error
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua finalize socket
2023/12/22 15:43:09 [debug] 31161\#31161: *54 lua http cleanup free: 0000000008E4F2F0
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009058710:10
2023/12/22 15:43:09 [debug] 31161\#31161: *54 poll del event: fd:9 ev:1
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000008E1CAE0:16
2023/12/22 15:43:09 [debug] 31161\#31161: *54 poll del index: 6
2023/12/22 15:43:09 [debug] 31134\#31134: malloc: 0000000009058760:59
'
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.