(This page was automatically generated by the tools in the opsboy project on 09:42:25 11-Nov-2015 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (r)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
f67aefc9 2015-07-03 14:50:50 GMT 0 175 170 17641 1551 sec

LuaJIT

LuaJIT 2.1.0-alpha, commit 5d54514

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected @@ -1,2 +1,2 @@
read timer set: 0
-write timer set: 1
+write timer set: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 14:58:04 [error] 23891\#0: *1 peer closed connection in SSL handshake while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo\", host: \"localhost\"" (req 0)
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected @@ -1,2 +1,2 @@
read timer set: 0
-write timer set: 1
+write timer set: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 14:58:04 [error] 23891\#0: *4 peer closed connection in SSL handshake while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo\", host: \"localhost\"" (req 1)
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - status code ok got: '502'
expected: '200'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected @@ -1,2 +1,2 @@
read timer set: 0
-write timer set: 1
+write timer set: 0
'
014-bugs.t TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 14:58:04 [error] 23891\#0: *7 peer closed connection in SSL handshake while SSL handshaking to upstream, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", upstream: \"https://unix:/home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock:/foo\", host: \"localhost\"" (req 2)
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (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 (req 1) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "agentzh.org"" matches a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (req 1) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "agentzh.org"" matches a line in error.log (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (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: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: \1:3
lua ssl save session: \1:4
lua ssl free session: \1:4
lua ssl free session: \1:3
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" matches a line in error.log (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:22 [error] 6477\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (req 1) @@ -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: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: \1:3
lua ssl save session: \1:4
lua ssl free session: \1:4
lua ssl free session: \1:3
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" matches a line in error.log (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:22 [error] 6477\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (req 1) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send http 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 (req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:23 [error] 6499\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (req 1) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:23 [error] 6499\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:23 [error] 6510\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:23 [error] 6510\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (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 "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:24 [error] 6521\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (req 1) @@ -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 "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:24 [error] 6521\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:24 [error] 6532\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:24 [error] 6532\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" matches a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:24 [error] 6543\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" matches a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:25 [error] 6543\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" matches a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (req 1) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" matches a line in error.log (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (req 1) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send http request: closed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (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 "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:26 [error] 6576\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (req 1) @@ -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 "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:26 [error] 6576\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:26 [error] 6587\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (req 1) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:26 [error] 6587\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:26 [error] 6598\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:26 [error] 6598\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:27 [error] 6609\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:27 [error] 6609\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:27 [error] 6620\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (req 1) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:27 [error] 6620\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" matches a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:28 [error] 6631\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" matches a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:28 [error] 6631\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" matches a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:28 [error] 6642\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" matches a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:28 [error] 6642\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:28 [error] 6653\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (req 1) @@ -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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:28 [error] 6653\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (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)" matches 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 (req 1) @@ -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)" matches a line in error.log (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (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: iscribblet.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]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" matches a line in error.log (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:29 [error] 6675\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (req 1) @@ -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: iscribblet.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]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" matches a line in error.log (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:29 [error] 6675\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (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 "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:29 [error] 6686\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (req 1) @@ -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 "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:29 [error] 6686\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" matches a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" matches a line in error.log (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (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 http request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:30 [error] 6708\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (req 1) @@ -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 http request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:30 [error] 6708\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" matches a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:30 [error] 6719\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" matches a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:30 [error] 6719\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (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)" matches 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) - response_body - response is expected (req 1) @@ -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)" matches a line in error.log (req 1)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:31 [error] 6741\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:31 [error] 6741\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:31 [error] 6752\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:31 [error] 6752\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (req 0) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:31 [error] 6763\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (req 1) @@ -1,11 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 56 bytes.
-received: HTTP/1.1 201 Created
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:32 [error] 6763\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 1: www.google.com - response_body - response is expected (req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:32 [error] 6774\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 1: www.google.com - response_body - response is expected (req 1) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
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]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:32 [error] 6774\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" matches a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" matches a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:32 [error] 6796\#0: *1 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (req 1) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent http request: 59 bytes.
-received: HTTP/1.1 200 OK
-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]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" matches a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" matches a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2015/07/03 15:22:32 [error] 6796\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1)

Warnings

Go back to the index page.