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 214B010C04 for ; Mon, 10 Feb 2014 12:30:28 +0000 (UTC) Received: (qmail 34673 invoked by uid 500); 10 Feb 2014 12:30:27 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33719 invoked by uid 500); 10 Feb 2014 12:30:21 -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 33710 invoked by uid 99); 10 Feb 2014 12:30:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Feb 2014 12:30:19 +0000 Date: Mon, 10 Feb 2014 12:30:19 +0000 (UTC) From: "Marcus Eriksson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-6679) CleanupTest occasional failure in 1.2 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-6679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Eriksson updated CASSANDRA-6679: --------------------------------------- Attachment: 0001-Fix-CleanupTest.patch With Java7, testCleanupWithIndexes() is run before testCleanup(), putting tokens in TokenMetadata making the local range [01,02), testCleanup then adds a random token, making the local range [01, ), and sometimes the new local range does not cover the data inserted. Fix attached to clear TMD before running the test. > 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: 0001-Fix-CleanupTest.patch, 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)