cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hust (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10452) Fix flapping resummable_bootstrap_test
Date Mon, 12 Oct 2015 15:30:05 GMT

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

Andrew Hust commented on CASSANDRA-10452:
-----------------------------------------

{{bootstrap_test.py:TestBootstrap.resumable_bootstrap_test}} and {{bootstrap_test.py:TestBootstrap.bootstrap_with_reset_bootstrap_state_test}}
will consistently fail if jvm assertions are disabled.  

{{resumable_bootstrap_test}} will fail with this exception:
{code}
ERROR [main] 2015-10-12 09:21:58,088 CassandraDaemon.java:689 - Exception encountered during
startup
java.lang.IllegalStateException: No match found
	at java.util.regex.Matcher.group(Matcher.java:536) ~[na:1.8.0_60]
	at org.apache.cassandra.db.lifecycle.LogFile.make(LogFile.java:52) ~[main/:na]
	at org.apache.cassandra.db.lifecycle.LogTransaction.removeUnfinishedLeftovers(LogTransaction.java:399)
~[main/:na]
	at org.apache.cassandra.db.lifecycle.LifecycleTransaction.removeUnfinishedLeftovers(LifecycleTransaction.java:552)
~[main/:na]
	at org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:571)
~[main/:na]
	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:239) [main/:na]
	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:548) [main/:na]
	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:676) [main/:na]
{code}

{{bootstrap_with_reset_bootstrap_state_test}} will fail with this exception:
{code}
ERROR [STREAM-IN-/127.0.0.1] 2015-10-12 09:26:04,777 StreamSession.java:520 - [Stream #8d0ebd40-70f5-11e5-92fe-517de766f243]
Streaming error occurred
java.io.EOFException: null
	at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340) ~[na:1.8.0_60]
	at org.apache.cassandra.utils.BytesReadTracker.readUnsignedShort(BytesReadTracker.java:142)
~[main/:na]
	at org.apache.cassandra.utils.ByteBufferUtil.readShortLength(ByteBufferUtil.java:366) ~[main/:na]
	at org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:376)
~[main/:na]
	at org.apache.cassandra.streaming.StreamReader$StreamDeserializer.newPartition(StreamReader.java:198)
~[main/:na]
	at org.apache.cassandra.streaming.StreamReader.writePartition(StreamReader.java:168) ~[main/:na]
	at org.apache.cassandra.streaming.StreamReader.read(StreamReader.java:109) ~[main/:na]
	at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:50)
~[main/:na]
	at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:39)
~[main/:na]
	at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:59)
~[main/:na]
	at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:261)
~[main/:na]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
{code}

Ran against:
apache/cassandra-3.0: {{345be2057383895f8d4c6b07a89357a0e87441be}}

Ran with command:
{{KEEP_LOGS=true JVM_EXTRA_OPTS=-da PRINT_DEBUG=true nosetests -xsv bootstrap_test.py:TestBootstrap.bootstrap_with_reset_bootstrap_state_test}}

> Fix flapping resummable_bootstrap_test
> --------------------------------------
>
>                 Key: CASSANDRA-10452
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10452
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Jim Witschey
>            Assignee: Yuki Morishita
>             Fix For: 3.0.0 rc2
>
>
> {{bootstrap_test.py:TestBootstrap.resumable_bootstrap_test}} has been flapping on CassCI
lately:
> http://cassci.datastax.com/view/trunk/job/cassandra-3.0_dtest/lastCompletedBuild/testReport/bootstrap_test/TestBootstrap/resumable_bootstrap_test/history/
> I have not been able to reproduce on OpenStack. I'm assigning [~yukim] for now, but feel
free to reassign.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message