(This page was automatically generated by the tools in the opsboy project on 09:46:46 03-Nov-2020 GMT.)

Detailed Test Report for lua-resty-upstream-healthcheck in linux x86_64 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
f354e943 2020-10-18 03:12:29 GMT 1 19 1 107 14 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

OpenSSL

OpenSSL 1.1.1d 10 Sep 2019

Compilation Errors

Unexpected Failures

File Name Details
sanity.t TEST 14: health check with ipv6 backend (good case), status ignored by default - response_body - response is expected (repeated req 0, req 0) @@ -3,6 +3,6 @@
127.0.0.1:12354 up
[::1]:12355 up
Backup Peers
- [0:0::1]:12356 up
+ [::1]:12356 up
upstream addr: 127.0.0.1:12354
upstream addr: [::1]:12355
'

Expected Failures

File Name Details
sanity.t TEST 1: health check (good case), status ignored by default - grep_error_log_out (req 0) '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
publishing peers version 2
upgrading peers version to 1
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
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
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
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
healthcheck: peer 127.0.0.1:12356 was checked to be ok
'
doesn't match '(?^:^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
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
){3,5}$)'
sanity.t TEST 6: health check (bad case), bad status, and then rise again - grep_error_log_out (req 0) 'publishing peers version 2
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: bad status code from 127.0.0.1:12355: 404
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 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 3
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
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
'
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
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
check backup peer 0
'
doesn't match '(?^:^(?:spawn a thread checking primary peers 0 to 2
check primary peers 3 to 4
check backup peer 0
){4,6}$)'
sanity.t TEST 5: health check (bad case), timed out - grep_error_log_out (req 0) 'healthcheck: peer 127.0.0.1:12354 was checked to be not 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
upgrading peers version to 1
healthcheck: peer 127.0.0.1:12354 was checked to be not ok
warn(): healthcheck: peer 127.0.0.1:12354 is turned down after 2 failure(s)
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 not 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 not 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
'
doesn't match '(?^:^healthcheck: peer 127\.0\.0\.1:12354 was checked to be not 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 not ok
warn\(\): healthcheck: peer 127\.0\.0\.1:12354 is turned down after 2 failure\(s\)
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 not 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
){0,2}$)'
sanity.t TEST 15: peers > concurrency - grep_error_log_out (req 0) 'healthcheck: peer 127.0.0.1:12354 was checked to be not 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:12357 was checked to be not ok
healthcheck: peer 127.0.0.1:12358 was checked to be not ok
healthcheck: peer 127.0.0.1:12354 was checked to be not 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 not ok
healthcheck: peer 127.0.0.1:12359 was checked to be not ok
'
doesn't match '(?^:^healthcheck: peer 127\.0\.0\.1:12357 was checked to be not ok
healthcheck: peer 127\.0\.0\.1:12358 was checked to be not ok
healthcheck: failed to receive status line from 127\.0\.0\.1:12354
healthcheck: peer 127\.0\.0\.1:12354 was checked to be not 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 not ok
healthcheck: peer 127\.0\.0\.1:12359 was checked to be not ok
$)'
sanity.t TEST 14: health check with ipv6 backend (good case), status ignored by default - grep_error_log_out (req 0) 'healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
publishing peers version 2
upgrading peers version to 1
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: peer [::1]:12355 was checked to be ok
healthcheck: peer [::1]:12356 was checked to be ok
'
doesn't match '(?^:^healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: peer \[::1\]:12355 was checked to be ok
healthcheck: peer \[0:0::1\]:12356 was checked to be ok
(?:healthcheck: peer 127\.0\.0\.1:12354 was checked to be ok
healthcheck: peer \[::1\]:12355 was checked to be ok
healthcheck: peer \[0:0::1\]:12356 was checked to be ok
){3,7}$)'
sanity.t TEST 7: peers version upgrade (make up peers down) - grep_error_log_out (req 0) '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 not ok
healthcheck: peer 127.0.0.1:12357 was checked to be not ok
healthcheck: peer 127.0.0.1:12356 was checked to be ok
upgrading peers version to 1
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 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 not ok
healthcheck: peer 127.0.0.1:12357 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 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 not ok
healthcheck: peer 127.0.0.1:12357 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
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
warn(): healthcheck: peer 127.0.0.1:12356 is turned up after 2 success(es)
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
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
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
healthcheck: peer 127.0.0.1:12356 was checked to be ok
'
doesn't match '(?^:^upgrading peers version to 1
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
warn\(\): healthcheck: peer 127\.0\.0\.1:12356 is turned up after 2 success\(es\)
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
){2,4}$)'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *971 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *971 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *971 lua http cleanup free: 0000000000978B40
2020/10/18 03:30:26 [debug] 32244\#0: *971 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *971 reusable connection: 0
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *978 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:bar.com:p1" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *978 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *978 lua http cleanup free: 00000000009606D0
2020/10/18 03:30:26 [debug] 32244\#0: *978 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *978 reusable connection: 0
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *978 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:bar.com:p2" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *978 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *978 lua http cleanup free: 00000000009606D0
2020/10/18 03:30:26 [debug] 32244\#0: *978 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *978 reusable connection: 0
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *995 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *995 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *995 lua http cleanup free: 00000000009606D0
2020/10/18 03:30:26 [debug] 32244\#0: *995 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *995 reusable connection: 0
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *1003 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:bar.com:p1" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *1003 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *1003 lua http cleanup free: 000000000092DE10
2020/10/18 03:30:26 [debug] 32244\#0: *1003 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *1003 reusable connection: 0
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *1003 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:bar.com:p2" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *1003 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *1003 lua http cleanup free: 000000000092DE10
2020/10/18 03:30:26 [debug] 32244\#0: *1003 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *1003 reusable connection: 0
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *1013 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32272\#0: *1017 http write filter limit 0
2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32272\#0: *1017 writev: 163 of 163
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32272\#0: *1017 http write filter 0000000000000000
2020/10/18 03:30:26 [debug] 32244\#0: *1013 lua finalize socket
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *1020 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32272\#0: *1024 http write filter: l:1 f:0 s:163
2020/10/18 03:30:26 [debug] 32272\#0: *1024 http write filter limit 0
2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:bar.com:p1" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32272\#0: *1024 writev: 163 of 163
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32272\#0: *1024 http write filter 0000000000000000
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
'
sanity.t TEST 7: peers version upgrade (make up peers down) - pattern "was checked to be not ok" should not match any line in error.log but matches line "2020/10/18 03:30:26 [debug] 32244\#0: *1020 [lua] healthcheck.lua:59: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2020/10/18 03:30:26 [debug] 32244\#0: fetching key "nok:bar.com:p2" in shared dict "healthcheck"
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx lock
2020/10/18 03:30:26 [debug] 32244\#0: shmtx unlock
2020/10/18 03:30:26 [debug] 32244\#0: *1020 lua finalize socket
2020/10/18 03:30:26 [debug] 32244\#0: *1020 lua http cleanup free: 000000000096C4C0
2020/10/18 03:30:26 [debug] 32244\#0: *1020 lua close socket connection
2020/10/18 03:30:26 [debug] 32244\#0: *1020 reusable connection: 0
'
sanity.t TEST 2: health check (bad case), no listening port in the backup peer - grep_error_log_out (req 0) '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
healthcheck: peer 127.0.0.1:12356 was checked to be not 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 not ok
warn(): healthcheck: peer 127.0.0.1:12356 is turned down after 2 failure(s)
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 ok
healthcheck: peer 127.0.0.1:12356 was checked to be not 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 not 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 not 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 not ok
'
doesn't match '(?^:^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 not 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 not ok
warn\(\): healthcheck: peer 127\.0\.0\.1:12356 is turned down after 2 failure\(s\)
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 ok
healthcheck: peer 127\.0\.0\.1:12356 was checked to be not ok
){2,4}$)'
sanity.t TEST 8: peers version upgrade (make down peers up) - grep_error_log_out (req 0) 'upgrading peers version to 1
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 not 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 not ok
warn(): healthcheck: peer 127.0.0.1:12354 is turned down after 2 failure(s)
healthcheck: peer 127.0.0.1:12355 was checked to be ok
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 not 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 not 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 not 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 not 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 not 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
'
doesn't match '(?^:^upgrading peers version to 1
healthcheck: peer 127\.0\.0\.1:12354 was checked to be not 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 not ok
warn\(\): healthcheck: peer 127\.0\.0\.1:12354 is turned down after 2 failure\(s\)
healthcheck: peer 127\.0\.0\.1:12355 was checked to be ok
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 not 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
){3,5}$)'
sanity.t TEST 4: health check (bad case), bad status - 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: 404
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
upgrading peers version to 1
healthcheck: peer 127.0.0.1:12354 was checked to be ok
healthcheck: bad status code from 127.0.0.1:12355: 404
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 2 failure(s)
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 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 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 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 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 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 not ok
healthcheck: peer 127.0.0.1:12356 was checked to be ok
'
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: 404
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: bad status code from 127\.0\.0\.1:12355: 404
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 2 failure\(s\)
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 not ok
healthcheck: peer 127\.0\.0\.1:12356 was checked to be ok
){1,4}$)'

Warnings

(none)

Go back to the index page.