(This page was automatically generated by the tools in the opsboy project on 19:30:20 13-Feb-2019 GMT.)

Detailed Test Report for ngx_stream_lua in linux x86_64 (w)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
c1a99e48 2019-02-11 17:37:53 GMT 68 24 111 8914 427 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b5

OpenSSL

LuaJIT 1.1.0h 27 Mar 2018

Compilation Errors

Unexpected Failures

File Name Details
023-preread/tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
023-preread/tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
023-preread/tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
023-preread/tcp-socket.t TEST 5: connection timeout (tcp) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-connect: nil timeout
+connect: nil connection refused
send: nil closed
receive: nil closed
close: nil closed
'
023-preread/tcp-socket.t TEST 5: connection timeout (tcp) - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
023-preread/tcp-socket.t TEST 5: connection timeout (tcp) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
-connect: nil timeout
+connect: nil connection refused
send: nil closed
receive: nil closed
close: nil closed
'
023-preread/tcp-socket.t TEST 5: connection timeout (tcp) - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
058-tcp-socket.t TEST 52: kill a thread with a connecting socket - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
failed to setkeepalive: closed
'
expected: 'failed to setkeepalive: closed
'
058-tcp-socket.t TEST 52: kill a thread with a connecting socket - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
failed to setkeepalive: closed
'
expected: 'failed to setkeepalive: closed
'
058-tcp-socket.t TEST 6: connection timeout (tcp) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-connect: nil timeout
+connect: nil connection refused
send: nil closed
receive: nil closed
close: nil closed
'
058-tcp-socket.t TEST 6: connection timeout (tcp) - pattern "lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
058-tcp-socket.t TEST 6: connection timeout (tcp) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
-connect: nil timeout
+connect: nil connection refused
send: nil closed
receive: nil closed
close: nil closed
'
058-tcp-socket.t TEST 6: connection timeout (tcp) - pattern "lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-1: failed to connect: timeout
+1: failed to connect: connection refused
2: connected: 1
'
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
-1: failed to connect: timeout
+1: failed to connect: connection refused
2: connected: 1
'
065-tcp-socket-timeout.t TEST 17: re-connect after timed out - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 2: sock:settimeout() overrides lua_socket_connect_timeout - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 1: lua_socket_connect_timeout only - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" 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 - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" 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 - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 4: sock:settimeout(0) does not override lua_socket_connect_timeout - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" 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 - response_body - response is expected (repeated req 0, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" 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 - response_body - response is expected (repeated req 1, req 0) got: 'failed to connect: connection refused
'
expected: 'failed to connect: timeout
'
065-tcp-socket-timeout.t TEST 3: sock:settimeout(nil) does not override lua_socket_connect_timeout - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
090-log-socket-errors.t TEST 1: log socket errors off (tcp) - response_body - response is expected (repeated req 0, req 0) got: "connection refused\x{0a}"
length: 19
expected: "timeout\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
090-log-socket-errors.t TEST 1: log socket errors off (tcp) - response_body - response is expected (repeated req 1, req 0) got: "connection refused\x{0a}"
length: 19
expected: "timeout\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
090-log-socket-errors.t TEST 2: log socket errors on (tcp) - response_body - response is expected (repeated req 0, req 0) got: "connection refused\x{0a}"
length: 19
expected: "timeout\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
090-log-socket-errors.t TEST 2: log socket errors on (tcp) - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 0)
090-log-socket-errors.t TEST 2: log socket errors on (tcp) - response_body - response is expected (repeated req 1, req 0) got: "connection refused\x{0a}"
length: 19
expected: "timeout\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
090-log-socket-errors.t TEST 2: log socket errors on (tcp) - pattern "stream lua tcp socket connect timed out, when connecting to 127.0.0.2:12345" should match a line in error.log (req 1)
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:23:07 [error] 18920\#18920: *3 connect() failed (111: Connection refused), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 21:23:07 [debug] 18920\#18920: *3 stream lua tcp socket handle connect error
2019/02/11 21:23:07 [debug] 18920\#18920: *3 stream lua finalize socket
2019/02/11 21:23:07 [debug] 18920\#18920: *3 lua stream cleanup free: 000000000177F970
2019/02/11 21:23:07 [debug] 18920\#18920: *3 poll del event: fd:11 ev:1
2019/02/11 21:23:07 [debug] 18920\#18920: *3 poll del index: 5
2019/02/11 21:23:07 [debug] 18920\#18920: *3 poll del event: fd:11 ev:4
2019/02/11 21:23:07 [debug] 18920\#18920: *3 delete posted event 000000000178AC70
2019/02/11 21:23:07 [debug] 18920\#18920: *3 lua close socket connection
2019/02/11 21:23:07 [debug] 18920\#18920: *3 reusable connection: 0
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:23:07 [error] 18920\#18920: *7 connect() failed (111: Connection refused), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2019/02/11 21:23:07 [debug] 18920\#18920: *7 stream lua tcp socket handle connect error
2019/02/11 21:23:07 [debug] 18920\#18920: *7 stream lua finalize socket
2019/02/11 21:23:07 [debug] 18920\#18920: *7 lua stream cleanup free: 000000000177F970
2019/02/11 21:23:07 [debug] 18920\#18920: *7 poll del event: fd:11 ev:1
2019/02/11 21:23:07 [debug] 18920\#18920: *7 poll del index: 5
2019/02/11 21:23:07 [debug] 18920\#18920: *7 poll del event: fd:11 ev:4
2019/02/11 21:23:07 [debug] 18920\#18920: *7 delete posted event 000000000178AC70
2019/02/11 21:23:07 [debug] 18920\#18920: *7 lua close socket connection
2019/02/11 21:23:07 [debug] 18920\#18920: *7 reusable connection: 0
'
127-uthread-kill.t TEST 4: kill pending connect - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
thread created: running
-killed
+failed to kill thread: already terminated
'
127-uthread-kill.t TEST 4: kill pending connect - grep_error_log_out (req 0) @@ -1,2 +1,3 @@
stream lua finalize socket
stream lua finalize socket
+stream lua finalize socket
'
127-uthread-kill.t TEST 4: kill pending connect - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:55 [error] 19687\#19687: *3 connect() failed (111: Connection refused), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 21:24:55 [debug] 19687\#19687: *3 stream lua tcp socket handle connect error
2019/02/11 21:24:55 [debug] 19687\#19687: *3 stream lua finalize socket
2019/02/11 21:24:55 [debug] 19687\#19687: *3 lua stream cleanup free: 0000000001051FE0
2019/02/11 21:24:55 [debug] 19687\#19687: *3 poll del event: fd:12 ev:1
2019/02/11 21:24:55 [debug] 19687\#19687: *3 poll del index: 6
2019/02/11 21:24:55 [debug] 19687\#19687: *3 poll del event: fd:12 ev:4
2019/02/11 21:24:55 [debug] 19687\#19687: *3 delete posted event 000000000105D350
2019/02/11 21:24:55 [debug] 19687\#19687: *3 lua close socket connection
2019/02/11 21:24:55 [debug] 19687\#19687: *3 reusable connection: 0
'
127-uthread-kill.t TEST 4: kill pending connect - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
thread created: running
-killed
+failed to kill thread: already terminated
'
127-uthread-kill.t TEST 4: kill pending connect - grep_error_log_out (req 1) @@ -1,2 +1,3 @@
stream lua finalize socket
stream lua finalize socket
+stream lua finalize socket
'
127-uthread-kill.t TEST 4: kill pending connect - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:55 [error] 19687\#19687: *9 connect() failed (111: Connection refused), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2019/02/11 21:24:55 [debug] 19687\#19687: *9 stream lua tcp socket handle connect error
2019/02/11 21:24:55 [debug] 19687\#19687: *9 stream lua finalize socket
2019/02/11 21:24:55 [debug] 19687\#19687: *9 lua stream cleanup free: 000000000104FAE0
2019/02/11 21:24:55 [debug] 19687\#19687: *9 poll del event: fd:12 ev:1
2019/02/11 21:24:55 [debug] 19687\#19687: *9 poll del index: 6
2019/02/11 21:24:55 [debug] 19687\#19687: *9 poll del event: fd:12 ev:4
2019/02/11 21:24:55 [debug] 19687\#19687: *9 delete posted event 000000000105D350
2019/02/11 21:24:55 [debug] 19687\#19687: *9 lua close socket connection
2019/02/11 21:24:55 [debug] 19687\#19687: *9 reusable connection: 0
'
127-uthread-kill.t TEST 3: kill pending resolver - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:55 [error] 19690\#19690: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 21:24:55 [debug] 19690\#19690: poll del event: fd:11 ev:1
2019/02/11 21:24:55 [debug] 19690\#19690: reusable connection: 0
2019/02/11 21:24:55 [debug] 19690\#19690: UDP socket 11
2019/02/11 21:24:55 [debug] 19690\#19690: connect to 127.0.0.2:12345, fd:11 \#5
2019/02/11 21:24:55 [debug] 19690\#19690: poll add event: fd:11 ev:1
2019/02/11 21:24:55 [debug] 19690\#19690: send: fd:11 34 of 34
2019/02/11 21:24:55 [debug] 19690\#19690: send: fd:11 -1 of 34
2019/02/11 21:24:55 [error] 19690\#19690: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 21:24:55 [debug] 19690\#19690: poll del event: fd:11 ev:1
'
127-uthread-kill.t TEST 3: kill pending resolver - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:55 [error] 19690\#19690: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 21:24:55 [debug] 19690\#19690: poll del event: fd:11 ev:1
2019/02/11 21:24:55 [debug] 19690\#19690: reusable connection: 0
2019/02/11 21:24:55 [debug] 19690\#19690: malloc: 00000000019BF640:96
2019/02/11 21:24:55 [debug] 19690\#19690: event timer add: -1: 30000:13707122
2019/02/11 21:24:55 [debug] 19690\#19690: event timer add: -1: 5000:13682122
2019/02/11 21:24:55 [debug] 19690\#19690: *3 lua resume returned 1
2019/02/11 21:24:55 [debug] 19690\#19690: *3 lua thread yielded
2019/02/11 21:24:55 [debug] 19690\#19690: *3 lua run thread, top:8
2019/02/11 21:24:55 [debug] 19690\#19690: *3 malloc: 00000000019BF6B0:16
'
127-uthread-kill.t TEST 3: kill pending resolver - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:56 [error] 19690\#19690: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 21:24:56 [debug] 19690\#19690: poll del event: fd:11 ev:1
2019/02/11 21:24:56 [debug] 19690\#19690: reusable connection: 0
2019/02/11 21:24:56 [debug] 19690\#19690: UDP socket 11
2019/02/11 21:24:56 [debug] 19690\#19690: connect to 127.0.0.2:12345, fd:11 \#10
2019/02/11 21:24:56 [debug] 19690\#19690: poll add event: fd:11 ev:1
2019/02/11 21:24:56 [debug] 19690\#19690: send: fd:11 34 of 34
2019/02/11 21:24:56 [debug] 19690\#19690: send: fd:11 -1 of 34
2019/02/11 21:24:56 [error] 19690\#19690: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 21:24:56 [debug] 19690\#19690: poll del event: fd:11 ev:1
'
127-uthread-kill.t TEST 3: kill pending resolver - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:56 [error] 19690\#19690: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 21:24:56 [debug] 19690\#19690: poll del event: fd:11 ev:1
2019/02/11 21:24:56 [debug] 19690\#19690: reusable connection: 0
2019/02/11 21:24:56 [debug] 19690\#19690: malloc: 00000000019C0120:96
2019/02/11 21:24:56 [debug] 19690\#19690: event timer add: -1: 30000:13707198
2019/02/11 21:24:56 [debug] 19690\#19690: event timer: -1, old: 13682122, new: 13682198
2019/02/11 21:24:56 [debug] 19690\#19690: *8 lua resume returned 1
2019/02/11 21:24:56 [debug] 19690\#19690: *8 lua thread yielded
2019/02/11 21:24:56 [debug] 19690\#19690: *8 lua run thread, top:0
2019/02/11 21:24:56 [debug] 19690\#19690: *8 malloc: 00000000019C0190:16
'
128-duplex-tcp-socket.t TEST 6: concurrent operations while resolving - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:56 [error] 19702\#19702: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 21:24:56 [debug] 19702\#19702: poll del event: fd:11 ev:1
2019/02/11 21:24:56 [debug] 19702\#19702: reusable connection: 0
2019/02/11 21:24:56 [debug] 19702\#19702: UDP socket 11
2019/02/11 21:24:56 [debug] 19702\#19702: connect to 127.0.0.2:12345, fd:11 \#5
2019/02/11 21:24:56 [debug] 19702\#19702: poll add event: fd:11 ev:1
2019/02/11 21:24:56 [debug] 19702\#19702: send: fd:11 35 of 35
2019/02/11 21:24:56 [debug] 19702\#19702: send: fd:11 -1 of 35
2019/02/11 21:24:56 [error] 19702\#19702: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 21:24:56 [debug] 19702\#19702: poll del event: fd:11 ev:1
'
128-duplex-tcp-socket.t TEST 6: concurrent operations while resolving - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:56 [error] 19702\#19702: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 21:24:56 [debug] 19702\#19702: poll del event: fd:11 ev:1
2019/02/11 21:24:56 [debug] 19702\#19702: reusable connection: 0
2019/02/11 21:24:56 [debug] 19702\#19702: malloc: 00000000014A49D0:96
2019/02/11 21:24:56 [debug] 19702\#19702: event timer add: -1: 300:13678238
2019/02/11 21:24:56 [debug] 19702\#19702: event timer add: -1: 5000:13682938
2019/02/11 21:24:56 [debug] 19702\#19702: *3 lua resume returned 1
2019/02/11 21:24:56 [debug] 19702\#19702: *3 lua thread yielded
2019/02/11 21:24:56 [debug] 19702\#19702: *3 finalize stream request: -4
2019/02/11 21:24:56 [debug] 19702\#19702: posted event 00000000014AFD80
'
128-duplex-tcp-socket.t TEST 6: concurrent operations while resolving - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:57 [error] 19702\#19702: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 21:24:57 [debug] 19702\#19702: poll del event: fd:11 ev:1
2019/02/11 21:24:57 [debug] 19702\#19702: reusable connection: 0
2019/02/11 21:24:57 [debug] 19702\#19702: UDP socket 11
2019/02/11 21:24:57 [debug] 19702\#19702: connect to 127.0.0.2:12345, fd:11 \#10
2019/02/11 21:24:57 [debug] 19702\#19702: poll add event: fd:11 ev:1
2019/02/11 21:24:57 [debug] 19702\#19702: send: fd:11 35 of 35
2019/02/11 21:24:57 [debug] 19702\#19702: send: fd:11 -1 of 35
2019/02/11 21:24:57 [error] 19702\#19702: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 21:24:57 [debug] 19702\#19702: poll del event: fd:11 ev:1
'
128-duplex-tcp-socket.t TEST 6: concurrent operations while resolving - pattern "[error]" should not match any line in error.log but matches line "2019/02/11 21:24:57 [error] 19702\#19702: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 21:24:57 [debug] 19702\#19702: poll del event: fd:11 ev:1
2019/02/11 21:24:57 [debug] 19702\#19702: reusable connection: 0
2019/02/11 21:24:57 [debug] 19702\#19702: malloc: 00000000014A2AD0:96
2019/02/11 21:24:57 [debug] 19702\#19702: event timer add: -1: 300:13678650
2019/02/11 21:24:57 [debug] 19702\#19702: event timer del: -1: 13682938
2019/02/11 21:24:57 [debug] 19702\#19702: event timer add: -1: 5000:13683350
2019/02/11 21:24:57 [debug] 19702\#19702: *8 lua resume returned 1
2019/02/11 21:24:57 [debug] 19702\#19702: *8 lua thread yielded
2019/02/11 21:24:57 [debug] 19702\#19702: *8 finalize stream request: -4
'
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +1,8 @@
-receive: nil socket busy connecting
-send: nil socket busy connecting
-close: nil socket busy connecting
-getreusedtimes: 0 nil
-setkeepalive: nil socket busy connecting
-connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
+receive: nil closed
+send: nil closed
+close: nil closed
+getreusedtimes: nil closed
+setkeepalive: nil closed
+connect: 1 nil
'
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +1,8 @@
-receive: nil socket busy connecting
-send: nil socket busy connecting
-close: nil socket busy connecting
-getreusedtimes: 0 nil
-setkeepalive: nil socket busy connecting
-connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
+receive: nil closed
+send: nil closed
+close: nil closed
+getreusedtimes: nil closed
+setkeepalive: nil closed
+connect: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
connected: 1
ssl handshake: userdata
sent stream request: 56 bytes.
-received: HTTP/1.1 404 Not Found
+received: HTTP/1.1 200 OK
close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,5 @@
connected: 1
ssl handshake: userdata
sent stream request: 56 bytes.
-received: HTTP/1.1 404 Not Found
+received: HTTP/1.1 200 OK
close: 1 nil
'

Expected Failures

File Name Details
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 0, req 0) got: 'h'
expected: 'hi
'
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 1, req 0) got: 'h'
expected: 'hi
'
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 max idle timeout" should not match any line in error.log but matches line "2019/02/11 21:20:03 [debug] 16683\#16683: stream lua tcp socket keepalive max idle timeout" (req 0) 2019/02/11 21:20:03 [debug] 16683\#16683: stream lua tcp socket keepalive close handler: fd:11
2019/02/11 21:20:03 [debug] 16683\#16683: poll del event: fd:11 ev:1
2019/02/11 21:20:03 [debug] 16683\#16683: index: copy event 6 to 5
2019/02/11 21:20:03 [debug] 16683\#16683: reusable connection: 0
2019/02/11 21:20:03 [debug] 16683\#16683: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2019/02/11 21:20:03 [debug] 16683\#16683: posted event 00000000021FEEF0
2019/02/11 21:20:03 [debug] 16683\#16683: *1 delete posted event 00000000021FEEF0
2019/02/11 21:20:03 [debug] 16683\#16683: *1 lua tcp socket handler for "/t?", wev 0
2019/02/11 21:20:03 [debug] 16683\#16683: *1 lua tcp socket read handler
'
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 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2019/02/11 21:20:03 [debug] 16683\#16683: stream lua tcp socket keepalive max idle timeout" (req 1) 2019/02/11 21:20:03 [debug] 16683\#16683: stream lua tcp socket keepalive close handler: fd:11
2019/02/11 21:20:03 [debug] 16683\#16683: poll del event: fd:11 ev:1
2019/02/11 21:20:03 [debug] 16683\#16683: index: copy event 6 to 5
2019/02/11 21:20:03 [debug] 16683\#16683: reusable connection: 0
2019/02/11 21:20:03 [debug] 16683\#16683: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2019/02/11 21:20:03 [debug] 16683\#16683: posted event 00000000021FEEF0
2019/02/11 21:20:03 [debug] 16683\#16683: *1 delete posted event 00000000021FEEF0
2019/02/11 21:20:03 [debug] 16683\#16683: *1 lua tcp socket handler for "/t?", wev 0
2019/02/11 21:20:03 [debug] 16683\#16683: *1 lua tcp socket read handler
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2019/02/11 21:20:04 [debug] 16683\#16683: stream lua tcp socket keepalive max idle timeout" (req 1) 2019/02/11 21:20:04 [debug] 16683\#16683: stream lua tcp socket keepalive close handler: fd:11
2019/02/11 21:20:04 [debug] 16683\#16683: poll del event: fd:11 ev:1
2019/02/11 21:20:04 [debug] 16683\#16683: index: copy event 6 to 5
2019/02/11 21:20:04 [debug] 16683\#16683: reusable connection: 0
2019/02/11 21:20:04 [debug] 16683\#16683: stream lua tcp socket keepalive: free connection pool for "127.0.0.1:11211"
2019/02/11 21:20:04 [debug] 16683\#16683: posted event 00000000021FEEF0
2019/02/11 21:20:04 [debug] 16683\#16683: *5 delete posted event 00000000021FEEF0
2019/02/11 21:20:04 [debug] 16683\#16683: *5 lua tcp socket handler for "/t?", wev 0
2019/02/11 21:20:04 [debug] 16683\#16683: *5 lua tcp socket read handler
'
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)
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
100-client-abort.t TEST 17: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 17: ngx.print - pattern "print failed: nginx output filter error" should match a line in error.log (req 1)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: nginx output filter error" should match a line in error.log (req 0)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: nginx output filter error" 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] 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] "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

Warnings

Go back to the index page.