(This page was automatically generated by the tools in the opsboy project on 14:29:50 30-Jun-2023 GMT.)

Detailed Test Report for ngx_stream_lua in linux i386 (o)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
b7f403cb 2022-05-30 07:16:36 GMT 169 911 117 10326 826 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 29a66f77

OpenSSL

OpenSSL 1.1.1n 15 Mar 2022

Compilation Errors

Unexpected Failures

File Name Details
023-preread/socket-keepalive.t TEST 1: sanity '
023-preread/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 1: sanity '
023-preread/socket-keepalive.t TEST 1: sanity - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 1: sanity - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections '
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections '
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - status code ok got: ''
expected: '200'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body_like - response is expected () ''
doesn't match '(?^s:^connected: 1, reused: \d+
request sent: 11
received: OK
connected: 1, reused: [1-9]\d*
request sent: 11
received: OK
)'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) '
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) '
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - status code ok got: ''
expected: '200'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-connected: 1, reused: 0
-request sent: 11
-received: OK
'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) '
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 21: cannot survive across request boundary (close) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to close: closed)$)'
058-tcp-socket.t TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 23: connect again immediately '
058-tcp-socket.t TEST 23: connect again immediately - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 23: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 11
-received: OK
-close: 1 nil
'
058-tcp-socket.t TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t TEST 24: two sockets mix together '
058-tcp-socket.t TEST 24: two sockets mix together - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 24: two sockets mix together - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-1: connected: 1
-2: connected: 1
-1: request sent: 11
-2: request sent: 57
-1: received: OK
-2: received: HTTP/1.1 200 OK
-1: close: 1 nil
-2: close: 1 nil
'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) '
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 20: cannot survive across request boundary (receive) - response_body_like - response is expected () ''
doesn't match '(?^:^(?:connected: 1
request sent: 11
received: OK|failed to receive a line: closed \[nil\])$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) '
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - status code ok got: ''
expected: '200'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
058-tcp-socket.t TEST 19: cannot survive across request boundary (send) - response_body_like - response is expected () ''
doesn't match '(?^s:^(?:connected: 1
request sent: 11
received: OK|failed to send request: closed)$)'
060-lua-memcached.t TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 1: sanity '
060-lua-memcached.t TEST 1: sanity - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'some_key: hello 1234
'
060-lua-memcached.t TEST 2: raw memcached '
060-lua-memcached.t TEST 2: raw memcached - status code ok got: ''
expected: '200'
060-lua-memcached.t TEST 2: raw memcached - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'some_key: hello 1234
'
066-socket-receiveuntil.t TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
066-socket-receiveuntil.t TEST 1: memcached read lines '
066-socket-receiveuntil.t TEST 1: memcached read lines - status code ok got: ''
expected: '200'
066-socket-receiveuntil.t TEST 1: memcached read lines - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-received: OK
-close: 1 nil
'
068-socket-keepalive.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1, reused: 0
request sent: 11
-received: OK
+failed to receive a line: timeout []
connected: 1, reused: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
'
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:27:59 [error] 20466\#20466: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:28:00 [error] 20466\#20466: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,6 @@
connected: 1, reused: 0
request sent: 11
-received: OK
+failed to receive a line: timeout []
connected: 1, reused: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
'
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:28:01 [error] 20481\#20481: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:28:02 [error] 20481\#20481: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
+failed to connect: timeout
connected: 1, reused: 0
-connected: 1, reused: 1
'
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:28:14 [error] 20593\#20593: *3 stream lua tcp socket connect timed out, when connecting to 127.0.0.1:11211, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +1,8 @@
connected: 1, reused: 0
request sent: 11
-received: OK
+failed to receive a line: timeout []
connected: 1, reused: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
reused: 1
reused: 0
'
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:28:20 [error] 20658\#20658: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:28:21 [error] 20658\#20658: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool '
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: A, reused: 0
-connected: B, reused: 0
-connected: A, reused: 1
-connected: B, reused: 1
-reused: 1
-reused: 0
'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog '
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-request sent: 11
-received: OK
-setkeepalive: OK
'
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) '
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) - status code ok got: ''
expected: '200'
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-timeout
-connected in uthread
-ok
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data '
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - status code ok got: ''
expected: '200'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-request sent: 11
-read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:29:15 [error] 21094\#21094: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
071-idle-socket.t TEST 2: read timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,5 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
request sent again: 11
close: 1 nil
'
071-idle-socket.t TEST 2: read timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:29:16 [error] 21094\#21094: *7 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) '
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:29:17 [error] 21110\#21110: *3 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
071-idle-socket.t TEST 4: send timer cleared in time - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
-received: OK
+failed to receive a line: timeout []
-close: 1 nil
'
071-idle-socket.t TEST 4: send timer cleared in time - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:29:18 [error] 21110\#21110: *7 stream lua tcp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) '
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: timeout
'
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 "2022/05/30 10:29:54 [error] 21614\#21614: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
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: timeout
'
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 "2022/05/30 10:29:54 [error] 21614\#21614: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:29:54 [info] 21614\#21614: *7 client 127.0.0.1:53504 connected to 0.0.0.0:1985
'
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 "2022/05/30 10:29:55 [error] 21614\#21614: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) '
087-udp-socket.t TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
087-udp-socket.t TEST 6: connect again immediately '
087-udp-socket.t TEST 6: connect again immediately - status code ok got: ''
expected: '200'
087-udp-socket.t TEST 6: connect again immediately - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-connected: 1
-connected again: 1
-request sent: 1
-received: OK
-
-close: 1 nil
'
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: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:30:08 [error] 21733\#21733: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
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: timeout
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:30:08 [error] 21733\#21733: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:30:08 [info] 21733\#21733: *7 client 127.0.0.1:53548 connected to 0.0.0.0:1985
'
087-udp-socket.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:30:09 [error] 21733\#21733: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) '
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
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 "2022/05/30 10:30:10 [error] 21748\#21748: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) '
087-udp-socket.t TEST 2: multiple parallel queries - response_body_like - response is expected (connected failed to receive data: timeout) 'connected
failed to receive data: timeout
'
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 "2022/05/30 10:30:10 [error] 21748\#21748: *3 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2022/05/30 10:30:11 [info] 21748\#21748: *7 client 127.0.0.1:53552 connected to 0.0.0.0:1985
'
087-udp-socket.t TEST 2: multiple parallel queries - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:30:12 [error] 21748\#21748: *7 lua udp socket read timed out, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp '
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - status code ok got: ''
expected: '200'
093-uthread-spawn.t TEST 16: user threads + ngx.socket.tcp - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-before
-after
-received: OK
'
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 "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 "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 "received 12 bytes: OK " should match a line in error.log (req 1)'
124-init-worker.t TEST 4: timer.at + cosocket - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - response_body - response is expected (repeated req 0, req 0) got: 'timed out
'
expected: 'ok
'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) '
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - status code ok got: ''
expected: '200'
128-duplex-tcp-socket.t TEST 1: pipelined memcached requests (sent one byte at a time) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-connected: 1
-received: OK
-received: END
-received: END
-setkeepalive: 1 nil
'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t TEST 2: read timeout errors won't affect writing - response_body_like - response is expected (connected: 1 partial read: read timed out: 300 close: 1 nil) 'connected: 1
partial read:
read timed out: 300
close: 1 nil
'
doesn't match '(?^s:^connected: 1
(?:received: OK|failed to send request: timeout
partial read: )
read timed out: [1-9]\d*
close: 1 nil$)'
128-duplex-tcp-socket.t TEST 8: concurrent operations while reading (receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,9 @@
-connect: 1 nil
+connect: nil timeout
-receive: nil socket busy reading
+receiveuntil() iterator: nil closed
-send: 9 nil
+close: nil closed
-close: nil socket busy reading
+receive: nil closed
-getreusedtimes: 0 nil
+send: nil closed
-setkeepalive: nil socket busy reading
+close: nil closed
-connect: nil socket busy reading
+getreusedtimes: nil closed
-receiveuntil() iterator: nil timeout
+setkeepalive: nil closed
-close: 1 nil
+connect: nil timeout
'
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:12 [error] 24551\#24551: *6 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2022/05/30 10:34:12 [error] 24551\#24551: *6 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:12 [error] 24551\#24551: *6 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) '
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:14 [error] 24551\#24551: *13 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:34:14 [error] 24551\#24551: *13 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:14 [error] 24551\#24551: *13 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) '
139-ssl-cert-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:16 [error] 24551\#24551: *20 stream lua tcp socket read timed out, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:34:16 [error] 24551\#24551: *20 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
139-ssl-cert-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:16 [error] 24551\#24551: *20 stream [lua] ssl_certificate_by_lua:20: failed to receive memc reply: timeout, context: ssl_certificate_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) '
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:47 [error] 25050\#25050: *6 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2022/05/30 10:34:47 [error] 25050\#25050: *6 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:47 [error] 25050\#25050: *6 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) '
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:49 [error] 25050\#25050: *13 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:34:49 [error] 25050\#25050: *13 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:49 [error] 25050\#25050: *13 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) '
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:51 [error] 25050\#25050: *20 lua udp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:34:51 [error] 25050\#25050: *20 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:51 [error] 25050\#25050: *20 stream [lua] ssl_client_hello_by_lua:21: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) '
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:53 [error] 25092\#25092: *6 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) 2022/05/30 10:34:53 [error] 25092\#25092: *6 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:53 [error] 25092\#25092: *6 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 0) '
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:55 [error] 25092\#25092: *13 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) 2022/05/30 10:34:55 [error] 25092\#25092: *13 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:55 [error] 25092\#25092: *13 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 1) '
162-ssl-client-hello-by.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: timeout
-received: it works!
-close: 1 nil
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:57 [error] 25092\#25092: *20 stream lua tcp socket read timed out, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) 2022/05/30 10:34:57 [error] 25092\#25092: *20 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock
'
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2022/05/30 10:34:57 [error] 25092\#25092: *20 stream [lua] ssl_client_hello_by_lua:20: failed to receive memc reply: timeout, context: ssl_client_hello_by_lua*, client: unix:, server: unix:/home/ec2-user/git/stream-lua-nginx-module/t/servroot/html/nginx.sock" (req 2) '

Expected Failures

File Name Details
002-content.t TEST 9: multiple eof - pattern "lua send eof" should match a line in error.log (req 0)
002-content.t TEST 9: multiple eof - pattern "lua send eof" should match a line in error.log (req 1)
023-preread/exit.t TEST 1: throw 500 - pattern "finalize stream request: 500" should match a line in error.log (req 0)
023-preread/exit.t TEST 1: throw 500 - pattern "finalize stream request: 500" should match a line in error.log (req 1)
023-preread/req-socket.t TEST 8: peeking preread buffer, timedout - pattern "finalize stream session: 200" should match a line in error.log (req 0)
023-preread/req-socket.t TEST 8: peeking preread buffer, timedout - pattern "finalize stream session: 200" should match a line in error.log (req 1)
023-preread/req-socket.t TEST 7: peeking preread buffer, buffer size is small - pattern "finalize stream session: 400" should match a line in error.log (req 0)
023-preread/req-socket.t TEST 7: peeking preread buffer, buffer size is small - pattern "finalize stream session: 400" should match a line in error.log (req 1)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 0)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 1)
023-preread/sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "lua ready to sleep for" should match a line in error.log (req 0)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "lua ready to sleep for" should match a line in error.log (req 1)
023-preread/sleep.t TEST 1: sleep 0.5 - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 0)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 1)
023-preread/sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "lua ready to sleep for" should match a line in error.log (req 0)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "lua ready to sleep for" should match a line in error.log (req 1)
023-preread/sleep.t TEST 3: sleep 0.5 - multi-times - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
023-preread/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"
-lua tcp socket get keepalive peer: using connection
'
023-preread/socket-keepalive.t TEST 1: sanity - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-lua tcp socket get keepalive peer: using connection
-lua tcp socket get keepalive peer: using connection
'
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
023-preread/socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket read timeout: 150" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket read timeout: 150" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket send timeout: 150" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket send timeout: 150" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 10: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 10: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 15: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 15: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 150" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 150" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 5: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 5: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
025-codecache.t TEST 26: make sure inline code keys are correct - grep_error_log_out (req 0) @@ -1,4 +0,0 @@
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_68f5f4e946c3efd1cc206452b807e8b6'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_042c9b3a136fbacbbd0e4b9ad10896b7'
'
025-codecache.t TEST 26: make sure inline code keys are correct - grep_error_log_out (req 1) @@ -1,8 +0,0 @@
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_68f5f4e946c3efd1cc206452b807e8b6'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_042c9b3a136fbacbbd0e4b9ad10896b7'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_68f5f4e946c3efd1cc206452b807e8b6'
-looking up Lua code cache with key 'nhlf_48a9a7def61143c003a7de1644e026e4'
-looking up Lua code cache with key 'nhlf_042c9b3a136fbacbbd0e4b9ad10896b7'
'
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 20: GC issue with the on_abort thread object - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 0)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 1)
025-codecache.t TEST 23: cosocket connection pool timeout (before Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 18: lua variable sharing via upvalue - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 25: make sure inline code keys are correct - grep_error_log_out (req 0) @@ -1,4 +0,0 @@
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
'
025-codecache.t TEST 25: make sure inline code keys are correct - grep_error_log_out (req 1) @@ -1,8 +0,0 @@
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_ad58d60a0f20ae31b1a282e74053d356'
-looking up Lua code cache with key '=content_by_lua(proxy.conf:3)nhli_9c867c93f28b91041fe132817b43ad07'
'
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 19: lua_max_running_timers (just not enough) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 21: multiple parallel timers - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 3" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
025-codecache.t TEST 24: lua_max_running_timers (just not enough, also low lua_max_pending_timers) - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 1)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "(?^:\blua tcp socket keepalive: free connection pool [0-9A-F]+ for "127.0.0.1:)" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua finalize fake request" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close the global Lua VM" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua finalize fake request" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close the global Lua VM" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 2" should match a line in error.log (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 1" should match a line in error.log (req 1)
047-match-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
047-match-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
047-match-jit.t TEST 4: not matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
047-match-jit.t TEST 3: matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
047-match-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
047-match-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 8: gmatch matched but only iterate once and still matches remain + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 2: fail to match - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 2: fail to match - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 3: gmatch matched but no iterate - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 3: gmatch matched but no iterate - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 7: gmatch matched but no iterate + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 1: gmatch matched - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 1: gmatch matched - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 4: gmatch matched but only iterate once and still matches remain - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
049-gmatch-jit.t TEST 4: gmatch matched but only iterate once and still matches remain - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
049-gmatch-jit.t TEST 5: gmatch matched + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
049-gmatch-jit.t TEST 6: fail to match + o - grep_error_log_out (req 0) got: ""
length: 0
expected: "pcre JIT compiling result: 1\x{0a}"
length: 29
strings begin to differ at char 1 (line 1 column 1)
051-sub-jit.t TEST 4: not matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
051-sub-jit.t TEST 3: matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
051-sub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
051-sub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
051-sub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
051-sub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
053-gsub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
053-gsub-jit.t TEST 1: matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
053-gsub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 0)
053-gsub-jit.t TEST 2: not matched with j - pattern "pcre JIT compiling result: 1" should match a line in error.log (req 1)
053-gsub-jit.t TEST 3: matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
053-gsub-jit.t TEST 4: not matched with jo - grep_error_log_out (req 0) got: ''
expected: 'pcre JIT compiling result: 1
'
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 1)
056-flush.t TEST 4: flush wait in a user coroutine - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 0)
056-flush.t TEST 4: flush wait in a user coroutine - pattern "lua reuse free buf memory 13 >= 5" should match a line in error.log (req 1)
058-tcp-socket.t TEST 40: u->coctx left over bug - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
058-tcp-socket.t TEST 40: u->coctx left over bug - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - pattern "lua tcp socket calling receiveany() method to read at most 7 bytes" should match a line in error.log (req 0)
058-tcp-socket.t TEST 66: receiveany with limited, max is smaller than data - pattern "lua tcp socket calling receiveany() method to read at most 7 bytes" should match a line in error.log (req 1)
058-tcp-socket.t TEST 49: tcp_nodelay on - pattern "stream lua socket tcp_nodelay" should match a line in error.log (req 0)
058-tcp-socket.t TEST 49: tcp_nodelay on - pattern "stream lua socket tcp_nodelay" should match a line in error.log (req 1)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 0)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 1)
058-tcp-socket.t TEST 33: reread after a read time out happen (receive -> receive) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
058-tcp-socket.t TEST 61: TCP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua tcp socket request" should match a line in error.log (req 0)
058-tcp-socket.t TEST 61: TCP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua tcp socket request" should match a line in error.log (req 1)
058-tcp-socket.t TEST 62: receiveany method in cosocket - pattern "lua tcp socket read any" should match a line in error.log (req 0)
058-tcp-socket.t TEST 62: receiveany method in cosocket - pattern "lua tcp socket read any" should match a line in error.log (req 1)
058-tcp-socket.t TEST 48: cosocket resolving aborted by coroutine yielding failures (xpcall err) - pattern "resolve name done" should match a line in error.log (req 0)
058-tcp-socket.t TEST 48: cosocket resolving aborted by coroutine yielding failures (xpcall err) - pattern "resolve name done" should match a line in error.log (req 1)
058-tcp-socket.t TEST 52: kill a thread with a connecting socket - pattern "stream lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
058-tcp-socket.t TEST 52: kill a thread with a connecting socket - pattern "stream lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - pattern "lua tcp socket calling receiveany() method to read at most 128 bytes" should match a line in error.log (req 0)
058-tcp-socket.t TEST 65: receiveany with limited, max is larger than data - pattern "lua tcp socket calling receiveany() method to read at most 128 bytes" should match a line in error.log (req 1)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 0)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua tcp socket reconnect without shutting down" should match a line in error.log (req 0)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 1)
058-tcp-socket.t TEST 23: connect again immediately - pattern "lua tcp socket reconnect without shutting down" should match a line in error.log (req 1)
058-tcp-socket.t TEST 53: reuse cleanup - pattern "lua stream cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 53: reuse cleanup - pattern "lua stream cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 47: cosocket resolving aborted by coroutine yielding failures (require) - pattern "resolve name done" should match a line in error.log (req 0)
058-tcp-socket.t TEST 47: cosocket resolving aborted by coroutine yielding failures (require) - pattern "resolve name done" should match a line in error.log (req 1)
058-tcp-socket.t TEST 54: reuse cleanup in ngx.timer (fake_request) - pattern "lua stream cleanup reuse" should match a line in error.log (req 0)
058-tcp-socket.t TEST 54: reuse cleanup in ngx.timer (fake_request) - pattern "lua stream cleanup reuse" should match a line in error.log (req 1)
058-tcp-socket.t TEST 56: setkeepalive on socket already shutdown - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
058-tcp-socket.t TEST 56: setkeepalive on socket already shutdown - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 0)
060-lua-memcached.t TEST 2: raw memcached - pattern "lua reuse free buf memory" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket read timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 6: lua_socket_read_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 14: sock:settimeout(0) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 18: re-send on the same object after a send timeout happens - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 8: sock:settimeout(nil) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket send timeout: 150" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 12: sock:settimeout() overrides lua_socket_send_timeout - pattern "lua tcp socket send timeout: 150" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket read timeout: 10" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket read timeout: 10" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 21: read timeout on receive(N) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 13: sock:settimeout(nil) does not override lua_socket_send_timeout - pattern "lua tcp socket send timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 19: abort when upstream sockets pending on writes - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 20: abort when downstream socket pending on writes - pattern "stream lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 20: abort when downstream socket pending on writes - pattern "stream lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket send timeout: 100" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 11: lua_socket_send_timeout only - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 15: sock:settimeout(-1) does not override lua_socket_send_timeout - pattern "finalize stream request: 500" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 15: sock:settimeout(-1) does not override lua_socket_send_timeout - pattern "finalize stream request: 500" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 10: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 10: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 5: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 5: -1 is bad timeout value - pattern "finalize stream request: 500" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket read timeout: 150" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 7: sock:settimeout() overrides lua_socket_read_timeout - pattern "lua tcp socket read timeout: 150" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 9: sock:settimeout(0) does not override lua_socket_read_timeout - pattern "lua tcp socket read timeout: 102" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 150" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "lua tcp socket connect timeout: 150" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - pattern "lua tcp socket connect timeout: 100" should match a line in error.log (req 1)
067-req-socket.t TEST 12: req socket GC'd - grep_error_log_out (req 0) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
067-req-socket.t TEST 12: req socket GC'd - grep_error_log_out (req 1) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
068-socket-keepalive.t TEST 1: sanity - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 1: sanity - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 2: free up the whole connection pool if no active connections - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 3: upstream sockets close prematurely - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 5: lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 6: lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 1\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - pattern "lua tcp socket keepalive timeout: unlimited" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 7: "lua_socket_keepalive_timeout 0" means unlimited - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "lua tcp socket keepalive timeout: 123 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 8: setkeepalive(timeout) overrides lua_socket_keepalive_timeout - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "lua tcp socket keepalive timeout: 101 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 9: sock:setkeepalive(timeout, size) overrides lua_socket_pool_size - pattern "(?^:lua tcp socket connection pool size: 25\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - pattern "lua tcp socket keepalive timeout: unlimited" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 11: sock:keepalive_timeout(0) means unlimited - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 12: sanity (uds) - pattern "lua tcp socket keepalive create connection pool for key "unix:" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 15: custom pools (different pool for the same host:port) - tcp - pattern "lua tcp socket keepalive create connection pool for key "B"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive create connection pool for key "foo"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 16: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 17: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive create connection pool for key "B"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 18: custom pools (same pool for the same path) - unix - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket keepalive create connection pool for key "3.14"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 19: numeric pool option value - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive close handler" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive: free connection pool for " should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "lua tcp socket keepalive timeout: 100 ms" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 25: setkeepalive() with explicit nil args - pattern "(?^:lua tcp socket connection pool size: 30\b)" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "lua tcp socket keepalive create connection pool for key "127.0.0.1:11211"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 27: conn queuing: connect() can specify 'pool_size' which overrides setkeepalive() - pattern "lua tcp socket connection pool size: 1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket keepalive create connection pool for key "unix:" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 28: conn queuing: connect() can specify 'pool_size' for unix domain socket - pattern "lua tcp socket connection pool size: 1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket keepalive create connection pool for key "B"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 29: conn queuing: connect() can specify 'pool_size' for custom pool - pattern "lua tcp socket connection pool size: 1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 30: conn queuing: connect() uses lua_socket_pool_size as default if 'backlog' is given - pattern "lua tcp socket connection pool size: 1234" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - grep_error_log_out (req 0) @@ -1,4 +1,4 @@
-start to handle timer
start to handle cosocket
+start to handle timer
continue to handle timer
continue to handle cosocket
'
068-socket-keepalive.t TEST 32: conn queuing: once 'pool_size' is reached and pool has 'backlog' - pattern "lua tcp socket queue connect operation for connection pool "127.0.0.1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 34: conn queuing: connect until backlog is reached - grep_error_log_out (req 0) @@ -1,6 +1,4 @@
start to handle timer
-queue connect operation for connection pool
start to handle cosocket
-queue connect operation for connection pool
continue to handle timer
continue to handle cosocket
'
068-socket-keepalive.t TEST 34: conn queuing: connect until backlog is reached - pattern "lua tcp socket queue connect operation for connection pool "127.0.0.1" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 35: conn queuing: memory reuse for host in queueing connect operation ctx - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-queue connect operation for connection pool
-queue connect operation for connection pool
-queue connect operation for connection pool
'
068-socket-keepalive.t TEST 36: conn queuing: connect() returns error after connect operation resumed - grep_error_log_out (req 0) got: ''
expected: 'queue connect operation for connection pool
'
068-socket-keepalive.t TEST 37: conn queuing: in uthread - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-queue connect operation for connection pool
-queue connect operation for connection pool
'
068-socket-keepalive.t TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 45: conn queuing: resume connect operation if resumed connect failed (timeout) - pattern "queue connect operation for connection pool "test"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 46: conn queuing: resume connect operation if resumed connect failed (could not be resolved) - pattern "queue connect operation for connection pool "test"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 47: conn queuing: resume connect operation if resumed connect failed (connection refused) - pattern "queue connect operation for connection pool "test"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 48: conn queuing: resume connect operation if resumed connect failed (uthread aborted while resolving) - pattern "resume success" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 52: conn queuing: clean up pending connect operations which are in queue - pattern "lua tcp socket abort queueing" should match a line in error.log (req 0)
075-logby.t TEST 4: ngx.ctx available in log_by_lua (already defined) - pattern "lua release ngx.ctx" should match a line in error.log (req 0)
075-logby.t TEST 4: ngx.ctx available in log_by_lua (already defined) - pattern "lua release ngx.ctx" should match a line in error.log (req 1)
075-logby.t TEST 5: ngx.ctx available in log_by_lua (not defined yet) - pattern "lua release ngx.ctx" should match a line in error.log (req 0)
075-logby.t TEST 5: ngx.ctx available in log_by_lua (not defined yet) - pattern "lua release ngx.ctx" should match a line in error.log (req 1)
077-sleep.t TEST 9: ngx.sleep() fails to yield (require) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
077-sleep.t TEST 9: ngx.sleep() fails to yield (require) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 1: sleep 0.5 - content - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 8: ngx.sleep() fails to yield (xpcall err handler) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
077-sleep.t TEST 8: ngx.sleep() fails to yield (xpcall err handler) - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 5: sleep 0.5 - interleaved by ngx.say() - not ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 3: sleep 0.33 - multi-times in content - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 6: sleep 0 - pattern "lua ready to sleep for" should match a line in error.log (req 0)
077-sleep.t TEST 6: sleep 0 - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 6: sleep 0 - pattern "lua ready to sleep for" should match a line in error.log (req 1)
077-sleep.t TEST 6: sleep 0 - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 0)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 0)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "lua ready to sleep" should match a line in error.log (req 1)
077-sleep.t TEST 4: sleep 0.5 - interleaved by ngx.say() - ended by ngx.sleep - pattern "stream lua sleep timer expired" should match a line in error.log (req 1)
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "lua udp socket receive buffer size: 1400" should match a line in error.log (req 0)
087-udp-socket.t TEST 8: with an explicit receive buffer size argument - pattern "lua udp socket receive buffer size: 1400" should match a line in error.log (req 1)
087-udp-socket.t TEST 18: send boolean and nil - grep_error_log_out (req 0) ''
doesn't match '(?^:sendto: fd:\d+ 4 of 4
sendto: fd:\d+ 5 of 5
sendto: fd:\d+ 3 of 3)'
087-udp-socket.t TEST 18: send boolean and nil - grep_error_log_out (req 1) ''
doesn't match '(?^:sendto: fd:\d+ 4 of 4
sendto: fd:\d+ 5 of 5
sendto: fd:\d+ 3 of 3)'
087-udp-socket.t TEST 19: UDP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua udp socket upstream request" should match a line in error.log (req 0)
087-udp-socket.t TEST 19: UDP socket GC'ed in preread phase without Lua content phase - pattern "cleanup lua udp socket upstream request" should match a line in error.log (req 1)
087-udp-socket.t TEST 11: access the google DNS server (using domain names) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 0)
087-udp-socket.t TEST 11: access the google DNS server (using domain names) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 1)
087-udp-socket.t TEST 10: access the google DNS server (using IP addr) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 0)
087-udp-socket.t TEST 10: access the google DNS server (using IP addr) - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 1)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 0)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua udp socket reconnect without shutting down" should match a line in error.log (req 0)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua reuse socket upstream" should match a line in error.log (req 1)
087-udp-socket.t TEST 6: connect again immediately - pattern "lua udp socket reconnect without shutting down" should match a line in error.log (req 1)
087-udp-socket.t TEST 1: sanity - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 0)
087-udp-socket.t TEST 1: sanity - pattern "lua udp socket receive buffer size: 8192" should match a line in error.log (req 1)
091-coroutine.t nginx: [error] init_by_lua error: init_by_lua:7: init_by_lua:4: something went wrong
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 5: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 28: use of ngx.ctx - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua release ngx.ctx at ref " should match a line in error.log (req 0)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 28: use of ngx.ctx - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 28: use of ngx.ctx - pattern "lua release ngx.ctx at ref " should match a line in error.log (req 1)
106-timer.t TEST 27: user args - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 27: user args - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 17: chained timers (0 delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 17: chained timers (0 delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 17: chained timers (0 delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 17: chained timers (0 delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 26: lua_max_running_timers (just enough) - 2 - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 20: lua_max_pending_timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 20: lua_max_pending_timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 20: lua_max_pending_timers - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 20: lua_max_pending_timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 25: lua_max_running_timers (just enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 13: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 13: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 13: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 13: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 8: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 18: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 6: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 23: lua_max_pending_timers - chained timers (zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 22: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 11: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 11: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 11: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 11: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 7: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 7: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 7: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 12: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 12: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 12: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 12: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 14: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 14: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 14: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 14: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 21: lua_max_pending_timers (just not exceeding) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 24: lua_max_running_timers (just not enough) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 15: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 15: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 15: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 15: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 2: separated global env - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 2: separated global env - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 16: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
106-timer.t TEST 19: multiple parallel timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
106-timer.t TEST 19: multiple parallel timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
106-timer.t TEST 19: multiple parallel timers - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
106-timer.t TEST 19: multiple parallel timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 3: ngx.flush() - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 3: ngx.flush() - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 3: ngx.flush() - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 3: ngx.flush() - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 5: ngx.eof - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 5: ngx.eof - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 5: ngx.eof - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 5: ngx.eof - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 4: ngx.on_abort - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 1: ngx.say() - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 1: ngx.say() - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 1: ngx.say() - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 1: ngx.say() - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 2: ngx.print() - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 2: ngx.print() - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 2: ngx.print() - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 2: ngx.print() - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
107-timer-errors.t TEST 6: ngx.req.socket - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 5: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 5: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 5: 0 timer - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 5: 0 timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 1: simple at - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 0)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 4: tcp cosocket in timer handler (keep-alive connections) - pattern "go(): received: OK" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 10: ngx.thread API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 10: ngx.thread API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 9: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 9: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 9: coroutine API - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 9: coroutine API - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 15: chained timers (non-zero delay) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 13: ngx.exit(403) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 6: udp cosocket in timer handler - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 3: tcp cosocket in timer handler (short connections) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 12: ngx.exit(0) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 11: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 11: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 11: shared dict - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 11: shared dict - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
108-timer-safe.t TEST 14: exit in user thread (entry thread is still pending on ngx.sleep) - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 2: multiple timers - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 2: multiple timers - pattern "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 2: multiple timers - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 2: multiple timers - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream 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 "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 4: trying to add new timer after HUP reload - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 0) got: ''
expected: 'lua found 100 pending timers
'
109-timer-hup.t TEST 5: HUP reload should abort pending timers - grep_error_log_out (req 1) got: ''
expected: 'lua found 100 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: ''
expected: 'stream 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: ''
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 1: single timer - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 1: single timer - pattern "lua abort pending timers" should match a line in error.log (req 1)
109-timer-hup.t TEST 1: single timer - pattern "lua ngx.timer expired" should match a line in error.log (req 1)
109-timer-hup.t TEST 1: single timer - pattern "stream lua close fake stream connection" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 10: receiveuntil - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 10: receiveuntil - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 14: simulated lingering close - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 14: simulated lingering close - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
116-raw-req-socket.t TEST 13: shutdown can only be called once and prevents all further output - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 0)
116-raw-req-socket.t TEST 13: shutdown can only be called once and prevents all further output - pattern "stream lua shutdown socket write direction" should match a line in error.log (req 1)
124-init-worker.t TEST 4: timer.at + cosocket - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 4: timer.at + cosocket - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 4: timer.at + cosocket - pattern "lua tcp socket send timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 4: timer.at + cosocket - pattern "lua tcp socket read timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
warn(): created timer: 1
warn(): timer expired (premature: false)
warn(): request sent: 11
-warn(): received: OK
'
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - pattern "lua tcp socket connect timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - pattern "lua tcp socket send timeout: 60000" should match a line in error.log (req 0)
124-init-worker.t TEST 6: timer.at + cosocket (by_lua_file) - pattern "lua tcp socket read timeout: 60000" should match a line in error.log (req 0)
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
Looks like you failed 1 test of 39.
127-uthread-kill.t TEST 3: kill pending resolver - pattern "lua tcp socket abort resolver" should match a line in error.log (req 0)
127-uthread-kill.t TEST 3: kill pending resolver - pattern "lua tcp socket abort resolver" should match a line in error.log (req 1)
127-uthread-kill.t TEST 1: kill pending sleep - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 0)
127-uthread-kill.t TEST 1: kill pending sleep - pattern "lua clean up the timer for pending ngx.sleep" should match a line in error.log (req 1)
127-uthread-kill.t TEST 4: kill pending connect - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-stream lua finalize socket
-stream lua finalize socket
'
127-uthread-kill.t TEST 4: kill pending connect - grep_error_log_out (req 1) @@ -1,2 +0,0 @@
-stream lua finalize socket
-stream lua finalize socket
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_128_GCM_SHA256 TLSv1.3)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 33: explicit cipher configuration - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_128_GCM_SHA256 TLSv1.3)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - pattern "lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - pattern "lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "(?^:SSL: TLSv\d(?:\.\d)?, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "(?^:SSL: TLSv\d(?:\.\d)?, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl set session: \1
lua ssl save session: \1
lua ssl free session: \1
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 26: handshake timed out - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 26: handshake timed out - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "stream lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "stream lua ssl server name: "blah.openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 34: explicit cipher configuration not in the default list - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 34: explicit cipher configuration not in the default list - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "(?:ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256)|ECDHE-(?:RSA|ECDSA)-CHACHA20-POLY1305) TLSv1\.2)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "(?:ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256)|ECDHE-(?:RSA|ECDSA)-CHACHA20-POLY1305) TLSv1\.2)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "lua ssl server name: "www.google.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_256_GCM_SHA384 TLSv1.3)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 32: default cipher - TLSv1.3 - pattern "(?^:SSL: TLSv1.3, cipher: "TLS_AES_256_GCM_SHA384 TLSv1.3)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 13: openresty.org: passing SSL verify with multiple certificates - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: \1
$)'
129-ssl-socket.t TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+)
stream lua ssl save session: \1
stream lua ssl save session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
$)'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+)
stream lua ssl save session: \1
stream lua ssl save session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
stream lua ssl free session: \1
$)'
129-ssl-socket.t TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+)
lua ssl save session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
lua ssl free session: ([0-9A-F]+)
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "lua ssl server name: "openresty.org"" should match a line in error.log (req 1)
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
138-balancer.t TEST 11: set_more_tries bugfix - grep_error_log_out (req 0) @@ -1,4 +0,0 @@
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
'
138-balancer.t TEST 11: set_more_tries bugfix - grep_error_log_out (req 1) @@ -1,4 +0,0 @@
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
-stream proxy next upstream
'
138-balancer.t TEST 2: exit 403 - pattern "lua exit with code 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "proxy connect: 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream proxy: 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream session: 403" should match a line in error.log (req 0)
138-balancer.t TEST 2: exit 403 - pattern "lua exit with code 403" should match a line in error.log (req 1)
138-balancer.t TEST 2: exit 403 - pattern "proxy connect: 403" should match a line in error.log (req 1)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream proxy: 403" should match a line in error.log (req 1)
138-balancer.t TEST 2: exit 403 - pattern "finalize stream session: 403" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_certificate_by_lua: handler return value: -1, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 18: simple logging - use ssl_certificate_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 23: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 23: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 23: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 24: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 24: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 24: check the count of running timers - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'ssl_certificate_by_lua:1: ssl cert by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl cert: connection reusable: 0
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'ssl_certificate_by_lua:1: ssl cert by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl cert: connection reusable: 0
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'ssl_certificate_by_lua:1: ssl cert by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl cert: connection reusable: 0
reusable connection: 0
ssl_certificate_by_lua:1: ssl cert by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 9: private key protected by passphrase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 9: private key protected by passphrase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 9: private key protected by passphrase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-req-udp-socket.t TEST 5: req socket GC'd - grep_error_log_out (req 0) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
142-req-udp-socket.t TEST 5: req socket GC'd - grep_error_log_out (req 1) @@ -1,2 +1 @@
-stream lua finalize socket
GC cycle done
'
142-req-udp-socket.t TEST 7: request on secondary ip address - grep_error_log_out (req 0) ''
doesn't match '(?^:sendto: fd:\d+ \d+ of \d+ to "10.254.254.1")'
142-req-udp-socket.t TEST 7: request on secondary ip address - grep_error_log_out (req 1) ''
doesn't match '(?^:sendto: fd:\d+ \d+ of \d+ to "10.254.254.1")'
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 0) @@ -1,5 +1,3 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
-semaphore handler: wait queue: empty, resource count: 1
'
154-semaphore.t TEST 3: exit before post_handler was called - grep_error_log_out (req 1) @@ -1,5 +1,3 @@
ngx.sem wait start,
ngx.sem post start,
ngx.sem post end,
-close stream connection
-semaphore handler: wait queue: empty, resource count: 1
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - grep_error_log_out (req 0) @@ -1,7 +0,0 @@
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
'
156-slow-network.t TEST 1: receiveany returns anything once socket receives - grep_error_log_out (req 1) @@ -1,7 +0,0 @@
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
-lua tcp socket read any
'
157-socket-keepalive-hup.t TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 0)
157-socket-keepalive-hup.t TEST 1: exiting - pattern "lua tcp socket set keepalive while process exiting, closing connection" should match a line in error.log (req 1)
161-load-resty-core.t nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:
162-ssl-client-hello-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 0) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 1) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 25: cosocket (UDP) - grep_error_log_out (req 2) got: ''
expected: 'received memc reply of 12 bytes
'
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 17: simple logging - use ssl_client_hello_by_lua* on the stream {} level and server {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 13: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
162-ssl-client-hello-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
162-ssl-client-hello-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
'
doesn't match '(?^:reusable connection: 1
reusable connection: 0
ssl client hello: connection reusable: 0
reusable connection: 0
ssl_client_hello_by_lua:1: ssl client hello by lua is running!,
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
)'
162-ssl-client-hello-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua_client_hello_by_lua: handler return value: -1, client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 14: coroutine API - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 2: sleep - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 10: lua exception - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 10: lua exception - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 10: lua exception - yield - pattern "lua_client_hello_by_lua: client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 9: lua exception - no yield - pattern "lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 9: lua exception - no yield - pattern "lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 9: lua exception - no yield - pattern "lua_client_hello_by_lua: handler return value: 500, client hello cb exit code: 0" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 20: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 20: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 20: listen two ports (one for ssl and one for non-ssl) in one server - connect ssl port - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 22: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 22: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 22: simple logging (syslog) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
162-ssl-client-hello-by.t TEST 16: simple logging - use ssl_client_hello_by_lua* on the stream {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)

Warnings

Go back to the index page.