[ https://issues.apache.org/jira/browse/CASSANDRA-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Blake Eggleston updated CASSANDRA-17489: ---------------------------------------- Test and Documentation Plan: circle ci Status: Patch Available (was: Open) trunk: https://github.com/bdeggleston/cassandra/tree/CASSANDRA-17489 circle: https://app.circleci.com/pipelines/github/bdeggleston/cassandra?branch=CASSANDRA-17489&filter=all These tests were 'double initializing' parts of the daemon with both the SchemaLoader and EmbeddedDaemon, including the paxos bookeeping, so then the system directory tests ran, which relocate the system data directory, the paxos directory was being moved after the path had already been set in memory. This was fixed by not inheriting the test classes from SchemaLoader, and doing any initial set after {{cassandra.start()}} > Test Failures: org.apache.cassandra.metrics and a few others failing > (utests_system_keyspace_directory on circleci) > ------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-17489 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17489 > Project: Cassandra > Issue Type: Bug > Components: CI > Reporter: Ekaterina Dimitrova > Assignee: Blake Eggleston > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org