(This page was automatically generated by the tools in the opsboy project on 20:25:07 06-Feb-2019 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
a4389c55 | 2019-02-06 07:45:34 GMT | 166 | 135 | 111 | 8909 | 363 sec |
File | Name | Details |
---|---|---|
023-preread/req-socket.t | TEST 12: peek works with other preread handlers - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 0) | |
023-preread/req-socket.t | TEST 12: peek works with other preread handlers - pattern "[crit]" should not match any line in error.log but matches line "2019/02/06 08:45:39 [crit] 23621\#23621: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:45:39 [debug] 23621\#23621: *3 stream lua tcp socket error retval handler 2019/02/06 08:45:39 [debug] 23621\#23621: *3 stream lua finalize socket 2019/02/06 08:45:39 [debug] 23621\#23621: *3 lua stream cleanup free: 0000000002078D20 2019/02/06 08:45:39 [debug] 23621\#23621: *3 poll del event: fd:11 ev:1 2019/02/06 08:45:39 [debug] 23621\#23621: *3 index: copy event 7 to 6 2019/02/06 08:45:39 [debug] 23621\#23621: *3 lua close socket connection 2019/02/06 08:45:39 [debug] 23621\#23621: *3 free: 00000000020792B0, unused: 0 2019/02/06 08:45:39 [debug] 23621\#23621: *3 reusable connection: 0 2019/02/06 08:45:39 [debug] 23621\#23621: *3 lua resume returned 0 ' |
023-preread/req-socket.t | TEST 12: peek works with other preread handlers - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 1) | |
023-preread/req-socket.t | TEST 12: peek works with other preread handlers - pattern "[crit]" should not match any line in error.log but matches line "2019/02/06 08:45:39 [crit] 23621\#23621: *8 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2019/02/06 08:45:39 [debug] 23621\#23621: *8 stream lua tcp socket error retval handler 2019/02/06 08:45:39 [debug] 23621\#23621: *8 stream lua finalize socket 2019/02/06 08:45:39 [debug] 23621\#23621: *8 lua stream cleanup free: 0000000002078E70 2019/02/06 08:45:39 [debug] 23621\#23621: *8 poll del event: fd:11 ev:1 2019/02/06 08:45:39 [debug] 23621\#23621: *8 index: copy event 7 to 6 2019/02/06 08:45:39 [debug] 23621\#23621: *8 lua close socket connection 2019/02/06 08:45:39 [debug] 23621\#23621: *8 free: 000000000205F020, unused: 0 2019/02/06 08:45:39 [debug] 23621\#23621: *8 reusable connection: 0 2019/02/06 08:45:39 [debug] 23621\#23621: *8 lua resume returned 0 ' |
023-preread/sanity.t | TEST 13: phase postponing works - response_body - response is expected (repeated req 0, req 0) |
got: "receive stream response error: connection reset by"... length: 56 expected: "done" length: 4 strings begin to differ at char 1 (line 1 column 1) |
023-preread/sanity.t | TEST 13: phase postponing works - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 0) | |
023-preread/sanity.t | TEST 13: phase postponing works - response_body - response is expected (repeated req 1, req 0) |
got: "receive stream response error: connection reset by"... length: 56 expected: "done" length: 4 strings begin to differ at char 1 (line 1 column 1) |
023-preread/sanity.t | TEST 13: phase postponing works - pattern "$ssl_preread_server_name = my.sni.server.name while prereading client data" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 14: coroutine API - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 14: coroutine API - grep_error_log_out (req 0) |
@@ -1,6 +0,0 @@ -co resume, status: suspended -co yield: 0 -co resume, status: suspended -co yield: 1 -co resume, status: suspended -co yield: 2 ' |
139-ssl-cert-by.t | TEST 14: coroutine API - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 14: coroutine API - grep_error_log_out (req 1) |
@@ -1,6 +0,0 @@ -co resume, status: suspended -co yield: 0 -co resume, status: suspended -co yield: 1 -co resume, status: suspended -co yield: 2 ' |
139-ssl-cert-by.t | TEST 14: coroutine API - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 14: coroutine API - grep_error_log_out (req 2) |
@@ -1,6 +0,0 @@ -co resume, status: suspended -co yield: 0 -co resume, status: suspended -co yield: 1 -co resume, status: suspended -co yield: 2 ' |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "runtime error: ssl_certificate_by_lua:2: bad bad bad" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "lua_certificate_by_lua: handler return value: 500, cert cb exit code: 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 9: lua exception - no yield - pattern "(?^:context: ssl_certificate_by_lua\*, client: \d+\.\d+\.\d+\.\d+, server: \d+\.\d+\.\d+\.\d+:\d+)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 4: cosocket - pattern "received memc reply: OK" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 13: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 13: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 13: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 13: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 13: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 13: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 16: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "runtime error: ssl_certificate_by_lua:3: bad bad bad" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "lua_certificate_by_lua: cert cb exit code: 0" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 10: lua exception - yield - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed .*?cert cb error)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 20: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 20: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 20: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 20: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 20: get raw_client_addr - unix domain socket - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 20: get raw_client_addr - unix domain socket - pattern "client socket file: " should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 19: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 19: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 19: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 19: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 19: get raw_client_addr - IPv4 - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 19: get raw_client_addr - IPv4 - pattern "client ip: 127.0.0.1" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 3: timer - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 3: timer - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 3: timer - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 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 15: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 15: simple user thread wait with yielding - grep_error_log_out (req 0) |
@@ -1,3 +0,0 @@ -uthread: thread created: suspended -uthread: hello in thread -uthread: done ' |
139-ssl-cert-by.t | TEST 15: simple user thread wait with yielding - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 15: simple user thread wait with yielding - grep_error_log_out (req 1) |
@@ -1,3 +0,0 @@ -uthread: thread created: suspended -uthread: hello in thread -uthread: done ' |
139-ssl-cert-by.t | TEST 15: simple user thread wait with yielding - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 15: simple user thread wait with yielding - grep_error_log_out (req 2) |
@@ -1,3 +0,0 @@ -uthread: thread created: suspended -uthread: hello in thread -uthread: done ' |
139-ssl-cert-by.t | TEST 18: check the count of running timers - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: 3 -close: 1 nil ' |
139-ssl-cert-by.t | TEST 18: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 18: check the count of running timers - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: 3 -close: 1 nil ' |
139-ssl-cert-by.t | TEST 18: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 18: check the count of running timers - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: 3 -close: 1 nil ' |
139-ssl-cert-by.t | TEST 18: check the count of running timers - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 1: simple logging - grep_error_log_out (req 0) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 ' doesn't match '(?^:reusable connection: 1 reusable connection: 0 ssl cert: connection reusable: 0 reusable connection: 0 ssl_certificate_by_lua:1: ssl cert by lua is running!, reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 )' |
139-ssl-cert-by.t | TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 1: simple logging - grep_error_log_out (req 1) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 ' doesn't match '(?^:reusable connection: 1 reusable connection: 0 ssl cert: connection reusable: 0 reusable connection: 0 ssl_certificate_by_lua:1: ssl cert by lua is running!, reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 )' |
139-ssl-cert-by.t | TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 1: simple logging - grep_error_log_out (req 2) |
'reusable connection: 1 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 ' doesn't match '(?^:reusable connection: 1 reusable connection: 0 ssl cert: connection reusable: 0 reusable connection: 0 ssl_certificate_by_lua:1: ssl cert by lua is running!, reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 reusable connection: 0 )' |
139-ssl-cert-by.t | TEST 17: simple logging (syslog) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 17: simple logging (syslog) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 17: simple logging (syslog) - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 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,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1) | |
139-ssl-cert-by.t | TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
139-ssl-cert-by.t | TEST 2: sleep - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2) | |
139-ssl-cert-by.t | TEST 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 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 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) | |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 0) | |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 0) | |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 1) | |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 1) | |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 2) | |
140-ssl-c-api.t | TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 2) | |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
140-ssl-c-api.t | TEST 2: ECDSA cert + private key - response_body - response is expected (repeated req 2, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -received: it works! -close: 1 nil ' |
159-sa-restart.t | TEST 2: lua_sa_restart off - does not set SA_RESTART - status code ok |
got: '' expected: '200' |
159-sa-restart.t | TEST 4: lua_sa_restart on (default) - SA_RESTART is effective in content_by_lua* - status code ok |
got: '' expected: '200' |
159-sa-restart.t | TEST 5: lua_sa_restart on (default) - SA_RESTART is effective in log_by_lua* - status code ok |
got: '' expected: '200' |
159-sa-restart.t | TEST 3: lua_sa_restart on (default) - sets SA_RESTART if no init_worker_by_lua* phase is defined - status code ok |
got: '' expected: '200' |
159-sa-restart.t | TEST 1: lua_sa_restart default - sets SA_RESTART in init_worker_by_lua* - status code ok |
got: '' expected: '200' |
File | Name | Details |
---|---|---|
023-preread/sanity.t | TEST 13: phase postponing works - pattern "[crit]" should not match any line in error.log but matches line "2019/02/06 08:45:41 [crit] 23636\#23636: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:45:41 [debug] 23636\#23636: *3 stream lua tcp socket error retval handler 2019/02/06 08:45:41 [debug] 23636\#23636: *3 stream lua finalize socket 2019/02/06 08:45:41 [debug] 23636\#23636: *3 lua stream cleanup free: 000000000233C090 2019/02/06 08:45:41 [debug] 23636\#23636: *3 poll del event: fd:11 ev:1 2019/02/06 08:45:41 [debug] 23636\#23636: *3 lua close socket connection 2019/02/06 08:45:41 [debug] 23636\#23636: *3 free: 000000000233E180, unused: 0 2019/02/06 08:45:41 [debug] 23636\#23636: *3 reusable connection: 0 2019/02/06 08:45:41 [debug] 23636\#23636: *3 lua resume returned 0 2019/02/06 08:45:41 [debug] 23636\#23636: *3 lua light thread ended normally ' |
023-preread/sanity.t | TEST 13: phase postponing works - pattern "[crit]" should not match any line in error.log but matches line "2019/02/06 08:45:41 [crit] 23636\#23636: *8 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while prereading client data, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1) |
2019/02/06 08:45:41 [debug] 23636\#23636: *8 stream lua tcp socket error retval handler 2019/02/06 08:45:41 [debug] 23636\#23636: *8 stream lua finalize socket 2019/02/06 08:45:41 [debug] 23636\#23636: *8 lua stream cleanup free: 000000000233E630 2019/02/06 08:45:41 [debug] 23636\#23636: *8 poll del event: fd:11 ev:1 2019/02/06 08:45:41 [debug] 23636\#23636: *8 lua close socket connection 2019/02/06 08:45:41 [debug] 23636\#23636: *8 free: 000000000233C1B0, unused: 0 2019/02/06 08:45:41 [debug] 23636\#23636: *8 reusable connection: 0 2019/02/06 08:45:41 [debug] 23636\#23636: *8 lua resume returned 0 2019/02/06 08:45:41 [debug] 23636\#23636: *8 lua light thread ended normally ' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,3 @@ connected: 1 request sent: 11 read: O -failed to set keepalive: unread data in buffer ' |
071-idle-socket.t | TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,3 @@ connected: 1 request sent: 11 read: O -failed to set keepalive: unread data in buffer ' |
129-ssl-socket.t | TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 12: CRL has expired +failed to do SSL handshake: handshake failed failed to send stream request: closed ' |
129-ssl-socket.t | TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 12: CRL has expired +failed to do SSL handshake: handshake failed failed to send stream request: closed ' |
129-ssl-socket.t | TEST 17: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:36 [alert] 26965\#26965: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:36 [debug] 26965\#26965: *3 SSL_do_handshake: -1 2019/02/06 08:50:36 [debug] 26965\#26965: *3 SSL_get_error: 1 2019/02/06 08:50:36 [crit] 26965\#26965: *3 SSL_do_handshake() failed (SSL: error:141640BF:SSL routines:tls_construct_client_hello:no protocols available), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:36 [debug] 26965\#26965: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:36 [debug] 26965\#26965: *3 stream lua finalize socket 2019/02/06 08:50:36 [debug] 26965\#26965: *3 lua stream cleanup free: 0000000000C87470 2019/02/06 08:50:36 [debug] 26965\#26965: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:36 [debug] 26965\#26965: *3 lua close socket connection 2019/02/06 08:50:36 [debug] 26965\#26965: *3 free: 0000000000C87360, unused: 0 ' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 18: openresty.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 15: explicit cipher configuration - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:37 [alert] 26971\#26971: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:37 [debug] 26971\#26971: *3 SSL_do_handshake: -1 2019/02/06 08:50:37 [debug] 26971\#26971: *3 SSL_get_error: 1 2019/02/06 08:50:37 [crit] 26971\#26971: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:37 [debug] 26971\#26971: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:37 [debug] 26971\#26971: *3 stream lua finalize socket 2019/02/06 08:50:37 [debug] 26971\#26971: *3 lua stream cleanup free: 0000000000B22F60 2019/02/06 08:50:37 [debug] 26971\#26971: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:37 [debug] 26971\#26971: *3 lua close socket connection 2019/02/06 08:50:37 [debug] 26971\#26971: *3 free: 0000000000B22E50, unused: 0 ' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - pattern "(?^:SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA (SSLv3|TLSv1))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+) stream lua ssl save session: \1 stream lua ssl save session: \1 stream lua ssl free session: \1 stream lua ssl free session: \1 stream lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,9 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil -connected: 1 -ssl handshake: userdata -set keepalive: 1 nil ' |
129-ssl-socket.t | TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+) stream lua ssl save session: \1 stream lua ssl save session: \1 stream lua ssl free session: \1 stream lua ssl free session: \1 stream lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 19: openresty.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: 20: unable to get local issuer certificate +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: 20: unable to get local issuer certificate +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:38 [alert] 26980\#26980: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:38 [debug] 26980\#26980: *3 SSL_do_handshake: -1 2019/02/06 08:50:38 [debug] 26980\#26980: *3 SSL_get_error: 1 2019/02/06 08:50:38 [crit] 26980\#26980: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:38 [debug] 26980\#26980: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:38 [debug] 26980\#26980: *3 stream lua finalize socket 2019/02/06 08:50:38 [debug] 26980\#26980: *3 lua stream cleanup free: 0000000001D184D0 2019/02/06 08:50:38 [debug] 26980\#26980: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:38 [debug] 26980\#26980: *3 lua close socket connection 2019/02/06 08:50:38 [debug] 26980\#26980: *3 free: 0000000001CFB080, unused: 0 ' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:38 [alert] 26983\#26983: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:38 [debug] 26983\#26983: *3 SSL_do_handshake: -1 2019/02/06 08:50:38 [debug] 26983\#26983: *3 SSL_get_error: 1 2019/02/06 08:50:38 [crit] 26983\#26983: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:38 [debug] 26983\#26983: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:38 [debug] 26983\#26983: *3 stream lua finalize socket 2019/02/06 08:50:38 [debug] 26983\#26983: *3 lua stream cleanup free: 000000000094EFE0 2019/02/06 08:50:38 [debug] 26983\#26983: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:38 [debug] 26983\#26983: *3 lua close socket connection 2019/02/06 08:50:38 [debug] 26983\#26983: *3 free: 000000000096EF70, unused: 0 ' |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?(unknown protocol|wrong version number))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: true +failed to do SSL handshake: handshake failed -connected: 1 -ssl handshake: true ' |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (keepalive) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:38 [alert] 26986\#26986: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:38 [debug] 26986\#26986: *3 SSL_do_handshake: -1 2019/02/06 08:50:38 [debug] 26986\#26986: *3 SSL_get_error: 1 2019/02/06 08:50:38 [crit] 26986\#26986: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:38 [debug] 26986\#26986: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:38 [debug] 26986\#26986: *3 stream lua finalize socket 2019/02/06 08:50:38 [debug] 26986\#26986: *3 lua stream cleanup free: 0000000000E27F40 2019/02/06 08:50:38 [debug] 26986\#26986: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:38 [debug] 26986\#26986: *3 lua close socket connection 2019/02/06 08:50:38 [debug] 26986\#26986: *3 free: 0000000000E26190, unused: 0 ' |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: true +failed to do SSL handshake: handshake failed -connected: 1 -ssl handshake: true ' |
129-ssl-socket.t | TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 3: SNI, no verify - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:38 [alert] 26989\#26989: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:38 [debug] 26989\#26989: *3 SSL_do_handshake: -1 2019/02/06 08:50:38 [debug] 26989\#26989: *3 SSL_get_error: 1 2019/02/06 08:50:38 [crit] 26989\#26989: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:38 [debug] 26989\#26989: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:38 [debug] 26989\#26989: *3 stream lua finalize socket 2019/02/06 08:50:38 [debug] 26989\#26989: *3 lua stream cleanup free: 00000000019AB330 2019/02/06 08:50:38 [debug] 26989\#26989: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:38 [debug] 26989\#26989: *3 lua close socket connection 2019/02/06 08:50:38 [debug] 26989\#26989: *3 free: 00000000019AB220, unused: 0 ' |
129-ssl-socket.t | TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 3: SNI, no verify - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 9 bytes. -received: flash! -received: the end... -close: 1 nil ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 9 bytes. -received: flash! -received: the end... -close: 1 nil ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 0, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send stream request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send stream request: closed )' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - like (repeated req 1, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send stream request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send stream request: closed )' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "(?^:lua ssl certificate verify error: \((22: certificate chain too long|20: unable to get local issuer certificate)\))" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 9 bytes. -received: flash! -received: the end... -close: 1 nil ' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 9 bytes. -received: flash! -received: the end... -close: 1 nil ' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: true +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 27: unix domain ssl cosocket (no gen session) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:39 [alert] 27004\#27004: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:39 [debug] 27004\#27004: *3 SSL_do_handshake: -1 2019/02/06 08:50:39 [debug] 27004\#27004: *3 SSL_get_error: 1 2019/02/06 08:50:39 [crit] 27004\#27004: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:39 [debug] 27004\#27004: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:39 [debug] 27004\#27004: *3 stream lua finalize socket 2019/02/06 08:50:39 [debug] 27004\#27004: *3 lua stream cleanup free: 0000000001BE34D0 2019/02/06 08:50:39 [debug] 27004\#27004: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:39 [debug] 27004\#27004: *3 lua close socket connection 2019/02/06 08:50:39 [debug] 27004\#27004: *3 free: 0000000001BC6090, unused: 0 ' |
129-ssl-socket.t | TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: true +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) |
@@ -1,10 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil -connected: 1 -ssl handshake: userdata -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 4: ssl session reuse - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl set session: \1 lua ssl save session: \1 lua ssl free session: \1 lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:39 [alert] 27007\#27007: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:39 [debug] 27007\#27007: *3 SSL_do_handshake: -1 2019/02/06 08:50:39 [debug] 27007\#27007: *3 SSL_get_error: 1 2019/02/06 08:50:39 [crit] 27007\#27007: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:39 [debug] 27007\#27007: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:39 [debug] 27007\#27007: *3 stream lua finalize socket 2019/02/06 08:50:39 [debug] 27007\#27007: *3 lua stream cleanup free: 0000000001FA1330 2019/02/06 08:50:39 [debug] 27007\#27007: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:39 [debug] 27007\#27007: *3 lua close socket connection 2019/02/06 08:50:39 [debug] 27007\#27007: *3 free: 0000000001FA11E0, unused: 0 ' |
129-ssl-socket.t | TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil -connected: 1 -ssl handshake: userdata -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 4: ssl session reuse - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl set session: \1 lua ssl save session: \1 lua ssl free session: \1 lua ssl free session: \1 $)' |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 13: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 13: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 13: openresty.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 13: openresty.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 8: openresty.org: passing SSL verify - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 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 stream request: 56 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/06 08:50:40 [alert] 27019\#27019: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:40 [debug] 27019\#27019: *3 SSL_do_handshake: -1 2019/02/06 08:50:40 [debug] 27019\#27019: *3 SSL_get_error: 1 2019/02/06 08:50:40 [crit] 27019\#27019: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:40 [debug] 27019\#27019: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:40 [debug] 27019\#27019: *3 stream lua finalize socket 2019/02/06 08:50:40 [debug] 27019\#27019: *3 lua stream cleanup free: 0000000000C84340 2019/02/06 08:50:40 [debug] 27019\#27019: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:40 [debug] 27019\#27019: *3 lua close socket connection 2019/02/06 08:50:40 [debug] 27019\#27019: *3 free: 0000000000C841F0, 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 stream request: 56 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 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -ssl handshake: userdata -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 25: multiple handshake calls - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 25: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:41 [alert] 27022\#27022: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:41 [debug] 27022\#27022: *3 SSL_do_handshake: -1 2019/02/06 08:50:41 [debug] 27022\#27022: *3 SSL_get_error: 1 2019/02/06 08:50:41 [crit] 27022\#27022: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:41 [debug] 27022\#27022: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:41 [debug] 27022\#27022: *3 stream lua finalize socket 2019/02/06 08:50:41 [debug] 27022\#27022: *3 lua stream cleanup free: 0000000001A39400 2019/02/06 08:50:41 [debug] 27022\#27022: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:41 [debug] 27022\#27022: *3 lua close socket connection 2019/02/06 08:50:41 [debug] 27022\#27022: *3 free: 0000000001A39290, unused: 0 ' |
129-ssl-socket.t | TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -ssl handshake: userdata -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 25: multiple handshake calls - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES(?:256|128)-SHA\b)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:41 [alert] 27025\#27025: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:41 [debug] 27025\#27025: *3 SSL_do_handshake: -1 2019/02/06 08:50:41 [debug] 27025\#27025: *3 SSL_get_error: 1 2019/02/06 08:50:41 [crit] 27025\#27025: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:41 [debug] 27025\#27025: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:41 [debug] 27025\#27025: *3 stream lua finalize socket 2019/02/06 08:50:41 [debug] 27025\#27025: *3 lua stream cleanup free: 0000000001DD29C0 2019/02/06 08:50:41 [debug] 27025\#27025: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:41 [debug] 27025\#27025: *3 lua close socket connection 2019/02/06 08:50:41 [debug] 27025\#27025: *3 free: 0000000001DD3510, unused: 0 ' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - pattern "(?^:SSL: TLSv1, cipher: "ECDHE-RSA-AES(?:256|128)-SHA\b)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 26: handshake timed out - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 26: handshake timed out - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:41 [alert] 27028\#27028: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:41 [debug] 27028\#27028: *3 SSL_do_handshake: -1 2019/02/06 08:50:41 [debug] 27028\#27028: *3 SSL_get_error: 1 2019/02/06 08:50:41 [crit] 27028\#27028: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:41 [debug] 27028\#27028: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:41 [debug] 27028\#27028: *3 stream lua finalize socket 2019/02/06 08:50:41 [debug] 27028\#27028: *3 lua stream cleanup free: 00000000014BEA70 2019/02/06 08:50:41 [debug] 27028\#27028: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:41 [debug] 27028\#27028: *3 lua close socket connection 2019/02/06 08:50:41 [debug] 27028\#27028: *3 free: 00000000014BE900, unused: 0 ' |
129-ssl-socket.t | TEST 26: handshake timed out - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 14: default cipher - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 14: default cipher - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 14: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256) TLSv1\.2)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 14: default cipher - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:41 [alert] 27031\#27031: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:41 [debug] 27031\#27031: *3 SSL_do_handshake: -1 2019/02/06 08:50:41 [debug] 27031\#27031: *3 SSL_get_error: 1 2019/02/06 08:50:41 [crit] 27031\#27031: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:41 [debug] 27031\#27031: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:41 [debug] 27031\#27031: *3 stream lua finalize socket 2019/02/06 08:50:41 [debug] 27031\#27031: *3 lua stream cleanup free: 0000000000B0D2A0 2019/02/06 08:50:41 [debug] 27031\#27031: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:41 [debug] 27031\#27031: *3 lua close socket connection 2019/02/06 08:50:41 [debug] 27031\#27031: *3 free: 0000000000B0D190, unused: 0 ' |
129-ssl-socket.t | TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 58 bytes. -received: HTTP/1.1 302 Moved Temporarily -close: 1 nil ' |
129-ssl-socket.t | TEST 14: default cipher - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 14: default cipher - pattern "(?^:SSL: TLSv1\.2, cipher: "ECDHE-RSA-AES(?:256|128)-GCM-SHA(?:384|256) TLSv1\.2)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 0, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send stream request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send stream request: closed )' |
129-ssl-socket.t | TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - like (repeated req 1, req 0) |
'connected: 1 failed to do SSL handshake: handshake failed failed to send stream request: closed ' doesn't match '(?^:connected: 1 failed to do SSL handshake: (22: certificate chain too long|20: unable to get local issuer certificate) failed to send stream request: closed )' |
129-ssl-socket.t | TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent: ping -received: pong -close: 1 nil ' |
129-ssl-socket.t | TEST 2: no SNI, no verify - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:42 [alert] 27043\#27043: *5 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html) while SSL handshaking, client: 127.0.0.1, server: 0.0.0.0:12345" (req 0) |
2019/02/06 08:50:42 [debug] 27043\#27043: *5 SSL_do_handshake: -1 2019/02/06 08:50:42 [debug] 27043\#27043: *5 SSL_get_error: 2 2019/02/06 08:50:42 [debug] 27043\#27043: *5 poll add event: fd:13 ev:1 2019/02/06 08:50:42 [debug] 27043\#27043: *5 event timer add: 13: 60000:4033933 2019/02/06 08:50:42 [debug] 27043\#27043: posted event 0000000001D4F820 2019/02/06 08:50:42 [debug] 27043\#27043: *3 delete posted event 0000000001D4F820 2019/02/06 08:50:42 [debug] 27043\#27043: *3 stream lua tcp socket handler: wev 1 2019/02/06 08:50:42 [debug] 27043\#27043: *3 event timer del: 12: 3975929 2019/02/06 08:50:42 [debug] 27043\#27043: *3 stream lua tcp socket connected ' |
129-ssl-socket.t | TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent: ping -received: pong -close: 1 nil ' |
129-ssl-socket.t | TEST 2: no SNI, no verify - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 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/06 08:50:43 [alert] 27046\#27046: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:43 [debug] 27046\#27046: *3 SSL_do_handshake: -1 2019/02/06 08:50:43 [debug] 27046\#27046: *3 SSL_get_error: 1 2019/02/06 08:50:43 [crit] 27046\#27046: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:43 [debug] 27046\#27046: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:43 [debug] 27046\#27046: *3 stream lua finalize socket 2019/02/06 08:50:43 [debug] 27046\#27046: *3 lua stream cleanup free: 00000000023BC000 2019/02/06 08:50:43 [debug] 27046\#27046: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:43 [debug] 27046\#27046: *3 lua close socket connection 2019/02/06 08:50:43 [debug] 27046\#27046: *3 free: 00000000023B9BD0, 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 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: 18: self signed certificate +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:43 [alert] 27049\#27049: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:43 [debug] 27049\#27049: *3 SSL_do_handshake: -1 2019/02/06 08:50:43 [debug] 27049\#27049: *3 SSL_get_error: 1 2019/02/06 08:50:43 [crit] 27049\#27049: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:43 [debug] 27049\#27049: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:43 [debug] 27049\#27049: *3 stream lua finalize socket 2019/02/06 08:50:43 [debug] 27049\#27049: *3 lua stream cleanup free: 0000000000DEAD90 2019/02/06 08:50:43 [debug] 27049\#27049: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:43 [debug] 27049\#27049: *3 lua close socket connection 2019/02/06 08:50:43 [debug] 27049\#27049: *3 free: 0000000000DFF6E0, unused: 0 ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: 18: self signed certificate +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 9 bytes. -received: flash! -received: the end... -close: 1 nil ' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2019/02/06 08:50:43 [alert] 27052\#27052: *3 ignoring stale global SSL error (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985" (req 0) |
2019/02/06 08:50:43 [debug] 27052\#27052: *3 SSL_do_handshake: -1 2019/02/06 08:50:43 [debug] 27052\#27052: *3 SSL_get_error: 1 2019/02/06 08:50:43 [crit] 27052\#27052: *3 SSL_do_handshake() failed (SSL: error:24064064:random number generator:RAND_bytes:PRNG not seeded:You need to read the OpenSSL FAQ, https://www.openssl.org/docs/faq.html), client: 127.0.0.1, server: 0.0.0.0:1985 2019/02/06 08:50:43 [debug] 27052\#27052: *3 stream lua tcp socket error retval handler 2019/02/06 08:50:43 [debug] 27052\#27052: *3 stream lua finalize socket 2019/02/06 08:50:43 [debug] 27052\#27052: *3 lua stream cleanup free: 0000000000C9E060 2019/02/06 08:50:43 [debug] 27052\#27052: *3 poll del event: fd:12 ev:1 2019/02/06 08:50:43 [debug] 27052\#27052: *3 lua close socket connection 2019/02/06 08:50:43 [debug] 27052\#27052: *3 free: 0000000000C9C880, unused: 0 ' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent stream request: 9 bytes. -received: flash! -received: the end... -close: 1 nil ' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+) lua ssl free session: ([0-9A-F]+) $)' |
132-lua-blocks.t | nginx: [emerg] | "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
132-lua-blocks.t | nginx: [emerg] | Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22 |
Go back to the index page.