ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-7789) Ignite Client Nodes: failed test IgniteClientReconnectApiExceptionTest.testErrorOnDisconnect()
Date Wed, 28 Feb 2018 14:30:00 GMT

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

ASF GitHub Bot commented on IGNITE-7789:
----------------------------------------

GitHub user Mmuzaf opened a pull request:

    https://github.com/apache/ignite/pull/3588

    IGNITE-7789: fix IgniteClientReconnectApiExceptionTest, success rate 47.9%

    Add backups value for CollectionConfiguration

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Mmuzaf/ignite ignite-7789

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3588.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3588
    
----
commit 5fc300913d3f56a44faf1996c71285261cf1759a
Author: Maxim Muzafarov <maxmuzaf@...>
Date:   2018-02-28T14:22:09Z

    IGNITE-7789: set backups value for CollectionConfiguration

commit c047db72c929c9834a12584618149f87e1b0370a
Author: Maxim Muzafarov <maxmuzaf@...>
Date:   2018-02-28T14:28:07Z

    IGNITE-7789: use DFLT_BACKUPS constant for CollectionConfiguration

----


> Ignite Client Nodes: failed test IgniteClientReconnectApiExceptionTest.testErrorOnDisconnect()
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-7789
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7789
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergey Chugunov
>            Assignee: Maxim Muzafarov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.5
>
>
> Test is flaky, success rate: 47.9%, test history is [here|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=-3790177050933093125&tab=testDetails].
> May fail in two different ways.
> *1 Assertion error in test code*
> Rarely reproducible locally.
> {noformat}
> Caused by: class org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException:
Failed to update keys (retry update if possible).: [10000]
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.onPrimaryError(GridNearAtomicAbstractUpdateFuture.java:397)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.onPrimaryResponse(GridNearAtomicSingleUpdateFuture.java:253)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateResponse(GridDhtAtomicCache.java:3073)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$500(GridDhtAtomicCache.java:130)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:285)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$6.apply(GridDhtAtomicCache.java:280)
>     at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:1060)
>     at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:579)
>     at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:378)
>     at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:304)
>     at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:99)
>     at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:293)
>     at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1554)
>     at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1182)
>     at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
>     at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1089)
>     at org.apache.ignite.internal.util.StripedExecutor$Stripe.run(StripedExecutor.java:499)
>     at java.lang.Thread.run(Thread.java:745)
>     Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to update keys
on primary node.
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.UpdateErrors.addFailedKeys(UpdateErrors.java:124)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse.addFailedKeys(GridNearAtomicUpdateResponse.java:342)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1785)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1628)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.processNearAtomicUpdateRequest(GridDhtAtomicCache.java:3055)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.access$400(GridDhtAtomicCache.java:130)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:266)
>         at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$5.apply(GridDhtAtomicCache.java:261)
>         ... 12 more
>         Suppressed: java.lang.AssertionError: Assertion error on search row: org.apache.ignite.internal.processors.cache.tree.SearchRow@511c0beb
>             at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invoke(BPlusTree.java:1633)
>             at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke(IgniteCacheOffheapManagerImpl.java:1199)
>             at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.java:345)
>             at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:1767)
>             at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2420)
>             at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.update(GridDhtAtomicCache.java:1883)
>             at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1736)
>             ... 17 more
>         Caused by: junit.framework.AssertionFailedError
>             at junit.framework.Assert.fail(Assert.java:55)
>             at junit.framework.Assert.assertTrue(Assert.java:22)
>             at junit.framework.Assert.assertTrue(Assert.java:31)
>             at junit.framework.TestCase.assertTrue(TestCase.java:201)
>             at org.apache.ignite.internal.IgniteClientReconnectApiExceptionTest$13$2.process(IgniteClientReconnectApiExceptionTest.java:344)
>             at org.apache.ignite.internal.processors.cache.EntryProcessorResourceInjectorProxy.process(EntryProcessorResourceInjectorProxy.java:68)
>             at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.runEntryProcessor(GridCacheMapEntry.java:5142)
>             at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:4550)
>             at org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:4367)
>             at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.invokeClosure(BPlusTree.java:3051)
>             at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Invoke.access$6200(BPlusTree.java:2945)
>             at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invokeDown(BPlusTree.java:1711)
>             at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invoke(BPlusTree.java:1600)
> {noformat}
> *2 IgniteCheckedException from CacheProcessor on dynamic cache start*
> Easily reproducible locally.
> {noformat}
> class org.apache.ignite.IgniteCheckedException: Backups mismatch for caches related to
the same group [groupName=default-ds-group, existingCache=ignite-sys-atomic-cache@default-ds-group,
existingBackups=1, startingCache=datastructures_ATOMIC_PARTITIONED_0@default-ds-group, startingBackups=0]
>     at org.apache.ignite.internal.processors.cache.GridCacheUtils.validateCacheGroupsAttributesMismatch(GridCacheUtils.java:998)
>     at org.apache.ignite.internal.processors.cache.ClusterCachesInfo.validateCacheGroupConfiguration(ClusterCachesInfo.java:1615)
>     at org.apache.ignite.internal.processors.cache.ClusterCachesInfo.validateStartCacheConfiguration(ClusterCachesInfo.java:1569)
>     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.initiateCacheChanges(GridCacheProcessor.java:3160)
>     at org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCache(GridCacheProcessor.java:2773)
>     at org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor.compatibleCache(DataStructuresProcessor.java:905)
>     at org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor.getCollection(DataStructuresProcessor.java:1031)
>     at org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor.set(DataStructuresProcessor.java:1471)
>     at org.apache.ignite.internal.IgniteKernal.set(IgniteKernal.java:3733)
>     at org.apache.ignite.internal.IgniteClientReconnectApiExceptionTest$3.call(IgniteClientReconnectApiExceptionTest.java:152)
>     at org.apache.ignite.testframework.GridTestUtils$7.run(GridTestUtils.java:979)
>     at org.apache.ignite.testframework.GridTestUtils$9.call(GridTestUtils.java:1275)
>     at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message