(This page was automatically generated by the tools in the opsboy project on 20:09:02 26-Nov-2016 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
3cbe5be4 | 2016-11-04 01:27:05 GMT | 0 | 567 | 188 | 19445 | 1616 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/11/04 03:26:08 [error] 16751\#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/11/04 03:26:09 [error] 16751\#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/11/04 03:26:09 [error] 16751\#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) | |
043-shdict.t | nginx: [emerg] | lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26 |
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 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 ' |
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 ' |
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/11/04 03:50:50 [error] 22233\#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/11/04 03:50:50 [error] 22233\#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 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/11/04 03:50:54 [error] 22255\#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/11/04 03:50:55 [error] 22255\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) | |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (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/11/04 03:50:55 [error] 22266\#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/11/04 03:50:55 [error] 22266\#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/11/04 03:50:55 [error] 22277\#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/11/04 03:50:55 [error] 22277\#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) | |
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/11/04 03:50:56 [error] 22299\#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/11/04 03:50:56 [error] 22299\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) | |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (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 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 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/11/04 03:50:57 [error] 22332\#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/11/04 03:50:57 [error] 22332\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) | |
129-ssl-socket.t | TEST 14: default cipher - response_body - response is expected (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/11/04 03:50:57 [error] 22343\#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/11/04 03:50:57 [error] 22343\#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/11/04 03:50:57 [error] 22354\#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/11/04 03:50:58 [error] 22354\#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 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/11/04 03:50:58 [error] 22376\#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/11/04 03:50:58 [error] 22376\#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/11/04 03:50:59 [error] 22398\#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/11/04 03:50:59 [error] 22398\#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/11/04 03:50:59 [error] 22409\#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/11/04 03:50:59 [error] 22409\#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 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/11/04 03:51:00 [error] 22431\#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/11/04 03:51:00 [error] 22431\#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/11/04 03:51:00 [error] 22442\#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/11/04 03:51:00 [error] 22442\#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/11/04 03:51:01 [error] 22453\#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/11/04 03:51:01 [error] 22453\#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/11/04 03:51:01 [error] 22464\#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/11/04 03:51:01 [error] 22464\#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/11/04 03:51:01 [error] 22475\#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/11/04 03:51:01 [error] 22475\#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/11/04 03:51:01 [error] 22486\#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/11/04 03:51:01 [error] 22486\#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 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/11/04 03:51:02 [error] 22497\#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/11/04 03:51:02 [error] 22497\#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/11/04 03:51:02 [error] 22508\#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/11/04 03:51:02 [error] 22508\#0: *4 peer closed connection in SSL handshake, client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 1) | |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (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/11/04 03:51:02 [error] 22519\#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/11/04 03:51:02 [error] 22519\#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/11/04 03:51:02 [error] 22530\#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/11/04 03:51:03 [error] 22530\#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 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/11/04 03:51:03 [error] 22541\#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/11/04 03:51:03 [error] 22541\#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/11/04 03:51:03 [error] 22563\#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/11/04 03:51:03 [error] 22563\#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 ' |
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 |
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 |
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 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/11/04 03:51:24 [error] 23247\#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/11/04 03:51:25 [error] 23247\#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/11/04 03:51:25 [error] 23247\#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/11/04 03:51:25 [error] 23258\#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/11/04 03:51:25 [error] 23258\#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/11/04 03:51:25 [error] 23258\#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 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/11/04 03:51:25 [error] 23280\#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/11/04 03:51:25 [error] 23280\#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/11/04 03:51:25 [error] 23280\#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 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/11/04 03:51:26 [error] 23302\#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/11/04 03:51:26 [error] 23302\#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/11/04 03:51:26 [error] 23302\#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/11/04 03:51:26 [error] 23313\#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/11/04 03:51:26 [error] 23313\#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/11/04 03:51:26 [error] 23313\#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/11/04 03:51:26 [error] 23324\#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/11/04 03:51:27 [error] 23324\#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/11/04 03:51:27 [error] 23324\#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 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/11/04 03:51:27 [error] 23335\#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/11/04 03:51:27 [error] 23335\#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/11/04 03:51:27 [error] 23335\#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 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/11/04 03:51:27 [error] 23346\#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/11/04 03:51:28 [error] 23346\#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/11/04 03:51:28 [error] 23346\#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/11/04 03:51:29 [error] 23357\#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/11/04 03:51:29 [error] 23357\#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/11/04 03:51:29 [error] 23357\#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/11/04 03:51:29 [error] 23368\#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/11/04 03:51:29 [error] 23368\#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/11/04 03:51:30 [error] 23368\#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/11/04 03:51:30 [error] 23379\#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/11/04 03:51:30 [error] 23379\#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/11/04 03:51:30 [error] 23379\#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/11/04 03:51:30 [error] 23401\#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/11/04 03:51:30 [error] 23401\#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/11/04 03:51:30 [error] 23401\#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 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 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 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) | |
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/11/04 03:51:32 [error] 23449\#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/11/04 03:51:32 [error] 23449\#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/11/04 03:51:32 [error] 23449\#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/11/04 03:51:32 [error] 23460\#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/11/04 03:51:32 [error] 23460\#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/11/04 03:51:32 [error] 23460\#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 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/11/04 03:51:32 [error] 23471\#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/11/04 03:51:32 [error] 23471\#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/11/04 03:51:32 [error] 23471\#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 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/11/04 03:51:33 [error] 23493\#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/11/04 03:51:33 [error] 23493\#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/11/04 03:51:33 [error] 23493\#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) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 2: sleep is not allowed - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23532\#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) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23532\#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) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 10: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23532\#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) | |
142-ssl-session-store.t | TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 1: simple logging - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23543\#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) | |
142-ssl-session-store.t | TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 1: simple logging - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23543\#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) | |
142-ssl-session-store.t | TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 1: simple logging - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23543\#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) | |
142-ssl-session-store.t | TEST 3: timer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23554\#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) | |
142-ssl-session-store.t | TEST 3: timer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23554\#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) | |
142-ssl-session-store.t | TEST 3: timer - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:34 [error] 23554\#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) | |
142-ssl-session-store.t | nginx: [emerg] | "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28 |
142-ssl-session-store.t | TEST 8: get phase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 8: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23581\#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) | |
142-ssl-session-store.t | TEST 8: get phase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 8: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23581\#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) | |
142-ssl-session-store.t | TEST 8: get phase - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 8: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23581\#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) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23592\#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) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23592\#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) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 5: ngx.exit(0) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23592\#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) | |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23603\#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) | |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23603\#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) | |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "ssl_session_store_by_lua_block:1: ssl session store by lua is running!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 12: mixing ssl virtual servers with non-ssl virtual servers - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:35 [error] 23603\#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) | |
142-ssl-session-store.t | TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:36 [error] 23625\#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) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:36 [error] 23625\#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) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "lua exit with code -1" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "ssl_session_store_by_lua*: handler return value: 0, sess new cb exit code: 0" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 6: ngx.exit(ngx.ERROR) - no yield - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:36 [error] 23625\#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) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:36 [error] 23636\#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) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:36 [error] 23636\#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) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2) | |
142-ssl-session-store.t | TEST 9: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:36 [error] 23636\#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) | |
142-ssl-session-store.t | TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0) | |
142-ssl-session-store.t | TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1) | |
142-ssl-session-store.t | TEST 4: cosocket is not allowed - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
142-ssl-session-store.t | TEST 4: cosocket is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2) | |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 0) |
@@ -1,2 +0,0 @@ -ssl cert by lua is running! -ssl store session by lua is running! ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23661\#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) | |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ -ssl fetch session by lua is running! -ssl cert by lua is running! -ssl store session by lua is running! ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23661\#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) | |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 2) |
@@ -1,3 +0,0 @@ -ssl fetch session by lua is running! -ssl cert by lua is running! -ssl store session by lua is running! ' |
143-ssl-session-fetch.t | TEST 11: inter-operation with ssl_certificate_by_lua - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23661\#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) | |
143-ssl-session-fetch.t | TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23672\#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) | |
143-ssl-session-fetch.t | TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 1: simple logging - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23672\#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) | |
143-ssl-session-fetch.t | TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 1: simple logging - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 1: simple logging - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23672\#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) | |
143-ssl-session-fetch.t | TEST 3: timer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23683\#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) | |
143-ssl-session-fetch.t | TEST 3: timer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 3: timer - grep_error_log_out (req 1) |
got: '' expected: 'my timer run! ' |
143-ssl-session-fetch.t | TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23683\#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) | |
143-ssl-session-fetch.t | TEST 3: timer - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 3: timer - grep_error_log_out (req 2) |
got: '' expected: 'my timer run! ' |
143-ssl-session-fetch.t | TEST 3: timer - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:37 [error] 23683\#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) | |
143-ssl-session-fetch.t | TEST 10: get phase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 10: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23694\#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) | |
143-ssl-session-fetch.t | TEST 10: get phase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 10: get phase - grep_error_log_out (req 1) |
got: '' expected: 'get_phase: ssl_session_fetch ' |
143-ssl-session-fetch.t | TEST 10: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23694\#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) | |
143-ssl-session-fetch.t | TEST 10: get phase - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 10: get phase - grep_error_log_out (req 2) |
got: '' expected: 'get_phase: ssl_session_fetch ' |
143-ssl-session-fetch.t | TEST 10: get phase - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23694\#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) | |
143-ssl-session-fetch.t | TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23705\#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) | |
143-ssl-session-fetch.t | TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 2: sleep - grep_error_log_out (req 1) |
'' doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)' |
143-ssl-session-fetch.t | TEST 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23705\#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) | |
143-ssl-session-fetch.t | TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 2: sleep - grep_error_log_out (req 2) |
'' doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)' |
143-ssl-session-fetch.t | TEST 2: sleep - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23705\#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) | |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:38 [error] 23727\#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) | |
143-ssl-session-fetch.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 4: cosocket - grep_error_log_out (req 1) |
got: '' expected: 'received memc reply: OK ' |
143-ssl-session-fetch.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:39 [error] 23727\#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) | |
143-ssl-session-fetch.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 4: cosocket - grep_error_log_out (req 2) |
got: '' expected: 'received memc reply: OK ' |
143-ssl-session-fetch.t | TEST 4: cosocket - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:39 [error] 23727\#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) | |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - grep_error_log_out (req 1) |
@@ -1,2 +0,0 @@ -ssl_session_fetch_by_lua_block:3: bad bad bad -ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 9: lua exception - yield - grep_error_log_out (req 2) |
@@ -1,2 +0,0 @@ -ssl_session_fetch_by_lua_block:3: bad bad bad -ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:39 [error] 23749\#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) | |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - grep_error_log_out (req 1) |
got: '' expected: 'a.lua:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:39 [error] 23749\#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) | |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - grep_error_log_out (req 2) |
got: '' expected: 'a.lua:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 12: simple logging (by file) - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:39 [error] 23749\#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) | |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 1) |
got: '' expected: 'lua exit with code 0 ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 2) |
got: '' expected: 'lua exit with code 0 ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 8: lua exception - no yield - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:40 [error] 23782\#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) | |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:40 [error] 23782\#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) | |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running! ' |
143-ssl-session-fetch.t | TEST 13: mixing ssl virtual servers with non-ssl virtual servers - pattern "[error]" should not match any line in error.log but matches line "2016/11/04 03:51:40 [error] 23782\#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) | |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) |
got: '' expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,3 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -close: 1 nil ' |
143-ssl-session-fetch.t | TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) |
got: '' expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0 ' |
146-malloc-trim.t | TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) |
@@ -1,6 +1,6 @@ +malloc_trim(1) returned 1 malloc_trim(1) returned 0 -malloc_trim(1) returned 0 -malloc_trim(1) returned 0 -malloc_trim(1) returned 0 +malloc_trim(1) returned 1 +malloc_trim(1) returned 1 malloc_trim(1) returned 0 malloc_trim(1) returned 0 ' |
146-malloc-trim.t | TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) |
got: 'malloc_trim(1) returned 1 ' expected: 'malloc_trim(1) returned 0 ' |
146-malloc-trim.t | TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) |
got: 'malloc_trim(1) returned 1 ' expected: 'malloc_trim(1) returned 0 ' |
146-malloc-trim.t | TEST 4: malloc_trim() every 3 req, in subreq - grep_error_log_out (req 0) |
@@ -1,2 +1,2 @@ -malloc_trim(1) returned 0 +malloc_trim(1) returned 1 -malloc_trim(1) returned 0 +malloc_trim(1) returned 1 ' |
146-malloc-trim.t | TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) |
@@ -1,3 +1,3 @@ -malloc_trim(1) returned 0 -malloc_trim(1) returned 0 +malloc_trim(1) returned 1 +malloc_trim(1) returned 1 malloc_trim(1) returned 0 ' |
148-fake-shm-zone.t | nginx: [emerg] | lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26 |
Go back to the index page.