[
https://issues.apache.org/jira/browse/CASSANDRA-21152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057798#comment-18057798
]
Arvind Kandpal commented on CASSANDRA-21152:
--------------------------------------------
{code:java}
./.build/run-tests.sh -a test -t ViewFlushTest
{code}
{code:java}
Apache Ant(TM) version 1.10.14 compiled on September 25 2023
git version 2.43.0
openjdk version "17.0.18" 2026-01-20
OpenJDK Runtime Environment (build 17.0.18+8-Ubuntu-124.04.1)
OpenJDK 64-Bit Server VM (build 17.0.18+8-Ubuntu-124.04.1, mixed mode, sharing)
javac 17.0.18
Non default JDK version used: 17
Note:
/mnt/backup_hdd/cassandra-github-code/cassandra/modules/accord/accord-core/src/main/java/accord/utils/async/AsyncChains.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Non default JDK version used: 17
git.is-available=true
Repository state is dirty
src/java/org/apache/cassandra/db/compaction/CursorCompactor.java | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
git.worktree.name=cassandra
git.branch.name=CASSANDRA-21152
Running tests: ViewFlushTest (1 times)
Buildfile: /mnt/backup_hdd/cassandra-github-code/cassandra/build.xml
[echo] Non default JDK version used: 17
maybe-build-test:
testclasslist:
[mkdir] Created dir:
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra
[mkdir] Created dir:
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/output/test
[junit-timeout] Testsuite: org.apache.cassandra.cql3.ViewFlushTest-_jdk17
[junit-timeout] WARNING: A terminally deprecated method in java.lang.System has
been called
[junit-timeout] WARNING: System::setSecurityManager has been called by
org.apache.cassandra.security.ThreadAwareSecurityManager
(file:/mnt/backup_hdd/cassandra-github-code/cassandra/build/apache-cassandra-5.1-SNAPSHOT.jar)
[junit-timeout] WARNING: Please consider reporting this to the maintainers of
org.apache.cassandra.security.ThreadAwareSecurityManager
[junit-timeout] WARNING: System::setSecurityManager will be removed in a future
release
[junit-timeout] Testsuite: org.apache.cassandra.cql3.ViewFlushTest-_jdk17 Tests
run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.506 sec
[junit-timeout]
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/commitlog
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/data
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/saved_caches
[delete] Deleting directory
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/cassandra/hints
BUILD SUCCESSFUL
Total time: 31 seconds
Non default JDK version used: 17
Generating Test Summary for test files found under
/mnt/backup_hdd/cassandra-github-code/cassandra/build/test/output
[Test Summary] Run: 1, Failed: 0, Errors: 0, Skipped: 0
{code}
> Test failure: dtest.TestMaterializedViews.test_mv_with_default_ttl_with_flush
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-21152
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21152
> Project: Apache Cassandra
> Issue Type: Bug
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 5.x
>
> Attachments: breaking_point.png
>
>
> It fails consistently now, example:
> [https://ci-cassandra.apache.org/job/Cassandra-trunk/2391/testReport/junit/dtest.materialized_views_test/TestMaterializedViews/Tests___dtest_jdk11_1_64___test_mv_with_default_ttl_with_flush/]
> {code:java}
> self = <materialized_views_test.TestMaterializedViews object at
> 0x7f808eb3b3d0>
> @since('3.0')
> def test_mv_with_default_ttl_with_flush(self):
> > self._test_mv_with_default_ttl(True)
> materialized_views_test.py:1333:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> materialized_views_test.py:1368: in _test_mv_with_default_ttl
> assert_none(session, "SELECT k,a,b FROM mv2")
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> session = <cassandra.cluster.Session object at 0x7f808dcc1d60>
> query = 'SELECT k,a,b FROM mv2', cl = None
> def assert_none(session, query, cl=None):
> """
> Assert query returns nothing
> @param session Session to use
> @param query Query to run
> @param cl Optional Consistency Level setting. Default ONE
>
> Examples:
> assert_none(self.session1, "SELECT * FROM test where key=2;")
> assert_none(cursor, "SELECT * FROM test WHERE k=2",
> cl=ConsistencyLevel.SERIAL)
> """
> simple_query = SimpleStatement(query, consistency_level=cl)
> res = session.execute(simple_query)
> list_res = _rows_to_list(res)
> > assert list_res == [], "Expected nothing from {}, but got
> > {}".format(query, list_res)
> E AssertionError: Expected nothing from SELECT k,a,b FROM mv2, but got
> [[1, 1, None]]
> tools/assertions.py:149: AssertionError
> {code}
> !breaking_point.png|width=700!
> it was broken between 2364 and 2367 Cassandra trunk runs.
> [https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-trunk/failure/materialized_views_test/TestMaterializedViews/test_mv_with_default_ttl_with_flush]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]