(This page was automatically generated by the tools in the opsboy project on 04:19:13 08-Jan-2018 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
18b5de57 | 2017-12-04 23:14:28 GMT | 0 | 747 | 193 | 19857 | 2592 sec |
File | Name | Details |
---|---|---|
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - status code ok |
got: '502' expected: '200' |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected |
@@ -1,2 +1,2 @@ read timer set: 0 -write timer set: 1 +write timer set: 0 ' |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:18:35 [alert] 19211\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/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) | |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - status code ok |
got: '502' expected: '200' |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected |
@@ -1,2 +1,2 @@ read timer set: 0 -write timer set: 1 +write timer set: 0 ' |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - status code ok |
got: '502' expected: '200' |
014-bugs.t | TEST 41: https proxy has no timeout protection for ssl handshake - stap output expected |
@@ -1,2 +1,2 @@ read timer set: 0 -write timer set: 1 +write timer set: 0 ' |
023-rewrite/client-abort.t | TEST 17: ngx.req.socket + receive n < content-length + stop - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
023-rewrite/client-abort.t | TEST 23: exec (named location) to proxy + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok lua req cleanup -delete thread 1 +delete thread 2 ' |
023-rewrite/client-abort.t | TEST 19: ngx.req.socket + receive n == content-length + ignore - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
023-rewrite/client-abort.t | TEST 3: sleep + ignore - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
023-rewrite/client-abort.t | TEST 21: exec to lua + ignore - stap output expected |
@@ -1,6 +1,6 @@ terminate 1: ok lua req cleanup -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
023-rewrite/client-abort.t | TEST 5: subrequest + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: fail lua req cleanup -delete thread 1 +delete thread 2 ' |
023-rewrite/client-abort.t | TEST 12: ngx.req.socket + receive(n) + sleep + stop - stap output should match the pattern |
'lua check broken conn terminate 1: ok delete thread 2 terminate 3: ok delete thread 4 lua req cleanup ' doesn't match '(?^ms:^(?:lua check broken conn terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 lua req cleanup|lua check broken conn lua req cleanup delete thread 1)$ )' |
023-rewrite/client-abort.t | TEST 20: ngx.req.read_body + sleep + stop (log handler still gets called) - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
023-rewrite/client-abort.t | TEST 22: exec to proxy + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok lua req cleanup -delete thread 1 +delete thread 2 ' |
023-rewrite/on-abort.t | TEST 11: abort in the user callback (uthread) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 6 -delete thread 3 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 6: ngx.exit(0) with pending subrequest - stap output should match the pattern |
'create 2 in 1 lua check broken conn terminate 2: fail terminate 1: ok delete thread 3 delete thread 4 terminate 5: ok delete thread 6 lua req cleanup ' doesn't match '(?^:^create 2 in 1 lua check broken conn terminate 2: fail (?:lua check broken conn )?terminate 1: ok delete thread 2 delete thread 1 terminate 3: ok delete thread 3 lua req cleanup $)' |
023-rewrite/on-abort.t | TEST 8: ignore the client abort event in the user callback (no check) - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
023-rewrite/on-abort.t | TEST 4: ngx.exit(408) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 3: ngx.exit(499) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 7: accessing cosocket in callback - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 12: regsiter on_abort callback but no client abortion (uthread) - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 terminate 3: ok -delete thread 3 +delete thread 4 lua req cleanup -delete thread 2 +delete thread 6 ' |
023-rewrite/on-abort.t | TEST 13: regsiter on_abort callback multiple times - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 lua req cleanup -delete thread 2 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 2: abort in the user callback - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 5: ngx.exit(-1) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/on-abort.t | TEST 1: ignore the client abort event in the user callback - stap output expected |
@@ -2,8 +2,8 @@ lua check broken conn terminate 2: ok terminate 1: ok -delete thread 2 -delete thread 1 -terminate 3: ok delete thread 3 +delete thread 4 +terminate 5: ok +delete thread 6 lua req cleanup ' |
023-rewrite/on-abort.t | TEST 10: ignore the client abort event in the user callback (uthread) - stap output expected |
@@ -1,13 +1,13 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 lua check broken conn terminate 2: ok -delete thread 2 +delete thread 6 terminate 3: ok -delete thread 3 -terminate 4: ok delete thread 4 +terminate 7: ok +delete thread 8 lua req cleanup ' |
023-rewrite/on-abort.t | TEST 9: regsiter on_abort callback but no client abortion - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 lua req cleanup -delete thread 2 +delete thread 4 ' |
023-rewrite/uthread-exec.t | TEST 1: exec in user thread (entry still pending) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-exec.t | TEST 5: exec in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,11 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
023-rewrite/uthread-exec.t | TEST 2: exec in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-exec.t | TEST 4: exec in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
023-rewrite/uthread-exec.t | TEST 3: exec in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 2: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 3: exit in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
023-rewrite/uthread-exit.t | TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 10: exit in user thread (entry thread is still pending on udpsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua udp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 11: exit in user thread (entry thread is still pending on reqsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 15: exit in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 4: exit in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-exit.t | TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - stap output expected |
@@ -1,13 +1,12 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 1 resolver started resolving agentzh.org add timer 12000 -expire timer 1 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp resolve cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 12: exit in user thread (entry thread is still pending on ngx.req.read_body) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua req body cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 13: exit in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected |
@@ -1,11 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - stap output expected |
@@ -1,13 +1,12 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 1 resolver started resolving agentzh.org add timer 12000 -expire timer 1 terminate 2: ok -delete thread 2 +delete thread 3 lua udp resolve cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-exit.t | TEST 1: exit in user thread (entry thread is still pending to run) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-exit.t | TEST 14: exit in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,12 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
023-rewrite/uthread-redirect.t | TEST 2: redirect in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
023-rewrite/uthread-redirect.t | TEST 1: ngx.redirect() in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
023-rewrite/uthread-spawn.t | TEST 9: two simple user threads doing single subrequests (entry also does a subrequest and quits between) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok terminate 1: ok -delete thread 2 -delete thread 1 -terminate 3: ok delete thread 3 +delete thread 6 +terminate 4: ok +delete thread 5 ' |
023-rewrite/uthread-spawn.t | TEST 23: simple user thread with ngx.req.socket() - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1|create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2)$)' |
023-rewrite/uthread-spawn.t | TEST 14: coroutine status of a "normal" user thread - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 +spawn user thread 3 in 1 +create 4 in 2 terminate 1: ok -delete thread 1 -terminate 3: ok +delete thread 5 +terminate 4: ok terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 18: entry thread and a user thread flushing at the same time - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 26: multiple user threads + subrequests returning 201 immediately - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 terminate 1: ok delete thread 6 terminate 7: ok delete thread 8 finalize request /proxy/1: rc:0 c:3 a:0 post subreq: /proxy/1 rc=0, status=201 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 3 terminate 9: ok delete thread a finalize request /proxy/2: rc:0 c:2 a:0 post subreq: /proxy/2 rc=0, status=201 a=0 subrequest /proxy/2 done terminate 4: ok delete thread 5 finalize request /t: rc:200 c:1 a:1 ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 terminate 4: ok delete thread 4 finalize request /proxy/1: rc:0 c:3 a:0 post subreq: /proxy/1 rc=0, status=201 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 2 terminate 5: ok delete thread 5 finalize request /proxy/2: rc:0 c:2 a:0 post subreq: /proxy/2 rc=0, status=201 a=0 subrequest /proxy/2 done terminate 3: ok delete thread 3 finalize request /t: rc:200 c:1 a:1 (?:finalize request /t: rc:0 c:1 a:1)?$)' |
023-rewrite/uthread-spawn.t | TEST 8: simple user threads doing a single subrequest (entry also does a subrequest and quits late) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-spawn.t | TEST 25: multiple user threads + subrequests returning 404 remotely (no wait) - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 create 6 in 1 spawn user thread 7 in 1 create 8 in 1 spawn user thread 9 in 1 create a in 1 spawn user thread b in 1 terminate 1: ok delete thread c terminate 2: ok delete thread 3 terminate 4: ok delete thread 5 terminate 6: ok delete thread 7 terminate 8: ok delete thread 9 terminate 10: ok delete thread b ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 4 in 1 create 5 in 1 spawn user thread 5 in 1 create 6 in 1 spawn user thread 6 in 1 terminate 1: ok delete thread 1 (?:terminate 2: ok delete thread 2 terminate 3: ok delete thread 3 terminate 4: ok delete thread 4 terminate 5: ok delete thread 5 terminate 6: ok delete thread 6|terminate 6: ok delete thread 6 terminate 5: ok delete thread 5 terminate 4: ok delete thread 4 terminate 3: ok delete thread 3 terminate 2: ok delete thread 2)$)' |
023-rewrite/uthread-spawn.t | TEST 5: error in user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: fail terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-spawn.t | TEST 2: two simple user threads without I/O - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -terminate 2: ok -create 3 in 1 spawn user thread 3 in 1 -terminate 3: ok +terminate 2: ok +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: ok terminate 1: ok -delete thread 2 delete thread 3 -delete thread 1 +delete thread 5 +delete thread 6 ' |
023-rewrite/uthread-spawn.t | TEST 19: two user threads flushing at the same time - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 2: ok create 4 in 1 spawn user thread 5 in 1 terminate 4: ok terminate 1: ok delete thread 3 delete thread 5 delete thread 6 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 terminate 3: ok delete thread 3|create 2 in 1 spawn user thread 2 in 1 terminate 2: ok create 3 in 1 spawn user thread 3 in 1 terminate 3: ok terminate 1: ok delete thread 2 delete thread 3 delete thread 1)$ )' |
023-rewrite/uthread-spawn.t | TEST 15: creating user threads in a user coroutine - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 3: ok terminate 2: ok -delete thread 3 +delete thread 4 terminate 1: ok -delete thread 1 +delete thread 5 ' |
023-rewrite/uthread-spawn.t | TEST 27: multiple user threads + subrequests returning 204 immediately - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 terminate 1: ok delete thread 6 terminate 7: ok delete thread 8 finalize request /proxy/1: rc:204 c:3 a:0 post subreq: /proxy/1 rc=204, status=204 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 3 terminate 9: ok delete thread a finalize request /proxy/2: rc:204 c:2 a:0 post subreq: /proxy/2 rc=204, status=204 a=0 subrequest /proxy/2 done terminate 4: ok delete thread 5 finalize request /t: rc:200 c:1 a:1 ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 terminate 4: ok delete thread 4 finalize request /proxy/1: rc:204 c:3 a:0 post subreq: /proxy/1 rc=204, status=204 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 2 terminate 5: ok delete thread 5 finalize request /proxy/2: rc:204 c:2 a:0 post subreq: /proxy/2 rc=204, status=204 a=0 subrequest /proxy/2 done terminate 3: ok delete thread 3 finalize request /t: rc:200 c:1 a:1 (?:finalize request /t: rc:0 c:1 a:1)?$)' |
023-rewrite/uthread-spawn.t | TEST 4: two simple user threads with sleep - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 1: ok -delete thread 1 -terminate 3: ok -delete thread 3 +delete thread 6 +terminate 4: ok +delete thread 5 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 13: coroutine status of a dead user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-spawn.t | TEST 6: simple user threads doing a single subrequest (entry quits early) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 21: user threads + ngx.socket.udp - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 |create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1)$)' |
023-rewrite/uthread-spawn.t | TEST 17: manual time slicing between two user threads - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 ' |
023-rewrite/uthread-spawn.t | TEST 22: simple user thread with ngx.req.read_body() - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1|create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2)$)' |
023-rewrite/uthread-spawn.t | TEST 3: simple user thread with sleep - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 20: user threads + ngx.socket.tcp - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 24: multiple user threads + subrequests returning 404 immediately - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 terminate 1: ok delete thread 6 finalize request /proxy/1: rc:404 c:3 a:0 post subreq: /proxy/1 rc=404, status=0 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 3 finalize request /proxy/2: rc:404 c:2 a:0 post subreq: /proxy/2 rc=404, status=0 a=0 subrequest /proxy/2 done terminate 4: ok delete thread 5 finalize request /t: rc:200 c:1 a:1 ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 finalize request /proxy/1: rc:404 c:3 a:0 post subreq: /proxy/1 rc=404, status=0 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 2 finalize request /proxy/2: rc:404 c:2 a:0 post subreq: /proxy/2 rc=404, status=0 a=0 subrequest /proxy/2 done terminate 3: ok delete thread 3 finalize request /t: rc:200 c:1 a:1 (?:finalize request /t: rc:0 c:1 a:1)?$)' |
023-rewrite/uthread-spawn.t | TEST 16: manual time slicing between a user thread and the entry thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-spawn.t | TEST 12: coroutine status of a running user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 11: nested user threads (with I/O) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 3 in 1 +create 4 in 2 +spawn user thread 5 in 2 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 ' |
023-rewrite/uthread-spawn.t | TEST 1: simple user thread without I/O - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
023-rewrite/uthread-spawn.t | TEST 7: simple user threads doing a single subrequest (entry also does a subrequest and quits early) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
023-rewrite/uthread-spawn.t | TEST 10: nested user threads - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 -spawn user thread 3 in 2 -terminate 3: ok +spawn user thread 3 in 1 +create 4 in 2 +spawn user thread 5 in 2 +terminate 4: ok terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok +delete thread 5 delete thread 3 -delete thread 2 ' |
024-access/client-abort.t | TEST 23: exec (named location) to proxy + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok lua req cleanup -delete thread 1 +delete thread 2 ' |
024-access/client-abort.t | TEST 17: ngx.req.socket + receive n < content-length + stop - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
024-access/client-abort.t | TEST 3: sleep + ignore - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
024-access/client-abort.t | TEST 20: ngx.req.read_body + sleep + stop (log handler still gets called) - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
024-access/client-abort.t | TEST 5: subrequest + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: fail lua req cleanup -delete thread 1 +delete thread 2 ' |
024-access/client-abort.t | TEST 21: exec to lua + ignore - stap output expected |
@@ -1,6 +1,6 @@ terminate 1: ok lua req cleanup -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
024-access/client-abort.t | TEST 12: ngx.req.socket + receive(n) + sleep + stop - stap output should match the pattern |
'lua check broken conn terminate 1: ok delete thread 2 terminate 3: ok delete thread 4 lua req cleanup ' doesn't match '(?^ms:^(?:lua check broken conn terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 lua req cleanup|lua check broken conn lua req cleanup delete thread 1)$ )' |
024-access/client-abort.t | TEST 19: ngx.req.socket + receive n == content-length + ignore - stap output expected |
@@ -1,5 +1,5 @@ terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
024-access/client-abort.t | TEST 22: exec to proxy + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok lua req cleanup -delete thread 1 +delete thread 2 ' |
024-access/on-abort.t | TEST 7: accessing cosocket in callback - stap output should match the pattern |
'create 2 in 1 lua check broken conn terminate 2: ok lua req cleanup delete thread 3 delete thread 4 ' doesn't match '(?^ms:^create 2 in 1 lua check broken conn (?:lua check broken conn )?terminate 2: ok lua req cleanup delete thread 2 delete thread 1 $)' |
024-access/on-abort.t | TEST 1: ignore the client abort event in the user callback - stap output expected |
@@ -2,8 +2,8 @@ lua check broken conn terminate 2: ok terminate 1: ok -delete thread 2 -delete thread 1 -terminate 3: ok delete thread 3 +delete thread 4 +terminate 5: ok +delete thread 6 lua req cleanup ' |
024-access/on-abort.t | TEST 4: ngx.exit(408) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/on-abort.t | TEST 13: regsiter on_abort callback multiple times - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 lua req cleanup -delete thread 2 +delete thread 4 ' |
024-access/on-abort.t | TEST 12: regsiter on_abort callback but no client abortion (uthread) - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 terminate 3: ok -delete thread 3 +delete thread 4 lua req cleanup -delete thread 2 +delete thread 6 ' |
024-access/on-abort.t | TEST 3: ngx.exit(499) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/on-abort.t | TEST 9: regsiter on_abort callback but no client abortion - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 lua req cleanup -delete thread 2 +delete thread 4 ' |
024-access/on-abort.t | TEST 8: ignore the client abort event in the user callback (no check) - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
024-access/on-abort.t | TEST 10: ignore the client abort event in the user callback (uthread) - stap output expected |
@@ -1,13 +1,13 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 lua check broken conn terminate 2: ok -delete thread 2 +delete thread 6 terminate 3: ok -delete thread 3 -terminate 4: ok delete thread 4 +terminate 7: ok +delete thread 8 lua req cleanup ' |
024-access/on-abort.t | TEST 5: ngx.exit(-1) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/on-abort.t | TEST 11: abort in the user callback (uthread) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 6 -delete thread 3 +delete thread 4 ' |
024-access/on-abort.t | TEST 6: ngx.exit(0) with pending subrequest - stap output expected |
@@ -2,8 +2,8 @@ lua check broken conn terminate 2: fail terminate 1: ok -delete thread 2 -delete thread 1 -terminate 3: ok delete thread 3 +delete thread 4 +terminate 5: ok +delete thread 6 lua req cleanup ' |
024-access/on-abort.t | TEST 2: abort in the user callback - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-exec.t | TEST 4: exec in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
024-access/uthread-exec.t | TEST 1: exec in user thread (entry still pending) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-exec.t | TEST 3: exec in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exec.t | TEST 2: exec in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-exec.t | TEST 5: exec in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,11 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 12: exit in user thread (entry thread is still pending on ngx.req.read_body) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua req body cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 11: exit in user thread (entry thread is still pending on reqsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 4: exit in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-exit.t | TEST 1: exit in user thread (entry thread is still pending to run) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-exit.t | TEST 15: exit in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - stap output expected |
@@ -1,12 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 1 resolving agentzh.org add timer 12000 -expire timer 1 terminate 2: ok -delete thread 2 +delete thread 3 lua udp resolve cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 13: exit in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected |
@@ -1,11 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 14: exit in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,12 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - stap output expected |
@@ -1,12 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 1 resolving agentzh.org add timer 12000 -expire timer 1 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp resolve cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 10: exit in user thread (entry thread is still pending on udpsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua udp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-exit.t | TEST 3: exit in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
024-access/uthread-exit.t | TEST 2: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-redirect.t | TEST 1: ngx.redirect() in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
024-access/uthread-redirect.t | TEST 2: redirect in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
024-access/uthread-spawn.t | TEST 12: coroutine status of a running user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 23: simple user thread with ngx.req.socket() - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1|create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2)$)' |
024-access/uthread-spawn.t | TEST 13: coroutine status of a dead user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-spawn.t | TEST 16: manual time slicing between a user thread and the entry thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-spawn.t | TEST 6: simple user threads doing a single subrequest (entry quits early) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 10: nested user threads - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 -spawn user thread 3 in 2 -terminate 3: ok +spawn user thread 3 in 1 +create 4 in 2 +spawn user thread 5 in 2 +terminate 4: ok terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok +delete thread 5 delete thread 3 -delete thread 2 ' |
024-access/uthread-spawn.t | TEST 18: entry thread and a user thread flushing at the same time - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 11: nested user threads (with I/O) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 3 in 1 +create 4 in 2 +spawn user thread 5 in 2 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 ' |
024-access/uthread-spawn.t | TEST 5: error in user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: fail terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-spawn.t | TEST 21: user threads + ngx.socket.udp - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 |create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1)$)' |
024-access/uthread-spawn.t | TEST 22: simple user thread with ngx.req.read_body() - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1|create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2)$)' |
024-access/uthread-spawn.t | TEST 14: coroutine status of a "normal" user thread - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 +spawn user thread 3 in 1 +create 4 in 2 terminate 1: ok -delete thread 1 -terminate 3: ok +delete thread 5 +terminate 4: ok terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 20: user threads + ngx.socket.tcp - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 1: simple user thread without I/O - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-spawn.t | TEST 19: two user threads flushing at the same time - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 2: ok create 4 in 1 spawn user thread 5 in 1 terminate 4: ok terminate 1: ok delete thread 3 delete thread 5 delete thread 6 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 terminate 3: ok delete thread 3|create 2 in 1 spawn user thread 2 in 1 terminate 2: ok create 3 in 1 spawn user thread 3 in 1 terminate 3: ok terminate 1: ok delete thread 2 delete thread 3 delete thread 1)$ )' |
024-access/uthread-spawn.t | TEST 15: creating user threads in a user coroutine - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 3: ok terminate 2: ok -delete thread 3 +delete thread 4 terminate 1: ok -delete thread 1 +delete thread 5 ' |
024-access/uthread-spawn.t | TEST 4: two simple user threads with sleep - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 1: ok -delete thread 1 -terminate 3: ok -delete thread 3 +delete thread 6 +terminate 4: ok +delete thread 5 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 7: simple user threads doing a single subrequest (entry also does a subrequest and quits early) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
024-access/uthread-spawn.t | TEST 17: manual time slicing between two user threads - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 ' |
024-access/uthread-spawn.t | TEST 2: two simple user threads without I/O - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -terminate 2: ok -create 3 in 1 spawn user thread 3 in 1 -terminate 3: ok +terminate 2: ok +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: ok terminate 1: ok -delete thread 2 delete thread 3 -delete thread 1 +delete thread 5 +delete thread 6 ' |
024-access/uthread-spawn.t | TEST 9: two simple user threads doing single subrequests (entry also does a subrequest and quits between) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok terminate 1: ok -delete thread 2 -delete thread 1 -terminate 3: ok delete thread 3 +delete thread 6 +terminate 4: ok +delete thread 5 ' |
024-access/uthread-spawn.t | TEST 8: simple user threads doing a single subrequest (entry also does a subrequest and quits late) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
024-access/uthread-spawn.t | TEST 3: simple user thread with sleep - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
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 |
057-flush-timeout.t | TEST 3: exit in user thread (entry thread is still pending on ngx.flush) - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua flush cleanup delete timer 200 -delete thread 1 +delete thread 4 add timer 200 -expire timer 200 free request ' |
065-tcp-socket-timeout.t | TEST 16: exit in user thread (entry thread is still pending on tcpsock:send) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
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 ' |
072-conditional-get.t | TEST 3: If-Unmodified-Since false - stap output expected |
got: "terminate 1: ok\x{0a}delete thread 2\x{0a}" length: 32 expected: "terminate 1: ok\x{0a}delete thread 1\x{0a}" length: 32 strings begin to differ at char 31 (line 2 column 15) |
086-init-by.t | nginx: [error] | init_by_lua error: init_by_lua:2: failed to init |
091-coroutine.t | TEST 14: using ngx.exit in user coroutines - stap output expected |
@@ -1,11 +1,11 @@ create 2 in 1 resume 2 in 1 create 3 in 2 -yield 2 in 1 +yield 2 in 4 resume 2 in 1 resume 3 in 2 -yield 3 in 2 -yield 2 in 1 +yield 3 in 5 +yield 2 in 4 resume 2 in 1 resume 3 in 2 exit ' |
091-coroutine.t | TEST 15: using ngx.exec in user coroutines - stap output expected |
@@ -1,11 +1,11 @@ create 2 in 1 resume 2 in 1 create 3 in 2 -yield 2 in 1 +yield 2 in 4 resume 2 in 1 resume 3 in 2 -yield 3 in 2 -yield 2 in 1 +yield 3 in 5 +yield 2 in 4 resume 2 in 1 resume 3 in 2 exec ' |
093-uthread-spawn.t | TEST 17: manual time slicing between two user threads - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 ' |
093-uthread-spawn.t | TEST 9: two simple user threads doing single subrequests (entry also does a subrequest and quits between) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok terminate 1: ok -delete thread 2 -delete thread 1 -terminate 3: ok delete thread 3 +delete thread 6 +terminate 4: ok +delete thread 5 ' |
093-uthread-spawn.t | TEST 15: creating user threads in a user coroutine - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 3: ok terminate 2: ok -delete thread 3 +delete thread 4 terminate 1: ok -delete thread 1 +delete thread 5 ' |
093-uthread-spawn.t | TEST 26: multiple user threads + subrequests returning 404 remotely (no wait) - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 create 6 in 1 spawn user thread 7 in 1 create 8 in 1 spawn user thread 9 in 1 create a in 1 spawn user thread b in 1 terminate 1: ok delete thread c terminate 2: ok delete thread 3 terminate 4: ok delete thread 5 terminate 6: ok delete thread 7 terminate 8: ok delete thread 9 terminate 10: ok delete thread b ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 4 in 1 create 5 in 1 spawn user thread 5 in 1 create 6 in 1 spawn user thread 6 in 1 terminate 1: ok delete thread 1 (?:terminate 2: ok delete thread 2 terminate 3: ok delete thread 3 terminate 4: ok delete thread 4 terminate 5: ok delete thread 5 terminate 6: ok delete thread 6 |terminate 6: ok delete thread 6 terminate 5: ok delete thread 5 terminate 4: ok delete thread 4 terminate 3: ok delete thread 3 terminate 2: ok delete thread 2)$)' |
093-uthread-spawn.t | TEST 16: manual time slicing between a user thread and the entry thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
093-uthread-spawn.t | TEST 12: coroutine status of a running user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 18: entry thread and a user thread flushing at the same time - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 1: simple user thread without I/O - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
093-uthread-spawn.t | TEST 21: user threads + ngx.socket.udp - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 |create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1 )$)' |
093-uthread-spawn.t | TEST 14: coroutine status of a "normal" user thread - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 +spawn user thread 3 in 1 +create 4 in 2 terminate 1: ok -delete thread 1 -terminate 3: ok +delete thread 5 +terminate 4: ok terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 19: two user threads flushing at the same time - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 2: ok create 4 in 1 spawn user thread 5 in 1 terminate 4: ok terminate 1: ok delete thread 3 delete thread 5 delete thread 6 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2 terminate 3: ok delete thread 3|create 2 in 1 spawn user thread 2 in 1 terminate 2: ok create 3 in 1 spawn user thread 3 in 1 terminate 3: ok terminate 1: ok delete thread 2 delete thread 3 delete thread 1)$ )' |
093-uthread-spawn.t | TEST 24: simple user thread with args - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
093-uthread-spawn.t | TEST 3: simple user thread with sleep - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 4: two simple user threads with sleep - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 1: ok -delete thread 1 -terminate 3: ok -delete thread 3 +delete thread 6 +terminate 4: ok +delete thread 5 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 7: simple user threads doing a single subrequest (entry also does a subrequest and quits early) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 6: simple user threads doing a single subrequest (entry quits early) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 5: error in user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: fail terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
093-uthread-spawn.t | TEST 8: simple user threads doing a single subrequest (entry also does a subrequest and quits late) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
093-uthread-spawn.t | TEST 10: nested user threads - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 -spawn user thread 3 in 2 -terminate 3: ok +spawn user thread 3 in 1 +create 4 in 2 +spawn user thread 5 in 2 +terminate 4: ok terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok +delete thread 5 delete thread 3 -delete thread 2 ' |
093-uthread-spawn.t | TEST 2: two simple user threads without I/O - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -terminate 2: ok -create 3 in 1 spawn user thread 3 in 1 -terminate 3: ok +terminate 2: ok +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: ok terminate 1: ok -delete thread 2 delete thread 3 -delete thread 1 +delete thread 5 +delete thread 6 ' |
093-uthread-spawn.t | TEST 25: multiple user threads + subrequests returning 404 immediately - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 terminate 1: ok delete thread 6 finalize request /t: rc:-4 c:4 a:1 finalize request /proxy/1: rc:404 c:3 a:0 post subreq: /proxy/1 rc=404, status=0 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 3 finalize request /proxy/2: rc:404 c:2 a:0 post subreq: /proxy/2 rc=404, status=0 a=0 subrequest /proxy/2 done terminate 4: ok delete thread 5 finalize request /t: rc:0 c:1 a:1 ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 finalize request /t: rc:-4 c:4 a:1 finalize request /proxy/1: rc:404 c:3 a:0 post subreq: /proxy/1 rc=404, status=0 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 2 finalize request /proxy/2: rc:404 c:2 a:0 post subreq: /proxy/2 rc=404, status=0 a=0 subrequest /proxy/2 done terminate 3: ok delete thread 3 finalize request /t: rc:0 c:1 a:1 (?:finalize request /t: rc:0 c:1 a:1)?$)' |
093-uthread-spawn.t | TEST 13: coroutine status of a dead user thread - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
093-uthread-spawn.t | TEST 22: simple user thread with ngx.req.read_body() - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1|create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2)$)' |
093-uthread-spawn.t | TEST 23: simple user thread with ngx.req.socket() - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 4 terminate 2: ok delete thread 3 ' doesn't match '(?^ms:^(?:create 2 in 1 spawn user thread 2 in 1 terminate 2: ok terminate 1: ok delete thread 2 delete thread 1|create 2 in 1 spawn user thread 2 in 1 terminate 1: ok delete thread 1 terminate 2: ok delete thread 2)$)' |
093-uthread-spawn.t | TEST 31: simple user thread without I/O - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 20: user threads + ngx.socket.tcp - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
093-uthread-spawn.t | TEST 27: multiple user threads + subrequests returning 201 immediately - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 terminate 1: ok delete thread 6 finalize request /t: rc:-4 c:4 a:1 terminate 7: ok delete thread 8 finalize request /proxy/1: rc:0 c:3 a:0 post subreq: /proxy/1 rc=0, status=201 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 3 terminate 9: ok delete thread a finalize request /proxy/2: rc:0 c:2 a:0 post subreq: /proxy/2 rc=0, status=201 a=0 subrequest /proxy/2 done terminate 4: ok delete thread 5 finalize request /t: rc:0 c:1 a:1 ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 finalize request /t: rc:-4 c:4 a:1 terminate 4: ok delete thread 4 finalize request /proxy/1: rc:0 c:3 a:0 post subreq: /proxy/1 rc=0, status=201 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 2 terminate 5: ok delete thread 5 finalize request /proxy/2: rc:0 c:2 a:0 post subreq: /proxy/2 rc=0, status=201 a=0 subrequest /proxy/2 done terminate 3: ok delete thread 3 finalize request /t: rc:0 c:1 a:1 (?:finalize request /t: rc:0 c:1 a:1)?$)' |
093-uthread-spawn.t | TEST 11: nested user threads (with I/O) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 3 in 1 +create 4 in 2 +spawn user thread 5 in 2 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 ' |
093-uthread-spawn.t | TEST 28: multiple user threads + subrequests returning 204 immediately - stap output should match the pattern |
'create 2 in 1 spawn user thread 3 in 1 create 4 in 1 spawn user thread 5 in 1 terminate 1: ok delete thread 6 finalize request /t: rc:-4 c:4 a:1 terminate 7: ok delete thread 8 finalize request /proxy/1: rc:204 c:3 a:0 post subreq: /proxy/1 rc=204, status=204 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 3 terminate 9: ok delete thread a finalize request /proxy/2: rc:204 c:2 a:0 post subreq: /proxy/2 rc=204, status=204 a=0 subrequest /proxy/2 done terminate 4: ok delete thread 5 finalize request /t: rc:0 c:1 a:1 ' doesn't match '(?^ms:^create 2 in 1 spawn user thread 2 in 1 create 3 in 1 spawn user thread 3 in 1 terminate 1: ok delete thread 1 finalize request /t: rc:-4 c:4 a:1 terminate 4: ok delete thread 4 finalize request /proxy/1: rc:204 c:3 a:0 post subreq: /proxy/1 rc=204, status=204 a=0 subrequest /proxy/1 done terminate 2: ok delete thread 2 terminate 5: ok delete thread 5 finalize request /proxy/2: rc:204 c:2 a:0 post subreq: /proxy/2 rc=204, status=204 a=0 subrequest /proxy/2 done terminate 3: ok delete thread 3 finalize request /t: rc:0 c:1 a:1 (?:finalize request /t: rc:0 c:1 a:1)?$)' |
094-uthread-exit.t | TEST 14: exit in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,12 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 5: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.tcp) - stap output expected |
@@ -1,12 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 1 resolving agentzh.org add timer 12000 -expire timer 1 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp resolve cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 1: exit in user thread (entry thread is still pending to run) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
094-uthread-exit.t | TEST 9: exit in user thread (entry thread is still pending on tcpsock:receiveuntil's iterator) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 10: exit in user thread (entry thread is still pending on udpsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua udp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 13: exit(0) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected |
@@ -1,11 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 3: exit in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
094-uthread-exit.t | TEST 8: exit in user thread (entry thread is still pending on tcpsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 15: exit in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 4: exit in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
094-uthread-exit.t | TEST 11: exit in user thread (entry thread is still pending on reqsock:receive) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua tcp socket cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 19: exit(499) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected |
@@ -1,10 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 delete timer 200 free request ' |
094-uthread-exit.t | TEST 6: exit in user thread (entry thread is still pending on the DNS resolver for ngx.socket.udp) - stap output expected |
@@ -1,12 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 1 resolving agentzh.org add timer 12000 -expire timer 1 terminate 2: ok -delete thread 2 +delete thread 3 lua udp resolve cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 2: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 12: exit in user thread (entry thread is still pending on ngx.req.read_body) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 12000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua req body cleanup delete timer 12000 -delete thread 1 +delete thread 4 free request ' |
094-uthread-exit.t | TEST 18: exit(408) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected |
@@ -1,10 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 delete timer 200 free request ' |
094-uthread-exit.t | TEST 16: exit in entry thread (user thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 1: fail -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 delete timer 200 free request ' |
094-uthread-exit.t | TEST 17: exit(444) in user thread (entry thread is still pending on ngx.location.capture), with pending output - stap output expected |
@@ -1,10 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 delete timer 200 free request ' |
095-uthread-exec.t | TEST 3: exec in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
095-uthread-exec.t | TEST 2: exec in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
095-uthread-exec.t | TEST 5: exec in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,11 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
095-uthread-exec.t | TEST 1: exec in user thread (entry still pending) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
095-uthread-exec.t | TEST 4: exec in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
095-uthread-exec.t | TEST 6: exec in entry thread (user thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,10 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 1: fail -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 delete timer 200 free request ' |
096-uthread-redirect.t | TEST 3: ngx.redirect() in entry thread (user thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 1: fail -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 delete timer 200 free request ' |
096-uthread-redirect.t | TEST 1: ngx.redirect() in user thread (entry thread is still pending on ngx.location.capture_multi), without pending output - stap output expected |
@@ -1,13 +1,11 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 post subreq /echo add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
096-uthread-redirect.t | TEST 2: redirect in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
097-uthread-rewrite.t | TEST 5: rewrite in user thread (entry thread is still pending on ngx.location.capture), without pending output - stap output expected |
@@ -1,12 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 200 -expire timer 100 terminate 2: fail -expire timer 200 post subreq /sleep terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 free request ' |
097-uthread-rewrite.t | TEST 4: rewrite in a user thread (another user thread is still pending on ngx.sleep) - stap output expected |
@@ -1,15 +1,14 @@ create 2 in 1 -spawn user thread 2 in 1 -add timer 100 -create 3 in 1 spawn user thread 3 in 1 +add timer 100 +create 4 in 1 +spawn user thread 5 in 1 add timer 1000 terminate 1: ok -delete thread 1 -expire timer 100 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 3 +delete thread 5 free request ' |
097-uthread-rewrite.t | TEST 1: rewrite in user thread (entry still pending) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
097-uthread-rewrite.t | TEST 3: rewrite in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,11 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 add timer 100 add timer 1000 -expire timer 100 terminate 2: ok -delete thread 2 +delete thread 3 lua sleep cleanup delete timer 1000 -delete thread 1 +delete thread 4 free request ' |
097-uthread-rewrite.t | TEST 2: rewrite in user thread (entry already quits) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 3 ' |
098-uthread-wait.t | TEST 3: wait on uthreads on the reversed order of their termination - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok -terminate 3: ok +terminate 4: ok +delete thread 5 delete thread 3 -delete thread 2 terminate 1: ok -delete thread 1 +delete thread 6 ' |
098-uthread-wait.t | TEST 2: simple user thread wait with I/O - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 1: simple user thread wait without I/O - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 21: waiting on a dead coroutine - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 20: lua backtrace dumper may access dead parent coroutines - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: fail -delete thread 2 +delete thread 3 ' |
098-uthread-wait.t | TEST 13: waiting on two simple user threads with I/O (uthreads completed in reversed order) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 -terminate 3: ok -delete thread 3 +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: ok +delete thread 5 terminate 1: ok -delete thread 1 +delete thread 6 terminate 2: ok -delete thread 2 +delete thread 3 ' |
098-uthread-wait.t | TEST 19: entry coroutine waiting on a user coroutine - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 1: fail -delete thread 1 +delete thread 3 ' |
098-uthread-wait.t | TEST 4: wait on uthreads on the exact order of their termination - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +terminate 4: ok +delete thread 5 terminate 1: ok -delete thread 1 +delete thread 6 ' |
098-uthread-wait.t | TEST 5: simple user thread wait without I/O (return multiple values) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 6: simple user thread wait with I/O, return multiple values - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 12: waiting on two simple user threads with I/O - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok -delete thread 2 -terminate 1: ok -delete thread 1 -terminate 3: ok delete thread 3 +terminate 1: ok +delete thread 6 +terminate 4: ok +delete thread 5 ' |
098-uthread-wait.t | TEST 9: simple user thread wait without I/O (in a user coroutine) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 3: ok -delete thread 3 +delete thread 4 terminate 2: ok terminate 1: ok -delete thread 1 +delete thread 5 ' |
098-uthread-wait.t | TEST 15: waiting on two simple user threads with I/O, both aborted by errors - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: fail -delete thread 2 -terminate 1: ok -delete thread 1 -terminate 3: fail delete thread 3 +terminate 1: ok +delete thread 6 +terminate 4: fail +delete thread 5 ' |
098-uthread-wait.t | TEST 8: simple user thread wait with I/O, throw errors - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: fail -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 7: simple user thread wait without I/O, throw errors - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: fail -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
098-uthread-wait.t | TEST 10: simple user thread wait with I/O (in a user coroutine) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 3: ok -delete thread 3 +delete thread 4 terminate 2: ok terminate 1: ok -delete thread 1 +delete thread 5 ' |
098-uthread-wait.t | TEST 17: wait on uthreads on the reversed order of their termination, but exit the world early - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 -terminate 3: ok -delete thread 3 +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: ok +delete thread 5 terminate 1: ok -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 6 ' |
098-uthread-wait.t | TEST 14: waiting on two simple user threads without I/O, both aborted by errors - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -terminate 2: fail -create 3 in 1 spawn user thread 3 in 1 -terminate 3: fail -delete thread 2 -terminate 1: ok +terminate 2: fail +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: fail delete thread 3 -delete thread 1 +terminate 1: ok +delete thread 5 +delete thread 6 ' |
098-uthread-wait.t | TEST 11: waiting on two simple user threads without I/O - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 -spawn user thread 2 in 1 -terminate 2: ok -create 3 in 1 spawn user thread 3 in 1 -terminate 3: ok -delete thread 2 -terminate 1: ok +terminate 2: ok +create 4 in 1 +spawn user thread 5 in 1 +terminate 4: ok delete thread 3 -delete thread 1 +terminate 1: ok +delete thread 5 +delete thread 6 ' |
098-uthread-wait.t | TEST 18: entry coroutine waiting on a thread not created by itself - stap output expected |
@@ -1,7 +1,7 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 2: ok terminate 1: fail -delete thread 3 +delete thread 4 -delete thread 1 +delete thread 5 ' |
098-uthread-wait.t | TEST 16: wait on uthreads on the exact order of their termination, but exit the world early - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 -spawn user thread 2 in 1 -create 3 in 1 spawn user thread 3 in 1 +create 4 in 1 +spawn user thread 5 in 1 terminate 2: ok -delete thread 2 -terminate 1: ok delete thread 3 -delete thread 1 +terminate 1: ok +delete thread 5 +delete thread 6 ' |
100-client-abort.t | TEST 12: ngx.req.socket + receive(n) + sleep + stop - stap output should match the pattern |
'lua check broken conn terminate 1: ok delete thread 2 lua req cleanup ' doesn't match '(?^ms:^(?:lua check broken conn terminate 1: ok delete thread 1 lua req cleanup|lua check broken conn lua req cleanup delete thread 1)$ )' |
100-client-abort.t | TEST 17: ngx.req.socket + receive n < content-length + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
100-client-abort.t | TEST 24: exec (named location) to proxy + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok lua req cleanup -delete thread 1 +delete thread 2 ' |
100-client-abort.t | TEST 5: subrequest + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: fail lua req cleanup -delete thread 1 +delete thread 2 ' |
100-client-abort.t | TEST 3: sleep + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
100-client-abort.t | TEST 23: exec to proxy + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok lua req cleanup -delete thread 1 +delete thread 2 ' |
100-client-abort.t | TEST 20: ngx.req.socket + receive n == content-length + ignore - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
100-client-abort.t | TEST 18: ngx.req.socket + receive n < content-length + stop - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
100-client-abort.t | TEST 26: sleep (default off) - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
100-client-abort.t | TEST 22: exec to lua + ignore - stap output expected |
@@ -1,6 +1,6 @@ terminate 1: ok lua req cleanup -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 lua req cleanup ' |
101-on-abort.t | TEST 13: regsiter on_abort callback multiple times - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 lua req cleanup -delete thread 2 +delete thread 4 ' |
101-on-abort.t | TEST 8: ignore the client abort event in the user callback (no check) - stap output expected |
@@ -1,3 +1,3 @@ terminate 1: ok -delete thread 1 +delete thread 2 lua req cleanup ' |
101-on-abort.t | TEST 2: abort in the user callback - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 11: abort in the user callback (uthread) - stap output expected |
@@ -1,10 +1,10 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 6 -delete thread 3 +delete thread 4 ' |
101-on-abort.t | TEST 10: ignore the client abort event in the user callback (uthread) - stap output expected |
@@ -1,11 +1,11 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 lua check broken conn terminate 2: ok -delete thread 2 +delete thread 6 terminate 3: ok -delete thread 3 +delete thread 4 lua req cleanup ' |
101-on-abort.t | TEST 12: regsiter on_abort callback but no client abortion (uthread) - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 +spawn user thread 4 in 1 terminate 1: ok -delete thread 1 +delete thread 5 terminate 3: ok -delete thread 3 +delete thread 4 lua req cleanup -delete thread 2 +delete thread 6 ' |
101-on-abort.t | TEST 15: abort with 444 in the user callback, but the header is already sent - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 1: ignore the client abort event in the user callback - stap output should match the pattern |
'create 2 in 1 lua check broken conn terminate 2: ok terminate 1: ok delete thread 3 delete thread 4 lua req cleanup ' doesn't match '(?^ms:^create 2 in 1 lua check broken conn terminate 2: ok (?:lua check broken conn )?terminate 1: ok delete thread 2 delete thread 1 lua req cleanup)' |
101-on-abort.t | TEST 4: ngx.exit(408) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 14: abort with 499 in the user callback, but the header is already sent - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 7: accessing cosocket in callback - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 5: ngx.exit(-1) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 3: ngx.exit(499) with pending subrequest - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 16: abort with 408 in the user callback, but the header is already sent - stap output expected |
@@ -2,5 +2,5 @@ lua check broken conn terminate 2: ok lua req cleanup -delete thread 2 +delete thread 3 -delete thread 1 +delete thread 4 ' |
101-on-abort.t | TEST 18: regsiter on_abort callback but no client abortion (2 uthreads and 1 pending) - stap output expected |
@@ -1,12 +1,12 @@ create 2 in 1 create 3 in 1 -spawn user thread 3 in 1 -create 4 in 1 spawn user thread 4 in 1 +create 5 in 1 +spawn user thread 6 in 1 terminate 1: ok -delete thread 1 +delete thread 7 terminate 3: ok lua req cleanup -delete thread 2 -delete thread 3 +delete thread 8 delete thread 4 +delete thread 6 ' |
101-on-abort.t | TEST 6: ngx.exit(0) with pending subrequest - stap output expected |
@@ -2,6 +2,6 @@ lua check broken conn terminate 2: fail terminate 1: ok -delete thread 2 -delete thread 1 +delete thread 3 +delete thread 4 lua req cleanup ' |
101-on-abort.t | TEST 9: regsiter on_abort callback but no client abortion - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 lua req cleanup -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 6: tcp cosocket in timer handler (keep-alive connections) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 5: tcp cosocket in timer handler (short connections) - stap output expected |
@@ -1,7 +1,7 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 1: ok -delete thread 1 -terminate 2: ok delete thread 2 +terminate 3: ok +delete thread 4 ' |
106-timer.t | TEST 23: lua_max_pending_timers - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 13: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
106-timer.t | TEST 8: udp cosocket in timer handler - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 19: exit in user thread (entry thread is still pending on ngx.sleep) - stap output should match the pattern |
'create 2 in 1 terminate 1: ok delete thread 3 free request create 4 in 2 spawn user thread 5 in 2 add timer 100 add timer 1000 terminate 4: ok delete thread 5 lua sleep cleanup delete timer 1000 delete thread 6 ' doesn't match '(?^ms:(?:create 2 in 1 terminate 1: ok delete thread 1 free request create 3 in 2 spawn user thread 3 in 2 add timer 100 add timer 1000 expire timer 100 terminate 3: ok delete thread 3 lua sleep cleanup delete timer 1000 delete thread 2|create 2 in 1 terminate 1: ok delete thread 1 create 3 in 2 spawn user thread 3 in 2 add timer 100 add timer 1000 free request expire timer 100 terminate 3: ok delete thread 3 lua sleep cleanup delete timer 1000 delete thread 2)$)' |
106-timer.t | TEST 24: lua_max_pending_timers (just not exceeding) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 5 terminate 3: ok -delete thread 3 +delete thread 6 ' |
106-timer.t | TEST 16: shared dict - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 1: simple at - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 29: lua_max_running_timers (just enough) - 2 - stap output expected |
@@ -1,11 +1,11 @@ create 2 in 1 create 3 in 1 terminate 1: ok -delete thread 1 -create 4 in 3 +delete thread 4 +create 5 in 3 terminate 2: ok -delete thread 2 +delete thread 6 terminate 3: ok -delete thread 3 +delete thread 7 -terminate 4: ok +terminate 5: ok -delete thread 4 +delete thread 8 ' |
106-timer.t | TEST 15: ngx.thread API - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 terminate 1: ok -delete thread 1 -create 3 in 2 -spawn user thread 3 in 2 -terminate 3: ok delete thread 3 +create 4 in 2 +spawn user thread 5 in 2 +terminate 4: ok +delete thread 5 terminate 2: ok -delete thread 2 +delete thread 6 ' |
106-timer.t | TEST 22: multiple parallel timers - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 5 terminate 3: ok -delete thread 3 +delete thread 6 ' |
106-timer.t | TEST 14: coroutine API - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 terminate 1: ok -delete thread 1 -create 3 in 2 +delete thread 3 +create 4 in 2 terminate 2: ok -delete thread 2 +delete thread 5 ' |
106-timer.t | TEST 9: simple at (sleep in the timer callback) - log_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
106-timer.t | TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern |
'create 2 in 1 create 3 in 1 terminate 2: ok delete thread 4 terminate 3: ok delete thread 5 ' doesn't match '(?^ms:create 2 in 1 create 3 in 1 (?:terminate 2: ok delete thread 2 terminate 3: ok delete thread 3 |terminate 3: ok delete thread 3 terminate 2: ok delete thread 2)$)' |
106-timer.t | TEST 12: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern |
'create 2 in 1 create 3 in 1 terminate 3: ok delete thread 4 terminate 2: ok delete thread 5 ' doesn't match '(?^ms:create 2 in 1 create 3 in 1 (?:terminate 2: ok delete thread 2 terminate 3: ok delete thread 3 |terminate 3: ok delete thread 3 terminate 2: ok delete thread 2)$)' |
106-timer.t | TEST 20: chained timers (0 delay) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 terminate 1: ok -delete thread 1 -create 3 in 2 -terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +create 4 in 2 +terminate 2: ok +delete thread 5 +terminate 4: ok +delete thread 6 ' |
106-timer.t | TEST 10: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
106-timer.t | TEST 28: lua_max_running_timers (just enough) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 5 terminate 3: ok -delete thread 3 +delete thread 6 ' |
106-timer.t | TEST 27: lua_max_running_timers (just not enough) - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 create 3 in 1 terminate 1: ok -delete thread 1 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 5 ' |
106-timer.t | TEST 21: chained timers (non-zero delay) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 terminate 1: ok -delete thread 1 -create 3 in 2 -terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +create 4 in 2 +terminate 2: ok +delete thread 5 +terminate 4: ok +delete thread 6 ' |
106-timer.t | TEST 30: user args - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 26: lua_max_pending_timers - chained timers (zero delay) - not exceeding - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 terminate 1: ok -delete thread 1 -create 3 in 2 -terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +create 4 in 2 +terminate 2: ok +delete thread 5 +terminate 4: ok +delete thread 6 ' |
106-timer.t | TEST 11: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
106-timer.t | TEST 25: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 terminate 1: ok -delete thread 1 -create 3 in 2 -terminate 2: ok -delete thread 2 -terminate 3: ok delete thread 3 +create 4 in 2 +terminate 2: ok +delete thread 5 +terminate 4: ok +delete thread 6 ' |
106-timer.t | TEST 7: 0 timer - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
106-timer.t | TEST 4: simple at (sleep in the timer callback) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
108-timer-safe.t | TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern |
'create 2 in 1 create 3 in 1 terminate 2: ok delete thread 4 terminate 3: ok delete thread 5 ' doesn't match '(?^ms:create 2 in 1 create 3 in 1 (?:terminate 2: ok delete thread 2 terminate 3: ok delete thread 3 |terminate 3: ok delete thread 3 terminate 2: ok delete thread 2)$)' |
108-timer-safe.t | TEST 10: tcp cosocket in timer handler (keep-alive connections) - body_filter_by_lua - stap output should match the pattern |
'create 2 in 1 create 3 in 1 terminate 3: ok delete thread 4 terminate 2: ok delete thread 5 ' doesn't match '(?^ms:create 2 in 1 create 3 in 1 (?:terminate 2: ok delete thread 2 terminate 3: ok delete thread 3 |terminate 3: ok delete thread 3 terminate 2: ok delete thread 2)$)' |
108-timer-safe.t | TEST 6: udp cosocket in timer handler - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
108-timer-safe.t | TEST 11: tcp cosocket in timer handler (keep-alive connections) - set_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
108-timer-safe.t | TEST 12: coroutine API - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 create 3 in 2 terminate 2: ok -delete thread 2 +delete thread 4 terminate 1: ok -delete thread 1 +delete thread 5 ' |
108-timer-safe.t | TEST 17: exit in user thread (entry thread is still pending on ngx.sleep) - stap output expected |
@@ -1,14 +1,13 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 add timer 100 add timer 1000 -expire timer 100 terminate 3: ok -delete thread 3 +delete thread 4 lua sleep cleanup delete timer 1000 -delete thread 2 +delete thread 5 terminate 1: ok -delete thread 1 +delete thread 6 free request ' |
108-timer-safe.t | TEST 18: chained timers (non-zero delay) - stap output expected |
@@ -1,8 +1,8 @@ create 2 in 1 create 3 in 2 terminate 2: ok -delete thread 2 +delete thread 4 terminate 3: ok -delete thread 3 +delete thread 5 terminate 1: ok -delete thread 1 +delete thread 6 ' |
108-timer-safe.t | TEST 7: simple at (sleep in the timer callback) - log_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
108-timer-safe.t | TEST 5: 0 timer - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
108-timer-safe.t | TEST 8: tcp cosocket in timer handler (keep-alive connections) - log_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
108-timer-safe.t | TEST 2: simple at (sleep in the timer callback) - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 1: ok -delete thread 1 +delete thread 3 terminate 2: ok -delete thread 2 +delete thread 4 ' |
108-timer-safe.t | TEST 13: ngx.thread API - stap output expected |
@@ -1,9 +1,9 @@ create 2 in 1 create 3 in 2 -spawn user thread 3 in 2 +spawn user thread 4 in 2 terminate 3: ok -delete thread 3 +delete thread 4 terminate 2: ok -delete thread 2 +delete thread 5 terminate 1: ok -delete thread 1 +delete thread 6 ' |
108-timer-safe.t | TEST 9: tcp cosocket in timer handler (keep-alive connections) - header_filter_by_lua - stap output expected |
@@ -1,3 +1,3 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 ' |
108-timer-safe.t | TEST 1: simple at - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
108-timer-safe.t | TEST 14: shared dict - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) |
@@ -2,4 +2,4 @@ failed to safe set baz: no memory found bar: 4000 delete bar -failed to safe set baz: no memory +successfully safe set baz ' |
126-shdict-frag.t | TEST 9: cannot merge in-used big slabs page (forward) - stap output expected |
@@ -2,7 +2,6 @@ init zone alloc pages: 1 ok init zone alloc pages: 1 ok alloc pages: 1 ok -alloc pages: 1 ok alloc pages: 2 NOT OK free pages: 1 -alloc pages: 2 NOT OK +alloc pages: 2 ok ' |
126-shdict-frag.t | TEST 7: merge big slabs (less than max slab size) backward - stap output expected |
@@ -2,8 +2,6 @@ init zone alloc pages: 1 ok init zone alloc pages: 1 ok alloc pages: 1 ok -alloc pages: 1 ok -free pages: 1 alloc pages: 2 NOT OK free pages: 1 alloc pages: 2 ok ' |
127-uthread-kill.t | TEST 3: kill pending resolver - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 -delete thread 2 +spawn user thread 3 in 1 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
127-uthread-kill.t | TEST 2: already waited - stap output expected |
@@ -1,6 +1,6 @@ create 2 in 1 -spawn user thread 2 in 1 +spawn user thread 3 in 1 terminate 2: ok -delete thread 2 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
127-uthread-kill.t | TEST 4: kill pending connect - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 -delete thread 2 +spawn user thread 3 in 1 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
127-uthread-kill.t | TEST 1: kill pending sleep - stap output expected |
@@ -1,5 +1,5 @@ create 2 in 1 -spawn user thread 2 in 1 -delete thread 2 +spawn user thread 3 in 1 +delete thread 3 terminate 1: ok -delete thread 1 +delete thread 4 ' |
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 '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl save session: \1:3 lua ssl save session: \1:4 lua ssl free session: \1:4 lua ssl free session: \1:3 lua ssl free session: \1:2 $)' |
129-ssl-socket.t | TEST 19: 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 '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl save session: \1:3 lua ssl save session: \1:4 lua ssl free session: \1:4 lua ssl free session: \1:3 lua ssl free session: \1:2 $)' |
129-ssl-socket.t | TEST 19: 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 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 "2017/12/05 00:59:48 [alert] 24721\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 26: handshake timed out - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: timeout +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 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 http 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
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 http 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 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 "2017/12/05 00:59:48 [alert] 24724\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -failed to do SSL handshake: 18: self signed certificate +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA SSLv3" 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 "2017/12/05 00:59:49 [alert] 24725\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA SSLv3" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:49 [alert] 24728\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:50 [alert] 24730\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 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]+):2 lua ssl free session: \1:2 $)' |
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]+):2 lua ssl free session: \1:2 $)' |
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 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA SSLv3" 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 "2017/12/05 00:59:50 [alert] 24732\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-AES128-SHA SSLv3" 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 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 12: CRL has expired +failed to do SSL handshake: handshake failed failed to send http request: closed ' |
129-ssl-socket.t | TEST 24: lua_ssl_crl - 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 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,11 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 56 bytes. -received: HTTP/1.1 201 Created -received: Server: nginx -received: Content-Type: text/plain -received: Content-Length: 4 -received: Connection: close -received: -received: foo -close: 1 nil ' |
129-ssl-socket.t | TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:51 [alert] 24737\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 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: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
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 "2017/12/05 00:59:52 [alert] 24739\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 20: unable to get local issuer certificate +failed to do SSL handshake: handshake failed failed to send http request: closed ' |
129-ssl-socket.t | TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 20: unable to get local issuer certificate +failed to do SSL handshake: handshake failed failed to send http request: closed ' |
129-ssl-socket.t | TEST 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 "2017/12/05 00:59:52 [alert] 24741\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,4 +1,2 @@ connected: 1 -ssl handshake: true +failed to do SSL handshake: handshake failed -connected: 1 -ssl handshake: true ' |
129-ssl-socket.t | TEST 2: no SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:53 [alert] 24742\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 14: default cipher - response_body - response is expected (repeated req 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: default cipher - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-AES128-GCM-SHA256 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 "2017/12/05 00:59:53 [alert] 24743\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 14: 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 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 3: SNI, no verify - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:53 [alert] 24745\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) |
@@ -1,5 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -ssl handshake: userdata -sent http request: 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]+):2 lua ssl save session: ([0-9A-F]+):3 lua ssl free session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 25: multiple handshake calls - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:53 [alert] 24746\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) |
@@ -1,6 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -ssl handshake: userdata -sent http request: 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]+):2 lua ssl save session: ([0-9A-F]+):3 lua ssl free session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 17: unsupported ssl protocol - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:54 [alert] 24747\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 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 "2017/12/05 00:59:54 [alert] 24748\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1,2 @@ connected: 1 -ssl handshake: true +failed to do SSL handshake: handshake failed ' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 20: unable to get local issuer certificate +failed to do SSL handshake: handshake failed failed to send http request: closed ' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ connected: 1 -failed to do SSL handshake: 20: unable to get local issuer certificate +failed to do SSL handshake: handshake failed failed to send http request: closed ' |
129-ssl-socket.t | TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 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]+):2 lua ssl set session: \1:2 lua ssl save session: \1:3 lua ssl free session: \1:2 lua ssl free session: \1:1 $)' |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:54 [alert] 24750\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) |
@@ -1,10 +1,2 @@ connected: 1 -ssl handshake: userdata +failed to do SSL handshake: handshake failed -sent http request: 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]+):2 lua ssl set session: \1:2 lua ssl save session: \1:3 lua ssl free session: \1:2 lua ssl free session: \1:1 $)' |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1) | |
129-ssl-socket.t | TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 1: www.google.com - grep_error_log_out (req 0) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
129-ssl-socket.t | TEST 1: www.google.com - pattern "[alert]" should not match any line in error.log but matches line "2017/12/05 00:59:55 [alert] 24751\#0: *1 ignoring stale global SSL error (SSL: error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:You need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html), client: 127.0.0.1, server: localhost, request: \"GET /t HTTP/1.1\", host: \"localhost\"" (req 0) | |
129-ssl-socket.t | TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) |
'connected: 1 failed to do SSL handshake: handshake failed ' doesn't match '(?^s:\Aconnected: 1 ssl handshake: userdata sent http request: 59 bytes. received: HTTP/1.1 (?:200 OK|302 Found) close: 1 nil \z)' |
129-ssl-socket.t | TEST 1: www.google.com - grep_error_log_out (req 1) |
'' doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2 lua ssl free session: ([0-9A-F]+):1 $)' |
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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) | |
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 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 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 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 ' |
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 ' |
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 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 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) | |
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 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 | 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 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 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 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 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 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 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) | |
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 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 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 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 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 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 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 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 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 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 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 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 ' |
148-fake-shm-zone.t | nginx: [emerg] | lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26 |
Go back to the index page.