[infinispan-dev] Alert from a failing test

Sanne Grinovero sanne at infinispan.org
Mon Jun 20 16:42:52 EDT 2011


2011/6/20 Manik Surtani <manik at jboss.org>:
> Oddly enough, I don't see any other tests exhibiting this behaviour.  Let me know if you see it in more recent CI runs, and we'll investigate in detail.

In fact there are not many tests in core which verify a full stream is
received; but as in another thread I mentioned I was seeing the
following exception relatively often (it never caught my attention
some months ago)

Caused by: java.io.EOFException: The stream ended unexpectedly.
Please check whether the source of the stream encountered any issues
generating the stream.
	at org.infinispan.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:193)
	at org.infinispan.statetransfer.StateTransferManagerImpl.processCommitLog(StateTransferManagerImpl.java:218)
	at org.infinispan.statetransfer.StateTransferManagerImpl.applyTransactionLog(StateTransferManagerImpl.java:245)
	at org.infinispan.statetransfer.StateTransferManagerImpl.applyState(StateTransferManagerImpl.java:284)
	... 27 more
Caused by: java.io.EOFException: Read past end of file
	at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126)
	at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:263)
	at org.jboss.marshalling.SimpleDataInput.readUnsignedByte(SimpleDataInput.java:224)
	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
	at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
	at org.infinispan.marshall.jboss.GenericJBossMarshaller.objectFromObjectStream(GenericJBossMarshaller.java:191)
	at org.infinispan.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:191)
	... 30 more

This looks like a suspicious correlation to me, as I think the
reported errors are similar in nature.

Cheers,
Sanne



>
> On 18 Jun 2011, at 20:18, Sanne Grinovero wrote:
>
>> Hello all,
>> I'm not in state to fully debug the issue this week, but even though
>> this failure happens in the Lucene Directory it looks like it's
>> reporting an issue with Infinispan core:
>>
>> https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/90/org.infinispan$infinispan-lucene-directory/testReport/junit/org.infinispan.lucene/SimpleLuceneTest/org_infinispan_lucene_SimpleLuceneTest_testIndexWritingAndFinding/
>>
>> In this test we're writing to the index, and then asserting on the
>> expected state on both nodes, but while it is successful on the same
>> node as the writer, it fails with
>> "java.io.IOException: Read past EOF" on the second node.
>>
>> This exception can mean only one thing: the value, which is a
>> buffer[], was not completely transferred to the second node, which
>> seems quite critical as the caches are using sync.
>> I can't reproduce the error locally, but it's not the first time it is
>> reported by CI: builds 60, 62, 65 for example (and more) show the same
>> testcase fail in the same manner.
>>
>> Cheers,
>> Sanne
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
>
> Lead, Infinispan
> http://www.infinispan.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



More information about the infinispan-dev mailing list