(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 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
97b91899 2020-09-28 06:48:20 GMT 68 33 206 21460 6864 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

Compilation Errors

Unexpected Failures

File Name Details
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:10 22 of 22
send: fd:10 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:15:06 [error] 9999\#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:15:06 [debug] 9999\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630C40:16
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630C90:16
2020/09/28 08:15:06 [debug] 9999\#0: *1 lua allocate new chainlink and new buf of size 35, cl:0000000008630C40
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630CE0:80
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630D70:16
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630DC0:35
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630E30:16
2020/09/28 08:15:06 [debug] 9999\#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:10 22 of 22
send: fd:10 22 of 22
send: fd:10 22 of 22
send: fd:10 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:15:06 [error] 9999\#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:15:06 [debug] 9999\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630C40:16
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630C90:16
2020/09/28 08:15:06 [debug] 9999\#0: *1 lua allocate new chainlink and new buf of size 35, cl:0000000008630C40
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630CE0:80
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630D70:16
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630DC0:35
2020/09/28 08:15:06 [debug] 9999\#0: *1 malloc: 0000000008630E30:16
2020/09/28 08:15:06 [debug] 9999\#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:15:06 [error] 9999\#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:15:06 [debug] 9999\#0: *3 lua udp socket error retval handler
2020/09/28 08:15:06 [debug] 9999\#0: *3 malloc: 0000000008636560:16
2020/09/28 08:15:06 [debug] 9999\#0: *3 malloc: 00000000086365B0:16
2020/09/28 08:15:06 [debug] 9999\#0: *3 lua allocate new chainlink and new buf of size 35, cl:0000000008636560
2020/09/28 08:15:06 [debug] 9999\#0: *3 malloc: 0000000008636600:80
2020/09/28 08:15:06 [debug] 9999\#0: *3 malloc: 0000000008636690:16
2020/09/28 08:15:06 [debug] 9999\#0: *3 malloc: 00000000086366E0:35
2020/09/28 08:15:06 [debug] 9999\#0: *3 malloc: 0000000008636750:16
2020/09/28 08:15:06 [debug] 9999\#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:15:24 [error] 10008\#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:15:24 [debug] 10008\#0: *1 lua udp recv returned -1
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua udp socket handle error
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua udp socket receive return value handler
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F1D0:16
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F220:16
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua allocate new chainlink and new buf of size 43, cl:000000000862F1D0
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F270:80
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F300: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:15:24 [error] 10008\#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:15:24 [debug] 10008\#0: *1 lua udp recv returned -1
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua udp socket handle error
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua udp socket receive return value handler
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F1D0:16
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F220:16
2020/09/28 08:15:24 [debug] 10008\#0: *1 lua allocate new chainlink and new buf of size 43, cl:000000000862F1D0
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F270:80
2020/09/28 08:15:24 [debug] 10008\#0: *1 malloc: 000000000862F300: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:15:25 [error] 10008\#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:15:25 [debug] 10008\#0: *3 lua udp recv returned -1
2020/09/28 08:15:25 [debug] 10008\#0: *3 lua udp socket handle error
2020/09/28 08:15:25 [debug] 10008\#0: *3 lua udp socket receive return value handler
2020/09/28 08:15:25 [debug] 10008\#0: *3 lua udp socket error retval handler
2020/09/28 08:15:25 [debug] 10008\#0: *3 malloc: 0000000008633DA0:16
2020/09/28 08:15:25 [debug] 10008\#0: *3 malloc: 0000000008633DF0:16
2020/09/28 08:15:25 [debug] 10008\#0: *3 lua allocate new chainlink and new buf of size 43, cl:0000000008633DA0
2020/09/28 08:15:25 [debug] 10008\#0: *3 malloc: 0000000008633E40:80
2020/09/28 08:15:25 [debug] 10008\#0: *3 malloc: 0000000008633ED0: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 08:15:29 [error] 10010\#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:15:29 [error] 10010\#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:15:29 [error] 10010\#0: *3 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 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:10 4 of 4
send: fd:10 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:15:33 [error] 10012\#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:15:33 [debug] 10012\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 000000000862FED0:16
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 000000000862FF20:16
2020/09/28 08:15:33 [debug] 10012\#0: *1 lua allocate new chainlink and new buf of size 35, cl:000000000862FED0
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 000000000862FF70:80
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 0000000008630000:16
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 0000000008630050:35
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 00000000086300C0:16
2020/09/28 08:15:33 [debug] 10012\#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:10 4 of 4
send: fd:10 3 of 3
send: fd:10 4 of 4
send: fd:10 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:15:33 [error] 10012\#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:15:33 [debug] 10012\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 000000000862FED0:16
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 000000000862FF20:16
2020/09/28 08:15:33 [debug] 10012\#0: *1 lua allocate new chainlink and new buf of size 35, cl:000000000862FED0
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 000000000862FF70:80
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 0000000008630000:16
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 0000000008630050:35
2020/09/28 08:15:33 [debug] 10012\#0: *1 malloc: 00000000086300C0:16
2020/09/28 08:15:33 [debug] 10012\#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:15:33 [error] 10012\#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:15:33 [debug] 10012\#0: *3 lua udp socket error retval handler
2020/09/28 08:15:33 [debug] 10012\#0: *3 malloc: 00000000086355E0:16
2020/09/28 08:15:33 [debug] 10012\#0: *3 malloc: 0000000008635630:16
2020/09/28 08:15:33 [debug] 10012\#0: *3 lua allocate new chainlink and new buf of size 35, cl:00000000086355E0
2020/09/28 08:15:33 [debug] 10012\#0: *3 malloc: 0000000008635680:80
2020/09/28 08:15:33 [debug] 10012\#0: *3 malloc: 0000000008635710:16
2020/09/28 08:15:33 [debug] 10012\#0: *3 malloc: 0000000008635760:35
2020/09/28 08:15:33 [debug] 10012\#0: *3 malloc: 00000000086357D0:16
2020/09/28 08:15:33 [debug] 10012\#0: *3 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 08:15:41 [error] 10018\#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:15:41 [debug] 10018\#0: *1 lua udp recv returned -1
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua udp socket handle error
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua udp socket receive return value handler
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F1E0:16
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F230:16
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua allocate new chainlink and new buf of size 43, cl:000000000862F1E0
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F280:80
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F310: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:15:41 [error] 10018\#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:15:41 [debug] 10018\#0: *1 lua udp recv returned -1
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua udp socket handle error
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua udp socket receive return value handler
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F1E0:16
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F230:16
2020/09/28 08:15:41 [debug] 10018\#0: *1 lua allocate new chainlink and new buf of size 43, cl:000000000862F1E0
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F280:80
2020/09/28 08:15:41 [debug] 10018\#0: *1 malloc: 000000000862F310: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:15:42 [error] 10018\#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:15:42 [debug] 10018\#0: *3 lua udp recv returned -1
2020/09/28 08:15:42 [debug] 10018\#0: *3 lua udp socket handle error
2020/09/28 08:15:42 [debug] 10018\#0: *3 lua udp socket receive return value handler
2020/09/28 08:15:42 [debug] 10018\#0: *3 lua udp socket error retval handler
2020/09/28 08:15:42 [debug] 10018\#0: *3 malloc: 0000000008633DB0:16
2020/09/28 08:15:42 [debug] 10018\#0: *3 malloc: 0000000008633E00:16
2020/09/28 08:15:42 [debug] 10018\#0: *3 lua allocate new chainlink and new buf of size 43, cl:0000000008633DB0
2020/09/28 08:15:42 [debug] 10018\#0: *3 malloc: 0000000008633E50:80
2020/09/28 08:15:42 [debug] 10018\#0: *3 malloc: 0000000008633EE0:16
'
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:15:43 [error] 10019\#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:15:43 [debug] 10019\#0: *1 lua udp recv returned -1
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua udp socket handle error
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua udp socket receive return value handler
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D700:16
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D750:16
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua allocate new chainlink and new buf of size 38, cl:000000000863D700
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D7A0:80
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D830: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:15:43 [error] 10019\#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:15:43 [debug] 10019\#0: *1 lua udp recv returned -1
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua udp socket handle error
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua udp socket receive return value handler
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D700:16
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D750:16
2020/09/28 08:15:43 [debug] 10019\#0: *1 lua allocate new chainlink and new buf of size 38, cl:000000000863D700
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D7A0:80
2020/09/28 08:15:43 [debug] 10019\#0: *1 malloc: 000000000863D830: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:15:44 [error] 10019\#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:15:44 [debug] 10019\#0: *4 lua udp recv returned -1
2020/09/28 08:15:44 [debug] 10019\#0: *4 lua udp socket handle error
2020/09/28 08:15:44 [debug] 10019\#0: *4 lua udp socket receive return value handler
2020/09/28 08:15:44 [debug] 10019\#0: *4 lua udp socket error retval handler
2020/09/28 08:15:44 [debug] 10019\#0: *4 malloc: 0000000008644060:16
2020/09/28 08:15:44 [debug] 10019\#0: *4 malloc: 00000000086440B0:16
2020/09/28 08:15:44 [debug] 10019\#0: *4 lua allocate new chainlink and new buf of size 38, cl:0000000008644060
2020/09/28 08:15:44 [debug] 10019\#0: *4 malloc: 0000000008644100:80
2020/09/28 08:15:44 [debug] 10019\#0: *4 malloc: 0000000008644190: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:10 6 of 6
send: fd:10 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:15:45 [error] 10020\#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:15:45 [debug] 10020\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 000000000862FF50:16
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 000000000862FFA0:16
2020/09/28 08:15:45 [debug] 10020\#0: *1 lua allocate new chainlink and new buf of size 35, cl:000000000862FF50
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 000000000862FFF0:80
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 0000000008630080:16
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 00000000086300D0:35
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 0000000008630140:16
2020/09/28 08:15:45 [debug] 10020\#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:10 6 of 6
send: fd:10 15 of 15
send: fd:10 6 of 6
send: fd:10 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:15:45 [error] 10020\#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:15:45 [debug] 10020\#0: *1 lua udp socket error retval handler
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 000000000862FF50:16
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 000000000862FFA0:16
2020/09/28 08:15:45 [debug] 10020\#0: *1 lua allocate new chainlink and new buf of size 35, cl:000000000862FF50
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 000000000862FFF0:80
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 0000000008630080:16
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 00000000086300D0:35
2020/09/28 08:15:45 [debug] 10020\#0: *1 malloc: 0000000008630140:16
2020/09/28 08:15:45 [debug] 10020\#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:15:46 [error] 10020\#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:15:46 [debug] 10020\#0: *3 lua udp socket error retval handler
2020/09/28 08:15:46 [debug] 10020\#0: *3 malloc: 0000000008635690:16
2020/09/28 08:15:46 [debug] 10020\#0: *3 malloc: 00000000086356E0:16
2020/09/28 08:15:46 [debug] 10020\#0: *3 lua allocate new chainlink and new buf of size 35, cl:0000000008635690
2020/09/28 08:15:46 [debug] 10020\#0: *3 malloc: 0000000008635730:80
2020/09/28 08:15:46 [debug] 10020\#0: *3 malloc: 00000000086357C0:16
2020/09/28 08:15:46 [debug] 10020\#0: *3 malloc: 0000000008635810:35
2020/09/28 08:15:46 [debug] 10020\#0: *3 malloc: 0000000008635880:16
2020/09/28 08:15:46 [debug] 10020\#0: *3 lua say response
'
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:25:38 [error] 10326\#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:25:38 [debug] 10326\#0: *2 lua udp recv returned -1
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua udp socket handle error
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua udp socket receive return value handler
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua udp socket error retval handler
2020/09/28 08:25:38 [error] 10326\#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:25:38 [debug] 10326\#0: *2 lua resume returned 0
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua light thread ended normally
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua deleting light thread
2020/09/28 08:25:38 [debug] 10326\#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:25:38 [error] 10326\#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:25:38 [debug] 10326\#0: *2 lua resume returned 0
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua light thread ended normally
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua deleting light thread
2020/09/28 08:25:38 [debug] 10326\#0: *2 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:25:38 [debug] 10326\#0: *2 http lua fake request count:1
2020/09/28 08:25:38 [debug] 10326\#0: *2 http lua close fake request
2020/09/28 08:25:38 [debug] 10326\#0: *2 cleanup lua udp socket upstream request: ""
2020/09/28 08:25:38 [debug] 10326\#0: *2 lua finalize socket
2020/09/28 08:25:38 [debug] 10326\#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:25:38 [error] 10326\#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:25:38 [debug] 10326\#0: *5 lua udp recv returned -1
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua udp socket handle error
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua udp socket receive return value handler
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua udp socket error retval handler
2020/09/28 08:25:38 [error] 10326\#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:25:38 [debug] 10326\#0: *5 lua resume returned 0
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua light thread ended normally
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua deleting light thread
2020/09/28 08:25:38 [debug] 10326\#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:25:38 [error] 10326\#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:25:38 [debug] 10326\#0: *5 lua resume returned 0
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua light thread ended normally
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua deleting light thread
2020/09/28 08:25:38 [debug] 10326\#0: *5 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:25:38 [debug] 10326\#0: *5 http lua fake request count:1
2020/09/28 08:25:38 [debug] 10326\#0: *5 http lua close fake request
2020/09/28 08:25:38 [debug] 10326\#0: *5 cleanup lua udp socket upstream request: ""
2020/09/28 08:25:38 [debug] 10326\#0: *5 lua finalize socket
2020/09/28 08:25:38 [debug] 10326\#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:28:54 [error] 10417\#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:28:54 [debug] 10417\#0: *2 lua udp recv returned -1
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua udp socket handle error
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua udp socket receive return value handler
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua udp socket error retval handler
2020/09/28 08:28:54 [error] 10417\#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:28:54 [debug] 10417\#0: *2 lua resume returned 0
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua light thread ended normally
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua deleting light thread
2020/09/28 08:28:54 [debug] 10417\#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:28:54 [error] 10417\#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:28:54 [debug] 10417\#0: *2 lua resume returned 0
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua light thread ended normally
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua deleting light thread
2020/09/28 08:28:54 [debug] 10417\#0: *2 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:28:54 [debug] 10417\#0: *2 http lua fake request count:1
2020/09/28 08:28:54 [debug] 10417\#0: *2 http lua close fake request
2020/09/28 08:28:54 [debug] 10417\#0: *2 cleanup lua udp socket upstream request: ""
2020/09/28 08:28:54 [debug] 10417\#0: *2 lua finalize socket
2020/09/28 08:28:54 [debug] 10417\#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:28:55 [error] 10417\#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:28:55 [debug] 10417\#0: *5 lua udp recv returned -1
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua udp socket handle error
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua udp socket receive return value handler
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua udp socket error retval handler
2020/09/28 08:28:55 [error] 10417\#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:28:55 [debug] 10417\#0: *5 lua resume returned 0
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua light thread ended normally
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua deleting light thread
2020/09/28 08:28:55 [debug] 10417\#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:28:55 [error] 10417\#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:28:55 [debug] 10417\#0: *5 lua resume returned 0
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua light thread ended normally
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua deleting light thread
2020/09/28 08:28:55 [debug] 10417\#0: *5 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:28:55 [debug] 10417\#0: *5 http lua fake request count:1
2020/09/28 08:28:55 [debug] 10417\#0: *5 http lua close fake request
2020/09/28 08:28:55 [debug] 10417\#0: *5 cleanup lua udp socket upstream request: ""
2020/09/28 08:28:55 [debug] 10417\#0: *5 lua finalize socket
2020/09/28 08:28:55 [debug] 10417\#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:38:59 [error] 11036\#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:38:59 [debug] 11036\#0: *4 lua udp recv returned -1
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua udp socket handle error
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua udp socket receive return value handler
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua udp socket error retval handler
2020/09/28 08:38:59 [error] 11036\#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:38:59 [debug] 11036\#0: *4 lua resume returned 0
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua light thread ended normally
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua deleting light thread
2020/09/28 08:38:59 [debug] 11036\#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:38:59 [error] 11036\#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:38:59 [debug] 11036\#0: *4 lua resume returned 0
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua light thread ended normally
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua deleting light thread
2020/09/28 08:38:59 [debug] 11036\#0: *4 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:38:59 [debug] 11036\#0: *4 http lua fake request count:1
2020/09/28 08:38:59 [debug] 11036\#0: *4 http lua close fake request
2020/09/28 08:38:59 [debug] 11036\#0: *4 cleanup lua udp socket upstream request: ""
2020/09/28 08:38:59 [debug] 11036\#0: *4 lua finalize socket
2020/09/28 08:38:59 [debug] 11036\#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:39:00 [error] 11036\#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:39:00 [debug] 11036\#0: *9 lua udp recv returned -1
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua udp socket handle error
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua udp socket receive return value handler
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua udp socket error retval handler
2020/09/28 08:39:00 [error] 11036\#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:39:00 [debug] 11036\#0: *9 lua resume returned 0
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua light thread ended normally
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua deleting light thread
2020/09/28 08:39:00 [debug] 11036\#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:39:00 [error] 11036\#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:39:00 [debug] 11036\#0: *9 lua resume returned 0
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua light thread ended normally
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua deleting light thread
2020/09/28 08:39:00 [debug] 11036\#0: *9 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:39:00 [debug] 11036\#0: *9 http lua fake request count:1
2020/09/28 08:39:00 [debug] 11036\#0: *9 http lua close fake request
2020/09/28 08:39:00 [debug] 11036\#0: *9 cleanup lua udp socket upstream request: ""
2020/09/28 08:39:00 [debug] 11036\#0: *9 lua finalize socket
2020/09/28 08:39:00 [debug] 11036\#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:39:00 [error] 11036\#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:39:00 [debug] 11036\#0: *14 lua udp recv returned -1
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua udp socket handle error
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua udp socket receive return value handler
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua udp socket error retval handler
2020/09/28 08:39:00 [error] 11036\#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:39:00 [debug] 11036\#0: *14 lua resume returned 0
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua light thread ended normally
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua deleting light thread
2020/09/28 08:39:00 [debug] 11036\#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:39:00 [error] 11036\#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:39:00 [debug] 11036\#0: *14 lua resume returned 0
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua light thread ended normally
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua deleting light thread
2020/09/28 08:39:00 [debug] 11036\#0: *14 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:39:00 [debug] 11036\#0: *14 http lua fake request count:1
2020/09/28 08:39:00 [debug] 11036\#0: *14 http lua close fake request
2020/09/28 08:39:00 [debug] 11036\#0: *14 cleanup lua udp socket upstream request: ""
2020/09/28 08:39:00 [debug] 11036\#0: *14 lua finalize socket
2020/09/28 08:39:00 [debug] 11036\#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:41:32 [error] 11105\#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:41:32 [debug] 11105\#0: *7 lua udp recv returned -1
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua udp socket handle error
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua udp socket receive return value handler
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua udp socket error retval handler
2020/09/28 08:41:32 [error] 11105\#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:41:32 [debug] 11105\#0: *7 lua resume returned 0
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua light thread ended normally
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua deleting light thread
2020/09/28 08:41:32 [debug] 11105\#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:41:32 [error] 11105\#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:41:32 [debug] 11105\#0: *7 lua resume returned 0
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua light thread ended normally
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua deleting light thread
2020/09/28 08:41:32 [debug] 11105\#0: *7 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:41:32 [debug] 11105\#0: *7 http lua fake request count:1
2020/09/28 08:41:32 [debug] 11105\#0: *7 http lua close fake request
2020/09/28 08:41:32 [debug] 11105\#0: *7 cleanup lua udp socket upstream request: ""
2020/09/28 08:41:32 [debug] 11105\#0: *7 lua finalize socket
2020/09/28 08:41:32 [debug] 11105\#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:41:32 [error] 11105\#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:41:32 [debug] 11105\#0: *12 lua udp recv returned -1
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua udp socket handle error
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua udp socket receive return value handler
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua udp socket error retval handler
2020/09/28 08:41:32 [error] 11105\#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:41:32 [debug] 11105\#0: *12 lua resume returned 0
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua light thread ended normally
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua deleting light thread
2020/09/28 08:41:32 [debug] 11105\#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:41:32 [error] 11105\#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:41:32 [debug] 11105\#0: *12 lua resume returned 0
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua light thread ended normally
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua deleting light thread
2020/09/28 08:41:32 [debug] 11105\#0: *12 http lua finalize fake request: 0, a:1, c:1
2020/09/28 08:41:32 [debug] 11105\#0: *12 http lua fake request count:1
2020/09/28 08:41:32 [debug] 11105\#0: *12 http lua close fake request
2020/09/28 08:41:32 [debug] 11105\#0: *12 cleanup lua udp socket upstream request: ""
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua finalize socket
2020/09/28 08:41:32 [debug] 11105\#0: *12 lua close socket connection
'

Expected Failures

File Name Details
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
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 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)
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)
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 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)
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 8190 pending timers
'
expected: 'lua found 8191 pending timers
'
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
'
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
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
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 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 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 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 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
'
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.