(This page was automatically generated by the tools in the opsboy project on 07:00:43 03-Jul-2023 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
97b91899 2020-09-28 06:48:20 GMT 63 83 206 21463 3214 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

OpenSSL

OpenSSL 1.1.1d 10 Sep 2019

Compilation Errors

Unexpected Failures

File Name Details
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:11 4 of 4
send: fd:11 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 09:25:00 [error] 17547\#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 09:25:00 [debug] 17547\#0: *1 lua udp socket error retval handler
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841180:16
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 00000000088411D0:16
2020/09/28 09:25:00 [debug] 17547\#0: *1 lua allocate new chainlink and new buf of size 35, cl:0000000008841180
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841220:80
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 00000000088412B0:16
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841300:35
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841370:16
2020/09/28 09:25:00 [debug] 17547\#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:11 4 of 4
send: fd:11 3 of 3
send: fd:11 4 of 4
send: fd:11 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 09:25:00 [error] 17547\#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 09:25:00 [debug] 17547\#0: *1 lua udp socket error retval handler
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841180:16
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 00000000088411D0:16
2020/09/28 09:25:00 [debug] 17547\#0: *1 lua allocate new chainlink and new buf of size 35, cl:0000000008841180
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841220:80
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 00000000088412B0:16
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841300:35
2020/09/28 09:25:00 [debug] 17547\#0: *1 malloc: 0000000008841370:16
2020/09/28 09:25:00 [debug] 17547\#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 09:25:00 [error] 17547\#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 09:25:00 [debug] 17547\#0: *3 lua udp socket error retval handler
2020/09/28 09:25:00 [debug] 17547\#0: *3 malloc: 0000000008846890:16
2020/09/28 09:25:00 [debug] 17547\#0: *3 malloc: 00000000088468E0:16
2020/09/28 09:25:00 [debug] 17547\#0: *3 lua allocate new chainlink and new buf of size 35, cl:0000000008846890
2020/09/28 09:25:00 [debug] 17547\#0: *3 malloc: 0000000008846930:80
2020/09/28 09:25:00 [debug] 17547\#0: *3 malloc: 00000000088469C0:16
2020/09/28 09:25:00 [debug] 17547\#0: *3 malloc: 0000000008846A10:35
2020/09/28 09:25:00 [debug] 17547\#0: *3 malloc: 0000000008846A80:16
2020/09/28 09:25:00 [debug] 17547\#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 09:25:03 [error] 17644\#0: *111 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 09:25:03 [debug] 17644\#0: *111 lua udp recv returned -1
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua udp socket handle error
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua udp socket receive return value handler
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua udp socket error retval handler
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 0000000008535760:16
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 00000000085357B0:16
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua allocate new chainlink and new buf of size 38, cl:0000000008535760
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 000000000853EF20:80
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 0000000008535800: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 09:25:03 [error] 17644\#0: *111 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 09:25:03 [debug] 17644\#0: *111 lua udp recv returned -1
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua udp socket handle error
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua udp socket receive return value handler
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua udp socket error retval handler
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 0000000008535760:16
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 00000000085357B0:16
2020/09/28 09:25:03 [debug] 17644\#0: *111 lua allocate new chainlink and new buf of size 38, cl:0000000008535760
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 000000000853EF20:80
2020/09/28 09:25:03 [debug] 17644\#0: *111 malloc: 0000000008535800: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 09:25:03 [error] 17644\#0: *114 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 09:25:03 [debug] 17644\#0: *114 lua udp recv returned -1
2020/09/28 09:25:03 [debug] 17644\#0: *114 lua udp socket handle error
2020/09/28 09:25:03 [debug] 17644\#0: *114 lua udp socket receive return value handler
2020/09/28 09:25:03 [debug] 17644\#0: *114 lua udp socket error retval handler
2020/09/28 09:25:03 [debug] 17644\#0: *114 malloc: 000000000851B8B0:16
2020/09/28 09:25:03 [debug] 17644\#0: *114 malloc: 000000000851B900:16
2020/09/28 09:25:03 [debug] 17644\#0: *114 lua allocate new chainlink and new buf of size 38, cl:000000000851B8B0
2020/09/28 09:25:03 [debug] 17644\#0: *114 malloc: 000000000851B950:80
2020/09/28 09:25:03 [debug] 17644\#0: *114 malloc: 000000000851B9E0:16
'
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 09:25:04 [error] 17704\#0: *168 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 09:25:04 [debug] 17704\#0: *168 lua udp recv returned -1
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua udp socket handle error
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua udp socket receive return value handler
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua udp socket error retval handler
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008EE6430:16
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008EE6480:16
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua allocate new chainlink and new buf of size 43, cl:0000000008EE6430
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008EE64D0:80
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008500780: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 09:25:04 [error] 17704\#0: *168 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 09:25:04 [debug] 17704\#0: *168 lua udp recv returned -1
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua udp socket handle error
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua udp socket receive return value handler
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua udp socket error retval handler
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008EE6430:16
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008EE6480:16
2020/09/28 09:25:04 [debug] 17704\#0: *168 lua allocate new chainlink and new buf of size 43, cl:0000000008EE6430
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008EE64D0:80
2020/09/28 09:25:04 [debug] 17704\#0: *168 malloc: 0000000008500780:16
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 09:25:04 [error] 17704\#0: *170 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 09:25:04 [debug] 17704\#0: *170 lua udp recv returned -1
2020/09/28 09:25:04 [debug] 17704\#0: *170 lua udp socket handle error
2020/09/28 09:25:04 [debug] 17704\#0: *170 lua udp socket receive return value handler
2020/09/28 09:25:04 [debug] 17704\#0: *170 lua udp socket error retval handler
2020/09/28 09:25:04 [debug] 17704\#0: *170 malloc: 0000000008614EE0:16
2020/09/28 09:25:04 [debug] 17704\#0: *170 malloc: 0000000008E84750:16
2020/09/28 09:25:04 [debug] 17704\#0: *170 lua allocate new chainlink and new buf of size 43, cl:0000000008614EE0
2020/09/28 09:25:04 [debug] 17704\#0: *170 malloc: 0000000008E847A0:80
2020/09/28 09:25:04 [debug] 17704\#0: *170 malloc: 0000000008E84830: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:4 6 of 6
send: fd:4 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 09:25:05 [error] 17734\#0: *196 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 09:25:05 [debug] 17734\#0: *196 lua udp socket error retval handler
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967300:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967350:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 lua allocate new chainlink and new buf of size 35, cl:0000000008967300
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 00000000089673A0:80
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967430:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967480:35
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 00000000089674F0:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 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:4 6 of 6
send: fd:4 15 of 15
send: fd:4 6 of 6
send: fd:4 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 09:25:05 [error] 17734\#0: *196 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 09:25:05 [debug] 17734\#0: *196 lua udp socket error retval handler
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967300:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967350:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 lua allocate new chainlink and new buf of size 35, cl:0000000008967300
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 00000000089673A0:80
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967430:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 0000000008967480:35
2020/09/28 09:25:05 [debug] 17734\#0: *196 malloc: 00000000089674F0:16
2020/09/28 09:25:05 [debug] 17734\#0: *196 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 09:25:05 [error] 17734\#0: *198 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 09:25:05 [debug] 17734\#0: *198 lua udp socket error retval handler
2020/09/28 09:25:05 [debug] 17734\#0: *198 malloc: 000000000899E460:16
2020/09/28 09:25:05 [debug] 17734\#0: *198 malloc: 000000000899E4B0:16
2020/09/28 09:25:05 [debug] 17734\#0: *198 lua allocate new chainlink and new buf of size 35, cl:000000000899E460
2020/09/28 09:25:05 [debug] 17734\#0: *198 malloc: 000000000899E500:80
2020/09/28 09:25:05 [debug] 17734\#0: *198 malloc: 000000000899E590:16
2020/09/28 09:25:05 [debug] 17734\#0: *198 malloc: 000000000899E5E0:35
2020/09/28 09:25:05 [debug] 17734\#0: *198 malloc: 000000000899E650:16
2020/09/28 09:25:05 [debug] 17734\#0: *198 lua say response
'
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:4 22 of 22
send: fd:4 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 09:25:07 [error] 17794\#0: *252 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 09:25:07 [debug] 17794\#0: *252 lua udp socket error retval handler
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008606460:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 00000000086064B0:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 lua allocate new chainlink and new buf of size 35, cl:0000000008606460
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633AC0:80
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633B50:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633BA0:35
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633C10:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 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:4 22 of 22
send: fd:4 22 of 22
send: fd:4 22 of 22
send: fd:4 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 09:25:07 [error] 17794\#0: *252 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 09:25:07 [debug] 17794\#0: *252 lua udp socket error retval handler
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008606460:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 00000000086064B0:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 lua allocate new chainlink and new buf of size 35, cl:0000000008606460
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633AC0:80
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633B50:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633BA0:35
2020/09/28 09:25:07 [debug] 17794\#0: *252 malloc: 0000000008633C10:16
2020/09/28 09:25:07 [debug] 17794\#0: *252 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 09:25:07 [error] 17794\#0: *254 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 09:25:07 [debug] 17794\#0: *254 lua udp socket error retval handler
2020/09/28 09:25:07 [debug] 17794\#0: *254 malloc: 00000000092B99A0:16
2020/09/28 09:25:07 [debug] 17794\#0: *254 malloc: 00000000092EFF20:16
2020/09/28 09:25:07 [debug] 17794\#0: *254 lua allocate new chainlink and new buf of size 35, cl:00000000092B99A0
2020/09/28 09:25:07 [debug] 17794\#0: *254 malloc: 00000000092F27A0:80
2020/09/28 09:25:07 [debug] 17794\#0: *254 malloc: 00000000092F2830:16
2020/09/28 09:25:07 [debug] 17794\#0: *254 malloc: 00000000092F2880:35
2020/09/28 09:25:07 [debug] 17794\#0: *254 malloc: 00000000092F28F0:16
2020/09/28 09:25:07 [debug] 17794\#0: *254 lua say response
'
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 09:25:11 [error] 17974\#0: *411 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 09:25:11 [debug] 17974\#0: *411 lua udp recv returned -1
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua udp socket handle error
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua udp socket receive return value handler
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua udp socket error retval handler
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 00000000085C0430:16
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 00000000085F2AE0:16
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua allocate new chainlink and new buf of size 43, cl:00000000085C0430
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 00000000085F2B30:80
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 000000000964E020: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 09:25:11 [error] 17974\#0: *411 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 09:25:11 [debug] 17974\#0: *411 lua udp recv returned -1
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua udp socket handle error
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua udp socket receive return value handler
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua udp socket error retval handler
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 00000000085C0430:16
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 00000000085F2AE0:16
2020/09/28 09:25:11 [debug] 17974\#0: *411 lua allocate new chainlink and new buf of size 43, cl:00000000085C0430
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 00000000085F2B30:80
2020/09/28 09:25:11 [debug] 17974\#0: *411 malloc: 000000000964E020: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 09:25:12 [error] 17974\#0: *413 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 09:25:12 [debug] 17974\#0: *413 lua udp recv returned -1
2020/09/28 09:25:12 [debug] 17974\#0: *413 lua udp socket handle error
2020/09/28 09:25:12 [debug] 17974\#0: *413 lua udp socket receive return value handler
2020/09/28 09:25:12 [debug] 17974\#0: *413 lua udp socket error retval handler
2020/09/28 09:25:12 [debug] 17974\#0: *413 malloc: 0000000008E18120:16
2020/09/28 09:25:12 [debug] 17974\#0: *413 malloc: 0000000008FF6F80:16
2020/09/28 09:25:12 [debug] 17974\#0: *413 lua allocate new chainlink and new buf of size 43, cl:0000000008E18120
2020/09/28 09:25:12 [debug] 17974\#0: *413 malloc: 000000000964BDF0:80
2020/09/28 09:25:12 [debug] 17974\#0: *413 malloc: 0000000008FF6FD0:16
'
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 09:25:14 [error] 18062\#0: *494 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 09:25:14 [error] 18062\#0: *494 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 09:25:14 [error] 18062\#0: *496 send() failed (111: Connection refused), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) '
089-phase.t TEST 10: get_phase in init_worker_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 09:25:28 [error] 18495\#0: [lua] exit_worker_by_lua:3: exit_worker" (req 0) '
089-phase.t TEST 10: get_phase in init_worker_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 09:25:28 [error] 18495\#0: [lua] exit_worker_by_lua:4: exiting now" (req 0) '
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 09:30:35 [error] 26138\#0: *807 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 09:30:35 [debug] 26138\#0: *807 lua udp recv returned -1
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua udp socket handle error
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua udp socket receive return value handler
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua udp socket error retval handler
2020/09/28 09:30:35 [error] 26138\#0: *807 [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 09:30:35 [debug] 26138\#0: *807 lua resume returned 0
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua light thread ended normally
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua deleting light thread
2020/09/28 09:30:35 [debug] 26138\#0: *807 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 09:30:35 [error] 26138\#0: *807 [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 09:30:35 [debug] 26138\#0: *807 lua resume returned 0
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua light thread ended normally
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua deleting light thread
2020/09/28 09:30:35 [debug] 26138\#0: *807 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:30:35 [debug] 26138\#0: *807 http lua fake request count:1
2020/09/28 09:30:35 [debug] 26138\#0: *807 http lua close fake request
2020/09/28 09:30:35 [debug] 26138\#0: *807 cleanup lua udp socket upstream request: ""
2020/09/28 09:30:35 [debug] 26138\#0: *807 lua finalize socket
2020/09/28 09:30:35 [debug] 26138\#0: *807 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 09:30:35 [error] 26138\#0: *810 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 09:30:35 [debug] 26138\#0: *810 lua udp recv returned -1
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua udp socket handle error
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua udp socket receive return value handler
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua udp socket error retval handler
2020/09/28 09:30:35 [error] 26138\#0: *810 [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 09:30:35 [debug] 26138\#0: *810 lua resume returned 0
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua light thread ended normally
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua deleting light thread
2020/09/28 09:30:35 [debug] 26138\#0: *810 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 09:30:35 [error] 26138\#0: *810 [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 09:30:35 [debug] 26138\#0: *810 lua resume returned 0
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua light thread ended normally
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua deleting light thread
2020/09/28 09:30:35 [debug] 26138\#0: *810 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:30:35 [debug] 26138\#0: *810 http lua fake request count:1
2020/09/28 09:30:35 [debug] 26138\#0: *810 http lua close fake request
2020/09/28 09:30:35 [debug] 26138\#0: *810 cleanup lua udp socket upstream request: ""
2020/09/28 09:30:35 [debug] 26138\#0: *810 lua finalize socket
2020/09/28 09:30:35 [debug] 26138\#0: *810 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 09:31:24 [error] 27438\#0: *62 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 09:31:24 [debug] 27438\#0: *62 lua udp recv returned -1
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua udp socket handle error
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua udp socket receive return value handler
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua udp socket error retval handler
2020/09/28 09:31:24 [error] 27438\#0: *62 [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 09:31:24 [debug] 27438\#0: *62 lua resume returned 0
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua light thread ended normally
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua deleting light thread
2020/09/28 09:31:24 [debug] 27438\#0: *62 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 09:31:24 [error] 27438\#0: *62 [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 09:31:24 [debug] 27438\#0: *62 lua resume returned 0
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua light thread ended normally
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua deleting light thread
2020/09/28 09:31:24 [debug] 27438\#0: *62 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:31:24 [debug] 27438\#0: *62 http lua fake request count:1
2020/09/28 09:31:24 [debug] 27438\#0: *62 http lua close fake request
2020/09/28 09:31:24 [debug] 27438\#0: *62 cleanup lua udp socket upstream request: ""
2020/09/28 09:31:24 [debug] 27438\#0: *62 lua finalize socket
2020/09/28 09:31:24 [debug] 27438\#0: *62 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 09:31:25 [error] 27438\#0: *65 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 09:31:25 [debug] 27438\#0: *65 lua udp recv returned -1
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua udp socket handle error
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua udp socket receive return value handler
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua udp socket error retval handler
2020/09/28 09:31:25 [error] 27438\#0: *65 [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 09:31:25 [debug] 27438\#0: *65 lua resume returned 0
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua light thread ended normally
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua deleting light thread
2020/09/28 09:31:25 [debug] 27438\#0: *65 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 09:31:25 [error] 27438\#0: *65 [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 09:31:25 [debug] 27438\#0: *65 lua resume returned 0
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua light thread ended normally
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua deleting light thread
2020/09/28 09:31:25 [debug] 27438\#0: *65 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:31:25 [debug] 27438\#0: *65 http lua fake request count:1
2020/09/28 09:31:25 [debug] 27438\#0: *65 http lua close fake request
2020/09/28 09:31:25 [debug] 27438\#0: *65 cleanup lua udp socket upstream request: ""
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua finalize socket
2020/09/28 09:31:25 [debug] 27438\#0: *65 lua close socket connection
'
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 09:37:30 [error] 2745\#0: *811 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 09:37:30 [debug] 2745\#0: *811 lua udp recv returned -1
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua udp socket handle error
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua udp socket receive return value handler
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua udp socket error retval handler
2020/09/28 09:37:30 [error] 2745\#0: *811 [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 09:37:30 [debug] 2745\#0: *811 lua resume returned 0
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua light thread ended normally
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua deleting light thread
2020/09/28 09:37:30 [debug] 2745\#0: *811 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 09:37:30 [error] 2745\#0: *811 [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 09:37:30 [debug] 2745\#0: *811 lua resume returned 0
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua light thread ended normally
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua deleting light thread
2020/09/28 09:37:30 [debug] 2745\#0: *811 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:37:30 [debug] 2745\#0: *811 http lua fake request count:1
2020/09/28 09:37:30 [debug] 2745\#0: *811 http lua close fake request
2020/09/28 09:37:30 [debug] 2745\#0: *811 cleanup lua udp socket upstream request: ""
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua finalize socket
2020/09/28 09:37:30 [debug] 2745\#0: *811 lua close socket connection
'
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 09:37:31 [error] 2745\#0: *816 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 09:37:31 [debug] 2745\#0: *816 lua udp recv returned -1
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua udp socket handle error
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua udp socket receive return value handler
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua udp socket error retval handler
2020/09/28 09:37:31 [error] 2745\#0: *816 [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 09:37:31 [debug] 2745\#0: *816 lua resume returned 0
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua light thread ended normally
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua deleting light thread
2020/09/28 09:37:31 [debug] 2745\#0: *816 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 09:37:31 [error] 2745\#0: *816 [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 09:37:31 [debug] 2745\#0: *816 lua resume returned 0
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua light thread ended normally
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua deleting light thread
2020/09/28 09:37:31 [debug] 2745\#0: *816 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:37:31 [debug] 2745\#0: *816 http lua fake request count:1
2020/09/28 09:37:31 [debug] 2745\#0: *816 http lua close fake request
2020/09/28 09:37:31 [debug] 2745\#0: *816 cleanup lua udp socket upstream request: ""
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua finalize socket
2020/09/28 09:37:31 [debug] 2745\#0: *816 lua close socket connection
'
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 09:37:31 [error] 2745\#0: *821 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 09:37:31 [debug] 2745\#0: *821 lua udp recv returned -1
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua udp socket handle error
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua udp socket receive return value handler
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua udp socket error retval handler
2020/09/28 09:37:31 [error] 2745\#0: *821 [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 09:37:31 [debug] 2745\#0: *821 lua resume returned 0
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua light thread ended normally
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua deleting light thread
2020/09/28 09:37:31 [debug] 2745\#0: *821 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 09:37:31 [error] 2745\#0: *821 [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 09:37:31 [debug] 2745\#0: *821 lua resume returned 0
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua light thread ended normally
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua deleting light thread
2020/09/28 09:37:31 [debug] 2745\#0: *821 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:37:31 [debug] 2745\#0: *821 http lua fake request count:1
2020/09/28 09:37:31 [debug] 2745\#0: *821 http lua close fake request
2020/09/28 09:37:31 [debug] 2745\#0: *821 cleanup lua udp socket upstream request: ""
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua finalize socket
2020/09/28 09:37:31 [debug] 2745\#0: *821 lua close socket connection
'
163-signal.t TEST 1: SIGHUP followed by SIGQUIT - pattern "(?^:\[notice\] \d+\#\d+: exit$)" should match a line in error.log (req 0)
163-signal.t TEST 2: exit after receiving SIGHUP in single process mode - pattern "(?^:\[notice\] \d+\#\d+: reconfiguring)" should not match any line in error.log but matches line "2020/09/28 09:41:33 [notice] 7198\#0: reconfiguring" (req 0) 2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008830FB0:48
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008831020:672
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008831300:16
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008831350:52
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 00000000088313D0:16
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008831420:47
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008831490:16
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 00000000088314E0:63
2020/09/28 09:41:33 [debug] 7198\#0: malloc: 0000000008831560:16
'

Expected Failures

File Name Details
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:00:11 [debug] 6724\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/09/28 09:00:11 [debug] 6724\#0: *264 http keepalive handler
2020/09/28 09:00:11 [debug] 6724\#0: *264 close http connection: 5
2020/09/28 09:00:11 [debug] 6724\#0: *264 event timer del: 5: 8043519
2020/09/28 09:00:11 [debug] 6724\#0: *264 reusable connection: 0
2020/09/28 09:00:11 [debug] 6724\#0: *264 free: 0000000008618E20, unused: 0
2020/09/28 09:00:11 [debug] 6724\#0: *264 free: 0000000009362A50, unused: 0
2020/09/28 09:00:11 [debug] 6724\#0: *264 free: 00000000093629A0, unused: 0
2020/09/28 09:00:11 [debug] 6724\#0: *264 free: 000000000935D110, unused: 0
2020/09/28 09:00:11 [debug] 6724\#0: *264 free: 0000000009357D30, unused: 0
'
043-shdict.t TEST 52: list keys in a shdict with limit larger than number of keys - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '2
'
043-shdict.t TEST 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '1
'
expected: '0
'
043-shdict.t TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
043-shdict.t TEST 51: list all keys in a shdict with expires - response_body - response is expected (repeated req 0, req 0) got: '1024
'
expected: '2
'
043-shdict.t TEST 36: incr key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-incr: nil not found
+incr: nil not a number
-foo = nil
+foo = hello, world
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+hello, world
-nil
+hello, world
'
043-shdict.t TEST 59: safe_add - response_body - like (repeated req 0, req 0) 'false exists
abort at 1
cur value: hello hello hello hello hello hello hello hello hello hello1
'
doesn't match '(?^:false no memory
abort at (353|705)
cur value: nil
1st value: hello hello hello hello hello hello hello hello hello hello1
2nd value: hello hello hello hello hello hello hello hello hello hello2
)'
043-shdict.t TEST 57: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) got: '2049
'
expected: '2048
'
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 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)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:38 [debug] 11705\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/09/28 09:21:38 [debug] 11705\#0: *270 http keepalive handler
2020/09/28 09:21:38 [debug] 11705\#0: *270 close http connection: 7
2020/09/28 09:21:38 [debug] 11705\#0: *270 event timer del: 7: 9329981
2020/09/28 09:21:38 [debug] 11705\#0: *270 reusable connection: 0
2020/09/28 09:21:38 [debug] 11705\#0: *270 free: 00000000097883E0, unused: 0
2020/09/28 09:21:38 [debug] 11705\#0: *270 free: 0000000009788300, unused: 0
2020/09/28 09:21:38 [debug] 11705\#0: *270 free: 0000000009788250, unused: 0
2020/09/28 09:21:38 [debug] 11705\#0: *270 free: 000000000977B8E0, unused: 0
2020/09/28 09:21:38 [debug] 11705\#0: *270 free: 000000000977B840, unused: 0
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:41 [debug] 11829\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/09/28 09:21:41 [debug] 11829\#0: lua tcp socket keepalive close handler: fd:7
2020/09/28 09:21:41 [debug] 11829\#0: event timer del: 7: 9326221
2020/09/28 09:21:41 [debug] 11829\#0: reusable connection: 0
2020/09/28 09:21:41 [debug] 11829\#0: lua tcp socket keepalive: free connection pool for "B"
2020/09/28 09:21:41 [notice] 11829\#0: exiting
2020/09/28 09:21:41 [debug] 11829\#0: flush files
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 000000000926B260
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 0000000008F01250
2020/09/28 09:21:41 [debug] 11829\#0: lua decrementing the reference count for Lua VM: 1
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:41 [debug] 11829\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/09/28 09:21:41 [notice] 11829\#0: exiting
2020/09/28 09:21:41 [debug] 11829\#0: flush files
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 000000000926B260
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 0000000008F01250
2020/09/28 09:21:41 [debug] 11829\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 09:21:41 [debug] 11829\#0: lua close the global Lua VM 0000000008E9BB00
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 0000000008F011A0
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 0000000008EF0570
2020/09/28 09:21:41 [debug] 11829\#0: run cleanup: 0000000008DB0760
'
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:42 [debug] 11860\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2020/09/28 09:21:42 [notice] 11860\#0: exiting
2020/09/28 09:21:42 [debug] 11860\#0: flush files
2020/09/28 09:21:42 [debug] 11860\#0: run cleanup: 0000000008622FF0
2020/09/28 09:21:42 [debug] 11860\#0: run cleanup: 0000000009B406C0
2020/09/28 09:21:42 [debug] 11860\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 09:21:42 [debug] 11860\#0: lua close the global Lua VM 000000000883EA70
2020/09/28 09:21:42 [debug] 11860\#0: run cleanup: 0000000009B40610
2020/09/28 09:21:42 [debug] 11860\#0: run cleanup: 00000000097E3090
2020/09/28 09:21:42 [debug] 11860\#0: run cleanup: 00000000092540E0
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:43 [debug] 11891\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/09/28 09:21:43 [debug] 11891\#0: lua tcp socket keepalive close handler: fd:7
2020/09/28 09:21:43 [debug] 11891\#0: event timer del: 7: 9327741
2020/09/28 09:21:43 [debug] 11891\#0: reusable connection: 0
2020/09/28 09:21:43 [debug] 11891\#0: lua tcp socket keepalive: free connection pool for "B"
2020/09/28 09:21:43 [debug] 11891\#0: worker cycle
2020/09/28 09:21:43 [debug] 11891\#0: epoll timer: 59612
2020/09/28 09:21:43 [debug] 11891\#0: epoll: fd:3 ev:2011 d:0000000009046221
2020/09/28 09:21:43 [debug] 11891\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 09:21:43 [debug] 11891\#0: *432 http wait request handler
'
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:43 [debug] 11891\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/09/28 09:21:43 [debug] 11891\#0: worker cycle
2020/09/28 09:21:43 [debug] 11891\#0: epoll timer: 59612
2020/09/28 09:21:43 [debug] 11891\#0: epoll: fd:3 ev:2011 d:0000000009046221
2020/09/28 09:21:43 [debug] 11891\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 09:21:43 [debug] 11891\#0: *432 http wait request handler
2020/09/28 09:21:43 [debug] 11891\#0: *432 malloc: 0000000009B40C60:80
2020/09/28 09:21:43 [debug] 11891\#0: *432 malloc: 000000000860F2B0:16
2020/09/28 09:21:43 [debug] 11891\#0: *432 malloc: 0000000009BD4A50:1024
2020/09/28 09:21:43 [debug] 11891\#0: *432 malloc: 0000000009BD4E90:16
'
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:43 [debug] 11922\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/09/28 09:21:43 [debug] 11922\#0: worker cycle
2020/09/28 09:21:43 [debug] 11922\#0: epoll timer: 59632
2020/09/28 09:21:43 [debug] 11922\#0: epoll: fd:3 ev:2011 d:0000000009712EC1
2020/09/28 09:21:43 [debug] 11922\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 09:21:43 [debug] 11922\#0: *460 http wait request handler
2020/09/28 09:21:43 [debug] 11922\#0: *460 malloc: 00000000089FFD30:80
2020/09/28 09:21:43 [debug] 11922\#0: *460 malloc: 00000000089FFDC0:16
2020/09/28 09:21:43 [debug] 11922\#0: *460 malloc: 00000000089C1390:1024
2020/09/28 09:21:43 [debug] 11922\#0: *460 malloc: 00000000089C17D0:16
'
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:51 [debug] 12208\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2020/09/28 09:21:51 [notice] 12208\#0: exiting
2020/09/28 09:21:51 [debug] 12208\#0: flush files
2020/09/28 09:21:51 [debug] 12208\#0: run cleanup: 000000000864AC10
2020/09/28 09:21:51 [debug] 12208\#0: run cleanup: 0000000008EC1D30
2020/09/28 09:21:51 [debug] 12208\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 09:21:51 [debug] 12208\#0: lua close the global Lua VM 0000000008E9BB00
2020/09/28 09:21:51 [debug] 12208\#0: run cleanup: 0000000008DE50C0
2020/09/28 09:21:51 [debug] 12208\#0: run cleanup: 0000000008DE5060
2020/09/28 09:21:51 [debug] 12208\#0: run cleanup: 0000000008A5A980
'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2020/09/28 09:21:52 [debug] 12238\#0: lua tcp socket keepalive: free connection pool for \"unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock\"" (req 0) 2020/09/28 09:21:52 [debug] 12238\#0: worker cycle
2020/09/28 09:21:52 [debug] 12238\#0: epoll timer: 59612
2020/09/28 09:21:52 [debug] 12238\#0: epoll: fd:3 ev:2011 d:0000000008568AD0
2020/09/28 09:21:52 [debug] 12238\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 09:21:52 [debug] 12238\#0: *729 http wait request handler
2020/09/28 09:21:52 [debug] 12238\#0: *729 malloc: 0000000008EE1130:80
2020/09/28 09:21:52 [debug] 12238\#0: *729 malloc: 0000000008ECC1D0:16
2020/09/28 09:21:52 [debug] 12238\#0: *729 malloc: 00000000084DB300:1024
2020/09/28 09:21:52 [debug] 12238\#0: *729 malloc: 0000000008EF0F60:16
'
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
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 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 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 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 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[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 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 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)
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)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: registered a new timer after reload" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "f: exiting=true" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: timer prematurely expired: false" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "g: exiting=true" 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 0) got: 'lua found 8188 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 6: HUP reload should abort pending timers (coroutine + cosocket) - grep_error_log_out (req 0) got: ''
expected: 'lua found 1 pending timers
'
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
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] "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
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 09:37:02 [error] 2169\#0: send() failed (111: Connection refused)" (req 0) 2020/09/28 09:37:02 [debug] 2169\#0: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#10
2020/09/28 09:37:02 [debug] 2169\#0: epoll del event: fd:7 op:2 ev:00000000
2020/09/28 09:37:02 [debug] 2169\#0: close listening 0.0.0.0:1984 \#7
2020/09/28 09:37:02 [notice] 2169\#0: exiting
2020/09/28 09:37:02 [debug] 2169\#0: flush files
2020/09/28 09:37:02 [debug] 2169\#0: run cleanup: 0000000009448080
2020/09/28 09:37:02 [debug] 2169\#0: run cleanup: 0000000009352EB0
2020/09/28 09:37:02 [debug] 2169\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 09:37:02 [debug] 2169\#0: lua close the global Lua VM 0000000009352F60
'
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) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
139-ssl-cert-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
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
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 09:38:26 [error] 3600\#0: *254 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 09:38:26 [debug] 3600\#0: *254 lua udp recv returned -1
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua udp socket handle error
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua udp socket receive return value handler
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua udp socket error retval handler
2020/09/28 09:38:26 [error] 3600\#0: *254 [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 09:38:26 [debug] 3600\#0: *254 lua resume returned 0
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua light thread ended normally
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua deleting light thread
2020/09/28 09:38:26 [debug] 3600\#0: *254 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 09:38:26 [error] 3600\#0: *254 [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 09:38:26 [debug] 3600\#0: *254 lua resume returned 0
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua light thread ended normally
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua deleting light thread
2020/09/28 09:38:26 [debug] 3600\#0: *254 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:38:26 [debug] 3600\#0: *254 http lua fake request count:1
2020/09/28 09:38:26 [debug] 3600\#0: *254 http lua close fake request
2020/09/28 09:38:26 [debug] 3600\#0: *254 cleanup lua udp socket upstream request: ""
2020/09/28 09:38:26 [debug] 3600\#0: *254 lua finalize socket
2020/09/28 09:38:26 [debug] 3600\#0: *254 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 09:38:26 [error] 3600\#0: *259 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 09:38:26 [debug] 3600\#0: *259 lua udp recv returned -1
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua udp socket handle error
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua udp socket receive return value handler
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua udp socket error retval handler
2020/09/28 09:38:26 [error] 3600\#0: *259 [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 09:38:26 [debug] 3600\#0: *259 lua resume returned 0
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua light thread ended normally
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua deleting light thread
2020/09/28 09:38:26 [debug] 3600\#0: *259 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 09:38:26 [error] 3600\#0: *259 [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 09:38:26 [debug] 3600\#0: *259 lua resume returned 0
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua light thread ended normally
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua deleting light thread
2020/09/28 09:38:26 [debug] 3600\#0: *259 http lua finalize fake request: 0, a:1, c:1
2020/09/28 09:38:26 [debug] 3600\#0: *259 http lua fake request count:1
2020/09/28 09:38:26 [debug] 3600\#0: *259 http lua close fake request
2020/09/28 09:38:26 [debug] 3600\#0: *259 cleanup lua udp socket upstream request: ""
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua finalize socket
2020/09/28 09:38:26 [debug] 3600\#0: *259 lua close socket connection
'
145-shdict-list.t TEST 14: rpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
+push err: nil
+bar
1
-2
+pop err: nil
-3
'
145-shdict-list.t TEST 6: delete operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
true nil
nil nil
'
145-shdict-list.t TEST 8: get_keys operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
key: foo
'
145-shdict-list.t TEST 12: lpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-3
+push err: value not a list
-2
+pop err: value not a list
-1
'
145-shdict-list.t TEST 3: set operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
true nil
bar nil
'
145-shdict-list.t TEST 7: incr operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
nil not a number
-nil value is a list
+bar nil
'
145-shdict-list.t TEST 5: add operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
-push success
+push err: value not a list
false exists
-nil value is a list
+bar nil
'
145-shdict-list.t TEST 17: expire on all types - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-keys number: 2
+keys number: 3
keys number: 0
'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 7: zero count means off, log_by_lua - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
expected: ''
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,13 @@
-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
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+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
148-fake-shm-zone.t TEST 4: multiply zones - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1,7 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
name=x2
size=2097152
isinit=true
'
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)
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
'
153-semaphore-hup.t TEST 2: timer + reload (lua code cache off) - grep_error_log_out (req 0) @@ -1,5 +1,2 @@
created semaphore object
created semaphore object
-try to reload nginx
-created semaphore object
-created semaphore object
'
160-disable-init-by-lua.t TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 0)
160-disable-init-by-lua.t TEST 1: ensure init_by_lua* is not run in signaller process - pattern "failed (2: No such file or directory)" should match a line in error.log (req 1)
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.