You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2020/05/19 09:41:00 UTC

[jira] [Updated] (IGNITE-13032) Fix flacky OptimizedMarshallerPooledSelfTest.

     [ https://issues.apache.org/jira/browse/IGNITE-13032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Mashenkov updated IGNITE-13032:
--------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> Fix flacky OptimizedMarshallerPooledSelfTest.
> ---------------------------------------------
>
>                 Key: IGNITE-13032
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13032
>             Project: Ignite
>          Issue Type: Task
>          Components: binary
>    Affects Versions: 2.7
>            Reporter: Andrey Mashenkov
>            Assignee: Andrey Mashenkov
>            Priority: Major
>             Fix For: 2.9
>
>
> There are two flaky tests in the test case: {{OptimizedMarshallerPooledSelfTest#testEvents}} and {{OptimizedMarshallerPooledSelfTest#testServices}}. The tests timeout, the reason is the following assertion:
> {noformat}
> [00:39:14]W:		 [org.gridgain:ignite-core] java.lang.AssertionError
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.marshaller.optimized.OptimizedObjectStreamRegistry.closeOut(OptimizedObjectStreamRegistry.java:120)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.marshal0(OptimizedMarshaller.java:209)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:56)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10658)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10722)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsFullMessage.partitionSizes(GridDhtPartitionsFullMessage.java:360)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.createPartitionsFullMessage(GridCachePartitionExchangeManager.java:1543)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.createPartitionsFullMessage(GridCachePartitionExchangeManager.java:1442)
> [00:39:14]W:		 [org.gridgain:ignite-core] 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.createPartitionsMessage(GridDhtPartitionsExchangeFuture.java:2116){noformat}
> Looks like the assertion fails because we attempt to return a stream to the pool which does not belong to it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)