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

Detailed Test Report for ngx_stream_lua in linux x86_64 (r)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
a5cd0c8c 2019-05-08 17:40:00 GMT 0 297 112 8945 369 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b5

OpenSSL

OpenSSL 1.1.0j 20 Nov 2018

Compilation Errors

Unexpected Failures

(none)

Expected 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/05/08 20:32:55 [crit] 15351\#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/05/08 20:32:55 [debug] 15351\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:32:55 [debug] 15351\#0: *3 stream lua finalize socket
2019/05/08 20:32:55 [debug] 15351\#0: *3 lua stream cleanup free: 00000000017EA880
2019/05/08 20:32:55 [debug] 15351\#0: *3 poll del event: fd:11 ev:1
2019/05/08 20:32:55 [debug] 15351\#0: *3 index: copy event 7 to 6
2019/05/08 20:32:55 [debug] 15351\#0: *3 lua close socket connection
2019/05/08 20:32:55 [debug] 15351\#0: *3 free: 00000000017D0FB0, unused: 0
2019/05/08 20:32:55 [debug] 15351\#0: *3 reusable connection: 0
2019/05/08 20:32:55 [debug] 15351\#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/05/08 20:32:55 [crit] 15351\#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/05/08 20:32:55 [debug] 15351\#0: *8 stream lua tcp socket error retval handler
2019/05/08 20:32:55 [debug] 15351\#0: *8 stream lua finalize socket
2019/05/08 20:32:55 [debug] 15351\#0: *8 lua stream cleanup free: 00000000017EAD70
2019/05/08 20:32:55 [debug] 15351\#0: *8 poll del event: fd:11 ev:1
2019/05/08 20:32:55 [debug] 15351\#0: *8 index: copy event 7 to 6
2019/05/08 20:32:55 [debug] 15351\#0: *8 lua close socket connection
2019/05/08 20:32:55 [debug] 15351\#0: *8 free: 00000000017E8800, unused: 0
2019/05/08 20:32:55 [debug] 15351\#0: *8 reusable connection: 0
2019/05/08 20:32:55 [debug] 15351\#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 - pattern "[crit]" should not match any line in error.log but matches line "2019/05/08 20:32:56 [crit] 15369\#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/05/08 20:32:56 [debug] 15369\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:32:56 [debug] 15369\#0: *3 stream lua finalize socket
2019/05/08 20:32:56 [debug] 15369\#0: *3 lua stream cleanup free: 00000000016E1F90
2019/05/08 20:32:56 [debug] 15369\#0: *3 poll del event: fd:11 ev:1
2019/05/08 20:32:56 [debug] 15369\#0: *3 lua close socket connection
2019/05/08 20:32:56 [debug] 15369\#0: *3 free: 00000000016E3BF0, unused: 0
2019/05/08 20:32:56 [debug] 15369\#0: *3 reusable connection: 0
2019/05/08 20:32:56 [debug] 15369\#0: *3 lua resume returned 0
2019/05/08 20:32:56 [debug] 15369\#0: *3 lua light thread ended normally
'
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/sanity.t TEST 13: phase postponing works - pattern "[crit]" should not match any line in error.log but matches line "2019/05/08 20:32:56 [crit] 15369\#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/05/08 20:32:56 [debug] 15369\#0: *8 stream lua tcp socket error retval handler
2019/05/08 20:32:56 [debug] 15369\#0: *8 stream lua finalize socket
2019/05/08 20:32:56 [debug] 15369\#0: *8 lua stream cleanup free: 00000000016E4530
2019/05/08 20:32:56 [debug] 15369\#0: *8 poll del event: fd:11 ev:1
2019/05/08 20:32:56 [debug] 15369\#0: *8 lua close socket connection
2019/05/08 20:32:56 [debug] 15369\#0: *8 free: 00000000016E4020, unused: 0
2019/05/08 20:32:56 [debug] 15369\#0: *8 reusable connection: 0
2019/05/08 20:32:56 [debug] 15369\#0: *8 lua resume returned 0
2019/05/08 20:32:56 [debug] 15369\#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
'
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 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/05/08 20:37:54 [alert] 18671\#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/05/08 20:37:54 [debug] 18671\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:54 [debug] 18671\#0: *3 SSL_get_error: 1
2019/05/08 20:37:54 [crit] 18671\#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/05/08 20:37:54 [debug] 18671\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:54 [debug] 18671\#0: *3 stream lua finalize socket
2019/05/08 20:37:54 [debug] 18671\#0: *3 lua stream cleanup free: 0000000001A5B2B0
2019/05/08 20:37:54 [debug] 18671\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:54 [debug] 18671\#0: *3 lua close socket connection
2019/05/08 20:37:54 [debug] 18671\#0: *3 free: 0000000001A5B140, 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 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]+)
$)'
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/05/08 20:37:55 [alert] 18677\#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/05/08 20:37:55 [debug] 18677\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:55 [debug] 18677\#0: *3 SSL_get_error: 1
2019/05/08 20:37:55 [crit] 18677\#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/05/08 20:37:55 [debug] 18677\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:55 [debug] 18677\#0: *3 stream lua finalize socket
2019/05/08 20:37:55 [debug] 18677\#0: *3 lua stream cleanup free: 0000000000E4E4E0
2019/05/08 20:37:55 [debug] 18677\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:55 [debug] 18677\#0: *3 lua close socket connection
2019/05/08 20:37:55 [debug] 18677\#0: *3 free: 0000000000E612B0, 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 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/05/08 20:37:55 [alert] 18680\#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/05/08 20:37:55 [debug] 18680\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:55 [debug] 18680\#0: *3 SSL_get_error: 1
2019/05/08 20:37:55 [crit] 18680\#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/05/08 20:37:55 [debug] 18680\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:55 [debug] 18680\#0: *3 stream lua finalize socket
2019/05/08 20:37:55 [debug] 18680\#0: *3 lua stream cleanup free: 0000000000B3E3F0
2019/05/08 20:37:55 [debug] 18680\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:55 [debug] 18680\#0: *3 lua close socket connection
2019/05/08 20:37:55 [debug] 18680\#0: *3 free: 0000000000B20F40, 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 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 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 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 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/05/08 20:37:56 [alert] 18692\#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/05/08 20:37:56 [debug] 18692\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:56 [debug] 18692\#0: *3 SSL_get_error: 1
2019/05/08 20:37:56 [crit] 18692\#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/05/08 20:37:56 [debug] 18692\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:56 [debug] 18692\#0: *3 stream lua finalize socket
2019/05/08 20:37:56 [debug] 18692\#0: *3 lua stream cleanup free: 0000000001AEDFA0
2019/05/08 20:37:56 [debug] 18692\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:56 [debug] 18692\#0: *3 lua close socket connection
2019/05/08 20:37:56 [debug] 18692\#0: *3 free: 0000000001AEC7A0, 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 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 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/05/08 20:37:56 [alert] 18698\#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/05/08 20:37:56 [debug] 18698\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:56 [debug] 18698\#0: *3 SSL_get_error: 1
2019/05/08 20:37:56 [crit] 18698\#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/05/08 20:37:56 [debug] 18698\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:56 [debug] 18698\#0: *3 stream lua finalize socket
2019/05/08 20:37:56 [debug] 18698\#0: *3 lua stream cleanup free: 00000000026EFCA0
2019/05/08 20:37:56 [debug] 18698\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:56 [debug] 18698\#0: *3 lua close socket connection
2019/05/08 20:37:56 [debug] 18698\#0: *3 free: 0000000002703AF0, 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 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/05/08 20:37:57 [alert] 18704\#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/05/08 20:37:57 [debug] 18704\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:57 [debug] 18704\#0: *3 SSL_get_error: 1
2019/05/08 20:37:57 [crit] 18704\#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/05/08 20:37:57 [debug] 18704\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:57 [debug] 18704\#0: *3 stream lua finalize socket
2019/05/08 20:37:57 [debug] 18704\#0: *3 lua stream cleanup free: 00000000013473F0
2019/05/08 20:37:57 [debug] 18704\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:57 [debug] 18704\#0: *3 lua close socket connection
2019/05/08 20:37:57 [debug] 18704\#0: *3 free: 0000000001329F50, 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 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/05/08 20:37:57 [alert] 18707\#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/05/08 20:37:57 [debug] 18707\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:57 [debug] 18707\#0: *3 SSL_get_error: 1
2019/05/08 20:37:57 [crit] 18707\#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/05/08 20:37:57 [debug] 18707\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:57 [debug] 18707\#0: *3 stream lua finalize socket
2019/05/08 20:37:57 [debug] 18707\#0: *3 lua stream cleanup free: 00000000008F72B0
2019/05/08 20:37:57 [debug] 18707\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:57 [debug] 18707\#0: *3 lua close socket connection
2019/05/08 20:37:57 [debug] 18707\#0: *3 free: 00000000008F7140, 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 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/05/08 20:37:57 [alert] 18710\#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/05/08 20:37:57 [debug] 18710\#0: *5 SSL_do_handshake: -1
2019/05/08 20:37:57 [debug] 18710\#0: *5 SSL_get_error: 2
2019/05/08 20:37:57 [debug] 18710\#0: *5 poll add event: fd:13 ev:1
2019/05/08 20:37:57 [debug] 18710\#0: *5 event timer add: 13: 60000:10804919
2019/05/08 20:37:57 [debug] 18710\#0: posted event 00000000018FC5F0
2019/05/08 20:37:57 [debug] 18710\#0: *3 delete posted event 00000000018FC5F0
2019/05/08 20:37:57 [debug] 18710\#0: *3 stream lua tcp socket handler: wev 1
2019/05/08 20:37:57 [debug] 18710\#0: *3 event timer del: 12: 10746919
2019/05/08 20:37:57 [debug] 18710\#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 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/05/08 20:37:57 [alert] 18713\#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/05/08 20:37:57 [debug] 18713\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:57 [debug] 18713\#0: *3 SSL_get_error: 1
2019/05/08 20:37:57 [crit] 18713\#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/05/08 20:37:57 [debug] 18713\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:57 [debug] 18713\#0: *3 stream lua finalize socket
2019/05/08 20:37:57 [debug] 18713\#0: *3 lua stream cleanup free: 00000000023C5D70
2019/05/08 20:37:57 [debug] 18713\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:57 [debug] 18713\#0: *3 lua close socket connection
2019/05/08 20:37:57 [debug] 18713\#0: *3 free: 00000000023BDBA0, 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 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 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 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 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 17: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2019/05/08 20:37:59 [alert] 18728\#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/05/08 20:37:59 [debug] 18728\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:59 [debug] 18728\#0: *3 SSL_get_error: 1
2019/05/08 20:37:59 [crit] 18728\#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/05/08 20:37:59 [debug] 18728\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:59 [debug] 18728\#0: *3 stream lua finalize socket
2019/05/08 20:37:59 [debug] 18728\#0: *3 lua stream cleanup free: 00000000020EA3F0
2019/05/08 20:37:59 [debug] 18728\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:59 [debug] 18728\#0: *3 lua close socket connection
2019/05/08 20:37:59 [debug] 18728\#0: *3 free: 00000000020EA280, unused: 0
'
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 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/05/08 20:37:59 [alert] 18734\#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/05/08 20:37:59 [debug] 18734\#0: *3 SSL_do_handshake: -1
2019/05/08 20:37:59 [debug] 18734\#0: *3 SSL_get_error: 1
2019/05/08 20:37:59 [crit] 18734\#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/05/08 20:37:59 [debug] 18734\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:37:59 [debug] 18734\#0: *3 stream lua finalize socket
2019/05/08 20:37:59 [debug] 18734\#0: *3 lua stream cleanup free: 00000000024B9F90
2019/05/08 20:37:59 [debug] 18734\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:37:59 [debug] 18734\#0: *3 lua close socket connection
2019/05/08 20:37:59 [debug] 18734\#0: *3 free: 00000000024D9EB0, 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 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/05/08 20:38:00 [alert] 18740\#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/05/08 20:38:00 [debug] 18740\#0: *3 SSL_do_handshake: -1
2019/05/08 20:38:00 [debug] 18740\#0: *3 SSL_get_error: 1
2019/05/08 20:38:00 [crit] 18740\#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/05/08 20:38:00 [debug] 18740\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:38:00 [debug] 18740\#0: *3 stream lua finalize socket
2019/05/08 20:38:00 [debug] 18740\#0: *3 lua stream cleanup free: 0000000002374220
2019/05/08 20:38:00 [debug] 18740\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:38:00 [debug] 18740\#0: *3 lua close socket connection
2019/05/08 20:38:00 [debug] 18740\#0: *3 free: 00000000023740B0, 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 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 http request: 80 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/05/08 20:38:00 [alert] 18743\#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/05/08 20:38:00 [debug] 18743\#0: *3 SSL_do_handshake: -1
2019/05/08 20:38:00 [debug] 18743\#0: *3 SSL_get_error: 1
2019/05/08 20:38:00 [crit] 18743\#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/05/08 20:38:00 [debug] 18743\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:38:00 [debug] 18743\#0: *3 stream lua finalize socket
2019/05/08 20:38:00 [debug] 18743\#0: *3 lua stream cleanup free: 0000000001668300
2019/05/08 20:38:00 [debug] 18743\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:38:00 [debug] 18743\#0: *3 lua close socket connection
2019/05/08 20:38:00 [debug] 18743\#0: *3 free: 0000000001668190, 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 http request: 80 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 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/05/08 20:38:00 [alert] 18746\#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/05/08 20:38:00 [debug] 18746\#0: *3 SSL_do_handshake: -1
2019/05/08 20:38:00 [debug] 18746\#0: *3 SSL_get_error: 1
2019/05/08 20:38:00 [crit] 18746\#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/05/08 20:38:00 [debug] 18746\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:38:00 [debug] 18746\#0: *3 stream lua finalize socket
2019/05/08 20:38:00 [debug] 18746\#0: *3 lua stream cleanup free: 0000000002589EE0
2019/05/08 20:38:00 [debug] 18746\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:38:00 [debug] 18746\#0: *3 lua close socket connection
2019/05/08 20:38:00 [debug] 18746\#0: *3 free: 0000000002589D70, 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 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/05/08 20:38:00 [alert] 18749\#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/05/08 20:38:00 [debug] 18749\#0: *3 SSL_do_handshake: -1
2019/05/08 20:38:00 [debug] 18749\#0: *3 SSL_get_error: 1
2019/05/08 20:38:00 [crit] 18749\#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/05/08 20:38:00 [debug] 18749\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:38:00 [debug] 18749\#0: *3 stream lua finalize socket
2019/05/08 20:38:00 [debug] 18749\#0: *3 lua stream cleanup free: 0000000001E87E40
2019/05/08 20:38:00 [debug] 18749\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:38:00 [debug] 18749\#0: *3 lua close socket connection
2019/05/08 20:38:00 [debug] 18749\#0: *3 free: 0000000001E64000, 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/05/08 20:38:01 [alert] 18752\#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/05/08 20:38:01 [debug] 18752\#0: *3 SSL_do_handshake: -1
2019/05/08 20:38:01 [debug] 18752\#0: *3 SSL_get_error: 1
2019/05/08 20:38:01 [crit] 18752\#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/05/08 20:38:01 [debug] 18752\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:38:01 [debug] 18752\#0: *3 stream lua finalize socket
2019/05/08 20:38:01 [debug] 18752\#0: *3 lua stream cleanup free: 0000000001B8DCE0
2019/05/08 20:38:01 [debug] 18752\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:38:01 [debug] 18752\#0: *3 lua close socket connection
2019/05/08 20:38:01 [debug] 18752\#0: *3 free: 0000000001B855A0, 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 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/05/08 20:38:01 [alert] 18758\#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/05/08 20:38:01 [debug] 18758\#0: *3 SSL_do_handshake: -1
2019/05/08 20:38:01 [debug] 18758\#0: *3 SSL_get_error: 1
2019/05/08 20:38:01 [crit] 18758\#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/05/08 20:38:01 [debug] 18758\#0: *3 stream lua tcp socket error retval handler
2019/05/08 20:38:01 [debug] 18758\#0: *3 stream lua finalize socket
2019/05/08 20:38:01 [debug] 18758\#0: *3 lua stream cleanup free: 00000000008C8880
2019/05/08 20:38:01 [debug] 18758\#0: *3 poll del event: fd:12 ev:1
2019/05/08 20:38:01 [debug] 18758\#0: *3 lua close socket connection
2019/05/08 20:38:01 [debug] 18758\#0: *3 free: 00000000008CA940, 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
'
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
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
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 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 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)
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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)
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 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)
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 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
'

Warnings

Go back to the index page.