(This page was automatically generated by the tools in the opsboy project on 16:17:14 09-Jan-2016 GMT.)
Commit | Testing Time | Unexpected Failures |
Expected Failures |
Files | Tests | Elapsed Time |
---|---|---|---|---|---|---|
4d1ef911 | 2016-01-08 00:30:47 GMT | 0 | 18 | 1 | 75 | 84 sec |
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 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 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 ' 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 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 2: health check (bad case), no listening port in the backup peer - response_body - response is expected (req 0) |
@@ -3,6 +3,6 @@ 127.0.0.1:12354 up 127.0.0.1:12355 up Backup Peers - 127.0.0.1:12356 DOWN + 127.0.0.1:12356 up upstream addr: 127.0.0.1:12354 upstream addr: 127.0.0.1:12355 ' |
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 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 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 - response_body - response is expected (req 0) |
@@ -1,8 +1,8 @@ Upstream foo.com Primary Peers - 127.0.0.1:12354 DOWN + 127.0.0.1:12354 up 127.0.0.1:12355 up Backup Peers 127.0.0.1:12356 up -upstream addr: 127.0.0.1:12355 +upstream addr: 127.0.0.1:12354 -upstream addr: 127.0.0.1:12355 +upstream addr: foo.com ' |
sanity.t | TEST 5: health check (bad case), timed out - grep_error_log_out (req 0) |
'healthcheck: peer 127.0.0.1:12354 was checked to be not ok healthcheck: peer 127.0.0.1:12355 was checked to be 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 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 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 warn(): healthcheck: peer 127.0.0.1:12356 is turned down after 2 failure(s) 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 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 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: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:12354 was checked to be not 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 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 5: health check (bad case), timed out - pattern "healthcheck: failed to receive status line from 127.0.0.1:12354: timeout" matches a line in error.log (req 0) | |
sanity.t | TEST 6: health check (bad case), bad status, and then rise again - response_body - response is expected (req 0) |
@@ -5,4 +5,4 @@ Backup Peers 127.0.0.1:12356 up upstream addr: 127.0.0.1:12354 -upstream addr: 127.0.0.1:12355 +upstream addr: 127.0.0.1:12354 ' |
sanity.t | TEST 8: peers version upgrade (make down peers up) - response_body - response is expected (req 0) |
@@ -1,8 +1,8 @@ Upstream foo.com Primary Peers - 127.0.0.1:12354 DOWN + 127.0.0.1:12354 up 127.0.0.1:12355 up Backup Peers 127.0.0.1:12356 up -upstream addr: 127.0.0.1:12355 +upstream addr: 127.0.0.1:12354, 127.0.0.1:12355 upstream addr: 127.0.0.1:12355 ' |
sanity.t | TEST 3: health check (bad case), no listening port in a primary peer - response_body - response is expected (req 0) |
@@ -1,7 +1,7 @@ Upstream foo.com Primary Peers 127.0.0.1:12354 up - 127.0.0.1:12355 DOWN + 127.0.0.1:12355 up Backup Peers 127.0.0.1:12356 up upstream addr: 127.0.0.1:12354 ' |
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 ' 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 | ERROR: client socket timed out - TEST 7: peers version upgrade (make up peers down) |
' |
sanity.t | TEST 7: peers version upgrade (make up peers down) - status code ok |
got: '' expected: '200' |
sanity.t | TEST 7: peers version upgrade (make up peers down) - response_body - response is expected (req 0) |
@@ -1,8 +0,0 @@ -Upstream foo.com - Primary Peers - 127.0.0.1:12354 up - 127.0.0.1:12355 up - Backup Peers - 127.0.0.1:12356 up -upstream addr: 127.0.0.1:12354 -upstream addr: 127.0.0.1:12355 ' |
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 healthcheck: peer 127.0.0.1:12354 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 4: health check (bad case), bad status - response_body - response is expected (req 0) |
@@ -1,7 +1,7 @@ Upstream foo.com Primary Peers 127.0.0.1:12354 up - 127.0.0.1:12355 DOWN + 127.0.0.1:12355 up Backup Peers 127.0.0.1:12356 up upstream addr: 127.0.0.1:12354 ' |
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 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 ' 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}$)' |
Go back to the index page.