(This page was automatically generated by the tools in the opsboy project on 08:31:08 04-Jul-2023 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
97b91899 2020-09-28 06:48:46 GMT 61 60 206 21462 1708 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 10:02:04 [error] 26807\#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 10:02:04 [debug] 26807\#0: *1 lua udp socket error retval handler
2020/09/28 10:02:04 [debug] 26807\#0: *1 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:00000000019326C0, p:0000000001932780
2020/09/28 10:02:04 [debug] 26807\#0: *1 free: 0000000001932780
2020/09/28 10:02:04 [debug] 26807\#0: *1 malloc: 000000000192F500:35
2020/09/28 10:02:04 [debug] 26807\#0: *1 malloc: 00000000019327A0:16
2020/09/28 10:02:04 [debug] 26807\#0: *1 lua say response
2020/09/28 10:02:04 [debug] 26807\#0: *1 http output filter "/t?"
2020/09/28 10:02:04 [debug] 26807\#0: *1 http copy filter: "/t?"
2020/09/28 10:02:04 [debug] 26807\#0: *1 lua capture body filter, uri "/t"
'
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 10:02:04 [error] 26807\#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 10:02:04 [debug] 26807\#0: *1 lua udp socket error retval handler
2020/09/28 10:02:04 [debug] 26807\#0: *1 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:00000000019326C0, p:0000000001932780
2020/09/28 10:02:04 [debug] 26807\#0: *1 free: 0000000001932780
2020/09/28 10:02:04 [debug] 26807\#0: *1 malloc: 000000000192F500:35
2020/09/28 10:02:04 [debug] 26807\#0: *1 malloc: 00000000019327A0:16
2020/09/28 10:02:04 [debug] 26807\#0: *1 lua say response
2020/09/28 10:02:04 [debug] 26807\#0: *1 http output filter "/t?"
2020/09/28 10:02:04 [debug] 26807\#0: *1 http copy filter: "/t?"
2020/09/28 10:02:04 [debug] 26807\#0: *1 lua capture body filter, uri "/t"
'
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 10:02:04 [error] 26807\#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 10:02:04 [debug] 26807\#0: *3 lua udp socket error retval handler
2020/09/28 10:02:04 [debug] 26807\#0: *3 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:00000000019326C0, p:0000000001932780
2020/09/28 10:02:04 [debug] 26807\#0: *3 free: 0000000001932780
2020/09/28 10:02:04 [debug] 26807\#0: *3 malloc: 000000000192F500:35
2020/09/28 10:02:04 [debug] 26807\#0: *3 malloc: 00000000019327A0:16
2020/09/28 10:02:04 [debug] 26807\#0: *3 lua say response
2020/09/28 10:02:04 [debug] 26807\#0: *3 http output filter "/t?"
2020/09/28 10:02:04 [debug] 26807\#0: *3 http copy filter: "/t?"
2020/09/28 10:02:04 [debug] 26807\#0: *3 lua capture body filter, uri "/t"
'
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 10:02:04 [error] 26813\#0: *27 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 10:02:04 [debug] 26813\#0: *27 lua udp socket error retval handler
2020/09/28 10:02:04 [debug] 26813\#0: *27 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:000000000190E1C0, p:000000000190E280
2020/09/28 10:02:04 [debug] 26813\#0: *27 free: 000000000190E280
2020/09/28 10:02:04 [debug] 26813\#0: *27 malloc: 000000000190E280:35
2020/09/28 10:02:04 [debug] 26813\#0: *27 malloc: 0000000001932060:16
2020/09/28 10:02:04 [debug] 26813\#0: *27 lua say response
2020/09/28 10:02:04 [debug] 26813\#0: *27 http output filter "/t?"
2020/09/28 10:02:04 [debug] 26813\#0: *27 http copy filter: "/t?"
2020/09/28 10:02:04 [debug] 26813\#0: *27 lua capture body filter, uri "/t"
'
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 10:02:04 [error] 26813\#0: *27 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 10:02:04 [debug] 26813\#0: *27 lua udp socket error retval handler
2020/09/28 10:02:04 [debug] 26813\#0: *27 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:000000000190E1C0, p:000000000190E280
2020/09/28 10:02:04 [debug] 26813\#0: *27 free: 000000000190E280
2020/09/28 10:02:04 [debug] 26813\#0: *27 malloc: 000000000190E280:35
2020/09/28 10:02:04 [debug] 26813\#0: *27 malloc: 0000000001932060:16
2020/09/28 10:02:04 [debug] 26813\#0: *27 lua say response
2020/09/28 10:02:04 [debug] 26813\#0: *27 http output filter "/t?"
2020/09/28 10:02:04 [debug] 26813\#0: *27 http copy filter: "/t?"
2020/09/28 10:02:04 [debug] 26813\#0: *27 lua capture body filter, uri "/t"
'
087-udp-socket.t TEST 21: send numbers - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:02:04 [error] 26813\#0: *29 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 10:02:04 [debug] 26813\#0: *29 lua udp socket error retval handler
2020/09/28 10:02:04 [debug] 26813\#0: *29 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:000000000190E1C0, p:000000000190E280
2020/09/28 10:02:04 [debug] 26813\#0: *29 free: 000000000190E280
2020/09/28 10:02:04 [debug] 26813\#0: *29 malloc: 000000000190E280:35
2020/09/28 10:02:04 [debug] 26813\#0: *29 malloc: 0000000001932060:16
2020/09/28 10:02:04 [debug] 26813\#0: *29 lua say response
2020/09/28 10:02:04 [debug] 26813\#0: *29 http output filter "/t?"
2020/09/28 10:02:04 [debug] 26813\#0: *29 http copy filter: "/t?"
2020/09/28 10:02:04 [debug] 26813\#0: *29 lua capture body filter, uri "/t"
'
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 10:02:05 [error] 26841\#0: *55 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 10:02:05 [debug] 26841\#0: *55 lua udp recv returned -1
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket handle error
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket waking up the current request
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp operation done, resuming lua thread
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket calling prepare retvals handler 0000000000517504, u:00007F23D7405358
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket receive return value handler
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket error retval handler
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua run thread, top:9 c:1
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua reuse free buf chain, but reallocate memory because 43 >= 10, cl:0000000001944B10, p:0000000001944B50
'
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 10:02:05 [error] 26841\#0: *55 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 10:02:05 [debug] 26841\#0: *55 lua udp recv returned -1
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket handle error
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket waking up the current request
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp operation done, resuming lua thread
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket calling prepare retvals handler 0000000000517504, u:00007F23D7405358
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket receive return value handler
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua udp socket error retval handler
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua run thread, top:9 c:1
2020/09/28 10:02:05 [debug] 26841\#0: *55 lua reuse free buf chain, but reallocate memory because 43 >= 10, cl:0000000001944B10, p:0000000001944B50
'
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 10:02:05 [error] 26841\#0: *57 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 10:02:05 [debug] 26841\#0: *57 lua udp recv returned -1
2020/09/28 10:02:05 [debug] 26841\#0: *57 lua udp socket handle error
2020/09/28 10:02:05 [debug] 26841\#0: *57 lua udp socket receive return value handler
2020/09/28 10:02:05 [debug] 26841\#0: *57 lua udp socket error retval handler
2020/09/28 10:02:05 [debug] 26841\#0: *57 lua reuse free buf chain, but reallocate memory because 43 >= 10, cl:000000000191D3F0, p:000000000191D430
2020/09/28 10:02:05 [debug] 26841\#0: *57 free: 000000000191D430
2020/09/28 10:02:05 [debug] 26841\#0: *57 malloc: 000000000192E0E0:43
2020/09/28 10:02:05 [debug] 26841\#0: *57 malloc: 000000000192E120:16
2020/09/28 10:02:05 [debug] 26841\#0: *57 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 10:02:06 [error] 26927\#0: *131 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 10:02:06 [debug] 26927\#0: *131 lua udp recv returned -1
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua udp socket handle error
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua udp socket receive return value handler
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua udp socket error retval handler
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua reuse free buf chain, but reallocate memory because 43 >= 10, cl:00000000019727A0, p:000000000190E160
2020/09/28 10:02:06 [debug] 26927\#0: *131 free: 000000000190E160
2020/09/28 10:02:06 [debug] 26927\#0: *131 malloc: 000000000196DE50:43
2020/09/28 10:02:06 [debug] 26927\#0: *131 malloc: 00000000019727E0:16
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua say response
'
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 10:02:06 [error] 26927\#0: *131 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 10:02:06 [debug] 26927\#0: *131 lua udp recv returned -1
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua udp socket handle error
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua udp socket receive return value handler
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua udp socket error retval handler
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua reuse free buf chain, but reallocate memory because 43 >= 10, cl:00000000019727A0, p:000000000190E160
2020/09/28 10:02:06 [debug] 26927\#0: *131 free: 000000000190E160
2020/09/28 10:02:06 [debug] 26927\#0: *131 malloc: 000000000196DE50:43
2020/09/28 10:02:06 [debug] 26927\#0: *131 malloc: 00000000019727E0:16
2020/09/28 10:02:06 [debug] 26927\#0: *131 lua say response
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:02:06 [error] 26927\#0: *133 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 10:02:06 [debug] 26927\#0: *133 lua udp recv returned -1
2020/09/28 10:02:06 [debug] 26927\#0: *133 lua udp socket handle error
2020/09/28 10:02:06 [debug] 26927\#0: *133 lua udp socket receive return value handler
2020/09/28 10:02:06 [debug] 26927\#0: *133 lua udp socket error retval handler
2020/09/28 10:02:06 [debug] 26927\#0: *133 lua reuse free buf chain, but reallocate memory because 43 >= 10, cl:0000000001964040, p:0000000001953C30
2020/09/28 10:02:06 [debug] 26927\#0: *133 free: 0000000001953C30
2020/09/28 10:02:06 [debug] 26927\#0: *133 malloc: 000000000195B070:43
2020/09/28 10:02:06 [debug] 26927\#0: *133 malloc: 0000000001964080:16
2020/09/28 10:02:06 [debug] 26927\#0: *133 lua say response
'
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to send: connection refused) 'connected
failed to send: connection refused
'
doesn't match '(?^s:^connected
1: received 12 bytes: []OK
2: received 12 bytes: []OK
$)'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:02:08 [error] 27070\#0: *259 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 10:02:08 [error] 27070\#0: *259 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 10:02:08 [error] 27070\#0: *261 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 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 10:02:09 [error] 27182\#0: *364 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 10:02:09 [debug] 27182\#0: *364 lua udp recv returned -1
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua udp socket handle error
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua udp socket receive return value handler
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua udp socket error retval handler
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua reuse free buf memory 38 >= 38, cl:0000000001959D90, p:0000000001918A20
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua say response
2020/09/28 10:02:09 [debug] 27182\#0: *364 http output filter "/t?"
2020/09/28 10:02:09 [debug] 27182\#0: *364 http copy filter: "/t?"
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua capture body filter, uri "/t"
'
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 10:02:09 [error] 27182\#0: *364 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 10:02:09 [debug] 27182\#0: *364 lua udp recv returned -1
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua udp socket handle error
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua udp socket receive return value handler
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua udp socket error retval handler
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua reuse free buf memory 38 >= 38, cl:0000000001959D90, p:0000000001918A20
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua say response
2020/09/28 10:02:09 [debug] 27182\#0: *364 http output filter "/t?"
2020/09/28 10:02:09 [debug] 27182\#0: *364 http copy filter: "/t?"
2020/09/28 10:02:09 [debug] 27182\#0: *364 lua capture body filter, uri "/t"
'
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 10:02:09 [error] 27182\#0: *367 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 10:02:09 [debug] 27182\#0: *367 lua udp recv returned -1
2020/09/28 10:02:09 [debug] 27182\#0: *367 lua udp socket handle error
2020/09/28 10:02:09 [debug] 27182\#0: *367 lua udp socket receive return value handler
2020/09/28 10:02:09 [debug] 27182\#0: *367 lua udp socket error retval handler
2020/09/28 10:02:09 [debug] 27182\#0: *367 lua reuse free buf memory 38 >= 38, cl:0000000001959D90, p:0000000001943020
2020/09/28 10:02:09 [debug] 27182\#0: *367 lua say response
2020/09/28 10:02:09 [debug] 27182\#0: *367 http output filter "/t?"
2020/09/28 10:02:09 [debug] 27182\#0: *367 http copy filter: "/t?"
2020/09/28 10:02:09 [debug] 27182\#0: *367 lua capture body filter, uri "/t"
'
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 10:02:10 [error] 27268\#0: *442 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 10:02:10 [debug] 27268\#0: *442 lua udp socket error retval handler
2020/09/28 10:02:10 [debug] 27268\#0: *442 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:000000000197C7D0, p:0000000001911070
2020/09/28 10:02:10 [debug] 27268\#0: *442 free: 0000000001911070
2020/09/28 10:02:10 [debug] 27268\#0: *442 malloc: 00000000019112B0:35
2020/09/28 10:02:10 [debug] 27268\#0: *442 malloc: 0000000001943070:16
2020/09/28 10:02:10 [debug] 27268\#0: *442 lua say response
2020/09/28 10:02:10 [debug] 27268\#0: *442 http output filter "/t?"
2020/09/28 10:02:10 [debug] 27268\#0: *442 http copy filter: "/t?"
2020/09/28 10:02:10 [debug] 27268\#0: *442 lua capture body filter, uri "/t"
'
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 10:02:10 [error] 27268\#0: *442 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 10:02:10 [debug] 27268\#0: *442 lua udp socket error retval handler
2020/09/28 10:02:10 [debug] 27268\#0: *442 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:000000000197C7D0, p:0000000001911070
2020/09/28 10:02:10 [debug] 27268\#0: *442 free: 0000000001911070
2020/09/28 10:02:10 [debug] 27268\#0: *442 malloc: 00000000019112B0:35
2020/09/28 10:02:10 [debug] 27268\#0: *442 malloc: 0000000001943070:16
2020/09/28 10:02:10 [debug] 27268\#0: *442 lua say response
2020/09/28 10:02:10 [debug] 27268\#0: *442 http output filter "/t?"
2020/09/28 10:02:10 [debug] 27268\#0: *442 http copy filter: "/t?"
2020/09/28 10:02:10 [debug] 27268\#0: *442 lua capture body filter, uri "/t"
'
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 10:02:10 [error] 27268\#0: *444 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 10:02:10 [debug] 27268\#0: *444 lua udp socket error retval handler
2020/09/28 10:02:10 [debug] 27268\#0: *444 lua reuse free buf chain, but reallocate memory because 35 >= 8, cl:000000000195D840, p:000000000194C740
2020/09/28 10:02:10 [debug] 27268\#0: *444 free: 000000000194C740
2020/09/28 10:02:10 [debug] 27268\#0: *444 malloc: 0000000001945B30:35
2020/09/28 10:02:10 [debug] 27268\#0: *444 malloc: 0000000001900E40:16
2020/09/28 10:02:10 [debug] 27268\#0: *444 lua say response
2020/09/28 10:02:10 [debug] 27268\#0: *444 http output filter "/t?"
2020/09/28 10:02:10 [debug] 27268\#0: *444 http copy filter: "/t?"
2020/09/28 10:02:10 [debug] 27268\#0: *444 lua capture body filter, uri "/t"
'
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 10:05:18 [error] 2622\#0: *592 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 10:05:18 [debug] 2622\#0: *592 lua udp recv returned -1
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua udp socket handle error
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua udp socket receive return value handler
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua udp socket error retval handler
2020/09/28 10:05:18 [error] 2622\#0: *592 [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 10:05:18 [debug] 2622\#0: *592 lua resume returned 0
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua light thread ended normally
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua deleting light thread
2020/09/28 10:05:18 [debug] 2622\#0: *592 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 10:05:18 [error] 2622\#0: *592 [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 10:05:18 [debug] 2622\#0: *592 lua resume returned 0
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua light thread ended normally
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua deleting light thread
2020/09/28 10:05:18 [debug] 2622\#0: *592 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:05:18 [debug] 2622\#0: *592 http lua fake request count:1
2020/09/28 10:05:18 [debug] 2622\#0: *592 http lua close fake request
2020/09/28 10:05:18 [debug] 2622\#0: *592 cleanup lua udp socket upstream request: ""
2020/09/28 10:05:18 [debug] 2622\#0: *592 lua finalize socket
2020/09/28 10:05:18 [debug] 2622\#0: *592 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 10:05:19 [error] 2622\#0: *595 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 10:05:19 [debug] 2622\#0: *595 lua udp recv returned -1
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua udp socket handle error
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua udp socket receive return value handler
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua udp socket error retval handler
2020/09/28 10:05:19 [error] 2622\#0: *595 [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 10:05:19 [debug] 2622\#0: *595 lua resume returned 0
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua light thread ended normally
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua deleting light thread
2020/09/28 10:05:19 [debug] 2622\#0: *595 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 10:05:19 [error] 2622\#0: *595 [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 10:05:19 [debug] 2622\#0: *595 lua resume returned 0
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua light thread ended normally
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua deleting light thread
2020/09/28 10:05:19 [debug] 2622\#0: *595 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:05:19 [debug] 2622\#0: *595 http lua fake request count:1
2020/09/28 10:05:19 [debug] 2622\#0: *595 http lua close fake request
2020/09/28 10:05:19 [debug] 2622\#0: *595 cleanup lua udp socket upstream request: ""
2020/09/28 10:05:19 [debug] 2622\#0: *595 lua finalize socket
2020/09/28 10:05:19 [debug] 2622\#0: *595 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 10:06:07 [error] 4480\#0: *398 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 0) 2020/09/28 10:06:07 [debug] 4480\#0: *398 lua udp recv returned -1
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua udp socket handle error
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua udp socket receive return value handler
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua udp socket error retval handler
2020/09/28 10:06:07 [error] 4480\#0: *398 [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 10:06:07 [debug] 4480\#0: *398 lua resume returned 0
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua light thread ended normally
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua deleting light thread
2020/09/28 10:06:07 [debug] 4480\#0: *398 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 10:06:07 [error] 4480\#0: *398 [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 10:06:07 [debug] 4480\#0: *398 lua resume returned 0
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua light thread ended normally
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua deleting light thread
2020/09/28 10:06:07 [debug] 4480\#0: *398 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:06:07 [debug] 4480\#0: *398 http lua fake request count:1
2020/09/28 10:06:07 [debug] 4480\#0: *398 http lua close fake request
2020/09/28 10:06:07 [debug] 4480\#0: *398 cleanup lua udp socket upstream request: ""
2020/09/28 10:06:07 [debug] 4480\#0: *398 lua finalize socket
2020/09/28 10:06:07 [debug] 4480\#0: *398 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 10:06:07 [error] 4480\#0: *401 recv() failed (111: Connection refused), context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:1984" (req 1) 2020/09/28 10:06:07 [debug] 4480\#0: *401 lua udp recv returned -1
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua udp socket handle error
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua udp socket receive return value handler
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua udp socket error retval handler
2020/09/28 10:06:07 [error] 4480\#0: *401 [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 10:06:07 [debug] 4480\#0: *401 lua resume returned 0
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua light thread ended normally
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua deleting light thread
2020/09/28 10:06:07 [debug] 4480\#0: *401 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 10:06:07 [error] 4480\#0: *401 [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 10:06:07 [debug] 4480\#0: *401 lua resume returned 0
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua light thread ended normally
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua deleting light thread
2020/09/28 10:06:07 [debug] 4480\#0: *401 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:06:07 [debug] 4480\#0: *401 http lua fake request count:1
2020/09/28 10:06:07 [debug] 4480\#0: *401 http lua close fake request
2020/09/28 10:06:07 [debug] 4480\#0: *401 cleanup lua udp socket upstream request: ""
2020/09/28 10:06:07 [debug] 4480\#0: *401 lua finalize socket
2020/09/28 10:06:07 [debug] 4480\#0: *401 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 10:08:37 [error] 11294\#0: *326 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 10:08:37 [debug] 11294\#0: *326 lua udp recv returned -1
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua udp socket handle error
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua udp socket receive return value handler
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua udp socket error retval handler
2020/09/28 10:08:37 [error] 11294\#0: *326 [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 10:08:37 [debug] 11294\#0: *326 lua resume returned 0
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua light thread ended normally
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua deleting light thread
2020/09/28 10:08:37 [debug] 11294\#0: *326 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 10:08:37 [error] 11294\#0: *326 [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 10:08:37 [debug] 11294\#0: *326 lua resume returned 0
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua light thread ended normally
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua deleting light thread
2020/09/28 10:08:37 [debug] 11294\#0: *326 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:08:37 [debug] 11294\#0: *326 http lua fake request count:1
2020/09/28 10:08:37 [debug] 11294\#0: *326 http lua close fake request
2020/09/28 10:08:37 [debug] 11294\#0: *326 cleanup lua udp socket upstream request: ""
2020/09/28 10:08:37 [debug] 11294\#0: *326 lua finalize socket
2020/09/28 10:08:37 [debug] 11294\#0: *326 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 10:08:37 [error] 11294\#0: *331 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 10:08:37 [debug] 11294\#0: *331 lua udp recv returned -1
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua udp socket handle error
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua udp socket receive return value handler
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua udp socket error retval handler
2020/09/28 10:08:37 [error] 11294\#0: *331 [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 10:08:37 [debug] 11294\#0: *331 lua resume returned 0
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua light thread ended normally
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua deleting light thread
2020/09/28 10:08:37 [debug] 11294\#0: *331 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 10:08:37 [error] 11294\#0: *331 [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 10:08:37 [debug] 11294\#0: *331 lua resume returned 0
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua light thread ended normally
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua deleting light thread
2020/09/28 10:08:37 [debug] 11294\#0: *331 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:08:37 [debug] 11294\#0: *331 http lua fake request count:1
2020/09/28 10:08:37 [debug] 11294\#0: *331 http lua close fake request
2020/09/28 10:08:37 [debug] 11294\#0: *331 cleanup lua udp socket upstream request: ""
2020/09/28 10:08:37 [debug] 11294\#0: *331 lua finalize socket
2020/09/28 10:08:37 [debug] 11294\#0: *331 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 10:08:37 [error] 11294\#0: *336 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 10:08:37 [debug] 11294\#0: *336 lua udp recv returned -1
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua udp socket handle error
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua udp socket receive return value handler
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua udp socket error retval handler
2020/09/28 10:08:37 [error] 11294\#0: *336 [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 10:08:37 [debug] 11294\#0: *336 lua resume returned 0
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua light thread ended normally
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua deleting light thread
2020/09/28 10:08:37 [debug] 11294\#0: *336 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 10:08:37 [error] 11294\#0: *336 [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 10:08:37 [debug] 11294\#0: *336 lua resume returned 0
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua light thread ended normally
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua deleting light thread
2020/09/28 10:08:37 [debug] 11294\#0: *336 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:08:37 [debug] 11294\#0: *336 http lua fake request count:1
2020/09/28 10:08:37 [debug] 11294\#0: *336 http lua close fake request
2020/09/28 10:08:37 [debug] 11294\#0: *336 cleanup lua udp socket upstream request: ""
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua finalize socket
2020/09/28 10:08:37 [debug] 11294\#0: *336 lua close socket connection
'
163-signal.t TEST 2: exit after receiving SIGHUP in single process mode - pattern "(?^:\[notice\] \d+\#\d+: exit$)" should match a line in error.log (req 0)
163-signal.t TEST 1: SIGHUP followed by SIGQUIT - pattern "(?^:\[notice\] \d+\#\d+: reconfiguring)" should not match any line in error.log but matches line "2020/09/28 10:10:15 [notice] 16158\#0: reconfiguring" (req 0) 2020/09/28 10:10:15 [debug] 16158\#0: malloc: 0000000000FFA930:48
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 000000000101A940:672
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 0000000001000C50:16
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 0000000000FFDFD0:52
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 00000000010043F0:16
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 0000000000FFF720:47
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 00000000010044A0:16
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 0000000001016070:63
2020/09/28 10:10:15 [debug] 16158\#0: malloc: 0000000001004550: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:49:10 [debug] 16700\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/09/28 09:49:10 [debug] 16700\#0: *255 http keepalive handler
2020/09/28 09:49:10 [debug] 16700\#0: *255 close http connection: 5
2020/09/28 09:49:10 [debug] 16700\#0: *255 event timer del: 5: 10943199
2020/09/28 09:49:10 [debug] 16700\#0: *255 reusable connection: 0
2020/09/28 09:49:10 [debug] 16700\#0: *255 free: 0000000000A11430, unused: 0
2020/09/28 09:49:10 [debug] 16700\#0: *255 free: 00000000009E4450, unused: 0
2020/09/28 09:49:10 [debug] 16700\#0: *255 free: 0000000000A33EB0, unused: 0
2020/09/28 09:49:10 [debug] 16700\#0: *255 free: 00000000009F2BC0, unused: 0
2020/09/28 09:49:10 [debug] 16700\#0: *255 free: 0000000000A39820, unused: 0
'
Looks like you failed 1 test of 138.
043-shdict.t TEST 28: add key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-add: true nil false
+add: false exists false
-foo = 10502
+foo = hello, world
'
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 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
043-shdict.t TEST 45: flush_expires - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '1
'
043-shdict.t TEST 48: flush_expires a dict without expired items - response_body - response is expected (repeated req 0, req 0) got: '58
'
expected: '0
'
043-shdict.t TEST 55: list all keys in a shdict with all keys expired - response_body - response is expected (repeated req 0, req 0) got: '1
'
expected: '0
'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '0
'
043-shdict.t TEST 6: expired entries (can be auto-removed by get) - response_body - response is expected (repeated req 0, req 0) got: '32
'
expected: 'nil
'
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 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '3
'
expected: '0
'
043-shdict.t TEST 12: get non-existent keys - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-nil
+10502
-nil
+10502
'
043-shdict.t TEST 49: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-2
+3
bah
bar
+foo
'
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 10:00:24 [debug] 21087\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0) 2020/09/28 10:00:24 [debug] 21087\#0: *267 http keepalive handler
2020/09/28 10:00:24 [debug] 21087\#0: *267 close http connection: 7
2020/09/28 10:00:24 [debug] 21087\#0: *267 event timer del: 7: 11616353
2020/09/28 10:00:24 [debug] 21087\#0: *267 reusable connection: 0
2020/09/28 10:00:24 [debug] 21087\#0: *267 free: 00000000008F1EC0, unused: 0
2020/09/28 10:00:24 [debug] 21087\#0: *267 free: 00000000008F1EA0, unused: 0
2020/09/28 10:00:24 [debug] 21087\#0: *267 free: 00000000008F1E60, unused: 0
2020/09/28 10:00:24 [debug] 21087\#0: *267 free: 00000000008FB2F0, unused: 0
2020/09/28 10:00:24 [debug] 21087\#0: *267 free: 00000000009240B0, 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 10:00:26 [debug] 21216\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/09/28 10:00:26 [debug] 21216\#0: lua tcp socket keepalive close handler: fd:7
2020/09/28 10:00:26 [debug] 21216\#0: event timer del: 7: 11611353
2020/09/28 10:00:26 [debug] 21216\#0: reusable connection: 0
2020/09/28 10:00:26 [debug] 21216\#0: lua tcp socket keepalive: free connection pool for "B"
2020/09/28 10:00:26 [notice] 21216\#0: exiting
2020/09/28 10:00:26 [debug] 21216\#0: flush files
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 00000000008AFDC0
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 000000000092B3D0
2020/09/28 10:00:26 [debug] 21216\#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 10:00:26 [debug] 21216\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/09/28 10:00:26 [notice] 21216\#0: exiting
2020/09/28 10:00:26 [debug] 21216\#0: flush files
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 00000000008AFDC0
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 000000000092B3D0
2020/09/28 10:00:26 [debug] 21216\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 10:00:26 [debug] 21216\#0: lua close the global Lua VM 00007FF725589378
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 000000000092B390
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 000000000092B350
2020/09/28 10:00:26 [debug] 21216\#0: run cleanup: 00000000008ACB40
'
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 10:00:26 [debug] 21246\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0) 2020/09/28 10:00:26 [notice] 21246\#0: exiting
2020/09/28 10:00:26 [debug] 21246\#0: flush files
2020/09/28 10:00:26 [debug] 21246\#0: run cleanup: 00000000008A9E20
2020/09/28 10:00:26 [debug] 21246\#0: run cleanup: 00000000009132B0
2020/09/28 10:00:26 [debug] 21246\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 10:00:26 [debug] 21246\#0: lua close the global Lua VM 00007FF725529378
2020/09/28 10:00:26 [debug] 21246\#0: run cleanup: 0000000000913270
2020/09/28 10:00:26 [debug] 21246\#0: run cleanup: 00000000008ADC60
2020/09/28 10:00:26 [debug] 21246\#0: run cleanup: 000000000091C7A0
'
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 10:00:26 [debug] 21276\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/09/28 10:00:26 [debug] 21276\#0: lua tcp socket keepalive close handler: fd:7
2020/09/28 10:00:26 [debug] 21276\#0: event timer del: 7: 11612153
2020/09/28 10:00:26 [debug] 21276\#0: reusable connection: 0
2020/09/28 10:00:26 [debug] 21276\#0: lua tcp socket keepalive: free connection pool for "B"
2020/09/28 10:00:26 [debug] 21276\#0: worker cycle
2020/09/28 10:00:26 [debug] 21276\#0: epoll timer: 59748
2020/09/28 10:00:26 [debug] 21276\#0: epoll: fd:3 ev:2011 d:00000000009333A0
2020/09/28 10:00:26 [debug] 21276\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 10:00:26 [debug] 21276\#0: *429 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 10:00:26 [debug] 21276\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0) 2020/09/28 10:00:26 [debug] 21276\#0: worker cycle
2020/09/28 10:00:26 [debug] 21276\#0: epoll timer: 59748
2020/09/28 10:00:26 [debug] 21276\#0: epoll: fd:3 ev:2011 d:00000000009333A0
2020/09/28 10:00:26 [debug] 21276\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 10:00:26 [debug] 21276\#0: *429 http wait request handler
2020/09/28 10:00:26 [debug] 21276\#0: *429 malloc: 0000000000908A70:80
2020/09/28 10:00:26 [debug] 21276\#0: *429 malloc: 000000000091E620:16
2020/09/28 10:00:26 [debug] 21276\#0: *429 malloc: 00000000008E8880:1024
2020/09/28 10:00:26 [debug] 21276\#0: *429 malloc: 0000000000916990: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 10:00:27 [debug] 21306\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0) 2020/09/28 10:00:27 [debug] 21306\#0: worker cycle
2020/09/28 10:00:27 [debug] 21306\#0: epoll timer: 59764
2020/09/28 10:00:27 [debug] 21306\#0: epoll: fd:3 ev:2011 d:000000000092BB71
2020/09/28 10:00:27 [debug] 21306\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 10:00:27 [debug] 21306\#0: *455 http wait request handler
2020/09/28 10:00:27 [debug] 21306\#0: *455 malloc: 000000000090F440:80
2020/09/28 10:00:27 [debug] 21306\#0: *455 malloc: 00000000008C5330:16
2020/09/28 10:00:27 [debug] 21306\#0: *455 malloc: 00000000008D2A60:1024
2020/09/28 10:00:27 [debug] 21306\#0: *455 malloc: 00000000008DD170: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 10:00:31 [debug] 21569\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:11211\"" (req 0) 2020/09/28 10:00:31 [notice] 21569\#0: exiting
2020/09/28 10:00:31 [debug] 21569\#0: flush files
2020/09/28 10:00:31 [debug] 21569\#0: run cleanup: 00000000008AFDC0
2020/09/28 10:00:31 [debug] 21569\#0: run cleanup: 00000000008D3360
2020/09/28 10:00:31 [debug] 21569\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 10:00:31 [debug] 21569\#0: lua close the global Lua VM 00007FF725589378
2020/09/28 10:00:31 [debug] 21569\#0: run cleanup: 00000000008D3320
2020/09/28 10:00:31 [debug] 21569\#0: run cleanup: 00000000008D32E0
2020/09/28 10:00:31 [debug] 21569\#0: run cleanup: 000000000090CC70
'
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 10:00:31 [debug] 21597\#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 10:00:31 [debug] 21597\#0: worker cycle
2020/09/28 10:00:31 [debug] 21597\#0: epoll timer: 59740
2020/09/28 10:00:31 [debug] 21597\#0: epoll: fd:3 ev:2011 d:0000000000930E70
2020/09/28 10:00:31 [debug] 21597\#0: epoll_wait() error on fd:3 ev:2011
2020/09/28 10:00:31 [debug] 21597\#0: *709 http wait request handler
2020/09/28 10:00:31 [debug] 21597\#0: *709 malloc: 000000000091E0F0:80
2020/09/28 10:00:31 [debug] 21597\#0: *709 malloc: 00000000008DD170:16
2020/09/28 10:00:31 [debug] 21597\#0: *709 malloc: 0000000000909A20:1024
2020/09/28 10:00:31 [debug] 21597\#0: *709 malloc: 00000000008CC550: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
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 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
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:08:49 [error] 11738\#0: send() failed (111: Connection refused)" (req 0) 2020/09/28 10:08:49 [debug] 11738\#0: close listening unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock \#10
2020/09/28 10:08:49 [debug] 11738\#0: epoll del event: fd:7 op:2 ev:00000000
2020/09/28 10:08:49 [debug] 11738\#0: close listening 0.0.0.0:1984 \#7
2020/09/28 10:08:49 [notice] 11738\#0: exiting
2020/09/28 10:08:49 [debug] 11738\#0: flush files
2020/09/28 10:08:49 [debug] 11738\#0: run cleanup: 0000000001FD6510
2020/09/28 10:08:49 [debug] 11738\#0: run cleanup: 0000000002043BE0
2020/09/28 10:08:49 [debug] 11738\#0: lua decrementing the reference count for Lua VM: 1
2020/09/28 10:08:49 [debug] 11738\#0: lua close the global Lua VM 00007FBAE862D378
'
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 10:09:03 [error] 12491\#0: *183 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 10:09:03 [debug] 12491\#0: *183 lua udp recv returned -1
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua udp socket handle error
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua udp socket receive return value handler
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua udp socket error retval handler
2020/09/28 10:09:03 [error] 12491\#0: *183 [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 10:09:03 [debug] 12491\#0: *183 lua resume returned 0
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua light thread ended normally
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua deleting light thread
2020/09/28 10:09:03 [debug] 12491\#0: *183 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 10:09:03 [error] 12491\#0: *183 [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 10:09:03 [debug] 12491\#0: *183 lua resume returned 0
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua light thread ended normally
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua deleting light thread
2020/09/28 10:09:03 [debug] 12491\#0: *183 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:09:03 [debug] 12491\#0: *183 http lua fake request count:1
2020/09/28 10:09:03 [debug] 12491\#0: *183 http lua close fake request
2020/09/28 10:09:03 [debug] 12491\#0: *183 cleanup lua udp socket upstream request: ""
2020/09/28 10:09:03 [debug] 12491\#0: *183 lua finalize socket
2020/09/28 10:09:03 [debug] 12491\#0: *183 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 10:09:03 [error] 12491\#0: *188 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 10:09:03 [debug] 12491\#0: *188 lua udp recv returned -1
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua udp socket handle error
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua udp socket receive return value handler
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua udp socket error retval handler
2020/09/28 10:09:03 [error] 12491\#0: *188 [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 10:09:03 [debug] 12491\#0: *188 lua resume returned 0
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua light thread ended normally
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua deleting light thread
2020/09/28 10:09:03 [debug] 12491\#0: *188 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 10:09:03 [error] 12491\#0: *188 [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 10:09:03 [debug] 12491\#0: *188 lua resume returned 0
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua light thread ended normally
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua deleting light thread
2020/09/28 10:09:03 [debug] 12491\#0: *188 http lua finalize fake request: 0, a:1, c:1
2020/09/28 10:09:03 [debug] 12491\#0: *188 http lua fake request count:1
2020/09/28 10:09:03 [debug] 12491\#0: *188 http lua close fake request
2020/09/28 10:09:03 [debug] 12491\#0: *188 cleanup lua udp socket upstream request: ""
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua finalize socket
2020/09/28 10:09:03 [debug] 12491\#0: *188 lua close socket connection
'
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
'
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 4: replace 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 1: lpush & lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
push success
+2 nil
+bar nil
1 nil
bar nil
-0 nil
-nil nil
'
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
+bar
1
-2
-3
'
146-malloc-trim.t TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
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 6: zero count means off - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
expected: ''
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
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 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
doesn't match '(?^:\Amalloc_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 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
malloc_trim(1) returned 1
'
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 1
malloc_trim(1) returned 1
'
expected: ''
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 3: get_info - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
'
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
'
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
'
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.