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

Iurii Gerzhedovich reopened IGNITE-24339:
-----------------------------------------

> Flaky test DdlCommandHandlerExceptionHandlingTest#testZoneNotFoundOnDrop2
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-24339
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24339
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Iurii Gerzhedovich
>            Priority: Major
>              Labels: ignite-3
>
> The test 
> org.apache.ignite.internal.sql.engine.exec.ddl.DdlCommandHandlerExceptionHandlingTest#testZoneNotFoundOnDrop2
>  is flaky with the following stacktrace:
>  
> {code:java}
> java.lang.AssertionError: java.util.concurrent.ExecutionException: 
> java.lang.IllegalArgumentException: Time is out of bounds: 0   at 
> org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:78)
>  at 
> org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:35)
>  at org.hamcrest.TypeSafeMatcher.matches(TypeSafeMatcher.java:83) at 
> org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:10) at 
> org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) at 
> org.apache.ignite.internal.sql.engine.exec.ddl.DdlCommandHandlerExceptionHandlingTest.testZoneNotFoundOnDrop2(DdlCommandHandlerExceptionHandlingTest.java:111)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566) at 
> java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at 
> java.base/java.util.ArrayList.forEach(ArrayList.java:1541) Caused by: 
> java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: 
> Time is out of bounds: 0 at 
> java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
>  at 
> java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2028)
>  at 
> org.apache.ignite.internal.testframework.matchers.CompletableFutureMatcher.matchesSafely(CompletableFutureMatcher.java:74)
>  ... 8 more Caused by: java.lang.IllegalArgumentException: Time is out of 
> bounds: 0 at 
> org.apache.ignite.internal.hlc.HybridTimestamp.<init>(HybridTimestamp.java:111)
>  at 
> org.apache.ignite.internal.hlc.HybridTimestamp.hybridTimestamp(HybridTimestamp.java:131)
>  at 
> org.apache.ignite.internal.catalog.commands.CatalogUtils.clusterWideEnsuredActivationTimestamp(CatalogUtils.java:537)
>  at 
> org.apache.ignite.internal.catalog.CatalogManagerImpl.calcClusterWideEnsureActivationTime(CatalogManagerImpl.java:376)
>  at 
> org.apache.ignite.internal.catalog.CatalogManagerImpl.awaitVersionActivation(CatalogManagerImpl.java:370)
>  at 
> org.apache.ignite.internal.catalog.CatalogManagerImpl.awaitVersionActivation(CatalogManagerImpl.java:364)
>  at 
> java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1106)
>  at 
> java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2241)
>  at 
> org.apache.ignite.internal.catalog.CatalogManagerImpl.saveUpdateAndWaitForActivation(CatalogManagerImpl.java:314)
>  at 
> org.apache.ignite.internal.catalog.CatalogManagerImpl.execute(CatalogManagerImpl.java:235)
>  at 
> org.apache.ignite.internal.sql.engine.exec.ddl.DdlCommandHandler.handle(DdlCommandHandler.java:76)
>  ... 4 more{code}
> Initial version of Catalog uses {{0L}} as activation time, which is not valid 
> value according to HybridTimestamp's constructor:
>  



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

Reply via email to