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 0C1AF1746E for ; Wed, 29 Oct 2014 11:12:35 +0000 (UTC) Received: (qmail 22059 invoked by uid 500); 29 Oct 2014 11:12:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21917 invoked by uid 500); 29 Oct 2014 11:12:34 -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 21735 invoked by uid 99); 29 Oct 2014 11:12:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 11:12:34 +0000 Date: Wed, 29 Oct 2014 11:12:34 +0000 (UTC) From: "Sam Tunnicliffe (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8176) Intermittent NPE from RecoveryManagerTest RecoverPIT unit test 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-8176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Tunnicliffe updated CASSANDRA-8176: --------------------------------------- Attachment: 8176.txt With the attached patch I haven't seen a failure in 100+ loops over the tests, whereas I was getting a failure every 20-40 runs without > Intermittent NPE from RecoveryManagerTest RecoverPIT unit test > -------------------------------------------------------------- > > Key: CASSANDRA-8176 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8176 > Project: Cassandra > Issue Type: Bug > Components: Tests > Reporter: Michael Shuler > Assignee: Sam Tunnicliffe > Fix For: 2.1.2 > > Attachments: 8176.txt, RecoveryManagerTest_failure_system.log.gz > > > {noformat} > [junit] Testsuite: org.apache.cassandra.db.RecoveryManagerTest > [junit] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.654 sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] WARN 16:40:38 No host ID found, created 2cbd54a8-79a5-40e0-a8e6-c8bf2c575877 (Note: This should happen exactly once per node). > [junit] WARN 16:40:38 No host ID found, created 2cbd54a8-79a5-40e0-a8e6-c8bf2c575877 (Note: This should happen exactly once per node). > [junit] WARN 16:40:38 Encountered bad header at position 16 of commit log /home/mshuler/git/cassandra/build/test/cassandra/commitlog:0/CommitLog-4-1414082433807.log, with invalid CRC. The end of segment marker should be zero. > [junit] WARN 16:40:38 Encountered bad header at position 16 of commit log /home/mshuler/git/cassandra/build/test/cassandra/commitlog:0/CommitLog-4-1414082433807.log, with invalid CRC. The end of segment marker should be zero. > [junit] ------------- ---------------- --------------- > [junit] Testcase: testRecoverPIT(org.apache.cassandra.db.RecoveryManagerTest): Caused an ERROR > [junit] null > [junit] java.lang.NullPointerException > [junit] at org.apache.cassandra.db.RecoveryManagerTest.testRecoverPIT(RecoveryManagerTest.java:129) > [junit] > [junit] > [junit] Test org.apache.cassandra.db.RecoveryManagerTest FAILED > {noformat} > Test fails roughly 20-25% of CI runs. Several 10x and 25x bisections for 2.1 {{git bisect start cassandra-2.1 f03e505}} resulted in {noformat}first bad commit: [1394b128c65ef1ad59f765e9c9c5058cac04ca69]{noformat} which is CASSANDRA-6904. > That patch went to 2.0 and I still need to dig there to see if we're getting the same error, but I've attached the unit test failure system.log from 2.1. -- This message was sent by Atlassian JIRA (v6.3.4#6332)