You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2026/05/21 10:50:00 UTC
[jira] [Created] (IGNITE-28709) Flaky CancelTest.testNotOriginatorNodeStop
Aleksey Plekhanov created IGNITE-28709:
------------------------------------------
Summary: Flaky CancelTest.testNotOriginatorNodeStop
Key: IGNITE-28709
URL: https://issues.apache.org/jira/browse/IGNITE-28709
Project: Ignite
Issue Type: Bug
Reporter: Aleksey Plekhanov
Assignee: Aleksey Plekhanov
Test fails sometimes with an exception:
{noformat}
[2026-05-13T05:46:59,517][ERROR][test-runner-#3844%calcite.CancelTest%][] Unexpected exception
class org.apache.ignite.internal.processors.query.IgniteSQLException: An error occurred while query executing - The query was cancelled while executing.
at org.apache.ignite.internal.processors.query.calcite.exec.rel.RootNode.checkException(RootNode.java:325)
at org.apache.ignite.internal.processors.query.calcite.exec.rel.RootNode.exchangeBuffers(RootNode.java:314)
at org.apache.ignite.internal.processors.query.calcite.exec.rel.RootNode.hasNext(RootNode.java:213)
at org.apache.ignite.internal.processors.query.calcite.util.ConvertingClosableIterator.hasNext(ConvertingClosableIterator.java:71)
at org.apache.ignite.internal.processors.query.calcite.exec.ClosableIteratorsHolder$DelegatingIterator.hasNext(ClosableIteratorsHolder.java:138)
at org.apache.ignite.internal.processors.query.calcite.CancelTest.lambda$testNotOriginatorNodeStop$1(CancelTest.java:136)
at org.apache.ignite.testframework.GridTestUtils.assertThrows(GridTestUtils.java:524)
at org.apache.ignite.testframework.GridTestUtils.assertThrows(GridTestUtils.java:504)
at org.apache.ignite.internal.processors.query.calcite.CancelTest.testNotOriginatorNodeStop(CancelTest.java:135)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2486)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: The query was cancelled while executing.
at org.apache.ignite.internal.processors.query.calcite.exec.rel.RootNode.close(RootNode.java:119)
at org.apache.ignite.internal.util.IgniteUtils.closeQuiet(IgniteUtils.java:2930)
at org.apache.ignite.internal.processors.query.calcite.RootQuery.cancel(RootQuery.java:310)
at org.apache.ignite.internal.processors.query.calcite.exec.ExchangeServiceImpl.onMessage(ExchangeServiceImpl.java:245)
at org.apache.ignite.internal.processors.query.calcite.exec.ExchangeServiceImpl.lambda$init$3(ExchangeServiceImpl.java:194)
at org.apache.ignite.internal.processors.query.calcite.message.MessageServiceImpl.onMessageInternal(MessageServiceImpl.java:236)
at org.apache.ignite.internal.processors.query.calcite.message.MessageServiceImpl.lambda$onMessage$1(MessageServiceImpl.java:220)
at org.apache.ignite.internal.processors.query.calcite.exec.task.AbstractQueryTaskExecutor$SecurityAwareTask.run(AbstractQueryTaskExecutor.java:78)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
{noformat}
For example:
https://ci2.ignite.apache.org/viewLog.html?buildId=9066699&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_CalciteSql3
Reason: Due to race, QueryCloseRequest can be sent by stopping node and processed by node initiator before other events are processed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)