-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[YCQL][ASH] Test failures when ASH is enabled by default #23251
Labels
Comments
abhinab-yb
added
area/ycql
Yugabyte CQL (YCQL)
status/awaiting-triage
Issue awaiting triage
labels
Jul 22, 2024
yugabyte-ci
added
kind/bug
This issue is a bug
priority/medium
Medium priority issue
labels
Jul 22, 2024
abhinab-yb
added a commit
that referenced
this issue
Sep 2, 2024
Summary: There seems to be some race conditions in CQL tests due to D3169, it is not clear from the summary what that diff was supposed to fix, so this diff reverts the code to reading and writing into `request_` non-atomically. Running a mini cluster with both YSQL and YCQL seems to be slow in TSAN mode. CQL driver seems to timeout most of the times while connecting to the cluster. This diff fixes this by using either YSQL or YCQL while running the tests. This diff also enables concurrent updates in some cql wait states, which fixes a few non-ASH tests when ASH would be enabled by default Jira: DB-12182 Test Plan: ./yb_build.sh --cxx-test wait_states-itest Reviewers: amitanand, jason, hbhanawat Reviewed By: amitanand Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D37312
jasonyb
pushed a commit
that referenced
this issue
Sep 4, 2024
Summary: Manually excluded: f77dd6a [#23251] YCQL, ASH: Fix CQL test failures with ASH 1ebc289 [PLAT-13833]Upgrade ion java library 1302a2b [PLAT-15087] Connection pooling fails when ysqlAuth is enabled 1050ec4 [docs] Add a limitation for CDC in docs (#23586) Excluded: b57e3c6 [#23490] YSQL: Tighten notion of equality for update optimizations 9b4c4b5 [PLAT-10264] collect audit logs, ha config and xcluster data in support bundle Excluded: 9e0c569 Revert "[PLAT-14786] Add support to node_agent install to use bind ip and node_external_fqdn" 920989b [PLAT-14788]mask SAS token in backup config response and logs Excluded: 0ea4f54 [#23367] CDCSDK: Cleanup expired and not of interest tables from CDC stream Excluded: 0dc3a4a [#23737] YSQL: Change ysql conn mgr tests to fix them with warmup random mode eba9b49 [PLAT-13845] Upgrade aws sdk to 1.52+ f44c92e [PLAT-12933] [k8s] Ability to roll N nodes at a time during upgrades for multi-AZ(region) universes b8f0308 [PLAT-14008] Avoid rolling YBA managed n2n certificates when not needed (e.g. during Gflag Upgrades) Test Plan: Jenkins: rebase: pg15-cherrypicks Reviewers: jason, tfoucher Differential Revision: https://phorge.dev.yugabyte.com/D37738
abhinab-yb
added a commit
that referenced
this issue
Sep 5, 2024
…with ASH Summary: - wait_states-itest.cc -- The tests - AshPg, AshCql, AshFlushAndCompactions, AshTestVerifyOccurrence.VerifyWaitStateEntered, AshTestWithPriorityQueue.VerifyWaitStateEntered --- YB f77dd6a fixed and enabled TSAN tests in ASH --- PG 55782d5 added pg_GSS_have_cred_cache in fe-gssapi-common.c which calls external function gss_acquire_cred from krb5 library --- There seems to be data race in krb5 library when the tests try to create concurrent PG connections, don't enable the tsan tests in ASH until the underlying problem is fixed Original commit: f77dd6a / D37312 There seems to be some race conditions in CQL tests due to D3169, it is not clear from the summary what that diff was supposed to fix, so this diff reverts the code to reading and writing into `request_` non-atomically. Running a mini cluster with both YSQL and YCQL seems to be slow in TSAN mode. CQL driver seems to timeout most of the times while connecting to the cluster. This diff fixes this by using either YSQL or YCQL while running the tests. This diff also enables concurrent updates in some cql wait states, which fixes a few non-ASH tests when ASH would be enabled by default Jira: DB-12182 Test Plan: ./yb_build.sh --cxx-test wait_states-itest Reviewers: jason, tfoucher Reviewed By: jason Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D37760
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Jira Link: DB-12182
Description
There are a few test failures when ASH is enabled by default.
org.yb.cql.TestBatchRequest#testRecreateTable2
,org.yb.cql.TestIndex#testPagingSelect
,org.yb.cql.TestAudit#batchWithStaleMetadata
,rg.yb.cql.TestIndex#testRecreateTable
,org.yb.cql.TestOrderedColumns#testSingleTypeCreateOrders
,org.yb.cql.TestInsertValues#testInsertIntoRecreatedTable
,org.yb.cql.TestPrepareExecute#testDDLKeyspaceResolution
,org.yb.cql.TestOrderedColumns#testSingleTypeScanOrders
Fails with stack trace
and stack trace
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: