You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Petrov (JIRA)" <ji...@apache.org> on 2017/03/21 14:48:41 UTC

[jira] [Commented] (CASSANDRA-13322) testall failure in org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest.testDataCorruptionDetection-compression

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

Alex Petrov commented on CASSANDRA-13322:
-----------------------------------------

Unfortunately, since this is a randomised test, we may possibly end up with non-corrupted data. We can do retries, but then we'll only decrease probability, it still may happen that we will write data that won't corrupt the sstable every once in a while.

What we should do, however, is making a {{Random}} there based on a seed and print seed in test results, to make it reproducible. 

> testall failure in org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest.testDataCorruptionDetection-compression
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13322
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13322
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Sean McCarthy
>              Labels: test-failure, testall
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.2_testall/658/testReport/org.apache.cassandra.io.compress/CompressedRandomAccessReaderTest/testDataCorruptionDetection_compression
> {code}
> Stacktrace
> junit.framework.AssertionFailedError: 
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest.testDataCorruptionDetection(CompressedRandomAccessReaderTest.java:218)
> {code}{code}
> Standard Output
> WARN  10:58:45 open(null, O_RDONLY) failed, errno (14).
> WARN  10:58:45 open(null, O_RDONLY) failed, errno (14).
> WARN  10:58:45 open(null, O_RDONLY) failed, errno (14).
> WARN  10:58:45 open(null, O_RDONLY) failed, errno (14).
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)