You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2014/05/05 22:43:18 UTC

[jira] [Commented] (CASSANDRA-7084) o.a.c.db.RecoveryManagerTest.testNothingToRecover Unit Test Flaps in 2.0

    [ https://issues.apache.org/jira/browse/CASSANDRA-7084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989945#comment-13989945 ] 

Michael Shuler commented on CASSANDRA-7084:
-------------------------------------------

{{git bisect start cassandra-2.0 cassandra-1.2}} with the condition that the unit test passes 10x to be called good, got me to:
{noformat}
55b5605b7afcb7ae9bcb9b61959b91502f769db4 is the first bad commit
commit 55b5605b7afcb7ae9bcb9b61959b91502f769db4
Author: Marcus Eriksson <ma...@apache.org>
Date:   Tue Feb 11 09:18:09 2014 +0100

    Stop CommitLogSegment.close() from unnecessarily calling sync() prior to cleaning the buffer.
    
    Patch by belliotsmith, reviewed by marcuse for CASSANDRA-6652

:100644 100644 b98dec74fe9a7b0c2fb53910e68f9f359001d427 93552ef07a377d0627e0511b1f4a62950c394cc6 M      CHANGES.txt
:040000 040000 deec146f50c5eaf886c87c612564774cb8375c8a 31e2e75ef8b26815acd0823173a378e8f41b6f6c M      src
{noformat}

> o.a.c.db.RecoveryManagerTest.testNothingToRecover Unit Test Flaps in 2.0
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7084
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7084
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Michael Shuler
>            Assignee: Michael Shuler
>            Priority: Minor
>             Fix For: 2.0.8
>
>
> Example:
>   http://cassci.datastax.com/job/cassandra-2.0_utest/326/
> (this test appears to pass consistently in 1.2 and 2.1 with a quick glance - will test out the other branches more thoroughly and bisect)
> {noformat}
> REGRESSION:  org.apache.cassandra.db.RecoveryManagerTest.testNothingToRecover
> Error Message:
> java.io.FileNotFoundException: /var/lib/jenkins/jobs/cassandra-2.0_test/workspace/build/test/cassandra/commitlog/CommitLog-3-1398354429966.log (No such file or directory)
> Stack Trace:
> java.lang.RuntimeException: java.io.FileNotFoundException: /var/lib/jenkins/jobs/cassandra-2.0_test/workspace/build/test/cassandra/commitlog/CommitLog-3-1398354429966.log (No such file or directory)
> 	at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:102)
> 	at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:90)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:186)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:95)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:151)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:131)
> 	at org.apache.cassandra.db.RecoveryManagerTest.testNothingToRecover(RecoveryManagerTest.java:42)
> Caused by: java.io.FileNotFoundException: /var/lib/jenkins/jobs/cassandra-2.0_test/workspace/build/test/cassandra/commitlog/CommitLog-3-1398354429966.log (No such file or directory)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
> 	at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:58)
> 	at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:98)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)