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

Vadim Pakhnushev commented on IGNITE-21757:
-------------------------------------------

The root cause is the race between several nodes removing cluster status after 
undeploy. The test waits until the cluster status is removed and immediately 
deploys the same unit, creating new cluster status. Later another node proceeds 
with the node status removal future chain, checks that there are no node 
statuses and removes the cluster status.

> Flaky ItComputeTestStandalone
> -----------------------------
>
>                 Key: IGNITE-21757
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21757
>             Project: Ignite
>          Issue Type: Bug
>          Components: compute
>            Reporter: Vadim Pakhnushev
>            Assignee: Vadim Pakhnushev
>            Priority: Major
>              Labels: ignite-3
>
> The test fails sometimes with this error:
>  
> {code:java}
> [2024-03-14T07:39:53,879][INFO ][Test worker][ItComputeTestStandalone] >>> 
> Starting test: ItComputeTestStandalone#executesColocatedWithTupleKeyAsync, 
> displayName: executesColocatedWithTupleKeyAsync()
> [2024-03-14T07:39:53,880][INFO ][Test worker][DeploymentManagerImpl] 
> Undeploying jobs:1.0.0
> [2024-03-14T07:39:53,880][INFO ][Test worker][DeployMessagingService] Stop in 
> progress deploy for jobs:1.0.0
> [2024-03-14T07:39:54,022][INFO ][Test worker][DeploymentManagerImpl] 
> Deploying jobs:1.0.0 on NodesToDeploy{nodesList=null, deployMode=MAJORITY}
> [2024-03-14T07:39:56,782][INFO ][%icts_n_0%lease-updater][LeaseUpdater] 
> Leases updated (printed once per 10 iteration(s)): 
> [inCurrentIteration=LeaseStats [leasesCreated=0, leasesPublished=0, 
> leasesProlonged=0, leasesWithoutCandidates=0], active=25, 
> currentAssignmentsSize=25].
> [2024-03-14T07:40:02,289][INFO ][%icts_n_0%lease-updater][LeaseUpdater] 
> Leases updated (printed once per 10 iteration(s)): 
> [inCurrentIteration=LeaseStats [leasesCreated=0, leasesPublished=0, 
> leasesProlonged=0, leasesWithoutCandidates=0], active=25, 
> currentAssignmentsSize=25].
> [2024-03-14T07:40:04,121][INFO ][Test worker][ItComputeTestStandalone] >>> 
> Stopping test: ItComputeTestStandalone#executesColocatedWithTupleKeyAsync, 
> displayName: executesColocatedWithTupleKeyAsync(), cost: 10241ms.
> [10:40:04]F:             
> [org.apache.ignite.internal.compute.ItComputeTestStandalone.executesColocatedWithTupleKeyAsync()]
>  org.awaitility.core.ConditionTimeoutException: Lambda expression in 
> org.apache.ignite.internal.compute.ItComputeTestStandalone that uses 
> org.apache.ignite.internal.app.IgniteImpl, 
> org.apache.ignite.internal.app.IgniteImpljava.lang.String, 
> java.lang.Stringorg.apache.ignite.compute.version.Version: expected 
> <DEPLOYED> but was null within 10 seconds.     at 
> app//org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
>     at 
> app//org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
>     at 
> app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
>     at 
> app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
>     at 
> app//org.apache.ignite.internal.compute.ItComputeTestStandalone.deployJar(ItComputeTestStandalone.java:202)
>     at 
> app//org.apache.ignite.internal.compute.ItComputeTestStandalone.setUp(ItComputeTestStandalone.java:67){code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to