You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2014/02/08 05:14:19 UTC
[jira] [Commented] (CASSANDRA-6679) CleanupTest occasional failure
in 1.2
[ https://issues.apache.org/jira/browse/CASSANDRA-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895424#comment-13895424 ]
Brandon Williams commented on CASSANDRA-6679:
---------------------------------------------
When this fails this way it's because cfs.getSSTables() returned an empty list. But it can fail another way, too:
{noformat}
[junit] Testcase: testCleanup(org.apache.cassandra.db.CleanupTest): FAILED
[junit] expected:<200> but was:<145>
[junit] junit.framework.AssertionFailedError: expected:<200> but was:<145>
[junit] at org.apache.cassandra.db.CleanupTest.testCleanup(CleanupTest.java:95)
{noformat}
Line number is off by a few there because of extra debug logging I added.
> CleanupTest occasional failure in 1.2
> -------------------------------------
>
> Key: CASSANDRA-6679
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6679
> Project: Cassandra
> Issue Type: Test
> Components: Tests
> Environment: Debian Stable (Wheezy) amd64
> Oracle JVM 1.7.0_51-b13
> Reporter: Michael Shuler
> Assignee: Marcus Eriksson
> Priority: Minor
> Attachments: system.log
>
>
> {noformat}
> test:
> [echo] running unit 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.CleanupTest
> [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 6.508 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] WARN 15:27:11,566 No host ID found, created e8a8a37c-56c5-49d5-8260-7a3dfc2174a7 (Note: This should happen exactly once per node).
> [junit] WARN 15:27:11,655 Generated random token [0850c6b26994617235bec220dd17a6d6]. Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
> [junit] ------------- ---------------- ---------------
> [junit] Testcase: testCleanup(org.apache.cassandra.db.CleanupTest): FAILED
> [junit] null
> [junit] junit.framework.AssertionFailedError
> [junit] at org.apache.cassandra.db.CleanupTest.testCleanup(CleanupTest.java:87)
> [junit]
> [junit]
> [junit] Test org.apache.cassandra.db.CleanupTest FAILED
> BUILD FAILED
> {noformat}
> - loop through CleanupTest unit test (https://issues.apache.org/jira/secure/attachment/12627493/test.sh)
> - system.log from failed test attached
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)