You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Iurii Gerzhedovich (Jira)" <ji...@apache.org> on 2025/03/24 12:45:00 UTC

[jira] [Assigned] (IGNITE-24914) Flaky ItSqlLogicTest.sql(order/test_order_same_value.test)

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

Iurii Gerzhedovich reassigned IGNITE-24914:
-------------------------------------------

    Assignee: Iurii Gerzhedovich

> Flaky ItSqlLogicTest.sql(order/test_order_same_value.test)
> ----------------------------------------------------------
>
>                 Key: IGNITE-24914
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24914
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Iurii Gerzhedovich
>            Assignee: Iurii Gerzhedovich
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Since IGNITE-24244 has been merged the test ItSqlLogicTest.sql(order/test_order_same_value.test) became flaky. Finishing implicit RW transactions probably requires more time than we have by default.
> {code:java}
> org.opentest4j.AssertionFailedError: Not expected result at: (test_order_same_value.test:71). Statement: INSERT INTO integers SELECT * FROM integers  at app//org.apache.ignite.internal.sql.sqllogic.Statement.execute(Statement.java:115)  at app//org.apache.ignite.internal.sql.sqllogic.SqlScriptRunner.run(SqlScriptRunner.java:70)  at java.base@17.0.6/java.util.concurrent.FutureTask.run(FutureTask.java:264)  at java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)  at java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)  at java.base@17.0.6/java.lang.Thread.run(Thread.java:833)Caused by: org.apache.ignite.sql.SqlException: IGN-TX-16 TraceId:c81a1a8a-6084-422b-9712-daabca940d6c Transaction is already finished txId=[0195c7a7-f4b8-0002-84db-a7e000000001, txState=FINISHING].  at java.base@17.0.6/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)  at app//org.apache.ignite.internal.util.ExceptionUtils$1.copy(ExceptionUtils.java:877)  at app//org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:811)  at app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:613)  at app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:746)  at app//org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:591)  at app//org.apache.ignite.internal.util.IgniteUtils.getInterruptibly(IgniteUtils.java:822)  at app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.sync(IgniteSqlImpl.java:675)  at app//org.apache.ignite.internal.sql.api.IgniteSqlImpl.execute(IgniteSqlImpl.java:222)  at app//org.apache.ignite.internal.sql.api.PublicApiThreadingIgniteSql.lambda$execute$1(PublicApiThreadingIgniteSql.java:71)  at app//org.apache.ignite.internal.thread.PublicApiThreading.executeWithRole(PublicApiThreading.java:144)  at app//org.apache.ignite.internal.thread.PublicApiThreading.execUserSyncOperation(PublicApiThreading.java:102)  at app//org.apache.ignite.internal.sql.api.PublicApiThreadingIgniteSql.execute(PublicApiThreadingIgniteSql.java:71)  at app//org.apache.ignite.sql.IgniteSql.execute(IgniteSql.java:57)  at app//org.apache.ignite.internal.sql.sqllogic.ScriptContext.executeQuery(ScriptContext.java:86)  at app//org.apache.ignite.internal.sql.sqllogic.Statement.execute(Statement.java:113)  ... 5 moreCaused by: java.util.concurrent.ExecutionException: org.apache.ignite.sql.SqlException: IGN-TX-16 TraceId:c81a1a8a-6084-422b-9712-daabca940d6c Transaction is already finished txId=[0195c7a7-f4b8-0002-84db-a7e000000001, txState=FINISHING].  at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)  at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)  at org.apache.ignite.internal.util.IgniteUtils.getInterruptibly(IgniteUtils.java:820)  ... 14 moreCaused by: org.apache.ignite.sql.SqlException: IGN-TX-16 TraceId:c81a1a8a-6084-422b-9712-daabca940d6c Transaction is already finished txId=[0195c7a7-f4b8-0002-84db-a7e000000001, txState=FINISHING].  at app//org.apache.ignite.internal.lang.SqlExceptionMapperUtil.mapToPublicSqlException(SqlExceptionMapperUtil.java:73)  at app//org.apache.ignite.internal.sql.engine.SqlQueryProcessor$PrefetchCallback.onPrefetchComplete(SqlQueryProcessor.java:597)  at app//org.apache.ignite.internal.sql.engine.exec.ExecutionServiceImpl$DistributedQueryManager.lambda$executeFragment$6(ExecutionServiceImpl.java:907)  at java.base@17.0.6/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)  at java.base@17.0.6/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)  at java.base@17.0.6/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)  at app//org.apache.ignite.internal.sql.engine.exec.QueryTaskExecutorImpl.lambda$execute$0(QueryTaskExecutorImpl.java:86)  ... 3 moreCaused by: org.apache.ignite.lang.IgniteException: IGN-TX-16 TraceId:c81a1a8a-6084-422b-9712-daabca940d6c Transaction is already finished txId=[0195c7a7-f4b8-0002-84db-a7e000000001, txState=FINISHING].  at app//org.apache.ignite.internal.sql.engine.util.SqlExceptionMapperProvider.lambda$mappers$1(SqlExceptionMapperProvider.java:59)  at app//org.apache.ignite.internal.lang.IgniteExceptionMapper.map(IgniteExceptionMapper.java:61)  at app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.map(IgniteExceptionMapperUtil.java:195)  at app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapToPublicException(IgniteExceptionMapperUtil.java:125)  at app//org.apache.ignite.internal.lang.IgniteExceptionMapperUtil.mapToPublicException(IgniteExceptionMapperUtil.java:88)  at app//org.apache.ignite.internal.lang.SqlExceptionMapperUtil.mapToPublicSqlException(SqlExceptionMapperUtil.java:63)  ... 9 moreCaused by: org.apache.ignite.internal.sql.engine.exec.RemoteFragmentExecutionException: IGN-TX-16 TraceId:c81a1a8a-6084-422b-9712-daabca940d6c Transaction is already finished txId=[0195c7a7-f4b8-0002-84db-a7e000000001, txState=FINISHING].  at app//org.apache.ignite.internal.sql.engine.exec.ExecutionServiceImpl.onMessage(ExecutionServiceImpl.java:571)  at app//org.apache.ignite.internal.sql.engine.exec.ExecutionServiceImpl.lambda$start$4(ExecutionServiceImpl.java:303)  at app//org.apache.ignite.internal.sql.engine.message.MessageServiceImpl.onMessageInternal(MessageServiceImpl.java:166)  at app//org.apache.ignite.internal.sql.engine.message.MessageServiceImpl.lambda$onMessage$2(MessageServiceImpl.java:132) {code}



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