[
https://issues.apache.org/jira/browse/CASSANDRA-17882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602426#comment-17602426
]
Ekaterina Dimitrova commented on CASSANDRA-17882:
-------------------------------------------------
Looking into the test it seems to me nothing more than a timing issue.
If we reduce the TTL to 5 seconds we can reproduce the failure so I suggest we
just raise the TTL from 20 to 30 to prevent flakiness.
I didn't run repeatedly the test with the increased TTL in CircleCI as it was
not failing there even with the old value.
4.1 -
[j11|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1889/workflows/81d755c5-da11-4da6-bc3e-ddb5a63ca239/jobs/14890]
and
[j8|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1889/workflows/16d2e175-251d-45dd-b559-09e18b66f10c/jobs/14894]
1000 runs on clean 4.1 without the patch
4.0 - [1000 runs
|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra?branch=clean-4.0]
running each repeatable job on clean 4.0
I actually decided to increase also the next UPDATE statement TTL to 30 too,
just in case so we don't have to revise the test again in two days.
I looped the test locally a few times with no issues.
[dtest
patch|https://github.com/ekaterinadimitrova2/cassandra-dtest/commits/17882]
[~brandon.williams] , [~adelapena] anyone of you up for review? :)
> Fix flaky test_no_base_column_in_view_pk_complex_timestamp_with_flush
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-17882
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17882
> Project: Cassandra
> Issue Type: Bug
> Components: CI
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
>
> It seems flaky lately on 4.1 per Butler:
> [https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-4.1/failure/materialized_views_test/TestMaterializedViews/test_no_base_column_in_view_pk_complex_timestamp_with_flush]
> I was not able to reproduce it on 4.0 and 4.1 in Circle.
> h3.
> {code:java}
> Error Message
> AssertionError: Expected [[1, 1, 1, None, None, None]] from SELECT * FROM t,
> but got []
> Stacktrace
> self = <materialized_views_test.TestMaterializedViews object at
> 0x7fc5fb98a880> @flaky @since('3.0') def
> test_no_base_column_in_view_pk_complex_timestamp_with_flush(self): >
> self._test_no_base_column_in_view_pk_complex_timestamp(flush=True)
> materialized_views_test.py:1451: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ materialized_views_test.py:1541: in
> _test_no_base_column_in_view_pk_complex_timestamp assert_one(session, "SELECT
> * FROM t", [1, 1, 1, None, None, None]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]