(This page was automatically generated by the tools in the opsboy project on 18:53:15 15-Aug-2016 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
3f4eba7a | 2016-07-15 21:58:32 GMT | 0 | 374 | 180 | 18766 | 1587 sec |
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 "2016/07/16 00:24:17 [error] 16593\#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 "2016/07/16 00:24:17 [error] 16593\#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 "2016/07/16 00:24:17 [error] 16593\#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 (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 ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -2,4 +2,4 @@ failed to safe set baz: no memory found bar: 4000 delete bar -failed to safe set baz: no memory +successfully safe set baz ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - stap output expected |
@@ -2,7 +2,6 @@ init zone alloc pages: 1 ok init zone alloc pages: 1 ok alloc pages: 1 ok -alloc pages: 1 ok alloc pages: 2 NOT OK free pages: 1 -alloc pages: 2 NOT OK +alloc pages: 2 ok ' |
126-shdict-frag.t | TEST 7: merge big slabs (less than max slab size) backward - stap output expected |
@@ -2,8 +2,6 @@ init zone alloc pages: 1 ok init zone alloc pages: 1 ok alloc pages: 1 ok -alloc pages: 1 ok -free pages: 1 alloc pages: 2 NOT OK free pages: 1 alloc pages: 2 ok ' |
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 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" should match 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 "2016/07/16 00:49:03 [error] 22157\#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 (repeated req 1, 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 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" should match 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 "2016/07/16 00:49:03 [error] 22157\#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 (repeated req 0, 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 "2016/07/16 00:49:04 [error] 22168\#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 (repeated req 1, 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 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 "2016/07/16 00:49:04 [error] 22168\#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 (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 "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:04 [error] 22179\#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 (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:04 [error] 22179\#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 13: iscribblet.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 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 "2016/07/16 00:49:04 [error] 22190\#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 (repeated req 1, 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 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 "2016/07/16 00:49:05 [error] 22190\#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 (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 19: iscribblet.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: 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" should match 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 "2016/07/16 00:49:05 [error] 22212\#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 (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: 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" should match 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 "2016/07/16 00:49:05 [error] 22212\#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 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 0, 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 (repeated req 1, 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 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]+):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 "2016/07/16 00:49:06 [error] 22234\#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 (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]+):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 "2016/07/16 00:49:06 [error] 22234\#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 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 0, 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 "blah.agentzh.org"" should match 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 (repeated req 1, 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 "blah.agentzh.org"" should match 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 (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: 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" should match 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 "2016/07/16 00:49:06 [error] 22256\#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 (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: 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" should match 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 "2016/07/16 00:49:06 [error] 22256\#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 (repeated req 0, 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" should match 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 "2016/07/16 00:49:07 [error] 22267\#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 (repeated req 1, 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 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" should match 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 "2016/07/16 00:49:07 [error] 22267\#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 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, 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 "2016/07/16 00:49:07 [error] 22278\#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 (repeated req 1, 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 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 "2016/07/16 00:49:07 [error] 22278\#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 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 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 "2016/07/16 00:49:07 [error] 22300\#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 (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 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 "2016/07/16 00:49:07 [error] 22300\#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_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]+):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 "2016/07/16 00:49:08 [error] 22311\#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_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]+):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 "2016/07/16 00:49:08 [error] 22311\#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 (repeated req 0, 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 (repeated req 1, 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) - response_body - response is expected (repeated req 0, 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)" 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 - response is expected (repeated req 1, 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)" should match a line in error.log (req 1) | |
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 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 "2016/07/16 00:49:09 [error] 22344\#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 (repeated req 1, 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 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 "2016/07/16 00:49:09 [error] 22344\#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 (repeated req 0, 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" should match 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 "2016/07/16 00:49:09 [error] 22355\#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 (repeated req 1, 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 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" should match 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 "2016/07/16 00:49:09 [error] 22355\#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 (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 "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:10 [error] 22377\#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 (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 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:10 [error] 22377\#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 (repeated req 0, 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 "2016/07/16 00:49:10 [error] 22388\#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 (repeated req 1, 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 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 "2016/07/16 00:49:10 [error] 22388\#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 (repeated req 0, 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" 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 "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:10 [error] 22399\#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 (repeated req 1, 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 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" 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 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:11 [error] 22399\#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 (repeated req 0, 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 "2016/07/16 00:49:11 [error] 22410\#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 (repeated req 1, 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 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 "2016/07/16 00:49:11 [error] 22410\#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)" should match 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)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,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 "2016/07/16 00:49:11 [error] 22432\#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 (repeated req 1, 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 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 "2016/07/16 00:49:11 [error] 22432\#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)" should match 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 "2016/07/16 00:49:11 [error] 22443\#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)" should match 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 "2016/07/16 00:49:12 [error] 22443\#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 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 "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:12 [error] 22454\#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 (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 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:12 [error] 22454\#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 (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 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 "2016/07/16 00:49:12 [error] 22465\#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 (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 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 "2016/07/16 00:49:12 [error] 22465\#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 (repeated req 0, 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 "2016/07/16 00:49:12 [error] 22476\#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 (repeated req 1, 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 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 "2016/07/16 00:49:12 [error] 22476\#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_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]+):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 "2016/07/16 00:49:13 [error] 22487\#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_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]+):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 "2016/07/16 00:49:13 [error] 22487\#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 (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) - 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) | |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56 |
135-worker-id.t | TEST 2: worker id should be nil for non-worker processes - response_body - response is expected (repeated req 0, req 0) |
got: "not ok: c=1\x{0a}" length: 12 expected: "ok\x{0a}" length: 3 strings begin to differ at char 1 (line 1 column 1) |
135-worker-id.t | TEST 2: worker id should be nil for non-worker processes - grep_error_log_out (req 0) |
got: "" length: 0 expected: "worker id nil\x{0a}worker id nil\x{0a}" length: 28 strings begin to differ at char 1 (line 1 column 1) |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:33 [error] 23160\#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) | |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:34 [error] 23160\#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) | |
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 12: connection aborted prematurely - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:35 [error] 23160\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 11: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:35 [error] 23171\#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) | |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:35 [error] 23171\#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) | |
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 11: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23171\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 0, 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 ' |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23182\#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) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 1, 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 ' |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23182\#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) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 2, 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 ' |
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 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23182\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 15: coroutine API - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 15: 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 15: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23204\#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) | |
139-ssl-cert-by.t | TEST 15: coroutine API - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 15: 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 15: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23204\#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) | |
139-ssl-cert-by.t | TEST 15: coroutine API - response_body - response is expected (repeated req 2, 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 ' |
139-ssl-cert-by.t | TEST 15: 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 15: coroutine API - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:36 [error] 23204\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:37 [error] 23226\#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) | |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:37 [error] 23226\#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) | |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:37 [error] 23226\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 18: simple logging (syslog) - response_body - response is expected (repeated req 2, 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 ' |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:37 [error] 23248\#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) | |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:37 [error] 23248\#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) | |
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 7: ngx.exit(0) - yield - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23248\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 1: simple logging - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 1: simple logging - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23259\#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) | |
139-ssl-cert-by.t | TEST 1: simple logging - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 1: simple logging - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23259\#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) | |
139-ssl-cert-by.t | TEST 1: simple logging - response_body - response is expected (repeated req 2, 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 ' |
139-ssl-cert-by.t | TEST 1: simple logging - 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 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23259\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 3: timer - response_body - response is expected (repeated req 0, 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 ' |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23270\#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) | |
139-ssl-cert-by.t | TEST 3: timer - response_body - response is expected (repeated req 1, 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 ' |
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 - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23270\#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) | |
139-ssl-cert-by.t | TEST 3: timer - response_body - response is expected (repeated req 2, 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 ' |
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 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:38 [error] 23270\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 14: 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 14: simple logging (by_lua_file) - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:39 [error] 23303\#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) | |
139-ssl-cert-by.t | TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 14: 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 14: simple logging (by_lua_file) - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:39 [error] 23303\#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) | |
139-ssl-cert-by.t | TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, 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 ' |
139-ssl-cert-by.t | TEST 14: 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 14: simple logging (by_lua_file) - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:39 [error] 23303\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:39 [error] 23314\#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) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:39 [error] 23314\#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) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, 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 ' |
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 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:39 [error] 23314\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (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 16: simple user thread wait with yielding - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - grep_error_log_out (req 0) |
@@ -1,3 +0,0 @@ -uthread: thread created: running -uthread: hello in thread -uthread: done ' |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23336\#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) | |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ -uthread: thread created: running -uthread: hello in thread -uthread: done ' |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23336\#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) | |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 2, 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 ' |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - grep_error_log_out (req 2) |
@@ -1,3 +0,0 @@ -uthread: thread created: running -uthread: hello in thread -uthread: done ' |
139-ssl-cert-by.t | TEST 16: simple user thread wait with yielding - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23336\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, 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 ' |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificiate_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 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23347\#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) | |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, 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 ' |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificiate_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 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23347\#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) | |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, 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 ' |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificiate_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 17: simple logging - use ssl_certificiate_by_lua* on the http {} level - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23347\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, 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 ' |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23362\#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) | |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, 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 ' |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:40 [error] 23362\#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) | |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, 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 ' |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23362\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
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,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 ' |
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,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 ' |
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,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 ' |
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 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, 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 ' |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23384\#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) | |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, 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 ' |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23384\#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) | |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, 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 ' |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23384\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, 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 ' |
140-ssl-c-api.t | TEST 1: simple cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23395\#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) | |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, 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 ' |
140-ssl-c-api.t | TEST 1: simple cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23395\#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) | |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, 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 ' |
140-ssl-c-api.t | TEST 1: simple cert + private key - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23395\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) | |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, 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 ' |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:41 [error] 23406\#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) | |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, 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 ' |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:42 [error] 23406\#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) | |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, 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 ' |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - pattern "[error]" should not match any line in error.log but matches line "2016/07/16 00:49:42 [error] 23406\#0: *7 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 2) |
Go back to the index page.