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

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
c1a99e48 2019-02-11 17:37:53 GMT 216 140 111 8913 2105 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/req-socket.t TEST 12: peek works with other preread handlers - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 0)
023-preread/req-socket.t TEST 12: peek works with other preread handlers - pattern "[crit]" should not match any line in error.log but matches line "2019/02/11 19:07:25 [crit] 21592\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:07:25 [debug] 21592\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:07:25 [debug] 21592\#0: *3 stream lua finalize socket
2019/02/11 19:07:25 [debug] 21592\#0: *3 lua stream cleanup free: 000000000839CF90
2019/02/11 19:07:25 [debug] 21592\#0: *3 poll del event: fd:11 ev:1
2019/02/11 19:07:25 [debug] 21592\#0: *3 index: copy event 7 to 6
2019/02/11 19:07:25 [debug] 21592\#0: *3 lua close socket connection
2019/02/11 19:07:25 [debug] 21592\#0: *3 free: 00000000083A1820, unused: 0
2019/02/11 19:07:25 [debug] 21592\#0: *3 reusable connection: 0
2019/02/11 19:07:25 [debug] 21592\#0: *3 lua resume returned 0
'
023-preread/req-socket.t TEST 12: peek works with other preread handlers - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 1)
023-preread/req-socket.t TEST 12: peek works with other preread handlers - pattern "[crit]" should not match any line in error.log but matches line "2019/02/11 19:07:25 [crit] 21592\#0: *8 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2019/02/11 19:07:25 [debug] 21592\#0: *8 stream lua tcp socket error retval handler
2019/02/11 19:07:25 [debug] 21592\#0: *8 stream lua finalize socket
2019/02/11 19:07:25 [debug] 21592\#0: *8 lua stream cleanup free: 00000000083C21A0
2019/02/11 19:07:25 [debug] 21592\#0: *8 poll del event: fd:11 ev:1
2019/02/11 19:07:25 [debug] 21592\#0: *8 index: copy event 7 to 6
2019/02/11 19:07:25 [debug] 21592\#0: *8 lua close socket connection
2019/02/11 19:07:25 [debug] 21592\#0: *8 free: 00000000083C6A30, unused: 0
2019/02/11 19:07:25 [debug] 21592\#0: *8 reusable connection: 0
2019/02/11 19:07:25 [debug] 21592\#0: *8 lua resume returned 0
'
023-preread/sanity.t TEST 13: phase postponing works - response_body - response is expected (repeated req 0, req 0) got: "receive stream response error: connection reset by"...
length: 56
expected: "done"
length: 4
strings begin to differ at char 1 (line 1 column 1)
023-preread/sanity.t TEST 13: phase postponing works - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 0)
023-preread/sanity.t TEST 13: phase postponing works - response_body - response is expected (repeated req 1, req 0) got: "receive stream response error: connection reset by"...
length: 56
expected: "done"
length: 4
strings begin to differ at char 1 (line 1 column 1)
023-preread/sanity.t TEST 13: phase postponing works - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" 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 - 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-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 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 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.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 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 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 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 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 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)
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)
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 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 19:28:32 [error] 22567\#0: *3 connect() failed (111: Connection refused), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:28:32 [debug] 22567\#0: *3 stream lua tcp socket handle connect error
2019/02/11 19:28:32 [debug] 22567\#0: *3 stream lua finalize socket
2019/02/11 19:28:32 [debug] 22567\#0: *3 lua stream cleanup free: 00000000083932C0
2019/02/11 19:28:32 [debug] 22567\#0: *3 poll del event: fd:11 ev:1
2019/02/11 19:28:32 [debug] 22567\#0: *3 poll del index: 5
2019/02/11 19:28:32 [debug] 22567\#0: *3 poll del event: fd:11 ev:4
2019/02/11 19:28:32 [debug] 22567\#0: *3 delete posted event 0000000008389F20
2019/02/11 19:28:32 [debug] 22567\#0: *3 lua close socket connection
2019/02/11 19:28:32 [debug] 22567\#0: *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 19:28:32 [error] 22567\#0: *7 connect() failed (111: Connection refused), client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2019/02/11 19:28:32 [debug] 22567\#0: *7 stream lua tcp socket handle connect error
2019/02/11 19:28:32 [debug] 22567\#0: *7 stream lua finalize socket
2019/02/11 19:28:32 [debug] 22567\#0: *7 lua stream cleanup free: 000000000839A120
2019/02/11 19:28:32 [debug] 22567\#0: *7 poll del event: fd:11 ev:1
2019/02/11 19:28:32 [debug] 22567\#0: *7 poll del index: 5
2019/02/11 19:28:32 [debug] 22567\#0: *7 poll del event: fd:11 ev:4
2019/02/11 19:28:32 [debug] 22567\#0: *7 delete posted event 0000000008389F20
2019/02/11 19:28:32 [debug] 22567\#0: *7 lua close socket connection
2019/02/11 19:28:32 [debug] 22567\#0: *7 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 19:35:04 [error] 22968\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 19:35:04 [debug] 22968\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:04 [debug] 22968\#0: reusable connection: 0
2019/02/11 19:35:04 [debug] 22968\#0: UDP socket 11
2019/02/11 19:35:04 [debug] 22968\#0: connect to 127.0.0.2:12345, fd:11 \#5
2019/02/11 19:35:04 [debug] 22968\#0: poll add event: fd:11 ev:1
2019/02/11 19:35:04 [debug] 22968\#0: send: fd:11 34 of 34
2019/02/11 19:35:04 [debug] 22968\#0: send: fd:11 -1 of 34
2019/02/11 19:35:04 [error] 22968\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 19:35:04 [debug] 22968\#0: 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 19:35:04 [error] 22968\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 19:35:04 [debug] 22968\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:04 [debug] 22968\#0: reusable connection: 0
2019/02/11 19:35:04 [debug] 22968\#0: malloc: 0000000008393540:96
2019/02/11 19:35:04 [debug] 22968\#0: event timer add: -1: 30000:7115713
2019/02/11 19:35:04 [debug] 22968\#0: event timer add: -1: 5000:7090713
2019/02/11 19:35:04 [debug] 22968\#0: *3 lua resume returned 1
2019/02/11 19:35:04 [debug] 22968\#0: *3 lua thread yielded
2019/02/11 19:35:04 [debug] 22968\#0: *3 lua run thread, top:8
2019/02/11 19:35:04 [debug] 22968\#0: *3 malloc: 0000000008393630: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 19:35:04 [error] 22968\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 19:35:04 [debug] 22968\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:04 [debug] 22968\#0: reusable connection: 0
2019/02/11 19:35:04 [debug] 22968\#0: UDP socket 11
2019/02/11 19:35:04 [debug] 22968\#0: connect to 127.0.0.2:12345, fd:11 \#10
2019/02/11 19:35:04 [debug] 22968\#0: poll add event: fd:11 ev:1
2019/02/11 19:35:04 [debug] 22968\#0: send: fd:11 34 of 34
2019/02/11 19:35:04 [debug] 22968\#0: send: fd:11 -1 of 34
2019/02/11 19:35:04 [error] 22968\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 19:35:04 [debug] 22968\#0: 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 19:35:04 [error] 22968\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 19:35:04 [debug] 22968\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:04 [debug] 22968\#0: reusable connection: 0
2019/02/11 19:35:04 [debug] 22968\#0: malloc: 000000000839A3F0:96
2019/02/11 19:35:04 [debug] 22968\#0: event timer add: -1: 30000:7115905
2019/02/11 19:35:04 [debug] 22968\#0: event timer: -1, old: 7090713, new: 7090905
2019/02/11 19:35:04 [debug] 22968\#0: *8 lua resume returned 1
2019/02/11 19:35:04 [debug] 22968\#0: *8 lua thread yielded
2019/02/11 19:35:04 [debug] 22968\#0: *8 lua run thread, top:0
2019/02/11 19:35:04 [debug] 22968\#0: *8 malloc: 000000000839A4E0: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 19:35:13 [error] 22976\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 19:35:13 [debug] 22976\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:13 [debug] 22976\#0: reusable connection: 0
2019/02/11 19:35:13 [debug] 22976\#0: UDP socket 11
2019/02/11 19:35:13 [debug] 22976\#0: connect to 127.0.0.2:12345, fd:11 \#5
2019/02/11 19:35:13 [debug] 22976\#0: poll add event: fd:11 ev:1
2019/02/11 19:35:13 [debug] 22976\#0: send: fd:11 35 of 35
2019/02/11 19:35:13 [debug] 22976\#0: send: fd:11 -1 of 35
2019/02/11 19:35:13 [error] 22976\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 19:35:13 [debug] 22976\#0: 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 19:35:13 [error] 22976\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 0) 2019/02/11 19:35:13 [debug] 22976\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:13 [debug] 22976\#0: reusable connection: 0
2019/02/11 19:35:13 [debug] 22976\#0: malloc: 0000000008395680:96
2019/02/11 19:35:13 [debug] 22976\#0: event timer add: -1: 300:7095197
2019/02/11 19:35:13 [debug] 22976\#0: event timer add: -1: 5000:7099897
2019/02/11 19:35:13 [debug] 22976\#0: *3 lua resume returned 1
2019/02/11 19:35:13 [debug] 22976\#0: *3 lua thread yielded
2019/02/11 19:35:13 [debug] 22976\#0: *3 finalize stream request: -4
2019/02/11 19:35:13 [debug] 22976\#0: posted event 000000000838BBB0
'
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 19:35:14 [error] 22976\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 19:35:14 [debug] 22976\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:14 [debug] 22976\#0: reusable connection: 0
2019/02/11 19:35:14 [debug] 22976\#0: UDP socket 11
2019/02/11 19:35:14 [debug] 22976\#0: connect to 127.0.0.2:12345, fd:11 \#10
2019/02/11 19:35:14 [debug] 22976\#0: poll add event: fd:11 ev:1
2019/02/11 19:35:14 [debug] 22976\#0: send: fd:11 35 of 35
2019/02/11 19:35:14 [debug] 22976\#0: send: fd:11 -1 of 35
2019/02/11 19:35:14 [error] 22976\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345
2019/02/11 19:35:14 [debug] 22976\#0: 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 19:35:14 [error] 22976\#0: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.2:12345" (req 1) 2019/02/11 19:35:14 [debug] 22976\#0: poll del event: fd:11 ev:1
2019/02/11 19:35:14 [debug] 22976\#0: reusable connection: 0
2019/02/11 19:35:14 [debug] 22976\#0: malloc: 000000000839CA20:96
2019/02/11 19:35:14 [debug] 22976\#0: event timer add: -1: 300:7095629
2019/02/11 19:35:14 [debug] 22976\#0: event timer del: -1: 7099897
2019/02/11 19:35:14 [debug] 22976\#0: event timer add: -1: 5000:7100329
2019/02/11 19:35:14 [debug] 22976\#0: *8 lua resume returned 1
2019/02/11 19:35:14 [debug] 22976\#0: *8 lua thread yielded
2019/02/11 19:35:14 [debug] 22976\#0: *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) @@ -4,5 +4,5 @@
getreusedtimes: 0 nil
setkeepalive: nil socket busy connecting
connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
'
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 1, req 0) @@ -4,5 +4,5 @@
getreusedtimes: 0 nil
setkeepalive: nil socket busy connecting
connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
'
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: handshake failed
-received: it works!
-close: 1 nil
'
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
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 - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
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 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 0) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 1) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
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 - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 1: simple logging - grep_error_log_out (req 2) 'reusable connection: 1
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
reusable connection: 0
'
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 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-uthread: thread created: suspended
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: thread created: suspended
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 15: simple user thread wait with yielding - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: thread created: suspended
-uthread: hello in thread
-uthread: done
'
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 "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" 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 "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" 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 "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" 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 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" 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 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" 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 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" 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 2)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" 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 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" 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 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" 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 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: coroutine API - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: coroutine API - grep_error_log_out (req 0) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 14: coroutine API - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: coroutine API - grep_error_log_out (req 1) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 14: coroutine API - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 14: coroutine API - grep_error_log_out (req 2) @@ -1,6 +0,0 @@
-co resume, status: suspended
-co yield: 0
-co resume, status: suspended
-co yield: 1
-co resume, status: suspended
-co yield: 2
'
139-ssl-cert-by.t TEST 20: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 20: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 20: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 20: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 20: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 20: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
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 - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
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 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 13: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 17: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: check the count of running timers - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 18: check the count of running timers - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 18: check the count of running timers - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: 3
-close: 1 nil
'
139-ssl-cert-by.t TEST 18: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
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 - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: boolean
+failed to do SSL handshake: handshake failed
'
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 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 19: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 19: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 19: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 19: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" 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 "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" 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 "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" 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 "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" 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 11: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" 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 http {} level - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" 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 http {} level - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" 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 http {} level - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
139-ssl-cert-by.t TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" 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 "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" 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 "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 2, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-received: it works!
-close: 1 nil
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" 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 "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 2)

Expected Failures

File Name Details
023-preread/sanity.t TEST 13: phase postponing works - pattern "[crit]" should not match any line in error.log but matches line "2019/02/11 19:07:50 [crit] 21611\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:07:50 [debug] 21611\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:07:50 [debug] 21611\#0: *3 stream lua finalize socket
2019/02/11 19:07:50 [debug] 21611\#0: *3 lua stream cleanup free: 000000000839B2D0
2019/02/11 19:07:50 [debug] 21611\#0: *3 poll del event: fd:11 ev:1
2019/02/11 19:07:50 [debug] 21611\#0: *3 lua close socket connection
2019/02/11 19:07:50 [debug] 21611\#0: *3 free: 000000000839FB60, unused: 0
2019/02/11 19:07:50 [debug] 21611\#0: *3 reusable connection: 0
2019/02/11 19:07:50 [debug] 21611\#0: *3 lua resume returned 0
2019/02/11 19:07:50 [debug] 21611\#0: *3 lua light thread ended normally
'
023-preread/sanity.t TEST 13: phase postponing works - pattern "[crit]" should not match any line in error.log but matches line "2019/02/11 19:07:50 [crit] 21611\#0: *8 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) 2019/02/11 19:07:50 [debug] 21611\#0: *8 stream lua tcp socket error retval handler
2019/02/11 19:07:50 [debug] 21611\#0: *8 stream lua finalize socket
2019/02/11 19:07:50 [debug] 21611\#0: *8 lua stream cleanup free: 00000000083C01A0
2019/02/11 19:07:50 [debug] 21611\#0: *8 poll del event: fd:11 ev:1
2019/02/11 19:07:50 [debug] 21611\#0: *8 lua close socket connection
2019/02/11 19:07:50 [debug] 21611\#0: *8 free: 00000000083C4A30, unused: 0
2019/02/11 19:07:50 [debug] 21611\#0: *8 reusable connection: 0
2019/02/11 19:07:50 [debug] 21611\#0: *8 lua resume returned 0
2019/02/11 19:07:50 [debug] 21611\#0: *8 lua light thread ended normally
'
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 +1,3 @@
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) Looks like you failed 1 test of 282.
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8190 pending timers
'
expected: 'stream lua found 8191 pending timers
'
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent: ping
-received: pong
-close: 1 nil
'
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 - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:35:39 [alert] 22992\#0: *5 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while SSL handshaking, client: 127.0.0.1, server: 0.0.0.0:12345" (req 0) 2019/02/11 19:35:39 [debug] 22992\#0: *5 SSL_do_handshake: -1
2019/02/11 19:35:39 [debug] 22992\#0: *5 SSL_get_error: 2
2019/02/11 19:35:39 [debug] 22992\#0: *5 poll add event: fd:13 ev:1
2019/02/11 19:35:39 [debug] 22992\#0: *5 event timer add: 13: 60000:7180765
2019/02/11 19:35:39 [debug] 22992\#0: posted event 00000000083AA2C0
2019/02/11 19:35:39 [debug] 22992\#0: *3 delete posted event 00000000083AA2C0
2019/02/11 19:35:39 [debug] 22992\#0: *3 stream lua tcp socket handler: wev 1
2019/02/11 19:35:39 [debug] 22992\#0: *3 event timer del: 12: 7122733
2019/02/11 19:35:39 [debug] 22992\#0: *3 stream lua tcp socket connected
'
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent: ping
-received: pong
-close: 1 nil
'
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 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "[alert]" should not match any line in error.log but matches line "2019/02/11 19:35:41 [alert] 22993\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:35:41 [debug] 22993\#0: *3 SSL_do_handshake: -1
2019/02/11 19:35:41 [debug] 22993\#0: *3 SSL_get_error: 1
2019/02/11 19:35:41 [crit] 22993\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:35:41 [debug] 22993\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:35:41 [debug] 22993\#0: *3 stream lua finalize socket
2019/02/11 19:35:41 [debug] 22993\#0: *3 lua stream cleanup free: 0000000008395FE0
2019/02/11 19:35:41 [debug] 22993\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:35:41 [debug] 22993\#0: *3 lua close socket connection
2019/02/11 19:35:41 [debug] 22993\#0: *3 free: 0000000008396560, unused: 0
'
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 14: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "(?^:SSL: TLSv1\.2, cipher: "ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256) TLSv1\.2)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:35:43 [alert] 22994\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:35:43 [debug] 22994\#0: *3 SSL_do_handshake: -1
2019/02/11 19:35:43 [debug] 22994\#0: *3 SSL_get_error: 1
2019/02/11 19:35:43 [crit] 22994\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:35:43 [debug] 22994\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:35:43 [debug] 22994\#0: *3 stream lua finalize socket
2019/02/11 19:35:43 [debug] 22994\#0: *3 lua stream cleanup free: 0000000008395D30
2019/02/11 19:35:43 [debug] 22994\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:35:43 [debug] 22994\#0: *3 lua close socket connection
2019/02/11 19:35:43 [debug] 22994\#0: *3 free: 00000000083962B0, unused: 0
'
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "(?^:SSL: TLSv1\.2, cipher: "ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256) TLSv1\.2)" 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) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" 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) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
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) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
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 13: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "[alert]" should not match any line in error.log but matches line "2019/02/11 19:35:55 [alert] 23001\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:35:55 [debug] 23001\#0: *3 SSL_do_handshake: -1
2019/02/11 19:35:55 [debug] 23001\#0: *3 SSL_get_error: 1
2019/02/11 19:35:55 [crit] 23001\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:35:55 [debug] 23001\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:35:55 [debug] 23001\#0: *3 stream lua finalize socket
2019/02/11 19:35:55 [debug] 23001\#0: *3 lua stream cleanup free: 0000000008395E90
2019/02/11 19:35:55 [debug] 23001\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:35:55 [debug] 23001\#0: *3 lua close socket connection
2019/02/11 19:35:55 [debug] 23001\#0: *3 free: 0000000008396410, unused: 0
'
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
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) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
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 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
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) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
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 26: handshake timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:00 [alert] 23004\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:00 [debug] 23004\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:00 [debug] 23004\#0: *3 SSL_get_error: 1
2019/02/11 19:36:00 [crit] 23004\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:00 [debug] 23004\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:00 [debug] 23004\#0: *3 stream lua finalize socket
2019/02/11 19:36:00 [debug] 23004\#0: *3 lua stream cleanup free: 00000000083941E0
2019/02/11 19:36:00 [debug] 23004\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:00 [debug] 23004\#0: *3 lua close socket connection
2019/02/11 19:36:00 [debug] 23004\#0: *3 free: 0000000008394760, unused: 0
'
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
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) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:02 [alert] 23005\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:02 [debug] 23005\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:02 [debug] 23005\#0: *3 SSL_get_error: 1
2019/02/11 19:36:02 [crit] 23005\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:02 [debug] 23005\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:02 [debug] 23005\#0: *3 stream lua finalize socket
2019/02/11 19:36:02 [debug] 23005\#0: *3 lua stream cleanup free: 00000000083B2470
2019/02/11 19:36:02 [debug] 23005\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:02 [debug] 23005\#0: *3 lua close socket connection
2019/02/11 19:36:02 [debug] 23005\#0: *3 free: 00000000083B29F0, unused: 0
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
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 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
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) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
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 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:10 [alert] 23010\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:10 [debug] 23010\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:10 [debug] 23010\#0: *3 SSL_get_error: 1
2019/02/11 19:36:10 [crit] 23010\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:10 [debug] 23010\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:10 [debug] 23010\#0: *3 stream lua finalize socket
2019/02/11 19:36:10 [debug] 23010\#0: *3 lua stream cleanup free: 0000000008395E80
2019/02/11 19:36:10 [debug] 23010\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:10 [debug] 23010\#0: *3 lua close socket connection
2019/02/11 19:36:10 [debug] 23010\#0: *3 free: 0000000008396400, unused: 0
'
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
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) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:12 [alert] 23011\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:12 [debug] 23011\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:12 [debug] 23011\#0: *3 SSL_get_error: 1
2019/02/11 19:36:12 [crit] 23011\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:12 [debug] 23011\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:12 [debug] 23011\#0: *3 stream lua finalize socket
2019/02/11 19:36:12 [debug] 23011\#0: *3 lua stream cleanup free: 00000000083B4320
2019/02/11 19:36:12 [debug] 23011\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:12 [debug] 23011\#0: *3 lua close socket connection
2019/02/11 19:36:12 [debug] 23011\#0: *3 free: 00000000083B48A0, unused: 0
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
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 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "(?^:SSL: TLSv1.2, 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 - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:14 [alert] 23012\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:14 [debug] 23012\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:14 [debug] 23012\#0: *3 SSL_get_error: 1
2019/02/11 19:36:14 [crit] 23012\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:14 [debug] 23012\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:14 [debug] 23012\#0: *3 stream lua finalize socket
2019/02/11 19:36:14 [debug] 23012\#0: *3 lua stream cleanup free: 0000000008395810
2019/02/11 19:36:14 [debug] 23012\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:14 [debug] 23012\#0: *3 lua close socket connection
2019/02/11 19:36:14 [debug] 23012\#0: *3 free: 0000000008395D90, unused: 0
'
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:16 [alert] 23013\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:16 [debug] 23013\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:16 [debug] 23013\#0: *3 SSL_get_error: 1
2019/02/11 19:36:16 [crit] 23013\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:16 [debug] 23013\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:16 [debug] 23013\#0: *3 stream lua finalize socket
2019/02/11 19:36:16 [debug] 23013\#0: *3 lua stream cleanup free: 00000000083B25B0
2019/02/11 19:36:16 [debug] 23013\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:16 [debug] 23013\#0: *3 lua close socket connection
2019/02/11 19:36:16 [debug] 23013\#0: *3 free: 00000000083B2B30, unused: 0
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
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,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 56 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
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 "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:17 [alert] 23014\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:17 [debug] 23014\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:17 [debug] 23014\#0: *3 SSL_get_error: 1
2019/02/11 19:36:17 [crit] 23014\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:17 [debug] 23014\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:17 [debug] 23014\#0: *3 stream lua finalize socket
2019/02/11 19:36:17 [debug] 23014\#0: *3 lua stream cleanup free: 0000000008395EB0
2019/02/11 19:36:17 [debug] 23014\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:17 [debug] 23014\#0: *3 lua close socket connection
2019/02/11 19:36:17 [debug] 23014\#0: *3 free: 0000000008396430, unused: 0
'
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,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 56 bytes.
-received: HTTP/1.1 404 Not Found
-close: 1 nil
'
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 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES(?:256|128)-SHA\b)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:19 [alert] 23015\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:19 [debug] 23015\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:19 [debug] 23015\#0: *3 SSL_get_error: 1
2019/02/11 19:36:19 [crit] 23015\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:19 [debug] 23015\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:19 [debug] 23015\#0: *3 stream lua finalize socket
2019/02/11 19:36:19 [debug] 23015\#0: *3 lua stream cleanup free: 0000000008394D50
2019/02/11 19:36:19 [debug] 23015\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:19 [debug] 23015\#0: *3 lua close socket connection
2019/02/11 19:36:19 [debug] 23015\#0: *3 free: 00000000083952D0, unused: 0
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 58 bytes.
-received: HTTP/1.1 302 Moved Temporarily
-close: 1 nil
'
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 "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES(?:256|128)-SHA\b)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
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 - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:21 [alert] 23016\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:21 [debug] 23016\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:21 [debug] 23016\#0: *3 SSL_get_error: 1
2019/02/11 19:36:21 [crit] 23016\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:21 [debug] 23016\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:21 [debug] 23016\#0: *3 stream lua finalize socket
2019/02/11 19:36:21 [debug] 23016\#0: *3 lua stream cleanup free: 0000000008394FA0
2019/02/11 19:36:21 [debug] 23016\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:21 [debug] 23016\#0: *3 lua close socket connection
2019/02/11 19:36:21 [debug] 23016\#0: *3 free: 0000000008395520, unused: 0
'
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
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 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 0, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 1, req 0) 'connected: 1
failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
doesn't match '(?^:connected: 1
failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate)
failed to send stream request: closed
)'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:24 [alert] 23018\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:24 [debug] 23018\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:24 [debug] 23018\#0: *3 SSL_get_error: 1
2019/02/11 19:36:24 [crit] 23018\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:24 [debug] 23018\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:24 [debug] 23018\#0: *3 stream lua finalize socket
2019/02/11 19:36:24 [debug] 23018\#0: *3 lua stream cleanup free: 00000000083A07C0
2019/02/11 19:36:24 [debug] 23018\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:24 [debug] 23018\#0: *3 lua close socket connection
2019/02/11 19:36:24 [debug] 23018\#0: *3 free: 00000000083A0D40, unused: 0
'
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:26 [alert] 23019\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:26 [debug] 23019\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:26 [debug] 23019\#0: *3 SSL_get_error: 1
2019/02/11 19:36:26 [crit] 23019\#0: *3 SSL_do_handshake() failed (SSL: error:141640BF:SSL routines:tls_construct_client_hello:no protocols available), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:26 [debug] 23019\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:26 [debug] 23019\#0: *3 stream lua finalize socket
2019/02/11 19:36:26 [debug] 23019\#0: *3 lua stream cleanup free: 0000000008396160
2019/02/11 19:36:26 [debug] 23019\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:26 [debug] 23019\#0: *3 lua close socket connection
2019/02/11 19:36:26 [debug] 23019\#0: *3 free: 00000000083966E0, unused: 0
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:28 [alert] 23020\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:28 [debug] 23020\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:28 [debug] 23020\#0: *3 SSL_get_error: 1
2019/02/11 19:36:28 [crit] 23020\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:28 [debug] 23020\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:28 [debug] 23020\#0: *3 stream lua finalize socket
2019/02/11 19:36:28 [debug] 23020\#0: *3 lua stream cleanup free: 00000000083B27E0
2019/02/11 19:36:28 [debug] 23020\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:28 [debug] 23020\#0: *3 lua close socket connection
2019/02/11 19:36:28 [debug] 23020\#0: *3 free: 00000000083B2D60, unused: 0
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/11 19:36:29 [alert] 23021\#0: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) 2019/02/11 19:36:29 [debug] 23021\#0: *3 SSL_do_handshake: -1
2019/02/11 19:36:29 [debug] 23021\#0: *3 SSL_get_error: 1
2019/02/11 19:36:29 [crit] 23021\#0: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985
2019/02/11 19:36:29 [debug] 23021\#0: *3 stream lua tcp socket error retval handler
2019/02/11 19:36:29 [debug] 23021\#0: *3 stream lua finalize socket
2019/02/11 19:36:29 [debug] 23021\#0: *3 lua stream cleanup free: 00000000083B40D0
2019/02/11 19:36:29 [debug] 23021\#0: *3 poll del event: fd:12 ev:1
2019/02/11 19:36:29 [debug] 23021\#0: *3 lua close socket connection
2019/02/11 19:36:29 [debug] 23021\#0: *3 free: 00000000083B4650, unused: 0
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
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) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent http request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
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]+)
$)'
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.