(This page was automatically generated by the tools in the opsboy project on 19:30:20 13-Feb-2019 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
fd90f4e8 | 2019-02-12 21:34:04 GMT | 14 | 478 | 199 | 20487 | 5087 sec |
File | Name | Details |
---|---|---|
058-tcp-socket.t | TEST 64: receiveany method in cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,14 @@ 1 -22 +2 -hello world +2 +h +e +l +l +o + +w +o +r +l +d ' |
058-tcp-socket.t | TEST 64: receiveany method in cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,14 @@ 1 -22 +2 -hello world +2 +h +e +l +l +o + +w +o +r +l +d ' |
058-tcp-socket.t | TEST 68: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,11 @@ -hello w +h -orld +e +l +l +o + +w +o +r +l +d ' |
058-tcp-socket.t | TEST 68: receiveany with limited, max is smaller than data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,11 @@ -hello w +h -orld +e +l +l +o + +w +o +r +l +d ' |
058-tcp-socket.t | TEST 67: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 0, req 0) |
got: 'h ' expected: 'hello world ' |
058-tcp-socket.t | TEST 67: receiveany with limited, max is larger than data - response_body - response is expected (repeated req 1, req 0) |
got: 'h ' expected: 'hello world ' |
068-socket-keepalive.t | TEST 42: conn queuing: set timeout via lua_socket_connect_timeout - pattern "lua tcp socket queued connect timed out, when trying to connect to 127.0.0.1:11211" should match a line in error.log (req 0) | |
143-ssl-session-fetch.t | TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) |
'failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\A[123]done\n\z)' |
143-ssl-session-fetch.t | TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) |
'failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\A[123]done\n\z)' |
143-ssl-session-fetch.t | TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - response_body_like - response is expected (failed to do SSL handshake: handshake failed) |
'failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\A[123]done\n\z)' |
158-global-var.t | TEST 8: ssl_certificate_by_lua - response_body_like - response is expected (failed to do SSL handshake: handshake failed) |
'failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\A[12]done\n\z)' |
158-global-var.t | TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 0) |
'' doesn't match '(?^:\A\[warn\] .*?writing a global lua variable \('foo'\) ssl_certificate_by_lua:3: in main chunk\n\z)' |
158-global-var.t | TEST 8: ssl_certificate_by_lua - response_body_like - response is expected (failed to do SSL handshake: handshake failed) |
'failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\A[12]done\n\z)' |
158-global-var.t | TEST 8: ssl_certificate_by_lua - grep_error_log_out (req 1) |
got: '' expected: 'old foo: 1 ' |
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 - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 21:41:46 [alert] 23521\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while SSL handshaking 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) |
2019/02/12 21:41:46 [debug] 23521\#0: *1 SSL_do_handshake: -1 2019/02/12 21:41:46 [debug] 23521\#0: *1 SSL_get_error: 1 2019/02/12 21:41:46 [crit] 23521\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while 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" 2019/02/12 21:41:46 [debug] 23521\#0: *1 http next upstream, 2 2019/02/12 21:41:46 [debug] 23521\#0: *1 free rr peer 1 4 2019/02/12 21:41:46 [debug] 23521\#0: *1 finalize http upstream request: 502 2019/02/12 21:41:46 [debug] 23521\#0: *1 finalize http proxy request 2019/02/12 21:41:46 [debug] 23521\#0: *1 close http upstream connection: 9 2019/02/12 21:41:46 [debug] 23521\#0: *1 free: 00000000087F2EC0, unused: 0 ' |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - status code ok |
got: '502' expected: '200' |
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 ' |
086-init-by.t | nginx: [error] | init_by_lua error: init_by_lua:2: failed to init |
106-timer.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
106-timer.t | TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:1[4-9]|2[0-6]?))" should match a line in error.log (req 0) | |
106-timer.t | TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 2: globals are shared - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
106-timer.t | TEST 7: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" should match a line in error.log (req 0) | |
106-timer.t | TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 5: 0 timer - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0(?:[^.]|\.00))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-9]|8[0-6]))" should match a line in error.log (req 0) | |
108-timer-safe.t | TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 11: openresty.org: 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 11: openresty.org: 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 11: openresty.org: 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 11: openresty.org: 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 14: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 14: explicit cipher configuration - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 14: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 14: explicit cipher configuration - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:02 [alert] 26610\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:02 [debug] 26610\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:02 [debug] 26610\#0: *1 SSL_get_error: 1 2019/02/12 22:52:02 [crit] 26610\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:02 [debug] 26610\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:02 [debug] 26610\#0: *1 lua finalize socket 2019/02/12 22:52:02 [debug] 26610\#0: *1 lua http cleanup free: 00000000087B2120 2019/02/12 22:52:02 [debug] 26610\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:02 [debug] 26610\#0: *1 lua close socket connection 2019/02/12 22:52:02 [debug] 26610\#0: *1 free: 00000000087B2FD0, unused: 0 ' |
129-ssl-socket.t | TEST 14: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 14: explicit cipher configuration - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 14: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 23: 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 23: 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 16: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:06 [alert] 26612\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:06 [debug] 26612\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:06 [debug] 26612\#0: *1 SSL_get_error: 1 2019/02/12 22:52:06 [crit] 26612\#0: *1 SSL_do_handshake() failed (SSL: error:141640BF:SSL routines:tls_construct_client_hello:no protocols available), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:06 [debug] 26612\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:06 [debug] 26612\#0: *1 lua finalize socket 2019/02/12 22:52:06 [debug] 26612\#0: *1 lua http cleanup free: 00000000087B3660 2019/02/12 22:52:06 [debug] 26612\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:06 [debug] 26612\#0: *1 lua close socket connection 2019/02/12 22:52:06 [debug] 26612\#0: *1 free: 00000000087B4510, unused: 0 ' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 0, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send http request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send http request: closed )' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 1, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send http request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send http request: closed )' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 1: www.google.com - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 1: www.google.com - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:09 [alert] 26614\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:09 [debug] 26614\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:09 [debug] 26614\#0: *1 SSL_get_error: 1 2019/02/12 22:52:09 [crit] 26614\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:09 [debug] 26614\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:09 [debug] 26614\#0: *1 lua finalize socket 2019/02/12 22:52:09 [debug] 26614\#0: *1 lua http cleanup free: 00000000087B3A80 2019/02/12 22:52:09 [debug] 26614\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:09 [debug] 26614\#0: *1 lua close socket connection 2019/02/12 22:52:09 [debug] 26614\#0: *1 free: 00000000087B4930, unused: 0 ' |
129-ssl-socket.t | TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 1: www.google.com - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 28: 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 28: unix domain ssl cosocket (keepalive) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:11 [alert] 26615\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:11 [debug] 26615\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:11 [debug] 26615\#0: *1 SSL_get_error: 1 2019/02/12 22:52:11 [crit] 26615\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:11 [debug] 26615\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:11 [debug] 26615\#0: *1 lua finalize socket 2019/02/12 22:52:11 [debug] 26615\#0: *1 lua http cleanup free: 00000000087E6E40 2019/02/12 22:52:11 [debug] 26615\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:11 [debug] 26615\#0: *1 lua close socket connection 2019/02/12 22:52:11 [debug] 26615\#0: *1 free: 00000000087E7CF0, unused: 0 ' |
129-ssl-socket.t | TEST 28: 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 25: 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 25: handshake timed out - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:12 [alert] 26616\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:12 [debug] 26616\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:12 [debug] 26616\#0: *1 SSL_get_error: 1 2019/02/12 22:52:12 [crit] 26616\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:12 [debug] 26616\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:12 [debug] 26616\#0: *1 lua finalize socket 2019/02/12 22:52:12 [debug] 26616\#0: *1 lua http cleanup free: 00000000087B1BB0 2019/02/12 22:52:12 [debug] 26616\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:12 [debug] 26616\#0: *1 lua close socket connection 2019/02/12 22:52:12 [debug] 26616\#0: *1 free: 00000000087B2A60, unused: 0 ' |
129-ssl-socket.t | TEST 25: 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 22: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:16 [alert] 26618\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:16 [debug] 26618\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:16 [debug] 26618\#0: *1 SSL_get_error: 1 2019/02/12 22:52:16 [crit] 26618\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:16 [debug] 26618\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:16 [debug] 26618\#0: *1 lua finalize socket 2019/02/12 22:52:16 [debug] 26618\#0: *1 lua http cleanup free: 00000000087D4170 2019/02/12 22:52:16 [debug] 26618\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:16 [debug] 26618\#0: *1 lua close socket connection 2019/02/12 22:52:16 [debug] 26618\#0: *1 free: 00000000087D5020, unused: 0 ' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 20: 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 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 20: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:17 [alert] 26619\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:17 [debug] 26619\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:17 [debug] 26619\#0: *1 SSL_get_error: 1 2019/02/12 22:52:17 [crit] 26619\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:17 [debug] 26619\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:17 [debug] 26619\#0: *1 lua finalize socket 2019/02/12 22:52:17 [debug] 26619\#0: *1 lua http cleanup free: 00000000087E8150 2019/02/12 22:52:17 [debug] 26619\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:17 [debug] 26619\#0: *1 lua close socket connection 2019/02/12 22:52:17 [debug] 26619\#0: *1 free: 00000000087E9000, unused: 0 ' |
129-ssl-socket.t | TEST 20: 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 20: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 26: 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 26: unix domain ssl cosocket (no gen session) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:19 [alert] 26620\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:19 [debug] 26620\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:19 [debug] 26620\#0: *1 SSL_get_error: 1 2019/02/12 22:52:19 [crit] 26620\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:19 [debug] 26620\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:19 [debug] 26620\#0: *1 lua finalize socket 2019/02/12 22:52:19 [debug] 26620\#0: *1 lua http cleanup free: 00000000087E69F0 2019/02/12 22:52:19 [debug] 26620\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:19 [debug] 26620\#0: *1 lua close socket connection 2019/02/12 22:52:19 [debug] 26620\#0: *1 free: 00000000087E78A0, unused: 0 ' |
129-ssl-socket.t | TEST 26: 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 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send http request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send http request: closed )' |
129-ssl-socket.t | TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 1, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send http request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send http request: closed )' |
129-ssl-socket.t | TEST 29: 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 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 29: 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 29: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 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: 53 bytes. -received: HTTP/1.1 201 Created -close: 1 nil ' |
129-ssl-socket.t | TEST 2: no SNI, no verify - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:24 [alert] 26623\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:24 [debug] 26623\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:24 [debug] 26623\#0: *1 SSL_get_error: 1 2019/02/12 22:52:24 [crit] 26623\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:24 [debug] 26623\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:24 [debug] 26623\#0: *1 lua finalize socket 2019/02/12 22:52:24 [debug] 26623\#0: *1 lua http cleanup free: 00000000087E8130 2019/02/12 22:52:24 [debug] 26623\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:24 [debug] 26623\#0: *1 index: copy event 5 to 4 2019/02/12 22:52:24 [debug] 26623\#0: *1 lua close socket connection ' |
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: 53 bytes. -received: HTTP/1.1 201 Created -close: 1 nil ' |
129-ssl-socket.t | TEST 2: no SNI, no verify - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 24: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 24: multiple handshake calls - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 24: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:25 [alert] 26624\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:25 [debug] 26624\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:25 [debug] 26624\#0: *1 SSL_get_error: 1 2019/02/12 22:52:25 [crit] 26624\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:25 [debug] 26624\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:25 [debug] 26624\#0: *1 lua finalize socket 2019/02/12 22:52:25 [debug] 26624\#0: *1 lua http cleanup free: 00000000087B34A0 2019/02/12 22:52:25 [debug] 26624\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:25 [debug] 26624\#0: *1 lua close socket connection 2019/02/12 22:52:25 [debug] 26624\#0: *1 free: 00000000087B4350, unused: 0 ' |
129-ssl-socket.t | TEST 24: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 24: multiple handshake calls - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 17: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 27: 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 27: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 27: unix domain ssl cosocket (gen session, true) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:29 [alert] 26626\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:29 [debug] 26626\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:29 [debug] 26626\#0: *1 SSL_get_error: 1 2019/02/12 22:52:29 [crit] 26626\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:29 [debug] 26626\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:29 [debug] 26626\#0: *1 lua finalize socket 2019/02/12 22:52:29 [debug] 26626\#0: *1 lua http cleanup free: 00000000087E6A20 2019/02/12 22:52:29 [debug] 26626\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:29 [debug] 26626\#0: *1 lua close socket connection 2019/02/12 22:52:29 [debug] 26626\#0: *1 free: 00000000087E78D0, unused: 0 ' |
129-ssl-socket.t | TEST 27: 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 27: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 21: 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 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 21: 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 21: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 15: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 15: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 15: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:35 [alert] 26630\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:35 [debug] 26630\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:35 [debug] 26630\#0: *1 SSL_get_error: 1 2019/02/12 22:52:35 [crit] 26630\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:35 [debug] 26630\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:35 [debug] 26630\#0: *1 lua finalize socket 2019/02/12 22:52:35 [debug] 26630\#0: *1 lua http cleanup free: 00000000087B34F0 2019/02/12 22:52:35 [debug] 26630\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:35 [debug] 26630\#0: *1 lua close socket connection 2019/02/12 22:52:35 [debug] 26630\#0: *1 free: 00000000087B43A0, unused: 0 ' |
129-ssl-socket.t | TEST 15: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 15: explicit ssl protocol configuration - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 15: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 13: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 13: default cipher - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 13: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 13: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:37 [alert] 26631\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:37 [debug] 26631\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:37 [debug] 26631\#0: *1 SSL_get_error: 1 2019/02/12 22:52:37 [crit] 26631\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:37 [debug] 26631\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:37 [debug] 26631\#0: *1 lua finalize socket 2019/02/12 22:52:37 [debug] 26631\#0: *1 lua http cleanup free: 00000000087B3380 2019/02/12 22:52:37 [debug] 26631\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:37 [debug] 26631\#0: *1 lua close socket connection 2019/02/12 22:52:37 [debug] 26631\#0: *1 free: 00000000087B4230, unused: 0 ' |
129-ssl-socket.t | TEST 13: 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 13: default cipher - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 13: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 12: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 12: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 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: 56 bytes. -received: HTTP/1.1 200 OK -close: 1 nil -connected: 1 -ssl handshake: userdata -sent http request: 56 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]+) lua ssl set session: \1 lua ssl save session: \1 lua ssl free session: \1 lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:41 [alert] 26633\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:41 [debug] 26633\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:41 [debug] 26633\#0: *1 SSL_get_error: 1 2019/02/12 22:52:41 [crit] 26633\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:41 [debug] 26633\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:41 [debug] 26633\#0: *1 lua finalize socket 2019/02/12 22:52:41 [debug] 26633\#0: *1 lua http cleanup free: 00000000087B3400 2019/02/12 22:52:41 [debug] 26633\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:41 [debug] 26633\#0: *1 lua close socket connection 2019/02/12 22:52:41 [debug] 26633\#0: *1 free: 00000000087B42B0, unused: 0 ' |
129-ssl-socket.t | TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 200 OK -close: 1 nil -connected: 1 -ssl handshake: userdata -sent http request: 56 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]+) lua ssl set session: \1 lua ssl save session: \1 lua ssl free session: \1 lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 30: 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 30: 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 30: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:42 [alert] 26634\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:42 [debug] 26634\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:42 [debug] 26634\#0: *1 SSL_get_error: 1 2019/02/12 22:52:42 [crit] 26634\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:42 [debug] 26634\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:42 [debug] 26634\#0: *1 lua finalize socket 2019/02/12 22:52:42 [debug] 26634\#0: *1 lua http cleanup free: 00000000087E81A0 2019/02/12 22:52:42 [debug] 26634\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:42 [debug] 26634\#0: *1 lua close socket connection 2019/02/12 22:52:42 [debug] 26634\#0: *1 free: 00000000087E9050, unused: 0 ' |
129-ssl-socket.t | TEST 30: 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 30: 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 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 80 bytes. -received: HTTP/1.1 404 Not Found -close: 1 nil ' |
129-ssl-socket.t | TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 7: certificate does not match host name (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:44 [alert] 26635\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:44 [debug] 26635\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:44 [debug] 26635\#0: *1 SSL_get_error: 1 2019/02/12 22:52:44 [crit] 26635\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:44 [debug] 26635\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:44 [debug] 26635\#0: *1 lua finalize socket 2019/02/12 22:52:44 [debug] 26635\#0: *1 lua http cleanup free: 00000000087B33D0 2019/02/12 22:52:44 [debug] 26635\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:44 [debug] 26635\#0: *1 lua close socket connection 2019/02/12 22:52:44 [debug] 26635\#0: *1 free: 00000000087B4280, unused: 0 ' |
129-ssl-socket.t | TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 80 bytes. -received: HTTP/1.1 404 Not Found -close: 1 nil ' |
129-ssl-socket.t | TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 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: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 3: SNI, no verify - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2019/02/12 22:52:47 [alert] 26637\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) |
2019/02/12 22:52:47 [debug] 26637\#0: *1 SSL_do_handshake: -1 2019/02/12 22:52:47 [debug] 26637\#0: *1 SSL_get_error: 1 2019/02/12 22:52:47 [crit] 26637\#0: *1 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" 2019/02/12 22:52:47 [debug] 26637\#0: *1 lua tcp socket error retval handler 2019/02/12 22:52:47 [debug] 26637\#0: *1 lua finalize socket 2019/02/12 22:52:47 [debug] 26637\#0: *1 lua http cleanup free: 00000000087B47D0 2019/02/12 22:52:47 [debug] 26637\#0: *1 poll del event: fd:9 ev:1 2019/02/12 22:52:47 [debug] 26637\#0: *1 lua close socket connection 2019/02/12 22:52:47 [debug] 26637\#0: *1 free: 00000000087B5680, unused: 0 ' |
129-ssl-socket.t | TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 3: SNI, no verify - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 18: openresty.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]+) lua ssl save session: \1 lua ssl save session: \1 lua ssl free session: \1 lua ssl free session: \1 lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 18: openresty.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]+) lua ssl save session: \1 lua ssl save session: \1 lua ssl free session: \1 lua ssl free session: \1 lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_certificate_by_lua:\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 0) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_fetch_by_lua_block:\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_certificate_by_lua:\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:ssl_session_store_by_lua_block:\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:set_by_lua:\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:rewrite_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:access_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:content_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:header_filter_by_lua:\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:body_filter_by_lua:\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | TEST 24: inline Lua code cache should not mess up across different phases - pattern "(?^:log_by_lua\(nginx\.conf:\d+\):\d+: hello)" should match a line in error.log (req 1) | |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41 |
132-lua-blocks.t | nginx: [emerg] | "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56 |
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 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "ssl_certificate_by_lua:1: API disabled in the context of ssl_certificate_by_lua*" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: subrequests disabled - pattern "(?^:\[crit\] .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 7: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 7: ngx.exit(0) - yield - pattern "lua exit with code 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 - 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 - 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 22: get raw_client_addr - IPv4 - 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 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 22: get raw_client_addr - IPv4 - 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 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 22: get raw_client_addr - IPv4 - 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 22: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 - 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 - 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 23: get raw_client_addr - unix domain socket - 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 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - 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 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 23: get raw_client_addr - unix domain socket - 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 23: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "lua exit with code -1" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: boolean +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 - grep_error_log_out (req 0) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^:reusable connection: 1 ssl cert: connection reusable: 1 reusable connection: 0 ssl_certificate_by_lua:1: ssl cert by lua is running!, )' |
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 - grep_error_log_out (req 1) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^:reusable connection: 1 ssl cert: connection reusable: 1 reusable connection: 0 ssl_certificate_by_lua:1: ssl cert by lua is running!, )' |
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 - grep_error_log_out (req 2) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^:reusable connection: 1 ssl cert: connection reusable: 1 reusable connection: 0 ssl_certificate_by_lua:1: ssl cert by lua is running!, )' |
139-ssl-cert-by.t | TEST 19: check the count of running timers - 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: 59 bytes. -received: HTTP/1.1 200 OK -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 2 -received: Connection: close -received: -received: 3 -close: 1 nil ' |
139-ssl-cert-by.t | TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 19: check the count of running timers - 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: 59 bytes. -received: HTTP/1.1 200 OK -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 2 -received: Connection: close -received: -received: 3 -close: 1 nil ' |
139-ssl-cert-by.t | TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 19: check the count of running timers - 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: 59 bytes. -received: HTTP/1.1 200 OK -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 2 -received: Connection: close -received: -received: 3 -close: 1 nil ' |
139-ssl-cert-by.t | TEST 19: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 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) - 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) - 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 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 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
139-ssl-cert-by.t | TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 - 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 - 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 17: simple logging - use ssl_certificate_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_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificate_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_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 17: simple logging - use ssl_certificate_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_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 - 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 - 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 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 - 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 - 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 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) | |
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 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 ' |
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 - 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 - 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 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) - 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) - 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 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 - 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 - 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 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 - 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 - 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 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 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 - 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 - 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 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 - 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 - 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 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) | |
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 - grep_error_log_out (req 0) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 0 ssl session store: connection reusable: 0 ssl_session_store_by_lua_block:1: ssl session store by lua is running!, )' |
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 - grep_error_log_out (req 1) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 0 ssl session store: connection reusable: 0 ssl_session_store_by_lua_block:1: ssl session store by lua is running!, )' |
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 - grep_error_log_out (req 2) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 0 ssl session store: connection reusable: 0 ssl_session_store_by_lua_block:1: ssl session store by lua is running!, )' |
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 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 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 - 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 - 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) | |
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 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 - 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 - 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 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 - 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 - 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 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) - 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) - 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 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 - 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) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 1 ssl session fetch: connection reusable: 1 reusable connection: 0 ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!, )' |
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) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 1 reusable connection: 0 ' doesn't match '(?^m:^reusable connection: 1 ssl session fetch: connection reusable: 1 reusable connection: 0 ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!, )' |
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 - 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 - 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 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 ' |
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 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 - 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 - 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 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 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 - 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 - 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 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 - 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 - 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 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 1) |
got: '' expected: 'old foo: 1 ' |
143-ssl-session-fetch.t | TEST 14: keep global variable in ssl_session_(store|fetch)_by_lua when OpenResty LuaJIT is used - grep_error_log_out (req 2) |
@@ -1,2 +0,0 @@ -old bar: 1 -old foo: 2 ' |
146-malloc-trim.t | TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) |
@@ -1,3 +1,3 @@ -malloc_trim(1) returned 1 +malloc_trim(1) returned 0 -malloc_trim(1) returned 1 +malloc_trim(1) returned 0 -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 |
152-timer-every.t | TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ registered timer -growth1 == growth2: true +growth1 == growth2: false ' |
152-timer-every.t | TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ registered timer -foo = 6 +foo = 3 ' |
152-timer-every.t | TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ registered timer -foo = 6 +foo = 3 ' |
152-timer-every.t | TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) | |
152-timer-every.t | TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0) |
Go back to the index page.