cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8176) Intermittent NPE from RecoveryManagerTest RecoverPIT unit test
Date Wed, 29 Oct 2014 11:12:34 GMT

     [ 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)

Mime
View raw message