(This page was automatically generated by the tools in the opsboy project on 15:08:04 28-Dec-2023 GMT.)

Detailed Test Report for lua-resty-core in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
d130d965 2020-09-28 06:48:20 GMT 1 52 76 8569 1059 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

OpenSSL

OpenSSL 1.1.1d 10 Sep 2019

Compilation Errors

Unexpected Failures

File Name Details
process-type-hup.t TEST 1: sanity - pattern "init_worker_by_lua:6: process type: privileged" should match a line in error.log (req 0) Looks like you failed 1 test of 8.

Expected Failures

File Name Details
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:2020/09/28 10:17:38 [notice] 18923\#0: start worker processes log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *7 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *8 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *9 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *10 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *11 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *12 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *13 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *14 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *15 client 127.0.0.1 closed keepalive connection end maybe log lines: \#10 log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *16 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *17 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *18 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *19 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *20 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *21 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *22 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *23 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *24 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *25 client 127.0.0.1 closed keepalive connection end) 'maybe log lines: #10
log level:6
log body:2020/09/28 10:17:38 [notice] 18923#0: start worker processes
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *7 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *8 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *9 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *10 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *11 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *12 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *13 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *14 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *15 client 127.0.0.1 closed keepalive connection
end
maybe log lines: #10
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *16 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *17 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *18 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *19 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *20 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *21 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *22 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *23 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *24 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *25 client 127.0.0.1 closed keepalive connection
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)'
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: \#3 log level:7 log body:2020/09/28 10:17:38 [info] 18933\#0: *26 client 127.0.0.1 closed keepalive connection log level:4 log body:2020/09/28 10:17:38 [error] 18933\#0: *27 [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:2020/09/28 10:17:39 [error] 18933\#0: *28 [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: \#3 end) 'maybe log lines: #3
log level:7
log body:2020/09/28 10:17:38 [info] 18933#0: *26 client 127.0.0.1 closed keepalive connection
log level:4
log body:2020/09/28 10:17:38 [error] 18933#0: *27 [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:2020/09/28 10:17:39 [error] 18933#0: *28 [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: #3
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)'
errlog.t TEST 30: ringbuf sentinel bug1 - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
log lines: \#2
-AAA
+aaa
aaa
'
errlog.t TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#10 log level:6 log body:2020/09/28 10:17:42 [notice] 18923\#0: start worker processes log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *182 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *183 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *184 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *185 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *186 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *187 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *188 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *189 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *190 client 127.0.0.1 closed keepalive connection) 'log lines: #10
log level:6
log body:2020/09/28 10:17:42 [notice] 18923#0: start worker processes
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *182 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *183 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *184 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *185 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *186 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *187 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *188 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *189 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *190 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: \#10 log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *191 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *192 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *193 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *194 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *195 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *196 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *197 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *198 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *199 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/09/28 10:17:43 [info] 19136\#0: *200 client 127.0.0.1 closed keepalive connection) 'log lines: #10
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *191 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *192 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *193 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *194 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *195 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *196 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *197 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *198 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *199 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/09/28 10:17:43 [info] 19136#0: *200 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 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:10
'
expected: 'log lines:0
'
errlog.t TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 1, req 0) got: 'log lines:10
'
expected: 'log lines:0
'
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:10
'
expected: 'log lines:3
'
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 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 TEST 29: ringbuf overflow bug - response_body_like - response is expected (log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********21, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********22, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********23, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********24, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********25, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********26, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********27, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********28, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288272.863 log body: 2020/09/28 10:17:52 [error] 19464\#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") 'log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********21, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********22, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********23, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********24, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********25, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********26, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********27, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********28, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288272.863
log body: 2020/09/28 10:17:52 [error] 19464#0: *177 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
doesn't match '(?^s:log level: 4
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")'
errlog.t TEST 29: ringbuf overflow bug - response_body_like - response is expected (log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********31, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********32, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********33, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********34, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********35, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********36, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********37, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1601288273.176 log body: 2020/09/28 10:17:53 [error] 19464\#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********38, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") 'log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********31, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********32, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********33, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********34, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********35, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********36, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********37, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1601288273.176
log body: 2020/09/28 10:17:53 [error] 19464#0: *178 [lua] content_by_lua(nginx.conf:84):8: **********38, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
doesn't match '(?^s:log level: 4
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")'
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 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:3
'
expected: 'log lines:2
'
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
)'
request.t TEST 7: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) got: "true\x{0a}>= 0.099: true\x{0a}< 0.11: false\x{0a}"
length: 34
expected: "true\x{0a}>= 0.099: true\x{0a}< 0.11: true\x{0a}"
length: 33
strings begin to differ at char 29 (line 3 column 9)
semaphore.t TEST 19: semaphore wait post in rewrite_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:01 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) 2020/09/28 10:25:01 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:01 [debug] 30317\#0: *633 event timer add: 0: 1000:13067068
2020/09/28 10:25:01 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:01 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:01 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:01 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:01 [debug] 30317\#0: worker cycle
'
semaphore.t TEST 27: kill a light thread that is waiting on a semaphore (after post) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:05 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:25:05 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:05 [debug] 30317\#0: *633 event timer add: 0: 1000:13071068
2020/09/28 10:25:05 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:05 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:05 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:05 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:05 [debug] 30317\#0: worker cycle
2020/09/28 10:25:05 [debug] 30317\#0: epoll timer: 1000
2020/09/28 10:25:05 [notice] 29589\#0: signal 17 (SIGCHLD) received from 30467
'
semaphore.t TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:06 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:25:06 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:06 [debug] 30317\#0: *633 event timer add: 0: 1000:13072068
2020/09/28 10:25:06 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:06 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:06 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:06 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:06 [debug] 30317\#0: worker cycle
2020/09/28 10:25:06 [debug] 30317\#0: epoll timer: 1000
2020/09/28 10:25:06 [debug] 30527\#0: epoll: fd:6 ev:0001 d:000000000981D230
'
semaphore.t TEST 11: semaphore in access_by_lua (all allowed) - grep_error_log_out (req 0) @@ -1,2 +1,3 @@
sem: timeout,
sem: 1,
+sem: timeout,
'
semaphore.t TEST 28: kill a thread that is waiting on another thread that is waiting on semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:08 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:25:08 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:08 [debug] 30317\#0: *633 event timer add: 0: 1000:13074072
2020/09/28 10:25:08 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:08 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:08 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:08 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:08 [debug] 30317\#0: worker cycle
2020/09/28 10:25:08 [debug] 30317\#0: epoll timer: 1000
2020/09/28 10:25:08 [debug] 29589\#0: malloc: 00000000089B76F0:2048
'
semaphore.t TEST 40: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:09 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:25:09 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:09 [debug] 30317\#0: *633 event timer add: 0: 1000:13075072
2020/09/28 10:25:09 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:09 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:09 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:09 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:09 [debug] 30317\#0: worker cycle
2020/09/28 10:25:09 [debug] 30317\#0: epoll timer: 1000
2020/09/28 10:25:09 [debug] 30617\#0: epoll: fd:6 ev:0001 d:000000000894E300
'
semaphore.t TEST 30: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:10 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:25:10 [error] 30317\#0: *633 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer
2020/09/28 10:25:10 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:10 [debug] 30317\#0: *633 event timer add: 0: 1000:13076072
2020/09/28 10:25:10 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:10 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:10 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:10 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:10 [debug] 30317\#0: worker cycle
2020/09/28 10:25:10 [debug] 30317\#0: epoll timer: 1000
'
semaphore.t TEST 30: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:10 [error] 30317\#0: *633 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer" (req 0) 2020/09/28 10:25:10 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:10 [debug] 30317\#0: *633 event timer add: 0: 1000:13076072
2020/09/28 10:25:10 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:10 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:10 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:10 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:10 [debug] 30317\#0: worker cycle
2020/09/28 10:25:10 [debug] 30317\#0: epoll timer: 1000
2020/09/28 10:25:10 [debug] 30677\#0: epoll: fd:6 ev:0001 d:0000000009254810
'
semaphore.t TEST 8: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:25:11 [error] 30317\#0: *633 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:25:11 [debug] 30317\#0: http lua semaphore wait: 000000000A1ACE08, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:25:11 [debug] 30317\#0: *633 event timer add: 0: 1000:13077072
2020/09/28 10:25:11 [debug] 30317\#0: http lua semaphore wait yielding
2020/09/28 10:25:11 [debug] 30317\#0: *633 lua resume returned 1
2020/09/28 10:25:11 [debug] 30317\#0: *633 lua thread yielded
2020/09/28 10:25:11 [debug] 30317\#0: *633 lua run thread returned -2
2020/09/28 10:25:11 [debug] 30317\#0: worker cycle
2020/09/28 10:25:11 [debug] 30317\#0: epoll timer: 1000
2020/09/28 10:25:11 [debug] 30707\#0: *999 lua deleting light thread
'
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
'
shared.t TEST 3: shared.ttl returns error on not found key - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to get ttl: not found
'
shared.t TEST 3: shared.ttl returns error on not found key - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to get ttl: not found
'
stream/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
'
stream/errlog.t TEST 3: client connected info - grep_error_log_out (req 0) 'client 127.0.0.1:31994 connected to
capture log line:10
'
doesn't match '(?^:^client .*? connected to .*?
capture log line:1
$)'
stream/errlog.t TEST 3: client connected info - grep_error_log_out (req 1) 'client 127.0.0.1:31998 connected to
capture log line:10
'
doesn't match '(?^:^client .*? connected to .*?
capture log line:2
$)'
stream/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:17
stream/errlog.t TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#2 log level:6 log body:2020/09/28 10:28:15 [notice] 2244\#0: start worker processes log level:4 log body:2020/09/28 10:28:16 [error] 2245\#0: *3 stream [lua] content_by_lua(nginx.conf:67):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985) 'log lines: #2
log level:6
log body:2020/09/28 10:28:15 [notice] 2244#0: start worker processes
log level:4
log body:2020/09/28 10:28:16 [error] 2245#0: *3 stream [lua] content_by_lua(nginx.conf:67):8: -->
new line, client: 127.0.0.1, server: 0.0.0.0:1985
'
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+).*content_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: 0.0.0.0:\d+
\z)'
stream/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: \#2 log level:6 log body:2020/09/28 10:28:16 [notice] 2244\#0: start worker processes log level:4 log body:2020/09/28 10:28:17 [error] 2254\#0: *33 stream [lua] content_by_lua(nginx.conf:75):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985 end maybe log lines: \#2 end) 'maybe log lines: #2
log level:6
log body:2020/09/28 10:28:16 [notice] 2244#0: start worker processes
log level:4
log body:2020/09/28 10:28:17 [error] 2254#0: *33 stream [lua] content_by_lua(nginx.conf:75):8: -->
new line, client: 127.0.0.1, server: 0.0.0.0:1985
end
maybe log lines: #2
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+).*content_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: 0.0.0.0:\d+
end
maybe log lines: #1
end
\z)'
stream/errlog.t TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:4
'
expected: 'log lines:3
'
stream/errlog.t TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:3
'
expected: 'log lines:2
'
stream/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:17
stream/request.t TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
true
>= 0.099: true
-< 0.11: true
+< 0.11: false
'
Looks like you failed 1 test of 12.
stream/semaphore.t TEST 15: two thread wait for each other - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:31:13 [error] 6579\#0: *525 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:31:13 [debug] 6579\#0: stream lua semaphore wait: 0000000009EB7A38, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:31:13 [debug] 6579\#0: *525 event timer add: 0: 1000:13439219
2020/09/28 10:31:13 [debug] 6579\#0: stream lua semaphore wait yielding
2020/09/28 10:31:13 [debug] 6579\#0: *525 lua resume returned 1
2020/09/28 10:31:13 [debug] 6579\#0: *525 lua thread yielded
2020/09/28 10:31:13 [debug] 6579\#0: *525 lua run thread returned -2
2020/09/28 10:31:13 [debug] 6579\#0: worker cycle
'
stream/semaphore.t TEST 8: semaphore in preread_by_lua (all allowed) - grep_error_log_out (req 0) @@ -1,2 +1,3 @@
+sem: timeout,
sem: timeout while prereading client data,
sem: 1 while prereading client data,
'
stream/semaphore.t TEST 9: semaphore in content_by_lua (all allowed) - grep_error_log_out (req 0) @@ -1,2 +1,4 @@
sem: timeout,
+sem: 3 times,
+sem: timeout,
sem: 1,
'
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:31:16 [error] 6579\#0: *525 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:31:16 [debug] 6729\#0: *677 malloc: 0000000009B6F690:16
2020/09/28 10:31:16 [debug] 6579\#0: stream lua semaphore wait: 0000000009EB7A38, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:31:16 [debug] 6579\#0: *525 event timer add: 0: 1000:13442219
2020/09/28 10:31:16 [debug] 6579\#0: stream lua semaphore wait yielding
2020/09/28 10:31:16 [debug] 6579\#0: *525 lua resume returned 1
2020/09/28 10:31:16 [debug] 6579\#0: *525 lua thread yielded
2020/09/28 10:31:16 [debug] 6579\#0: *525 lua run thread returned -2
2020/09/28 10:31:16 [debug] 6579\#0: worker cycle
2020/09/28 10:31:16 [debug] 6579\#0: epoll timer: 1000
'
stream/semaphore.t TEST 20: main thread wait a light thread that is waiting on a semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:31:19 [error] 6579\#0: *525 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:31:19 [debug] 6579\#0: stream lua semaphore wait: 0000000009EB7A38, timeout: 1000, resources: 0, event posted: 0
2020/09/28 10:31:19 [debug] 6579\#0: *525 event timer add: 0: 1000:13445223
2020/09/28 10:31:19 [debug] 6579\#0: stream lua semaphore wait yielding
2020/09/28 10:31:19 [debug] 6579\#0: *525 lua resume returned 1
2020/09/28 10:31:19 [debug] 6579\#0: *525 lua thread yielded
2020/09/28 10:31:19 [debug] 6579\#0: *525 lua run thread returned -2
2020/09/28 10:31:19 [debug] 6579\#0: worker cycle
2020/09/28 10:31:19 [debug] 6579\#0: epoll timer: 1000
2020/09/28 10:31:19 [debug] 6059\#0: malloc: 0000000009A9B8F0:2048
'
stream/semaphore.t TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:31:20 [error] 6579\#0: *525 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/09/28 10:31:20 [debug] 6849\#0: free: 000000000863ADD0, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 00000000086C8C90, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 00000000086C8C40, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 0000000008A4FDD0, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 0000000009693BA0, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 00000000096737D0, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 0000000009670710, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 000000000965DF30, unused: 0
2020/09/28 10:31:20 [debug] 6849\#0: free: 00000000095F7BC0, unused: 0
'
stream/semaphore.t TEST 11: semaphore in ngx.timer (all allowed) - grep_error_log_out (req 0) @@ -1,2 +1,4 @@
sem: timeout,
+sem: 3 times,
+sem: timeout,
sem: 1,
'
stream/time.t TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
true
>= 0.099: true
-< 0.11: true
+< 0.11: false
'
time.t TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
true
>= 0.099: true
-< 0.11: true
+< 0.11: false
'

Warnings

Go back to the index page.