Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17489

Test Failures: org.apache.cassandra.metrics and a few others failing (utests_system_keyspace_directory on circleci)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 4.1-beta1
    • CI
    • None

    Description

      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:

      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)

      The tests started failing every time after CEP 14 was committed.

      For reference:

      I think the only unrelated is 

      testTokenGenerator_single_rack_or_single_rf

      Attachments

        Activity

          People

            bdeggleston Blake Eggleston
            e.dimitrova Ekaterina Dimitrova
            Blake Eggleston
            Benjamin Lerer, Berenguer Blasi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: