[
https://issues.apache.org/jira/browse/CASSANDRA-8656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567454#comment-14567454
]
Michael Shuler commented on CASSANDRA-8656:
-------------------------------------------
The bug marked duplicate, CASSANDRA-9288, only went to 2.1+ branches.
Latest failure of this test in CI was May 15:
http://cassci.datastax.com/job/cassandra-2.0_testall/24/testReport/org.apache.cassandra.db.compaction/LongLeveledCompactionStrategyTest/testParallelLeveledCompaction/
Test failed on the 2nd try when looping it locally just now, although with a
different error:
{noformat}
$ ../loop_longtest.sh LongLeveledCompactionStrategyTest
==== Run #0 ====
Buildfile: /home/mshuler/git/cassandra/build.xml
init:
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
maven-ant-tasks-init:
maven-declare-dependencies:
maven-ant-tasks-retrieve-build:
init-dependencies:
[echo] Loading dependency paths from file:
/home/mshuler/git/cassandra/build/build-dependencies.xml
check-gen-cli-grammar:
gen-cli-grammar:
check-gen-cql2-grammar:
gen-cql2-grammar:
check-gen-cql3-grammar:
gen-cql3-grammar:
build-project:
[echo] apache-cassandra: /home/mshuler/git/cassandra/build.xml
createVersionPropFile:
[propertyfile] Updating property file:
/home/mshuler/git/cassandra/src/resources/org/apache/cassandra/config/version.properties
[copy] Copying 1 file to /home/mshuler/git/cassandra/build/classes/main
build:
build-test:
long-test:
[echo] running long tests
[junit] WARNING: multiple versions of ant detected in path for junit
[junit]
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and
jar:file:/home/mshuler/git/cassandra/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
[junit] Testsuite:
org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
50.838 sec
[junit]
BUILD SUCCESSFUL
Total time: 53 seconds
==== Run #1 ====
Buildfile: /home/mshuler/git/cassandra/build.xml
init:
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
maven-ant-tasks-init:
maven-declare-dependencies:
maven-ant-tasks-retrieve-build:
init-dependencies:
[echo] Loading dependency paths from file:
/home/mshuler/git/cassandra/build/build-dependencies.xml
check-gen-cli-grammar:
gen-cli-grammar:
check-gen-cql2-grammar:
gen-cql2-grammar:
check-gen-cql3-grammar:
gen-cql3-grammar:
build-project:
[echo] apache-cassandra: /home/mshuler/git/cassandra/build.xml
createVersionPropFile:
[propertyfile] Updating property file:
/home/mshuler/git/cassandra/src/resources/org/apache/cassandra/config/version.properties
[copy] Copying 1 file to /home/mshuler/git/cassandra/build/classes/main
build:
build-test:
long-test:
[echo] running long tests
[junit] WARNING: multiple versions of ant detected in path for junit
[junit]
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] and
jar:file:/home/mshuler/git/cassandra/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
[junit] Testsuite:
org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
74.573 sec
[junit]
[junit] Testcase:
testParallelLeveledCompaction(org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest):
FAILED
[junit] null
[junit] junit.framework.AssertionFailedError
[junit] at
org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest.testParallelLeveledCompaction(LongLeveledCompactionStrategyTest.java:116)
[junit]
[junit]
[junit] Test
org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest FAILED
BUILD FAILED
/home/mshuler/git/cassandra/build.xml:1159: The following error occurred while
executing this line:
/home/mshuler/git/cassandra/build.xml:1055: Some long test(s) failed.
Total time: 1 minute 17 seconds
{noformat}
> long-test LongLeveledCompactionStrategyTest flaps
> -------------------------------------------------
>
> Key: CASSANDRA-8656
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8656
> Project: Cassandra
> Issue Type: Test
> Components: Tests
> Reporter: Michael Shuler
> 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)