(This page was automatically generated by the tools in the opsboy project on 04:52:03 11-Oct-2024 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 2024-08-06 16:11:50 GMT 0 26 6 128 44 sec

LuaJIT

LuaJIT 2.1.1719379426, commit 4182d6bf

OpenSSL

OpenSSL 1.1.1w 11 Sep 2023

Compilation Errors

Segmentation Faults

Unexpected Failures

(none)

Expected Failures

File Name Details
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 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 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
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
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: 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 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
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 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 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 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}$)'
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 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: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 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
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 "was checked to be not ok" should not match any line in error.log but matches line "2024/08/06 19:47:16 [debug] 25160\#25160: *304 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2024/08/06 19:47:16 [debug] 25160\#25160: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2024/08/06 19:47:16 [debug] 25160\#25160: shmtx lock
2024/08/06 19:47:16 [debug] 25160\#25160: shmtx unlock
2024/08/06 19:47:16 [debug] 25160\#25160: shmtx lock
2024/08/06 19:47:16 [debug] 25160\#25160: shmtx unlock
2024/08/06 19:47:16 [debug] 25160\#25160: malloc: 0000000009C59750:10
2024/08/06 19:47:16 [debug] 25160\#25160: malloc: 0000000009C597A0:16
2024/08/06 19:47:16 [debug] 25160\#25160: malloc: 0000000009C597F0:32
2024/08/06 19:47:16 [debug] 25160\#25160: malloc: 0000000009C59850:16
'
sanity.t TEST 16: health check using different port - pattern "[error]" should not match any line in error.log but matches line "2024/08/06 19:47:16 [error] 25204\#25204: *326 open() \"/home/ec2-user/git/lua-resty-upstream-healthcheck/t/servroot/html/status\" failed (2: No such file or directory), client: 127.0.0.1, server: , request: \"GET /status HTTP/1.0\", host: \"localhost\"" (req 0) 2024/08/06 19:47:16 [debug] 25204\#25204: *326 http finalize request: 404, "/status?" a:1, c:1
2024/08/06 19:47:16 [debug] 25204\#25204: *326 http special response: 404, "/status?"
2024/08/06 19:47:16 [debug] 25204\#25204: *326 http set discard body
2024/08/06 19:47:16 [debug] 25204\#25204: *326 lua header filter for user lua code, uri "/status"
2024/08/06 19:47:16 [debug] 25204\#25204: *326 lua capture header filter, uri "/status"
2024/08/06 19:47:16 [debug] 25204\#25204: *326 malloc: 0000000008B2FB50:80
2024/08/06 19:47:16 [debug] 25204\#25204: *326 malloc: 0000000008B2FBE0:16
2024/08/06 19:47:16 [debug] 25204\#25204: *326 malloc: 0000000008B2FC30:177
2024/08/06 19:47:16 [debug] 25204\#25204: *326 malloc: 0000000008B2FD30: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: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 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 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 "2024/08/06 19:47:20 [debug] 25289\#25289: *531 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000094666E0:10
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 0000000009466730:16
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 0000000009466780:32
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000094667E0:16
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *531 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p3" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 000000000947A480:10
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 000000000947A4D0:16
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 000000000948C850:32
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 000000000948C8B0:16
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *531 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 000000000948CE20:10
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 0000000009497F90:16
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 0000000009497FE0:32
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 0000000009498040:16
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *531 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12358 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p4" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: *531 lua resume returned 1
2024/08/06 19:47:20 [debug] 25289\#25289: *531 lua thread yielded
2024/08/06 19:47:20 [debug] 25289\#25289: *531 lua run thread returned -2
2024/08/06 19:47:20 [debug] 25289\#25289: timer delta: 2
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *531 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12356 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p2" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: *531 lua resume returned 0
2024/08/06 19:47:20 [debug] 25289\#25289: *531 lua light thread ended normally
2024/08/06 19:47:20 [debug] 25289\#25289: *531 lua deleting light thread 0000000008B3F9B0 (ref 3)
2024/08/06 19:47:20 [debug] 25289\#25289: *531 http lua unref thread 0000000008B3F9B0: 3
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *531 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: lua ref lua thread 00000000089F60B0 (ref 3)
2024/08/06 19:47:20 [debug] 25289\#25289: *531 malloc: 00000000089F6320:184
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000089F6420:48
2024/08/06 19:47:20 [debug] 25289\#25289: event timer add: 144662704: 100:12999895
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *540 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12357 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p3" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000093DAFB0:10
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000093DB000:16
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000093D79D0:32
2024/08/06 19:47:20 [debug] 25289\#25289: malloc: 00000000093D7A30:16
'
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 "2024/08/06 19:47:20 [debug] 25289\#25289: *540 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12358 was checked to be not ok" (req 0) 2024/08/06 19:47:20 [debug] 25289\#25289: fetching key "nok:foo.com:p4" in shared dict "healthcheck"
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:20 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:20 [debug] 25289\#25289: *540 lua resume returned 1
2024/08/06 19:47:20 [debug] 25289\#25289: *540 lua thread yielded
2024/08/06 19:47:20 [debug] 25289\#25289: *540 lua run thread returned -2
2024/08/06 19:47:20 [debug] 25289\#25289: timer delta: 16
'
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 "2024/08/06 19:47:21 [debug] 25289\#25289: *540 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12355 was checked to be not ok" (req 0) 2024/08/06 19:47:21 [debug] 25289\#25289: fetching key "nok:foo.com:p1" in shared dict "healthcheck"
2024/08/06 19:47:21 [debug] 25337\#25337: *546 http copy filter: 0 "/status?"
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:21 [debug] 25289\#25289: lua shared dict set: creating a new entry
2024/08/06 19:47:21 [debug] 25289\#25289: slab alloc: 90 slot: 4
2024/08/06 19:47:21 [debug] 25289\#25289: slab alloc: 000000000403B100
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx unlock
'
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 "2024/08/06 19:47:21 [debug] 25289\#25289: *540 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12356 was checked to be not ok" (req 0) 2024/08/06 19:47:21 [debug] 25289\#25289: fetching key "nok:foo.com:p2" in shared dict "healthcheck"
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:21 [debug] 25337\#25337: *546 http finalize request: 0, "/status?" a:1, c:1
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:21 [debug] 25289\#25289: lua shared dict set: creating a new entry
2024/08/06 19:47:21 [debug] 25289\#25289: slab alloc: 90 slot: 4
2024/08/06 19:47:21 [debug] 25289\#25289: slab alloc: 000000000403B180
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx unlock
'
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 "2024/08/06 19:47:21 [debug] 25289\#25289: *540 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12359 was checked to be not ok" (req 0) 2024/08/06 19:47:21 [debug] 25289\#25289: fetching key "nok:foo.com:b0" in shared dict "healthcheck"
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx lock
2024/08/06 19:47:21 [debug] 25289\#25289: lua shared dict set: creating a new entry
2024/08/06 19:47:21 [debug] 25289\#25289: slab alloc: 90 slot: 4
2024/08/06 19:47:21 [debug] 25289\#25289: slab alloc: 000000000403B200
2024/08/06 19:47:21 [debug] 25289\#25289: shmtx unlock
2024/08/06 19:47:21 [debug] 25289\#25289: fetching key "ok:foo.com:b0" in shared dict "healthcheck"
'
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 [::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 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 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
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) '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
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 4: health check (bad case), bad status - 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: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: 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
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 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 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
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
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 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 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 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: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:12356 was checked to be ok
healthcheck: peer 127.0.0.1:12354 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: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: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
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 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: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 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 "2024/08/06 19:47:33 [debug] 25604\#25604: *1392 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000008E58320:256
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000008EA6B60:16
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000008E58460:16
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000008541380:16
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000009354490:1024
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 00000000085413D0:40
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000008541440:16
2024/08/06 19:47:33 [debug] 25604\#25604: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
2024/08/06 19:47:33 [debug] 25001\#25001: malloc: 0000000008802580: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 "2024/08/06 19:47:33 [debug] 25604\#25604: *1402 [lua] healthcheck.lua:67: debug(): healthcheck: peer 127.0.0.1:12354 was checked to be not ok" (req 0) 2024/08/06 19:47:33 [debug] 25604\#25604: fetching key "nok:foo.com:p0" in shared dict "healthcheck"
2024/08/06 19:47:33 [debug] 25604\#25604: shmtx lock
2024/08/06 19:47:33 [debug] 25604\#25604: slab free: 000000000403B180
2024/08/06 19:47:33 [debug] 25604\#25604: slab free: 000000000403B200
2024/08/06 19:47:33 [debug] 25604\#25604: shmtx unlock
2024/08/06 19:47:33 [debug] 25604\#25604: shmtx lock
2024/08/06 19:47:33 [debug] 25604\#25604: slab free: 000000000403B300
2024/08/06 19:47:33 [debug] 25604\#25604: lua shared dict set: creating a new entry
2024/08/06 19:47:33 [debug] 25604\#25604: slab alloc: 90 slot: 4
'

Warnings

(none)

Go back to the index page.