(This page was automatically generated by the tools in the opsboy project on 23:17:02 19-Mar-2020 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
d36c977a | 2019-02-24 06:09:40 GMT | 124 | 115 | sec |
File | Name | Details |
---|---|---|
balancer-timeout.t | TEST 1: set_timeouts - grep_error_log_out (req 0) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 1: set_timeouts - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 3: set_timeouts (nil send timeout) - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 2: set_timeouts (nil connect timeout) - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - grep_error_log_out (req 0) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer-timeout.t | TEST 4: set_timeouts (nil read timeout) - grep_error_log_out (req 1) |
'' doesn't match '(?^:\Aevent timer add: \d+: 1234: event timer add: \d+: 5678: event timer add: \d+: 7689: \z)' |
balancer.t | TEST 11: keepalive after balancer - grep_error_log_out (req 0) |
@@ -1,5 +0,0 @@ -free keepalive peer: saving connection -get keepalive peer: using connection -free keepalive peer: saving connection -get keepalive peer: using connection -free keepalive peer: saving connection ' |
balancer.t | TEST 11: keepalive after balancer - grep_error_log_out (req 1) |
@@ -1,6 +0,0 @@ -get keepalive peer: using connection -free keepalive peer: saving connection -get keepalive peer: using connection -free keepalive peer: saving connection -get keepalive peer: using connection -free keepalive peer: saving connection ' |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:1 buffer_size:4096)" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 20: read stdout as stderr, mix read pattern and stdout/stderr, merge_stderr is true - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:1 buffer_size:4096)" should match a line in error.log (req 1) | |
pipe-stderr.t | TEST 14: read stderr, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 14: read stderr, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 1) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe proc read stderr cleanup" should match a line in error.log (req 0) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 1) | |
pipe-stderr.t | TEST 15: read stderr, aborted by uthread kill - pattern "lua pipe proc read stderr cleanup" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 4: write process, timeout - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 2: write process, bad pipe - pattern "(?^:lua pipe write data error pipe:[0-9A-F]+ \(\d+: Broken pipe\))" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 2: write process, bad pipe - pattern "(?^:lua pipe write data error pipe:[0-9A-F]+ \(\d+: Broken pipe\))" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe proc write cleanup" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 7: write process, aborted by uthread kill - pattern "lua pipe proc write cleanup" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe add timer for writing: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 6: more than one coroutines write - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdin.t | TEST 5: write process, yield and write again - pattern "lua pipe write yielding" should match a line in error.log (req 0) | |
pipe-stdin.t | TEST 5: write process, yield and write again - pattern "lua pipe write yielding" should match a line in error.log (req 1) | |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 20: read process, with yield, read more partial data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 1) | |
pipe-stdout.t | TEST 26: read process, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 26: read process, timeout - pattern "lua pipe add timer for reading: 100(ms)" should match a line in error.log (req 1) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe proc read stdout cleanup" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe read process:" should match a line in error.log (req 1) | |
pipe-stdout.t | TEST 27: read process, aborted by uthread kill - pattern "lua pipe proc read stdout cleanup" should match a line in error.log (req 1) | |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 0) | |
pipe-stdout.t | TEST 19: read process, with yield, read more data than preallocated buffer - pattern "lua pipe read yielding" should match a line in error.log (req 1) | |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 8: wait process, process exited abnormally before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 9: wait process, process killed by signal before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 9: wait process, process killed by signal before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe proc wait cleanup" should match a line in error.log (req 0) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 12: wait process, aborted by uthread kill - pattern "lua pipe proc wait cleanup" should match a line in error.log (req 1) | |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - grep_error_log_out (req 0) |
@@ -1,4 +0,0 @@ -lua pipe read yielding -lua pipe read yielding -lua pipe write yielding -lua pipe write yielding ' |
pipe.t | TEST 24: shutdown a direction while a coroutine is waiting on it - grep_error_log_out (req 1) |
@@ -1,4 +0,0 @@ -lua pipe read yielding -lua pipe read yielding -lua pipe write yielding -lua pipe write yielding ' |
pipe.t | TEST 10: wait process, process exited before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 10: wait process, process exited before waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 33: wait process, process exited normally after waiting - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 33: wait process, process exited normally after waiting - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 42: return nil plus string 'timeout' when waiting process timed out - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe wait process:" should match a line in error.log (req 0) | |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe add timer for waiting: 100(ms)" should match a line in error.log (req 0) | |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe wait process:" should match a line in error.log (req 1) | |
pipe.t | TEST 17: wait process, timeout - pattern "lua pipe add timer for waiting: 100(ms)" should match a line in error.log (req 1) | |
pipe.t | TEST 2: spawn process, with buffer_size option - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:0 buffer_size:256)" should match a line in error.log (req 0) | |
pipe.t | TEST 2: spawn process, with buffer_size option - pattern "(?^:lua pipe spawn process:[0-9A-F]+ pid:\d+ merge_stderr:0 buffer_size:256)" should match a line in error.log (req 1) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe destroy process:" should match a line in error.log (req 0) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe kill process:" should match a line in error.log (req 0) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe destroy process:" should match a line in error.log (req 1) | |
pipe.t | TEST 37: kill living sub-process when the process instance is collected by GC. - pattern "lua pipe kill process:" should match a line in error.log (req 1) | |
pipe.t | TEST 3: ensure process is destroyed in GC - pattern "lua pipe destroy process:" should match a line in error.log (req 0) | |
pipe.t | TEST 3: ensure process is destroyed in GC - pattern "lua pipe destroy process:" should match a line in error.log (req 1) | |
semaphore.t | TEST 36: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 0) | |
semaphore.t | TEST 36: basic semaphore_mm free insert head - pattern "add to free queue head" should match a line in error.log (req 1) | |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - pattern "http lua semaphore cleanup" should match a line in error.log (req 0) | |
semaphore.t | TEST 29: a light thread that is going to exit is waiting on a semaphore - pattern "http lua semaphore cleanup" should match a line in error.log (req 1) | |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 0) | |
semaphore.t | TEST 35: basic semaphore_mm free insert tail - pattern "add to free queue tail" should match a line in error.log (req 1) | |
semaphore.t | TEST 33: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 0) | |
semaphore.t | TEST 33: test semaphore gc - pattern "in lua gc, semaphore" should match a line in error.log (req 1) | |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
shdict.t | TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) |
got: 'ttl: 0 ' expected: 'ttl: 2147483648 ' |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
nginx: [emerg] | too long parameter "PATH=/home..." started in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:13 | |
Bailout called. | Further testing stopped: TEST 1: get resume session id serialized - Cannot start nginx using command "nginx -p /home/ec2-user/git/lua-resty-core/t/servroot/ -c /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf > /dev/null" (status code 256). |
File | Name | Details |
---|---|---|
errlog.t | TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:1 ' expected: 'log lines:0 ' |
errlog.t | TEST 16: check the captured error log body - response_body_like - response is expected (log level:6 log body:2019/02/25 21:07:35 [notice] 2156\#2156: start worker processes log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *30 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *31 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *32 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *33 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *34 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *35 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *36 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *37 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194\#2194: *38 client 127.0.0.1 closed keepalive connection) |
'log level:6 log body:2019/02/25 21:07:35 [notice] 2156#2156: start worker processes log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *30 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *31 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *32 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *33 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *34 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *35 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *36 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *37 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:35 [info] 2194#2194: *38 client 127.0.0.1 closed keepalive connection ' doesn't match '(?^s:log level:5 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->3, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" )' |
errlog.t | TEST 31: ringbuf sentinel bug2 - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1,2 @@ log lines: \#18 -log lines: \#8 +log lines: \#10 ' |
errlog.t | nginx: [emerg] | invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
errlog.t | TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#10 log level:6 log body:2019/02/25 21:07:45 [notice] 2345\#2345: start worker processes log level:7 log body:2019/02/25 21:07:45 [info] 2383\#2383: *30 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:45 [info] 2383\#2383: *31 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:45 [info] 2383\#2383: *32 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:45 [info] 2383\#2383: *33 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383\#2383: *34 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383\#2383: *35 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383\#2383: *36 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383\#2383: *37 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383\#2383: *38 client 127.0.0.1 closed keepalive connection) |
'log lines: #10 log level:6 log body:2019/02/25 21:07:45 [notice] 2345#2345: start worker processes log level:7 log body:2019/02/25 21:07:45 [info] 2383#2383: *30 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:45 [info] 2383#2383: *31 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:45 [info] 2383#2383: *32 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:45 [info] 2383#2383: *33 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383#2383: *34 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383#2383: *35 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383#2383: *36 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383#2383: *37 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:46 [info] 2383#2383: *38 client 127.0.0.1 closed keepalive connection ' doesn't match '(?^s:\Alog lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" \z)' |
errlog.t | TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#3 log level:7 log body:2019/02/25 21:07:46 [info] 2383\#2383: *39 client 127.0.0.1 closed keepalive connection log level:4 log body:2019/02/25 21:07:46 [error] 2383\#2383: *40 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level:4 log body:2019/02/25 21:07:46 [error] 2383\#2383: *41 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") |
'log lines: #3 log level:7 log body:2019/02/25 21:07:46 [info] 2383#2383: *39 client 127.0.0.1 closed keepalive connection log level:4 log body:2019/02/25 21:07:46 [error] 2383#2383: *40 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level:4 log body:2019/02/25 21:07:46 [error] 2383#2383: *41 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" ' doesn't match '(?^s:\Alog lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" \z)' |
errlog.t | TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:10 ' expected: 'log lines:3 ' |
errlog.t | TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 1, req 0) |
got: 'log lines:7 ' expected: 'log lines:3 ' |
errlog.t | TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) |
got: 'log lines:10 ' expected: 'log lines:2 ' |
errlog.t | TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 1, req 0) |
got: 'log lines:5 ' expected: 'log lines:2 ' |
errlog.t | nginx: [emerg] | invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25 |
errlog.t | TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#10 log level:6 log body:2019/02/25 21:07:54 [notice] 2482\#2482: start worker processes log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *43 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *44 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *45 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *46 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *47 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *48 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *49 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *50 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *51 client 127.0.0.1 closed keepalive connection end maybe log lines: \#10 log level:7 log body:2019/02/25 21:07:54 [info] 2536\#2536: *52 client 127.0.0.1 closed keepalive connection log level:4 log body:2019/02/25 21:07:54 [error] 2536\#2536: *53 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end) |
'maybe log lines: #10 log level:6 log body:2019/02/25 21:07:54 [notice] 2482#2482: start worker processes log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *43 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *44 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *45 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *46 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *47 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *48 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *49 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *50 client 127.0.0.1 closed keepalive connection log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *51 client 127.0.0.1 closed keepalive connection end maybe log lines: #10 log level:7 log body:2019/02/25 21:07:54 [info] 2536#2536: *52 client 127.0.0.1 closed keepalive connection log level:4 log body:2019/02/25 21:07:54 [error] 2536#2536: *53 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end ' doesn't match '(?^s:\Amaybe log lines: #1 log level:4 log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end maybe log lines: #1 end \z)' |
ocsp.t | TEST 16: good status req from client - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 16: good status req from client - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 2: get OCSP responder (not found) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - pattern "failed to create OCSP request: d2i_X509_bio() failed" should match a line in error.log (req 0) | |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 8: create OCSP request (empty string cert chain) - pattern "failed to create OCSP request: d2i_X509_bio() failed" should match a line in error.log (req 1) | |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - pattern "failed to validate OCSP response: certificate status "revoked" in the OCSP response" should match a line in error.log (req 0) | |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -failed to do SSL handshake: handshake failed ' |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 15: fail to validate OCSP response - OCSP response returns revoked status - pattern "failed to validate OCSP response: certificate status "revoked" in the OCSP response" should match a line in error.log (req 1) | |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - pattern "failed to get OCSP responder: no issuer certificate in chain" should match a line in error.log (req 0) | |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 3: get OCSP responder (no issuer cert at all) - pattern "failed to get OCSP responder: no issuer certificate in chain" should match a line in error.log (req 1) | |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "OCSP response validation ok" should match a line in error.log (req 0) | |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 12: validate good OCSP response - no certs in response - pattern "OCSP response validation ok" should match a line in error.log (req 1) | |
ocsp.t | TEST 7: create OCSP request (buffer too small) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 7: create OCSP request (buffer too small) - pattern "failed to create OCSP request: output buffer too small: 68 > 67" should match a line in error.log (req 0) | |
ocsp.t | TEST 7: create OCSP request (buffer too small) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 7: create OCSP request (buffer too small) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 7: create OCSP request (buffer too small) - pattern "failed to create OCSP request: output buffer too small: 68 > 67" should match a line in error.log (req 1) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "OCSP response validation ok" should match a line in error.log (req 0) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 13: validate OCSP response - OCSP response signed by an unknown cert and the OCSP response contains the unknown cert - pattern "OCSP response validation ok" should match a line in error.log (req 1) | |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - pattern "failed to validate OCSP response: OCSP_basic_verify() failed" should match a line in error.log (req 0) | |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 14: fail to validate OCSP response - OCSP response signed by an unknown cert and the OCSP response does not contain the unknown cert - pattern "failed to validate OCSP response: OCSP_basic_verify() failed" should match a line in error.log (req 1) | |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - pattern "failed to create OCSP request: no issuer certificate in chain" should match a line in error.log (req 0) | |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 9: create OCSP request (no issuer cert in the chain) - pattern "failed to create OCSP request: no issuer certificate in chain" should match a line in error.log (req 1) | |
ocsp.t | TEST 6: create OCSP request (good) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 6: create OCSP request (good) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 6: create OCSP request (good) - pattern "OCSP request created with length 68" should match a line in error.log (req 0) | |
ocsp.t | TEST 6: create OCSP request (good) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 6: create OCSP request (good) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 6: create OCSP request (good) - pattern "OCSP request created with length 68" should match a line in error.log (req 1) | |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - pattern "failed to get OCSP responder: issuer certificate not next to leaf" should match a line in error.log (req 0) | |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 4: get OCSP responder (issuer cert not next to the leaf cert) - pattern "failed to get OCSP responder: issuer certificate not next to leaf" should match a line in error.log (req 1) | |
ocsp.t | TEST 1: get OCSP responder (good case) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "OCSP url found: http://127.0.0.1:8888/ocsp?foo=1," should match a line in error.log (req 0) | |
ocsp.t | TEST 1: get OCSP responder (good case) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 1: get OCSP responder (good case) - pattern "OCSP url found: http://127.0.0.1:8888/ocsp?foo=1," should match a line in error.log (req 1) | |
ocsp.t | TEST 10: validate good OCSP response - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 10: validate good OCSP response - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 10: validate good OCSP response - pattern "OCSP response validation ok" should match a line in error.log (req 0) | |
ocsp.t | TEST 10: validate good OCSP response - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 10: validate good OCSP response - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 10: validate good OCSP response - pattern "OCSP response validation ok" should match a line in error.log (req 1) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - response_body - response is expected (repeated req 0, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "OCSP url found: http:/," should match a line in error.log (req 0) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "still get an error: truncated" should match a line in error.log (req 0) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - response_body - response is expected (repeated req 1, req 0) |
@@ -1,2 +1 @@ -connected: 1 +failed to connect: no such file or directory -ssl handshake: userdata ' |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "OCSP url found: http:/," should match a line in error.log (req 1) | |
ocsp.t | TEST 5: get OCSP responder (truncated) - pattern "still get an error: truncated" should match a line in error.log (req 1) | |
ocsp.t | TEST 17: no status req from client - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 17: no status req from client - pattern "[emerg]" should not match any line in error.log but matches line "2019/02/25 21:08:49 [emerg] 3101\#3101: unlink() /home/ec2-user/git/lua-resty-core/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0) |
2019/02/25 21:08:49 [notice] 3101\#3101: start worker processes 2019/02/25 21:08:49 [notice] 3101\#3101: start worker process 3347 2019/02/25 21:08:49 [info] 3331\#3331: *223 client 127.0.0.1 closed keepalive connection 2019/02/25 21:08:49 [notice] 3331\#3331: gracefully shutting down 2019/02/25 21:08:49 [notice] 3331\#3331: exiting 2019/02/25 21:08:49 [notice] 3331\#3331: exit 2019/02/25 21:08:49 [notice] 3101\#3101: signal 17 (SIGCHLD) received from 3331 2019/02/25 21:08:49 [notice] 3101\#3101: worker process 3331 exited with code 0 2019/02/25 21:08:49 [notice] 3101\#3101: signal 29 (SIGIO) received ' |
ocsp.t | TEST 17: no status req from client - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0) | |
ocsp.t | TEST 11: fail to validate OCSP response - no issuer cert - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1) | |
process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) |
got: "process type: worker\x{0a}" length: 21 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 15 (line 1 column 15) |
process-type-single.t | TEST 1: sanity - grep_error_log_out (req 0) |
'[TRACE 1 init_by_lua:18 loop] [TRACE 2 init_worker_by_lua:4 loop] [TRACE 2 content_by_lua(nginx.conf:84):4 loop] process type in init_by_lua*: master init_worker_by_lua:10: process type: worker ' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua:10: process type: single )' |
process-type-single.t | TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) |
got: "process type: worker\x{0a}" length: 21 expected: "process type: single\x{0a}" length: 21 strings begin to differ at char 15 (line 1 column 15) |
process-type-single.t | TEST 1: sanity - grep_error_log_out (req 1) |
'[TRACE 1 init_by_lua:18 loop] [TRACE 2 init_worker_by_lua:4 loop] [TRACE 2 content_by_lua(nginx.conf:84):4 loop] process type in init_by_lua*: master init_worker_by_lua:10: process type: worker ' doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\] \[TRACE\s+\d+ init_worker_by_lua:\d+ loop\] \[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\] process type in init_by_lua\*: single init_worker_by_lua:10: process type: single )' |
re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) |
got: 'from: 1 to: 1563 ' expected: 'error: pcre_exec() failed: -27 ' |
re-opt.t | TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) |
got: 'from: 1 to: 1563 ' expected: 'error: pcre_exec() failed: -27 ' |
semaphore.t | TEST 34: basic semaphore_mm alloc - grep_error_log_out (req 0) |
got: '' expected: 'new block, alloc semaphore ' |
semaphore.t | TEST 34: basic semaphore_mm alloc - grep_error_log_out (req 1) |
got: '' expected: 'from head of free queue, alloc semaphore ' |
semaphore.t | TEST 37: semaphore_mm free block (load <= 50% & the on the older side) - grep_error_log_out (req 1) |
got: '' expected: 'free semaphore block ' |
semaphore.t | TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2019/02/25 21:13:19 [error] 8073\#8073: *467 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) |
' |
shared.t | TEST 11: shared.expire returns error on not found key - response_body - response is expected (repeated req 0, req 0) |
got: '' expected: 'failed to set ttl: not found ' |
shared.t | TEST 11: shared.expire returns error on not found key - response_body - response is expected (repeated req 1, req 0) |
got: '' expected: 'failed to set ttl: not found ' |
shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 0, req 0) |
@@ -1,3 +1,3 @@ -value type: nil +value type: boolean -value: nil +value: false -flags: nil +flags: 777 ' |
shdict.t | TEST 2: get an nonexistent key - response_body - response is expected (repeated req 1, req 0) |
@@ -1,3 +1,3 @@ -value type: nil +value type: boolean -value: nil +value: false -flags: nil +flags: 777 ' |
Go back to the index page.