(This page was automatically generated by the tools in the opsboy project on 15:08:06 28-Dec-2023 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
9c1abde0 | 2023-12-27 12:35:50 GMT | 0 | 24 | 6 | 126 | 18 sec |
File | Name | Details |
---|---|---|
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: 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 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 ' 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 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 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: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 16: health check using different port - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:34:08 [error] 7888\#7888: *101 open() \"/home/ec2-user/git/lua-resty-upstream-healthcheck/t/servroot/html/healthz\" failed (2: No such file or directory), client: 127.0.0.1, server: , request: \"GET /healthz HTTP/1.0\", host: \"localhost\"" (req 0) |
2023/12/27 13:34:08 [debug] 7888\#7888: *101 http finalize request: 404, "/healthz?" a:1, c:1 2023/12/27 13:34:08 [debug] 7888\#7888: *101 http special response: 404, "/healthz?" 2023/12/27 13:34:08 [debug] 7888\#7888: *101 http set discard body 2023/12/27 13:34:08 [debug] 7888\#7888: *101 lua header filter for user lua code, uri "/healthz" 2023/12/27 13:34:08 [debug] 7888\#7888: *101 lua capture header filter, uri "/healthz" 2023/12/27 13:34:08 [debug] 7888\#7888: *101 malloc: 0000000001FCF7B0:80 2023/12/27 13:34:08 [debug] 7888\#7888: *101 malloc: 0000000001FCF810:16 2023/12/27 13:34:08 [debug] 7888\#7888: *101 malloc: 0000000001FD4500:177 2023/12/27 13:34:08 [debug] 7888\#7888: *101 malloc: 0000000001FD45C0:16 ' |
sanity.t | TEST 16: health check using different port - pattern "[error]" should not match any line in error.log but matches line "2023/12/27 13:34:08 [error] 7888\#7888: *103 open() \"/home/ec2-user/git/lua-resty-upstream-healthcheck/t/servroot/html/healthz\" failed (2: No such file or directory), client: 127.0.0.1, server: , request: \"GET /healthz HTTP/1.0\", host: \"localhost\"" (req 0) |
2023/12/27 13:34:08 [debug] 7888\#7888: *103 http finalize request: 404, "/healthz?" a:1, c:1 2023/12/27 13:34:08 [debug] 7888\#7888: *103 http special response: 404, "/healthz?" 2023/12/27 13:34:08 [debug] 7888\#7888: *103 http set discard body 2023/12/27 13:34:08 [debug] 7888\#7888: *103 lua header filter for user lua code, uri "/healthz" 2023/12/27 13:34:08 [debug] 7888\#7888: *103 lua capture header filter, uri "/healthz" 2023/12/27 13:34:08 [debug] 7888\#7888: *103 malloc: 0000000001FCF7B0:80 2023/12/27 13:34:08 [debug] 7888\#7888: *103 malloc: 0000000001FCF810:16 2023/12/27 13:34:08 [debug] 7888\#7888: *103 malloc: 0000000002037500:177 2023/12/27 13:34:08 [debug] 7888\#7888: *103 malloc: 00000000020375C0:16 ' |
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: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 [::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 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 [::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 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 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *533 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:foo.com:p1" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *533 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *533 lua http cleanup free: 0000000002049FF0 2023/12/27 13:34:10 [debug] 7956\#7956: *533 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *533 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *538 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:bar.com:p1" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *538 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *538 lua http cleanup free: 0000000001F80980 2023/12/27 13:34:10 [debug] 7956\#7956: *538 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *538 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *538 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:bar.com:p2" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *538 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *538 lua http cleanup free: 0000000001F80980 2023/12/27 13:34:10 [debug] 7956\#7956: *538 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *538 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *557 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:foo.com:p1" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *557 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *557 lua http cleanup free: 0000000002049FD0 2023/12/27 13:34:10 [debug] 7956\#7956: *557 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *557 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *564 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:bar.com:p1" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *564 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *564 lua http cleanup free: 0000000002043AF0 2023/12/27 13:34:10 [debug] 7956\#7956: *564 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *564 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *564 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:bar.com:p2" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *564 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *564 lua http cleanup free: 0000000002043AF0 2023/12/27 13:34:10 [debug] 7956\#7956: *564 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *564 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *578 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7993\#7993: *585 malloc: 0000000001F9F380:88 2023/12/27 13:34:10 [debug] 7993\#7993: *585 malloc: 0000000001FC5AF0:16 2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:foo.com:p1" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7993\#7993: *585 malloc: 0000000001FACED0:160 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7993\#7993: *585 malloc: 0000000001FC5B10:16 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7993\#7993: *585 http set discard body 2023/12/27 13:34:10 [debug] 7993\#7993: *585 malloc: 0000000002034450:80 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *583 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:bar.com:p1" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *583 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *583 lua http cleanup free: 0000000002035800 2023/12/27 13:34:10 [debug] 7956\#7956: *583 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *583 reusable connection: 0 ' |
sanity.t | TEST 14: health check with ipv6 backend (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 13:34:10 [debug] 7956\#7956: *583 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) |
2023/12/27 13:34:10 [debug] 7956\#7956: fetching key "nok:bar.com:p2" in shared dict "healthcheck" 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx lock 2023/12/27 13:34:10 [debug] 7956\#7956: shmtx unlock 2023/12/27 13:34:10 [debug] 7956\#7956: *583 lua finalize socket 2023/12/27 13:34:10 [debug] 7956\#7956: *583 lua http cleanup free: 0000000002035800 2023/12/27 13:34:10 [debug] 7956\#7956: *583 lua close socket connection 2023/12/27 13:34:10 [debug] 7956\#7956: *583 reusable connection: 0 ' |
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 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 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}$)' |
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 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 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 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 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 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}$)' |
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: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 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 7: peers version upgrade (make up peers down) - 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 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 ' 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 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 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 ' 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 10: concurrency == 3 (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 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 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 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 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 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 15: peers > concurrency - 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 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: 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 ' 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 $)' |
Go back to the index page.