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

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

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
9c1abde0 2023-12-27 12:35:52 GMT 0 35 6 139 45 sec

LuaJIT

LuaJIT 2.1.1700206165, commit 4182d6bf

OpenSSL

OpenSSL 1.1.1w 11 Sep 2023

Compilation Errors

Unexpected Failures

(none)

Expected Failures

File Name Details
sanity.t TEST 16: health check using different port - 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:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12355 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:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12355 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:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12355 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
'
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:12354 was checked to be ok
healthcheck: peer 127\.0\.0\.1:12355 was checked to be ok
){3,5}$)'
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 ok
healthcheck: peer 127.0.0.1:12355 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: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
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 4: health check (bad case), bad status - grep_error_log_out (req 0) 'healthcheck: peer 127.0.0.1:7983 was checked to be not ok
healthcheck: peer 127.0.0.1:7983 was checked to be not ok
healthcheck: peer 127.0.0.1:7983 was checked to be not 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
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
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}$)'
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 not ok
healthcheck: peer 127.0.0.1:12357 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:12358 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
healthcheck: peer 127.0.0.1:12354 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:12355 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:12356 was checked to be not ok
healthcheck: peer 127.0.0.1:12359 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:12358 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:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12359 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
publishing peers version 3
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
'
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 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:13 [debug] 31350\#31350: *417 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008B375B0:16
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008B3FF10:72
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008B3FFA0:16
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008F253A0:48
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008F25410:16
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008F25460:128
2023/12/27 14:13:13 [debug] 31350\#31350: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008F30150:16
2023/12/27 14:13:13 [debug] 31350\#31350: shmtx lock
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:13 [debug] 31350\#31350: *417 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2023/12/27 14:13:13 [debug] 31350\#31350: fetching key "nok:foo.com:p3" in shared dict "healthcheck"
2023/12/27 14:13:13 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:13 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:13 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:13 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:13 [debug] 31350\#31350: malloc: 0000000008650DF0:10
2023/12/27 14:13:13 [debug] 31350\#31350: malloc: 0000000008650E40:16
2023/12/27 14:13:13 [debug] 31350\#31350: malloc: 0000000008650E90:32
2023/12/27 14:13:13 [debug] 31350\#31350: malloc: 0000000008679A30:16
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *417 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AFAEF0:10
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AFAF40:16
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AFAF90:32
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AFAFF0:16
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *417 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12358 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p4" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: *417 lua resume returned 1
2023/12/27 14:13:14 [debug] 31350\#31350: *417 lua thread yielded
2023/12/27 14:13:14 [debug] 31350\#31350: *417 lua run thread returned -2
2023/12/27 14:13:14 [debug] 31350\#31350: timer delta: 46
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *417 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12356 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p2" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: *417 lua resume returned 0
2023/12/27 14:13:14 [debug] 31350\#31350: *417 lua light thread ended normally
2023/12/27 14:13:14 [debug] 31350\#31350: *417 lua deleting light thread 0000000008FC0530 (ref 3)
2023/12/27 14:13:14 [debug] 31350\#31350: *417 http lua unref thread 0000000008FC0530: 3
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *417 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008FB4300:16
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008FB4350:16
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008FB43A0:16
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008F358B0:4096
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008FB8F10:32
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008FB8F70:16
2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:13 [debug] 31128\#31128: malloc: 0000000008FB8FC0:320
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *427 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 00000000086B4BA0:10
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 00000000086B4BF0:16
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 00000000086B4C40:32
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 00000000086B4CA0:16
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *427 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p3" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 000000000859A280:10
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 000000000859A2D0:16
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 00000000086B5320:32
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 00000000086B5380:16
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *427 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AE7480:10
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AE74D0:16
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AE7520:32
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008AE7580:16
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *427 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12358 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p4" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: *427 lua resume returned 1
2023/12/27 14:13:14 [debug] 31350\#31350: *427 lua thread yielded
2023/12/27 14:13:14 [debug] 31350\#31350: *427 lua run thread returned -2
2023/12/27 14:13:14 [debug] 31350\#31350: timer delta: 2
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *427 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12356 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p2" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: *427 lua resume returned 0
2023/12/27 14:13:14 [debug] 31350\#31350: *427 lua light thread ended normally
2023/12/27 14:13:14 [debug] 31350\#31350: *427 lua deleting light thread 0000000008696570 (ref 1)
2023/12/27 14:13:14 [debug] 31350\#31350: *427 http lua unref thread 0000000008696570: 1
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *427 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: lua ref lua thread 0000000008F19990 (ref 1)
2023/12/27 14:13:14 [debug] 31350\#31350: *427 malloc: 0000000008F19A40:184
2023/12/27 14:13:14 [debug] 31350\#31350: malloc: 0000000008F1A850:48
2023/12/27 14:13:14 [debug] 31350\#31350: event timer add: 150051216: 100:5891899
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *436 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p3" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: slab free: 000000000403A800
2023/12/27 14:13:14 [debug] 31350\#31350: slab free: 000000000403A200
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: slab free: 000000000403A280
2023/12/27 14:13:14 [debug] 31350\#31350: slab free: 000000000403A300
2023/12/27 14:13:14 [debug] 31350\#31350: lua shared dict set: creating a new entry
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *436 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12358 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:p4" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: slab free: 000000000403A480
2023/12/27 14:13:14 [debug] 31350\#31350: slab free: 000000000403A500
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx unlock
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31350\#31350: lua shared dict set: creating a new entry
2023/12/27 14:13:14 [debug] 31350\#31350: slab alloc: 90 slot: 4
2023/12/27 14:13:14 [debug] 31350\#31350: slab alloc: 000000000403A100
'
sanity.t TEST 1: health check (good case), status ignored by default - pattern "was checked to be not ok" should not match any line in error.log but matches line "2023/12/27 14:13:14 [debug] 31350\#31350: *436 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2023/12/27 14:13:14 [debug] 31392\#31392: *451 malloc: 0000000008FE1DB0:16
2023/12/27 14:13:14 [debug] 31392\#31392: *451 lua header filter for user lua code, uri "/ver"
2023/12/27 14:13:14 [debug] 31392\#31392: *451 lua capture header filter, uri "/ver"
2023/12/27 14:13:14 [debug] 31392\#31392: *451 malloc: 0000000009413E30:80
2023/12/27 14:13:14 [debug] 31392\#31392: *451 malloc: 0000000009413EC0:16
2023/12/27 14:13:14 [debug] 31392\#31392: *451 malloc: 0000000009413F10:176
2023/12/27 14:13:14 [debug] 31350\#31350: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2023/12/27 14:13:14 [debug] 31350\#31350: shmtx lock
2023/12/27 14:13:14 [debug] 31392\#31392: *451 malloc: 0000000009465880:16
'
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: 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
publishing peers version 2
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: 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 2
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 10: concurrency == 3 (odd number of peers) - grep_error_log_out (req 0) 'spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
'
doesn't match '(?^:^(?:spawn a thread checking primary peer 0
spawn a thread checking primary peer 1
check primary peer 2
check backup peer 0
){4,6}$)'
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 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
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
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:12359 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
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
warn(): healthcheck: peer 127.0.0.1:12356 is turned up after 2 success(es)
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
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *723 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008963C70:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008963CC0:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008963D10:48
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008963D80:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000093F1290:48
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008963DD0:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000093F1300:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000093F1350:16
2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *723 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000945B070:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000947F710:128
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000947F7D0:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000895D810:720
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000945B0C0:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000094C7010:48
2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000094C7080:16
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *723 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12356 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008953D60:968
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000991D3D0:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000089434F0:736
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000991D420:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000094AD360:792
2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:p2" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000991D470:16
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000008943970:680
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *723 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000009040580:256
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000090406C0:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000009040710:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000009040760:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 00000000090407B0:22
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000009040810:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 0000000009040860:32
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000887E120:16
2023/12/27 14:13:19 [debug] 31128\#31128: malloc: 000000000887E170:16
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *731 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: *731 lua resume returned 0
2023/12/27 14:13:19 [debug] 31470\#31470: *731 lua light thread ended normally
2023/12/27 14:13:19 [debug] 31470\#31470: malloc: 00000000088A6890:16
2023/12/27 14:13:19 [debug] 31470\#31470: malloc: 00000000088A68E0:16
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *731 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: *731 lua resume returned 0
2023/12/27 14:13:19 [debug] 31470\#31470: *731 lua light thread ended normally
2023/12/27 14:13:19 [debug] 31470\#31470: malloc: 00000000088AFB20:16
2023/12/27 14:13:19 [debug] 31470\#31470: malloc: 00000000088AFB70:16
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *731 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12356 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:p2" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: *731 lua deleting light thread 000000000993C0E0 (ref 4)
2023/12/27 14:13:19 [debug] 31470\#31470: *731 http lua unref thread 000000000993C0E0: 4
2023/12/27 14:13:19 [debug] 31470\#31470: *731 lua deleting light thread 0000000008588720 (ref 1)
2023/12/27 14:13:19 [debug] 31470\#31470: *731 http lua unref thread 0000000008588720: 1
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *731 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: lua ref lua thread 00000000088DE010 (ref 1)
2023/12/27 14:13:19 [debug] 31470\#31470: *731 malloc: 00000000088DE280:184
2023/12/27 14:13:19 [debug] 31470\#31470: malloc: 00000000088DE380:48
2023/12/27 14:13:19 [debug] 31470\#31470: event timer add: 143515664: 100:5897141
'
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 "2023/12/27 14:13:19 [debug] 31470\#31470: *738 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2023/12/27 14:13:19 [debug] 31512\#31512: *746 event timer del: 18: 5898471
2023/12/27 14:13:19 [debug] 31470\#31470: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx lock
2023/12/27 14:13:19 [debug] 31470\#31470: lua shared dict set: creating a new entry
2023/12/27 14:13:19 [debug] 31470\#31470: slab alloc: 90 slot: 4
2023/12/27 14:13:19 [debug] 31470\#31470: slab alloc: 000000000403A400
2023/12/27 14:13:19 [debug] 31470\#31470: shmtx unlock
'
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 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
publishing peers version 4
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
'
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 \[::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
){3,7}$)'
sanity.t TEST 8: peers version upgrade (make down peers up) - 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
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
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
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 2: health check (bad case), no listening port in the backup peer - grep_error_log_out (req 0) '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:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12356 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:12354 was checked to be ok
healthcheck: peer 127.0.0.1:12356 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 not ok
warn(): healthcheck: peer 127.0.0.1:12356 is turned down after 1 failure(s)
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 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
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 3: health check (bad case), no listening port in a primary 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 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 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
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
'
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 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
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
){2,4}$)'

Warnings

(none)

Go back to the index page.