(This page was automatically generated by the tools in the opsboy project on 21:08:14 03-Jun-2016 GMT.)

Detailed Test Report for lua-resty-upstream-healthcheck in linux i386 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
2ae6b0b3 2016-02-15 18:42:58 GMT 0 3 1 93 41 sec

LuaJIT

LuaJIT 2.1.0-beta1, commit 8e5d87a

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
sanity.t TEST 6: health check (bad case), bad status, and then rise again - response_body - response is expected (req 0) @@ -1,8 +1,8 @@
Upstream foo.com
Primary Peers
127.0.0.1:12354 up
- 127.0.0.1:12355 up
+ 127.0.0.1:12355 DOWN
Backup Peers
127.0.0.1:12356 up
upstream addr: 127.0.0.1:12354
-upstream addr: 127.0.0.1:12355
+upstream addr: 127.0.0.1:12354
'
sanity.t TEST 6: health check (bad case), bad status, and then rise again - grep_error_log_out (req 0) 'healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: bad status code from 127.0.0.1:12355: 403
healthcheck: peer 127.0.0.1:12355 was checked to be not ok
warn(): healthcheck: peer 127.0.0.1:12355 is turned down after 1 failure(s)
healthcheck: peer 127.0.0.1:12356 was checked to be ok
publishing peers version 1
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12355 was checked to be not ok
healthcheck: peer 127.0.0.1:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12355 was checked to be ok
healthcheck: peer 127.0.0.1:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12355 was checked to be ok
warn(): healthcheck: peer 127.0.0.1:12355 is turned up after 2 success(es)
healthcheck: peer 127.0.0.1:12356 was checked to be ok
publishing peers version 2
'
doesn't match '(?^:^healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: bad status code from 127\.0\.0\.1:12355: 403
healthcheck: peer 127\.0\.0\.1:12355 was checked to be not ok
warn\(\): healthcheck: peer 127\.0\.0\.1:12355 is turned down after 1 failure\(s\)
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
publishing peers version 1
healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12355 was checked to be not ok
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12355 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12355 was checked to be ok
warn\(\): healthcheck: peer 127\.0\.0\.1:12355 is turned up after 2 success\(es\)
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
publishing peers version 2
(?:healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12355 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
){1,3}$)'
sanity.t TEST 9: concurrency == 2 (odd number of peers) - grep_error_log_out (req 0) 'spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
check backup peer 0
spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
check backup peer 0
spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
check backup peer 0
spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
check backup peer 0
spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
'
doesn't match '(?^:^(?:spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
check backup peer 0
){4,6}$)'

Warnings

(none)

Go back to the index page.