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

Detailed Test Report for lua-resty-core in linux i386 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
12abf47c 2020-10-26 14:46:59 GMT 44 0 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

Compilation Errors

Unexpected Failures

File Name Details
balancer-timeout.t TEST 5: set connect timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad connect timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 5: set connect timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad connect timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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 1: set_timeouts - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 1: set_timeouts - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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 - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 1: set_timeouts - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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 9: set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad read timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 9: set read timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad read timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 6: set connect timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad connect timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 6: set connect timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad connect timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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-timeout.t TEST 11: set_timeouts called with a non-numerical parameter - pattern "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 11: set_timeouts called with a non-numerical parameter - pattern "(?^:\[error\] .*? bad connect timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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) - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'fake origin
'
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 7: set send timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad send timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 7: set send timeout to 0 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad send timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 8: set send timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad send timeout)" should match a line in error.log (req 0)
balancer-timeout.t TEST 8: set send timeout to -1 - pattern "(?^:\[error\] .*? balancer_by_lua:4: bad send timeout)" should match a line in error.log (req 1)
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'failed to call: no upstream found
'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - pattern "[error]" should not match any line in error.log but matches line "2020/10/26 14:50:03 [error] 3077\#0: *1 lua entry thread aborted: runtime error: ./lib/resty/core/base.lua:24: ngx_http_lua_module 0.10.18 required" (req 0) stack traceback:
coroutine 0:
[C]: in function 'error'
./lib/resty/core/base.lua:24: in main chunk
[C]: in function 'require'
./lib/ngx/balancer.lua:4: in main chunk
[C]: in function 'require'
content_by_lua(nginx.conf:49):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/26 14:50:03 [debug] 3077\#0: *1 lua request cleanup: forcible=0
'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - status code ok got: '500'
expected: '200'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.15.8 (no pool)</center>
</body>
</html>
'
expected: 'failed to call: no upstream found
'
balancer-timeout.t TEST 10: set_timeouts called in a wrong context - pattern "[error]" should not match any line in error.log but matches line "2020/10/26 14:50:04 [error] 3077\#0: *2 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:49):2: loop or previous error loading module 'ngx.balancer'" (req 1) stack traceback:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf:49):2: in main chunk, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
2020/10/26 14:50:04 [debug] 3077\#0: *2 lua request cleanup: forcible=0
2020/10/26 14:50:04 [debug] 3077\#0: *2 http finalize request: 500, "/t?" a:1, c:1
2020/10/26 14:50:04 [debug] 3077\#0: *2 http special response: 500, "/t?"
2020/10/26 14:50:04 [debug] 3077\#0: *2 http set discard body
2020/10/26 14:50:04 [debug] 3077\#0: *2 lua capture header filter, uri "/t"
'
TEST 13: get_last_failure called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 0)
TEST 13: get_last_failure called in a wrong context - pattern "(?^:\[error\] .*? log_by_lua.*? failed to call: API disabled in the current context)" should match a line in error.log (req 1)

Expected Failures

(none)

Warnings

(none)

Go back to the index page.