Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B20E318F8E for ; Tue, 2 Jun 2015 07:27:23 +0000 (UTC) Received: (qmail 35874 invoked by uid 500); 2 Jun 2015 07:27:23 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 35837 invoked by uid 500); 2 Jun 2015 07:27:23 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 35826 invoked by uid 99); 2 Jun 2015 07:27:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 07:27:23 +0000 Date: Tue, 2 Jun 2015 07:27:23 +0000 (UTC) From: "Stefania (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CASSANDRA-8656) long-test LongLeveledCompactionStrategyTest flaps in 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefania reassigned CASSANDRA-8656: ----------------------------------- Assignee: Stefania > long-test LongLeveledCompactionStrategyTest flaps in 2.0 > -------------------------------------------------------- > > Key: CASSANDRA-8656 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8656 > Project: Cassandra > Issue Type: Test > Components: Tests > Reporter: Michael Shuler > Assignee: Stefania > Priority: Minor > Labels: test-failure > Fix For: 2.0.x > > Attachments: system.log > > > LongLeveledCompactionStrategyTest periodically fails with: > {noformat} > [junit] Testsuite: org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest > [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 54.412 sec > [junit] > [junit] Testcase: testParallelLeveledCompaction(org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest): Caused an ERROR > [junit] java.util.concurrent.ExecutionException: java.lang.RuntimeException: Last written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db > [junit] java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Last written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db > [junit] at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:413) > [junit] at org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:402) > [junit] at org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest.testParallelLeveledCompaction(LongLeveledCompactionStrategyTest.java:97) > [junit] Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Last written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db > [junit] at java.util.concurrent.FutureTask.report(FutureTask.java:122) > [junit] at java.util.concurrent.FutureTask.get(FutureTask.java:188) > [junit] at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:409) > [junit] Caused by: java.lang.RuntimeException: Last written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db > [junit] at org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:143) > [junit] at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:166) > [junit] at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:167) > [junit] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > [junit] at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:60) > [junit] at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59) > [junit] at org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest$1.run(LongLeveledCompactionStrategyTest.java:87) > [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:262) > [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > [junit] at java.lang.Thread.run(Thread.java:745) > [junit] > [junit] > [junit] Test org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest FAILED > {noformat} > I would guess the failure is 10-20% of the time, looping over the test repeatedly. > ---- > On the 2.1 branch, the failure is different, so perhaps this could also be updated. > {noformat} > [junit] Testsuite: org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest > [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.04 sec > [junit] > [junit] Testcase: testParallelLeveledCompaction(org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest): Caused an ERROR > [junit] org.apache.cassandra.db.compaction.WrappingCompactionStrategy cannot be cast to org.apache.cassandra.db.compaction.LeveledCompactionStrategy > [junit] java.lang.ClassCastException: org.apache.cassandra.db.compaction.WrappingCompactionStrategy cannot be cast to org.apache.cassandra.db.compaction.LeveledCompactionStrategy > [junit] at org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest.testParallelLeveledCompaction(LongLeveledCompactionStrategyTest.java:45) > [junit] > [junit] > [junit] Test org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest FAILED > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)