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

Detailed Test Report for ngx_lua in linux x86_64 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
97b91899 2020-09-28 06:48:46 GMT 68 91 206 21463 7772 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

Compilation Errors

Unexpected Failures

File Name Details
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: connection refused
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:00 [error] 10333\#0: *1 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp recv returned -1
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp socket handle error
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp socket receive return value handler
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F6260:16
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F62B0:16
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua allocate new chainlink and new buf of size 43, cl:00000000088F6260
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F6300:80
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F6390:16
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: connection refused
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:00 [error] 10333\#0: *1 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp recv returned -1
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp socket handle error
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp socket receive return value handler
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F6260:16
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F62B0:16
2020/09/28 08:25:00 [debug] 10333\#0: *1 lua allocate new chainlink and new buf of size 43, cl:00000000088F6260
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F6300:80
2020/09/28 08:25:00 [debug] 10333\#0: *1 malloc: 00000000088F6390:16
'
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:00 [error] 10333\#0: *3 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:00 [debug] 10333\#0: *3 lua udp recv returned -1
2020/09/28 08:25:00 [debug] 10333\#0: *3 lua udp socket handle error
2020/09/28 08:25:00 [debug] 10333\#0: *3 lua udp socket receive return value handler
2020/09/28 08:25:00 [debug] 10333\#0: *3 lua udp socket error retval handler
2020/09/28 08:25:00 [debug] 10333\#0: *3 malloc: 00000000088FAE30:16
2020/09/28 08:25:00 [debug] 10333\#0: *3 malloc: 00000000088FAE80:16
2020/09/28 08:25:00 [debug] 10333\#0: *3 lua allocate new chainlink and new buf of size 43, cl:00000000088FAE30
2020/09/28 08:25:00 [debug] 10333\#0: *3 malloc: 00000000088FAED0:80
2020/09/28 08:25:00 [debug] 10333\#0: *3 malloc: 00000000088FAF60:16
'
087-udp-socket.t TEST 20: send boolean and nil - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
sent ok
-sent ok
+failed to send: connection refused
sent ok
'
087-udp-socket.t TEST 20: send boolean and nil - grep_error_log_out (req 0) 'send: fd:8 4 of 4
send: fd:8 3 of 3
'
doesn't match '(?^:send: fd:\d+ 4 of 4
send: fd:\d+ 5 of 5
send: fd:\d+ 3 of 3)'
087-udp-socket.t TEST 20: send boolean and nil - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:04 [error] 10335\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:25:04 [debug] 10335\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F6F50:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F6FA0:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 lua allocate new chainlink and new buf of size 35, cl:00000000088F6F50
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F6FF0:80
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F7080:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F70D0:35
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F7140:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 lua say response
'
087-udp-socket.t TEST 20: send boolean and nil - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
sent ok
-sent ok
+failed to send: connection refused
sent ok
'
087-udp-socket.t TEST 20: send boolean and nil - grep_error_log_out (req 1) 'send: fd:8 4 of 4
send: fd:8 3 of 3
send: fd:8 4 of 4
send: fd:8 3 of 3
'
doesn't match '(?^:send: fd:\d+ 4 of 4
send: fd:\d+ 5 of 5
send: fd:\d+ 3 of 3)'
087-udp-socket.t TEST 20: send boolean and nil - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:04 [error] 10335\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:04 [debug] 10335\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F6F50:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F6FA0:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 lua allocate new chainlink and new buf of size 35, cl:00000000088F6F50
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F6FF0:80
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F7080:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F70D0:35
2020/09/28 08:25:04 [debug] 10335\#0: *1 malloc: 00000000088F7140:16
2020/09/28 08:25:04 [debug] 10335\#0: *1 lua say response
'
087-udp-socket.t TEST 20: send boolean and nil - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:04 [error] 10335\#0: *3 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:04 [debug] 10335\#0: *3 lua udp socket error retval handler
2020/09/28 08:25:04 [debug] 10335\#0: *3 malloc: 00000000088FC660:16
2020/09/28 08:25:04 [debug] 10335\#0: *3 malloc: 00000000088FC6B0:16
2020/09/28 08:25:04 [debug] 10335\#0: *3 lua allocate new chainlink and new buf of size 35, cl:00000000088FC660
2020/09/28 08:25:04 [debug] 10335\#0: *3 malloc: 00000000088FC700:80
2020/09/28 08:25:04 [debug] 10335\#0: *3 malloc: 00000000088FC790:16
2020/09/28 08:25:04 [debug] 10335\#0: *3 malloc: 00000000088FC7E0:35
2020/09/28 08:25:04 [debug] 10335\#0: *3 malloc: 00000000088FC850:16
2020/09/28 08:25:04 [debug] 10335\#0: *3 lua say response
'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,5 @@
connected: 1
connected again: 1
request sent: 1
-received: OK
-
+failed to receive: connection refused
close: 1 nil
'
087-udp-socket.t TEST 6: connect again immediately - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:06 [error] 10336\#0: *1 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp recv returned -1
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp socket handle error
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp socket receive return value handler
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 0000000008904780:16
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 00000000089047D0:16
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua allocate new chainlink and new buf of size 38, cl:0000000008904780
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 0000000008904820:80
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 00000000089048B0:16
'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,5 @@
connected: 1
connected again: 1
request sent: 1
-received: OK
-
+failed to receive: connection refused
close: 1 nil
'
087-udp-socket.t TEST 6: connect again immediately - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:06 [error] 10336\#0: *1 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp recv returned -1
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp socket handle error
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp socket receive return value handler
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 0000000008904780:16
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 00000000089047D0:16
2020/09/28 08:25:06 [debug] 10336\#0: *1 lua allocate new chainlink and new buf of size 38, cl:0000000008904780
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 0000000008904820:80
2020/09/28 08:25:06 [debug] 10336\#0: *1 malloc: 00000000089048B0:16
'
087-udp-socket.t TEST 6: connect again immediately - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:07 [error] 10336\#0: *4 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:07 [debug] 10336\#0: *4 lua udp recv returned -1
2020/09/28 08:25:07 [debug] 10336\#0: *4 lua udp socket handle error
2020/09/28 08:25:07 [debug] 10336\#0: *4 lua udp socket receive return value handler
2020/09/28 08:25:07 [debug] 10336\#0: *4 lua udp socket error retval handler
2020/09/28 08:25:07 [debug] 10336\#0: *4 malloc: 000000000890B0E0:16
2020/09/28 08:25:07 [debug] 10336\#0: *4 malloc: 000000000890B130:16
2020/09/28 08:25:07 [debug] 10336\#0: *4 lua allocate new chainlink and new buf of size 38, cl:000000000890B0E0
2020/09/28 08:25:07 [debug] 10336\#0: *4 malloc: 000000000890B180:80
2020/09/28 08:25:07 [debug] 10336\#0: *4 malloc: 000000000890B210:16
'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
sent ok
-sent ok
+failed to send: connection refused
sent ok
'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - grep_error_log_out (req 0) 'send: fd:8 22 of 22
send: fd:8 22 of 22
'
doesn't match '(?^:send: fd:\d+ 22 of 22
send: fd:\d+ 16 of 16
send: fd:\d+ 22 of 22)'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:11 [error] 10338\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:25:11 [debug] 10338\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7CC0:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7D10:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 lua allocate new chainlink and new buf of size 35, cl:00000000088F7CC0
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7D60:80
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7DF0:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7E40:35
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7EB0:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 lua say response
'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
sent ok
-sent ok
+failed to send: connection refused
sent ok
'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - grep_error_log_out (req 1) 'send: fd:8 22 of 22
send: fd:8 22 of 22
send: fd:8 22 of 22
send: fd:8 22 of 22
'
doesn't match '(?^:send: fd:\d+ 22 of 22
send: fd:\d+ 16 of 16
send: fd:\d+ 22 of 22)'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:11 [error] 10338\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:11 [debug] 10338\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7CC0:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7D10:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 lua allocate new chainlink and new buf of size 35, cl:00000000088F7CC0
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7D60:80
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7DF0:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7E40:35
2020/09/28 08:25:11 [debug] 10338\#0: *1 malloc: 00000000088F7EB0:16
2020/09/28 08:25:11 [debug] 10338\#0: *1 lua say response
'
087-udp-socket.t TEST 22: send tables of string framents (with numbers too) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:11 [error] 10338\#0: *3 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:11 [debug] 10338\#0: *3 lua udp socket error retval handler
2020/09/28 08:25:11 [debug] 10338\#0: *3 malloc: 00000000088FD5E0:16
2020/09/28 08:25:11 [debug] 10338\#0: *3 malloc: 00000000088FD630:16
2020/09/28 08:25:11 [debug] 10338\#0: *3 lua allocate new chainlink and new buf of size 35, cl:00000000088FD5E0
2020/09/28 08:25:11 [debug] 10338\#0: *3 malloc: 00000000088FD680:80
2020/09/28 08:25:11 [debug] 10338\#0: *3 malloc: 00000000088FD710:16
2020/09/28 08:25:11 [debug] 10338\#0: *3 malloc: 00000000088FD760:35
2020/09/28 08:25:11 [debug] 10338\#0: *3 malloc: 00000000088FD7D0:16
2020/09/28 08:25:11 [debug] 10338\#0: *3 lua say response
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: connection refused
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:16 [error] 10340\#0: *1 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp recv returned -1
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp socket handle error
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp socket receive return value handler
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F6250:16
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F62A0:16
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua allocate new chainlink and new buf of size 43, cl:00000000088F6250
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F62F0:80
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F6380:16
'
087-udp-socket.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected
-received 12 bytes: OK
+failed to receive data: connection refused
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:16 [error] 10340\#0: *1 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp recv returned -1
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp socket handle error
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp socket receive return value handler
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F6250:16
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F62A0:16
2020/09/28 08:25:16 [debug] 10340\#0: *1 lua allocate new chainlink and new buf of size 43, cl:00000000088F6250
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F62F0:80
2020/09/28 08:25:16 [debug] 10340\#0: *1 malloc: 00000000088F6380:16
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:16 [error] 10340\#0: *3 recv() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:16 [debug] 10340\#0: *3 lua udp recv returned -1
2020/09/28 08:25:16 [debug] 10340\#0: *3 lua udp socket handle error
2020/09/28 08:25:16 [debug] 10340\#0: *3 lua udp socket receive return value handler
2020/09/28 08:25:16 [debug] 10340\#0: *3 lua udp socket error retval handler
2020/09/28 08:25:16 [debug] 10340\#0: *3 malloc: 00000000088FAE20:16
2020/09/28 08:25:16 [debug] 10340\#0: *3 malloc: 00000000088FAE70:16
2020/09/28 08:25:16 [debug] 10340\#0: *3 lua allocate new chainlink and new buf of size 43, cl:00000000088FAE20
2020/09/28 08:25:16 [debug] 10340\#0: *3 malloc: 00000000088FAEC0:80
2020/09/28 08:25:16 [debug] 10340\#0: *3 malloc: 00000000088FAF50:16
'
087-udp-socket.t TEST 21: send numbers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
sent ok
-sent ok
+failed to send: connection refused
sent ok
'
087-udp-socket.t TEST 21: send numbers - grep_error_log_out (req 0) 'send: fd:8 6 of 6
send: fd:8 15 of 15
'
doesn't match '(?^:send: fd:\d+ 6 of 6
send: fd:\d+ 8 of 8
send: fd:\d+ 15 of 15)'
087-udp-socket.t TEST 21: send numbers - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:27 [error] 10345\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:25:27 [debug] 10345\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F6FD0:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7020:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 lua allocate new chainlink and new buf of size 35, cl:00000000088F6FD0
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7070:80
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7100:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7150:35
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F71C0:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 lua say response
'
087-udp-socket.t TEST 21: send numbers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
sent ok
-sent ok
+failed to send: connection refused
sent ok
'
087-udp-socket.t TEST 21: send numbers - grep_error_log_out (req 1) 'send: fd:8 6 of 6
send: fd:8 15 of 15
send: fd:8 6 of 6
send: fd:8 15 of 15
'
doesn't match '(?^:send: fd:\d+ 6 of 6
send: fd:\d+ 8 of 8
send: fd:\d+ 15 of 15)'
087-udp-socket.t TEST 21: send numbers - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:27 [error] 10345\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:27 [debug] 10345\#0: *1 lua udp socket error retval handler
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F6FD0:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7020:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 lua allocate new chainlink and new buf of size 35, cl:00000000088F6FD0
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7070:80
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7100:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F7150:35
2020/09/28 08:25:27 [debug] 10345\#0: *1 malloc: 00000000088F71C0:16
2020/09/28 08:25:27 [debug] 10345\#0: *1 lua say response
'
087-udp-socket.t TEST 21: send numbers - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:27 [error] 10345\#0: *3 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:25:27 [debug] 10345\#0: *3 lua udp socket error retval handler
2020/09/28 08:25:27 [debug] 10345\#0: *3 malloc: 00000000088FC710:16
2020/09/28 08:25:27 [debug] 10345\#0: *3 malloc: 00000000088FC760:16
2020/09/28 08:25:27 [debug] 10345\#0: *3 lua allocate new chainlink and new buf of size 35, cl:00000000088FC710
2020/09/28 08:25:27 [debug] 10345\#0: *3 malloc: 00000000088FC7B0:80
2020/09/28 08:25:27 [debug] 10345\#0: *3 malloc: 00000000088FC840:16
2020/09/28 08:25:27 [debug] 10345\#0: *3 malloc: 00000000088FC890:35
2020/09/28 08:25:27 [debug] 10345\#0: *3 malloc: 00000000088FC900:16
2020/09/28 08:25:27 [debug] 10345\#0: *3 lua say response
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to send: connection refused) 'connected
failed to send: connection refused
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:34 [error] 10348\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) '
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to send: connection refused) 'connected
failed to send: connection refused
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:34 [error] 10348\#0: *1 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) '
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:25:34 [error] 10348\#0: *3 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) '
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:39:49 [error] 11064\#0: *2 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 08:39:49 [debug] 11064\#0: *2 lua udp recv returned -1
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua udp socket handle error
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua udp socket receive return value handler
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua udp socket error retval handler
2020/09/28 08:39:49 [error] 11064\#0: *2 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua resume returned 0
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua light thread ended normally
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua deleting light thread
2020/09/28 08:39:49 [debug] 11064\#0: *2 http lua finalize fake request: 0, a:1, c:1
'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:39:49 [error] 11064\#0: *2 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 08:39:49 [debug] 11064\#0: *2 lua resume returned 0
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua light thread ended normally
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua deleting light thread
2020/09/28 08:39:49 [debug] 11064\#0: *2 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:39:49 [debug] 11064\#0: *2 http lua fake request count:1
2020/09/28 08:39:49 [debug] 11064\#0: *2 http lua close fake request
2020/09/28 08:39:49 [debug] 11064\#0: *2 cleanup lua udp socket upstream request: ""
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua finalize socket
2020/09/28 08:39:49 [debug] 11064\#0: *2 lua close socket connection
'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:39:49 [error] 11064\#0: *5 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 08:39:49 [debug] 11064\#0: *5 lua udp recv returned -1
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua udp socket handle error
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua udp socket receive return value handler
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua udp socket error retval handler
2020/09/28 08:39:49 [error] 11064\#0: *5 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua resume returned 0
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua light thread ended normally
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua deleting light thread
2020/09/28 08:39:49 [debug] 11064\#0: *5 http lua finalize fake request: 0, a:1, c:1
'
106-timer.t TEST 8: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:39:49 [error] 11064\#0: *5 [lua] content_by_lua(nginx.conf:83):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 08:39:49 [debug] 11064\#0: *5 lua resume returned 0
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua light thread ended normally
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua deleting light thread
2020/09/28 08:39:49 [debug] 11064\#0: *5 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:39:49 [debug] 11064\#0: *5 http lua fake request count:1
2020/09/28 08:39:49 [debug] 11064\#0: *5 http lua close fake request
2020/09/28 08:39:49 [debug] 11064\#0: *5 cleanup lua udp socket upstream request: ""
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua finalize socket
2020/09/28 08:39:49 [debug] 11064\#0: *5 lua close socket connection
'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 0)'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:41:58 [error] 11122\#0: *2 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 08:41:58 [debug] 11122\#0: *2 lua udp recv returned -1
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua udp socket handle error
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua udp socket receive return value handler
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua udp socket error retval handler
2020/09/28 08:41:58 [error] 11122\#0: *2 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua resume returned 0
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua light thread ended normally
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua deleting light thread
2020/09/28 08:41:58 [debug] 11122\#0: *2 http lua finalize fake request: 0, a:1, c:1
'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:41:58 [error] 11122\#0: *2 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 08:41:58 [debug] 11122\#0: *2 lua resume returned 0
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua light thread ended normally
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua deleting light thread
2020/09/28 08:41:58 [debug] 11122\#0: *2 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:41:58 [debug] 11122\#0: *2 http lua fake request count:1
2020/09/28 08:41:58 [debug] 11122\#0: *2 http lua close fake request
2020/09/28 08:41:58 [debug] 11122\#0: *2 cleanup lua udp socket upstream request: ""
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua finalize socket
2020/09/28 08:41:58 [debug] 11122\#0: *2 lua close socket connection
'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "received 12 bytes: OK " should match a line in error.log (req 1)'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:41:58 [error] 11122\#0: *5 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 08:41:58 [debug] 11122\#0: *5 lua udp recv returned -1
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua udp socket handle error
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua udp socket receive return value handler
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua udp socket error retval handler
2020/09/28 08:41:58 [error] 11122\#0: *5 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua resume returned 0
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua light thread ended normally
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua deleting light thread
2020/09/28 08:41:58 [debug] 11122\#0: *5 http lua finalize fake request: 0, a:1, c:1
'
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:41:58 [error] 11122\#0: *5 [lua] content_by_lua(nginx.conf:84):4: fail(): failed to receive data: connection refused, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 08:41:58 [debug] 11122\#0: *5 lua resume returned 0
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua light thread ended normally
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua deleting light thread
2020/09/28 08:41:58 [debug] 11122\#0: *5 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:41:58 [debug] 11122\#0: *5 http lua fake request count:1
2020/09/28 08:41:58 [debug] 11122\#0: *5 http lua close fake request
2020/09/28 08:41:58 [debug] 11122\#0: *5 cleanup lua udp socket upstream request: ""
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua finalize socket
2020/09/28 08:41:58 [debug] 11122\#0: *5 lua close socket connection
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:53:51 [error] 11728\#0: *4 recv() failed (111: Connection refused), context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2020/09/28 08:53:51 [debug] 11728\#0: *4 lua udp recv returned -1
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua udp socket handle error
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua udp socket receive return value handler
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua udp socket error retval handler
2020/09/28 08:53:51 [error] 11728\#0: *4 [lua] ssl_certificate_by_lua:21: failed to receive memc reply: connection refused, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua resume returned 0
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua light thread ended normally
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua deleting light thread
2020/09/28 08:53:51 [debug] 11728\#0: *4 http lua finalize fake request: 0, a:1, c:1
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:53:51 [error] 11728\#0: *4 [lua] ssl_certificate_by_lua:21: failed to receive memc reply: connection refused, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2020/09/28 08:53:51 [debug] 11728\#0: *4 lua resume returned 0
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua light thread ended normally
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua deleting light thread
2020/09/28 08:53:51 [debug] 11728\#0: *4 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:53:51 [debug] 11728\#0: *4 http lua fake request count:1
2020/09/28 08:53:51 [debug] 11728\#0: *4 http lua close fake request
2020/09/28 08:53:51 [debug] 11728\#0: *4 cleanup lua udp socket upstream request: ""
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua finalize socket
2020/09/28 08:53:51 [debug] 11728\#0: *4 lua close socket connection
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:53:52 [error] 11728\#0: *9 recv() failed (111: Connection refused), context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2020/09/28 08:53:52 [debug] 11728\#0: *9 lua udp recv returned -1
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua udp socket handle error
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua udp socket receive return value handler
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua udp socket error retval handler
2020/09/28 08:53:52 [error] 11728\#0: *9 [lua] ssl_certificate_by_lua:21: failed to receive memc reply: connection refused, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua resume returned 0
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua light thread ended normally
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua deleting light thread
2020/09/28 08:53:52 [debug] 11728\#0: *9 http lua finalize fake request: 0, a:1, c:1
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:53:52 [error] 11728\#0: *9 [lua] ssl_certificate_by_lua:21: failed to receive memc reply: connection refused, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2020/09/28 08:53:52 [debug] 11728\#0: *9 lua resume returned 0
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua light thread ended normally
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua deleting light thread
2020/09/28 08:53:52 [debug] 11728\#0: *9 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:53:52 [debug] 11728\#0: *9 http lua fake request count:1
2020/09/28 08:53:52 [debug] 11728\#0: *9 http lua close fake request
2020/09/28 08:53:52 [debug] 11728\#0: *9 cleanup lua udp socket upstream request: ""
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua finalize socket
2020/09/28 08:53:52 [debug] 11728\#0: *9 lua close socket connection
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:53:52 [error] 11728\#0: *14 recv() failed (111: Connection refused), context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2020/09/28 08:53:52 [debug] 11728\#0: *14 lua udp recv returned -1
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua udp socket handle error
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua udp socket receive return value handler
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua udp socket error retval handler
2020/09/28 08:53:52 [error] 11728\#0: *14 [lua] ssl_certificate_by_lua:21: failed to receive memc reply: connection refused, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua resume returned 0
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua light thread ended normally
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua deleting light thread
2020/09/28 08:53:52 [debug] 11728\#0: *14 http lua finalize fake request: 0, a:1, c:1
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:53:52 [error] 11728\#0: *14 [lua] ssl_certificate_by_lua:21: failed to receive memc reply: connection refused, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2020/09/28 08:53:52 [debug] 11728\#0: *14 lua resume returned 0
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua light thread ended normally
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua deleting light thread
2020/09/28 08:53:52 [debug] 11728\#0: *14 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:53:52 [debug] 11728\#0: *14 http lua fake request count:1
2020/09/28 08:53:52 [debug] 11728\#0: *14 http lua close fake request
2020/09/28 08:53:52 [debug] 11728\#0: *14 cleanup lua udp socket upstream request: ""
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua finalize socket
2020/09/28 08:53:52 [debug] 11728\#0: *14 lua close socket connection
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:56:19 [error] 11787\#0: *7 recv() failed (111: Connection refused), context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2020/09/28 08:56:19 [debug] 11787\#0: *7 lua udp recv returned -1
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua udp socket handle error
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua udp socket receive return value handler
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua udp socket error retval handler
2020/09/28 08:56:19 [error] 11787\#0: *7 [lua] ssl_session_fetch_by_lua_block:21: failed to receive memc reply: connection refused, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua resume returned 0
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua light thread ended normally
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua deleting light thread
2020/09/28 08:56:19 [debug] 11787\#0: *7 http lua finalize fake request: 0, a:1, c:1
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:56:19 [error] 11787\#0: *7 [lua] ssl_session_fetch_by_lua_block:21: failed to receive memc reply: connection refused, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2020/09/28 08:56:19 [debug] 11787\#0: *7 lua resume returned 0
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua light thread ended normally
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua deleting light thread
2020/09/28 08:56:19 [debug] 11787\#0: *7 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:56:19 [debug] 11787\#0: *7 http lua fake request count:1
2020/09/28 08:56:19 [debug] 11787\#0: *7 http lua close fake request
2020/09/28 08:56:19 [debug] 11787\#0: *7 cleanup lua udp socket upstream request: ""
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua finalize socket
2020/09/28 08:56:19 [debug] 11787\#0: *7 lua close socket connection
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:56:19 [error] 11787\#0: *12 recv() failed (111: Connection refused), context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2020/09/28 08:56:19 [debug] 11787\#0: *12 lua udp recv returned -1
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua udp socket handle error
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua udp socket receive return value handler
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua udp socket error retval handler
2020/09/28 08:56:19 [error] 11787\#0: *12 [lua] ssl_session_fetch_by_lua_block:21: failed to receive memc reply: connection refused, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua resume returned 0
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua light thread ended normally
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua deleting light thread
2020/09/28 08:56:19 [debug] 11787\#0: *12 http lua finalize fake request: 0, a:1, c:1
'
143-ssl-session-fetch.t TEST 18: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 08:56:19 [error] 11787\#0: *12 [lua] ssl_session_fetch_by_lua_block:21: failed to receive memc reply: connection refused, context: ssl_session_fetch_by_lua*, client: unix:, server: unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2020/09/28 08:56:19 [debug] 11787\#0: *12 lua resume returned 0
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua light thread ended normally
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua deleting light thread
2020/09/28 08:56:19 [debug] 11787\#0: *12 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:56:19 [debug] 11787\#0: *12 http lua fake request count:1
2020/09/28 08:56:19 [debug] 11787\#0: *12 http lua close fake request
2020/09/28 08:56:19 [debug] 11787\#0: *12 cleanup lua udp socket upstream request: ""
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua finalize socket
2020/09/28 08:56:19 [debug] 11787\#0: *12 lua close socket connection
'

Expected Failures

File Name Details
005-exit.t TEST 23: exit both in header filter and content handler - status code ok got: ''
expected: '201'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 21: exit 403 in header filter - status code ok got: ''
expected: '403'
005-exit.t TEST 21: exit 403 in header filter - response_body_like - response is expected () ''
doesn't match '(?^s:403 Forbidden)'
005-exit.t TEST 24: exit 444 in header filter - status code ok got: ''
expected: '444'
005-exit.t TEST 22: exit 201 in header filter - status code ok got: ''
expected: '201'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
023-rewrite/req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2020/09/28 07:37:58 [debug] 8526\#0: lua tcp socket keepalive max idle timeout" (req 0) 2020/09/28 07:37:58 [debug] 8526\#0: lua tcp socket keepalive close handler: fd:8
2020/09/28 07:37:58 [debug] 8526\#0: poll del event: fd:8 ev:1
2020/09/28 07:37:58 [debug] 8526\#0: reusable connection: 0
2020/09/28 07:37:58 [debug] 8526\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2020/09/28 07:37:58 [debug] 8526\#0: posted event 00000000088F7600
2020/09/28 07:37:58 [debug] 8526\#0: *1 delete posted event 00000000088F7600
2020/09/28 07:37:58 [debug] 8526\#0: *1 http run request: "/t?"
2020/09/28 07:37:58 [debug] 8526\#0: *1 http writer handler: "/t?"
2020/09/28 07:37:58 [debug] 8526\#0: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2020/09/28 07:37:58 [debug] 8526\#0: lua tcp socket keepalive max idle timeout" (req 1) 2020/09/28 07:37:58 [debug] 8526\#0: lua tcp socket keepalive close handler: fd:8
2020/09/28 07:37:58 [debug] 8526\#0: poll del event: fd:8 ev:1
2020/09/28 07:37:58 [debug] 8526\#0: reusable connection: 0
2020/09/28 07:37:58 [debug] 8526\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2020/09/28 07:37:58 [debug] 8526\#0: posted event 00000000088F7600
2020/09/28 07:37:58 [debug] 8526\#0: *1 delete posted event 00000000088F7600
2020/09/28 07:37:58 [debug] 8526\#0: *1 http run request: "/t?"
2020/09/28 07:37:58 [debug] 8526\#0: *1 http writer handler: "/t?"
2020/09/28 07:37:58 [debug] 8526\#0: *1 http output filter "/t?"
'
025-codecache.t TEST 29: cosocket connection pool timeout (after Lua VM destroys) - pattern "lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2020/09/28 07:37:59 [debug] 8526\#0: lua tcp socket keepalive max idle timeout" (req 1) 2020/09/28 07:37:59 [debug] 8526\#0: lua tcp socket keepalive close handler: fd:8
2020/09/28 07:37:59 [debug] 8526\#0: poll del event: fd:8 ev:1
2020/09/28 07:37:59 [debug] 8526\#0: reusable connection: 0
2020/09/28 07:37:59 [debug] 8526\#0: lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2020/09/28 07:37:59 [debug] 8526\#0: posted event 00000000088F7600
2020/09/28 07:37:59 [debug] 8526\#0: *3 delete posted event 00000000088F7600
2020/09/28 07:37:59 [debug] 8526\#0: *3 http run request: "/t?"
2020/09/28 07:37:59 [debug] 8526\#0: *3 http writer handler: "/t?"
2020/09/28 07:37:59 [debug] 8526\#0: *3 http output filter "/t?"
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2020/09/28 07:39:17 [debug] 8556\#0: lua decrementing the reference count for Lua VM: 3" (req 0) 2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E5040, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4F90, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4EE0, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4CB0, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4A20, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4380, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E32E0, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: posted event 00000000088EDAE0
2020/09/28 07:39:17 [debug] 8556\#0: *1 delete posted event 00000000088EDAE0
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2020/09/28 07:39:17 [debug] 8556\#0: lua decrementing the reference count for Lua VM: 3" (req 1) 2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E5040, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4F90, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4EE0, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4CB0, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4A20, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E4380, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: free: 00000000089E32E0, unused: 0
2020/09/28 07:39:17 [debug] 8556\#0: posted event 00000000088EDAE0
2020/09/28 07:39:17 [debug] 8556\#0: *1 delete posted event 00000000088EDAE0
'
025-codecache.t TEST 24: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2020/09/28 07:39:18 [debug] 8556\#0: lua decrementing the reference count for Lua VM: 3" (req 1) 2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADC340, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADC290, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADC1E0, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADBFB0, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADBD20, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADB680, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: free: 0000000008ADA5E0, unused: 0
2020/09/28 07:39:18 [debug] 8556\#0: posted event 00000000088EDAE0
2020/09/28 07:39:18 [debug] 8556\#0: *4 delete posted event 00000000088EDAE0
'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
041-header-filter.t TEST 41: filter finalize - status code ok got: ''
expected: '302'
041-header-filter.t TEST 41: filter finalize - response_body_like - response is expected () ''
doesn't match '(?^s:302 Found)'
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
056-flush.t TEST 17: limit_rate - pattern "(?^:lua writes elapsed [12](?:\.\d+)? sec)" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1)
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 65: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,14 @@
1
-22
+2
-hello world
+2
+h
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 68: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) got: 'h
'
expected: 'hello world
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
058-tcp-socket.t TEST 69: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,11 @@
-hello w
+h
-orld
+e
+l
+l
+o
+
+w
+o
+r
+l
+d
'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 7: Expect & 100 Continue - status code ok got: '200'
expected: '100'
067-req-socket.t TEST 7: Expect & 100 Continue - response_body_like - response is expected (failed to get the request socket: test expect failed) 'failed to get the request socket: test expect failed
'
doesn't match '(?^s:\breceived: hello\b.*?\breceived: worl\b)'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 14: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 15: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 16: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false ==10050== Invalid read of size 8
==10050== at 0x4271DC: ngx_chain_update_chains (ngx_buf.c:191)
==10050== by 0x4FCDB5: ngx_http_lua_output_filter (ngx_http_lua_util.c:621)
==10050== by 0x4FD737: ngx_http_lua_send_chain_link (ngx_http_lua_util.c:568)
==10050== by 0x4F1CA2: ngx_http_lua_ngx_echo (ngx_http_lua_output.c:239)
==10050== by 0x4F1D2A: ngx_http_lua_ngx_say (ngx_http_lua_output.c:34)
==10050== by 0x5463382: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==10050== by 0x4FEE32: ngx_http_lua_run_thread (ngx_http_lua_util.c:1067)
==10050== by 0x50324E: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:122)
==10050== by 0x503341: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==10050== by 0x502D3E: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:220)
==10050== by 0x4622B4: ngx_http_core_content_phase (ngx_http_core_module.c:1179)
==10050== by 0x45D0B2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==10050== by 0x45D1BD: ngx_http_handler (ngx_http_core_module.c:851)
==10050== by 0x46866F: ngx_http_process_request (ngx_http_request.c:2055)
==10050== by 0x468C9A: ngx_http_process_request_headers (ngx_http_request.c:1480)
==10050== by 0x46922F: ngx_http_process_request_line (ngx_http_request.c:1151)
==10050== by 0x4698FF: ngx_http_wait_request_handler (ngx_http_request.c:500)
==10050== by 0x4449B5: ngx_event_process_posted (ngx_event_posted.c:35)
==10050== by 0x4443AC: ngx_process_events_and_timers (ngx_event.c:274)
==10050== by 0x44E0F5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==10050== by 0x423B5B: main (nginx.c:382)
==10050== Address 0x118 is not stack'd, malloc'd or (recently) free'd
==10050==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_chain_update_chains
fun:ngx_http_lua_output_filter
fun:ngx_http_lua_send_chain_link
fun:ngx_http_lua_ngx_echo
fun:ngx_http_lua_ngx_say
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
072-conditional-get.t TEST 3: If-Unmodified-Since false ==10050==
==10050== Process terminating with default action of signal 11 (SIGSEGV)
==10050== Access not within mapped region at address 0x118
==10050== at 0x4271DC: ngx_chain_update_chains (ngx_buf.c:191)
==10050== by 0x4FCDB5: ngx_http_lua_output_filter (ngx_http_lua_util.c:621)
==10050== by 0x4FD737: ngx_http_lua_send_chain_link (ngx_http_lua_util.c:568)
==10050== by 0x4F1CA2: ngx_http_lua_ngx_echo (ngx_http_lua_output.c:239)
==10050== by 0x4F1D2A: ngx_http_lua_ngx_say (ngx_http_lua_output.c:34)
==10050== by 0x5463382: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==10050== by 0x4FEE32: ngx_http_lua_run_thread (ngx_http_lua_util.c:1067)
==10050== by 0x50324E: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:122)
==10050== by 0x503341: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==10050== by 0x502D3E: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:220)
==10050== by 0x4622B4: ngx_http_core_content_phase (ngx_http_core_module.c:1179)
==10050== by 0x45D0B2: ngx_http_core_run_phases (ngx_http_core_module.c:868)
==10050== by 0x45D1BD: ngx_http_handler (ngx_http_core_module.c:851)
==10050== by 0x46866F: ngx_http_process_request (ngx_http_request.c:2055)
==10050== by 0x468C9A: ngx_http_process_request_headers (ngx_http_request.c:1480)
==10050== by 0x46922F: ngx_http_process_request_line (ngx_http_request.c:1151)
==10050== by 0x4698FF: ngx_http_wait_request_handler (ngx_http_request.c:500)
==10050== by 0x4449B5: ngx_event_process_posted (ngx_event_posted.c:35)
==10050== by 0x4443AC: ngx_process_events_and_timers (ngx_event.c:274)
==10050== by 0x44E0F5: ngx_single_process_cycle (ngx_process_cycle.c:333)
==10050== by 0x423B5B: main (nginx.c:382)
==10050== If you believe this happened as a result of a stack
==10050== overflow in your program's main thread (unlikely but
==10050== possible), you can try to increase the size of the
==10050== main thread stack using the --main-stacksize= flag.
==10050== The main thread stack size used in this run was 8388608.

072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
072-conditional-get.t TEST 3: If-Unmodified-Since false - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
072-conditional-get.t TEST 3: If-Unmodified-Since false - status code ok got: ''
expected: '412'
072-conditional-get.t TEST 3: If-Unmodified-Since false - response_body_like - response is expected () ''
doesn't match '(?^s:412 Precondition Failed)'
072-conditional-get.t TEST 3: If-Unmodified-Since false - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 28: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2020/09/28 08:32:30 [warn] 10553\#0: *1 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) 2020/09/28 08:32:30 [debug] 10553\#0: *1 lua resume returned 0
2020/09/28 08:32:30 [debug] 10553\#0: *1 lua light thread ended normally
2020/09/28 08:32:30 [debug] 10553\#0: *1 lua deleting light thread
2020/09/28 08:32:30 [debug] 10553\#0: *1 lua run thread returned 0
2020/09/28 08:32:30 [debug] 10553\#0: *1 http finalize request: 0, "/t?" a:1, c:1
2020/09/28 08:32:30 [debug] 10553\#0: *1 event timer add: 7: 60000:6336107
2020/09/28 08:32:30 [debug] 10553\#0: *1 poll add event: fd:7 ev:4
2020/09/28 08:32:30 [debug] 10553\#0: worker cycle
2020/09/28 08:32:30 [debug] 10553\#0: poll timer: 60000
'
100-client-abort.t TEST 31: ngx.eof - pattern "eof failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 31: ngx.eof - pattern "eof succeeded" should not match any line in error.log but matches line "2020/09/28 08:32:30 [warn] 10553\#0: *2 [lua] content_by_lua(nginx.conf:49):8: eof succeeded, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) 2020/09/28 08:32:30 [debug] 10553\#0: *2 lua resume returned 0
2020/09/28 08:32:30 [debug] 10553\#0: *2 lua light thread ended normally
2020/09/28 08:32:30 [debug] 10553\#0: *2 lua deleting light thread
2020/09/28 08:32:30 [debug] 10553\#0: *2 lua run thread returned 0
2020/09/28 08:32:30 [debug] 10553\#0: *2 http finalize request: 0, "/t?" a:1, c:1
2020/09/28 08:32:30 [debug] 10553\#0: *2 event timer add: 7: 60000:6336451
2020/09/28 08:32:30 [debug] 10553\#0: *2 poll add event: fd:7 ev:4
2020/09/28 08:32:30 [debug] 10553\#0: worker cycle
2020/09/28 08:32:30 [debug] 10553\#0: poll timer: 60000
'
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 27: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 5: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8189 pending timers
'
expected: 'lua found 8191 pending timers
'
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 0, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
116-raw-req-socket.t TEST 16: receiveany - response_body - response is expected (repeated req 1, req 0) got: "msg: 1: received: h\x{0a}"
length: 20
expected: "msg: 1: received: hello\x{0a}"
length: 24
strings begin to differ at char 20 (line 1 column 20)
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
146-malloc-trim.t TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) @@ -1,3 +1,3 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:

Warnings

Go back to the index page.