[
https://issues.apache.org/jira/browse/CASSANDRA-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539427#comment-17539427
]
Berenguer Blasi commented on CASSANDRA-17489:
---------------------------------------------
Some findings to repro I hope will save some time to whoever takes this one:
It doesn't repro with the std {{test}} targets but with {{ant
testclasslist-system-keyspace-directory -Dtest.classlistfile=tests.txt}} only.
I've trimmed it down so these are the minimal contents of the tests.txt file:
{noformat}
org/apache/cassandra/transport/CQLUserAuditTest.java
{noformat}
That reliably repros the problem. I've pinned it down to the the following
concat {{<fileset file="${test.conf}/system_keyspaces_directory.yaml"/>}} in
the {{testlist-system-keyspace-directory}} definition. Toggling that on/off
fails/passes the test.
Finger in the air, this smells like some init problem within the paxos code. I
hope that should be easy to pin down by sbdy familiar with the codebase and
also sounds as a common cause to those failures. #my2cts #collaborating
> Test Failures: org.apache.cassandra.metrics and a few others failing for the
> same reasons
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17489
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17489
> Project: Cassandra
> Issue Type: Bug
> Components: CI
> Reporter: Ekaterina Dimitrova
> Priority: Urgent
> Fix For: 4.1-beta
>
>
> There are 10 tests failing in CircleCI - utests_system_keyspace_directory
> This test target is not presented in Jenkins.
>
> The tests fail for the same reason:
> {code:java}
> java.lang.RuntimeException: java.nio.file.NoSuchFileException:
> build/test/cassandra/data/system/_paxos_repair_state/ballot.meta.tmp at
> org.apache.cassandra.io.util.SequentialWriter.openChannel(SequentialWriter.java:128)
> at
> org.apache.cassandra.io.util.SequentialWriter.<init>(SequentialWriter.java:161)
> at
> org.apache.cassandra.io.util.SequentialWriter.<init>(SequentialWriter.java:150)
> at
> org.apache.cassandra.service.paxos.uncommitted.PaxosBallotTracker.flush(PaxosBallotTracker.java:130)
> at
> org.apache.cassandra.service.paxos.uncommitted.PaxosStateTracker.maybeRebuild(PaxosStateTracker.java:309)
> at
> org.apache.cassandra.service.paxos.PaxosState.maybeRebuildUncommittedState(PaxosState.java:122)
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:368)
> at
> org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:655)
> at
> org.apache.cassandra.service.EmbeddedCassandraService.start(EmbeddedCassandraService.java:50)
> at org.apache.cassandra.metrics.CQLMetricsTest.setup(CQLMetricsTest.java:53)
> Caused by: java.nio.file.NoSuchFileException:
> build/test/cassandra/data/system/_paxos_repair_state/ballot.meta.tmp at
> sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at
> sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at
> sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at
> sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
> at java.nio.channels.FileChannel.open(FileChannel.java:287) at
> java.nio.channels.FileChannel.open(FileChannel.java:335) at
> org.apache.cassandra.io.util.SequentialWriter.openChannel(SequentialWriter.java:113){code}
> The tests started failing every time after CEP 14 was committed.
> For reference:
> * build before -
> https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1484/workflows/88cac38a-ee0c-46e2-a6a7-5c364ff04f3e/jobs/9680
> * build after -
> [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/1485/workflows/c3f56ec1-2ef0-4e61-b689-c7764934827d/jobs/9682]
> I think the only unrelated is
> {code:java}
> testTokenGenerator_single_rack_or_single_rf{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]