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

Unit test failures, trunk + Windows

    XMLWordPrintableJSON

Details

    Description

      Variety of different test failures have cropped up over the past 2-3 weeks:

      org.apache.cassandra.cql3.UFTest FAILED (timeout) // No longer failing / timing out
      testLoadNewSSTablesAvoidsOverwrites(org.apache.cassandra.db.ColumnFamilyStoreTest): FAILED
         12 SSTables unexpectedly exist
         junit.framework.AssertionFailedError: 12 SSTables unexpectedly exist
         at org.apache.cassandra.db.ColumnFamilyStoreTest.testLoadNewSSTablesAvoidsOverwrites(ColumnFamilyStoreTest.java:1896)
      
      org.apache.cassandra.db.KeyCacheTest FAILED
         expected:<4> but was:<2>
         junit.framework.AssertionFailedError: expected:<4> but was:<2>
         at org.apache.cassandra.db.KeyCacheTest.assertKeyCacheSize(KeyCacheTest.java:221)
         at org.apache.cassandra.db.KeyCacheTest.testKeyCache(KeyCacheTest.java:181)
      
      RecoveryManagerTest:
         org.apache.cassandra.db.RecoveryManagerTest FAILED
         org.apache.cassandra.db.RecoveryManager2Test FAILED
         org.apache.cassandra.db.RecoveryManager3Test FAILED
         org.apache.cassandra.db.RecoveryManagerTruncateTest FAILED
         All are the following:
            java.nio.file.AccessDeniedException: build\test\cassandra\commitlog;0\CommitLog-5-1427995105229.log
            FSWriteError in build\test\cassandra\commitlog;0\CommitLog-5-1427995105229.log
               at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:128)
               at org.apache.cassandra.db.commitlog.CommitLogSegmentManager.recycleSegment(CommitLogSegmentManager.java:360)
               at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:156)
               at org.apache.cassandra.db.RecoveryManagerTest.testNothingToRecover(RecoveryManagerTest.java:75)
            Caused by: java.nio.file.AccessDeniedException: build\test\cassandra\commitlog;0\CommitLog-5-1427995105229.log
               at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
               at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
               at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
               at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
               at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
               at java.nio.file.Files.delete(Files.java:1079)
               at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:124)
      
      testScrubCorruptedCounterRow(org.apache.cassandra.db.ScrubTest): FAILED
      Expecting new size of 1, got 2 while replacing [BigTableReader(path='C:\src\refCassandra\build\test\cassandra\data;0\Keyspace1\Counter1-deab62b2d95c11e489c6e117fe147c1d\la-1-big-Data.db')] by [BigTableReader(path='C:\src\refCassandra\build\test\cassandra\data;0\Keyspace1\Counter1-deab62b2d95c11e489c6e117fe147c1d\la-1-big-Data.db')] in View(pending_count=0, sstables=[BigTableReader(path='C:\src\refCassandra\build\test\cassandra\data;0\Keyspace1\Counter1-deab62b2d95c11e489c6e117fe147c1d\la-3-big-Data.db')], compacting=[])
      junit.framework.AssertionFailedError: Expecting new size of 1, got 2 while replacing [BigTableReader(path='C:\src\refCassandra\build\test\cassandra\data;0\Keyspace1\Counter1-deab62b2d95c11e489c6e117fe147c1d\la-1-big-Data.db')] by [BigTableReader(path='C:\src\refCassandra\build\test\cassandra\data;0\Keyspace1\Counter1-deab62b2d95c11e489c6e117fe147c1d\la-1-big-Data.db')] in View(pending_count=0, sstables=[BigTableReader(path='C:\src\refCassandra\build\test\cassandra\data;0\Keyspace1\Counter1-deab62b2d95c11e489c6e117fe147c1d\la-3-big-Data.db')], compacting=[])
         at org.apache.cassandra.db.DataTracker$View.replace(DataTracker.java:767)
         at org.apache.cassandra.db.DataTracker.replaceReaders(DataTracker.java:408)
         at org.apache.cassandra.db.DataTracker.replaceWithNewInstances(DataTracker.java:312)
         at org.apache.cassandra.io.sstable.SSTableRewriter.moveStarts(SSTableRewriter.java:341)
         at org.apache.cassandra.io.sstable.SSTableRewriter.abort(SSTableRewriter.java:202)
         at org.apache.cassandra.db.compaction.Scrubber.scrub(Scrubber.java:277)
         at org.apache.cassandra.db.ScrubTest.testScrubCorruptedCounterRow(ScrubTest.java:152)
      

      Attachments

        1. 9104_CFSTest.txt
          2 kB
          Joshua McKenzie
        2. 9104_KeyCache_ScrubTest_v2.txt
          6 kB
          Joshua McKenzie
        3. 9104_KeyCache.txt
          3 kB
          Joshua McKenzie
        4. 9104_RecoveryManager_v2.txt
          3 kB
          Joshua McKenzie
        5. 9104_RecoveryManager.txt
          2 kB
          Joshua McKenzie
        6. 9104_ScrubTest.txt
          0.7 kB
          Joshua McKenzie

        Activity

          People

            JoshuaMcKenzie Joshua McKenzie
            JoshuaMcKenzie Joshua McKenzie
            Joshua McKenzie
            Branimir Lambov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: