Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YBC Tests: Fix TS Web access retry loop in YBC #22494

Open
1 task done
OlegLoginov opened this issue May 22, 2024 · 1 comment
Open
1 task done

YBC Tests: Fix TS Web access retry loop in YBC #22494

OlegLoginov opened this issue May 22, 2024 · 1 comment
Assignees
Labels
area/ycql Yugabyte CQL (YCQL) kind/enhancement This is an enhancement of an existing feature kind/failing-test Tests and testing infra priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@OlegLoginov
Copy link
Contributor

OlegLoginov commented May 22, 2024

Jira Link: DB-11420

Description

Fix the tests:

YB_DISABLE_MINICLUSTER_BACKUP_TESTS=0 YB_TEST_YB_CONTROLLER=1  ./yb_build.sh --cxx-test integration-tests_cql-backup-test --gtest_filter CqlBackupTest.TestBackupWithoutTSWebUI

YB_DISABLE_MINICLUSTER_BACKUP_TESTS=0 YB_TEST_YB_CONTROLLER=1  ./yb_build.sh --cxx-test integration-tests_cql-backup-test --gtest_filter CqlBackupTest.TestBackupRestoreWithoutTSWebUI

YBC is loading TS config via TS HTTP UI endpoint: <ts-ip>/varz.
In these 2 tests we stop&start this HTTP server, so YBC should do retries during the endpoint accessing.
Locally the tests work fine, but in Jenkins environment YBC cannot get the TS config.

It should be fixed in YBC - try to increase number of retries and/or timeout:
Hardcoded timeout = 1 sec in ServerConfig():

 ControllerStatus status = EasyCurlGet(url, 1000, data);

Hardcoded number of retries in EasyCurlGet():

int retries = 5;

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@OlegLoginov OlegLoginov added kind/new-feature This is a request for a completely new feature kind/failing-test Tests and testing infra area/ycql Yugabyte CQL (YCQL) status/awaiting-triage Issue awaiting triage labels May 22, 2024
@yugabyte-ci yugabyte-ci added priority/medium Medium priority issue kind/enhancement This is an enhancement of an existing feature and removed kind/new-feature This is a request for a completely new feature labels May 22, 2024
@OlegLoginov
Copy link
Contributor Author

Original issue: #21689

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ycql Yugabyte CQL (YCQL) kind/enhancement This is an enhancement of an existing feature kind/failing-test Tests and testing infra priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
Status: To do
Development

No branches or pull requests

3 participants