Skip to content

Conversation

AcevedoR
Copy link
Contributor

@AcevedoR AcevedoR commented Oct 9, 2025

Copy link
Contributor

github-actions bot commented Oct 9, 2025

🐋 Docker image

ghcr.io/kestra-io/kestra-pr:11916
docker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:11916 server local

🧪 Java Unit Tests

TestsPassed ☑️Skipped ⚠️Failed ❌️Time ⏱
Java Tests Report3069 ran3056 ✅11 ⚠️2 ❌47m 18s 736ms
TestResultTime ⏱
Java Tests Report
MysqlExecutionRepositoryTest.shouldFindByLabel()❌ failure5s 544ms
SchedulerConditionTest.schedule()❌ failure39s 481ms

Copy link
Contributor

github-actions bot commented Oct 9, 2025

Tests report quick summary:

totals > tests: 3096, success: 3062, skipped: 30, failed: 4

Project Status Success Skipped Failed
cli success ✅ 74 0 0
core failed ❌ 1595 0 3
executor success ✅ 3 0 0
jdbc success ✅ 12 0 0
jdbc-h2 success ✅ 432 0 0
jdbc-mysql failed ❌ 435 0 1
jdbc-postgres success ✅ 436 0 0
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler success ✅ 24 0 0
script success ✅ 11 0 0
storage-local success ✅ 62 0 0

Failed tests:

core > io.kestra.core.models.QueryFilterTest > [31] filter=QueryFilter[field=LABELS, operation=IN, value=null], resource=FLOW failed ❌ in 0.043
java.lang.AssertionError: expected io.kestra.core.exceptions.InvalidQueryFiltersException to be thrown, but nothing was thrown

java.lang.AssertionError: expected io.kestra.core.exceptions.InvalidQueryFiltersException to be thrown, but nothing was thrown
	at org.junit.Assert.assertThrows(Assert.java:1028)
	at org.junit.Assert.assertThrows(Assert.java:981)
	at io.kestra.core.models.QueryFilterTest.should_fail_to_validate_all_operations(QueryFilterTest.java:28)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1351)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:422)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:651)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.core.models.QueryFilterTest > [32] filter=QueryFilter[field=LABELS, operation=NOT_IN, value=null], resource=FLOW failed ❌ in 0.040
java.lang.AssertionError: expected io.kestra.core.exceptions.InvalidQueryFiltersException to be thrown, but nothing was thrown

java.lang.AssertionError: expected io.kestra.core.exceptions.InvalidQueryFiltersException to be thrown, but nothing was thrown
	at org.junit.Assert.assertThrows(Assert.java:1028)
	at org.junit.Assert.assertThrows(Assert.java:981)
	at io.kestra.core.models.QueryFilterTest.should_fail_to_validate_all_operations(QueryFilterTest.java:28)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.core.models.QueryFilterTest > [35] filter=QueryFilter[field=LABELS, operation=CONTAINS, value=null], resource=FLOW failed ❌ in 0.026
java.lang.AssertionError: expected io.kestra.core.exceptions.InvalidQueryFiltersException to be thrown, but nothing was thrown

java.lang.AssertionError: expected io.kestra.core.exceptions.InvalidQueryFiltersException to be thrown, but nothing was thrown
	at org.junit.Assert.assertThrows(Assert.java:1028)
	at org.junit.Assert.assertThrows(Assert.java:981)
	at io.kestra.core.models.QueryFilterTest.should_fail_to_validate_all_operations(QueryFilterTest.java:28)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 11.840
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  []
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3zuwOoPFu9kzfh1hsQjgDz, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.784777642Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.784787891Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4zgTiAECwzQLiOt74ybPrn, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785133353Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785138884Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4iWhSkYsplrBB8zs3hKpIO, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785901352Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785911491Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.783476862Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.783484837Z)]), parentId=null, originalId=YCchHwBIdtE39VP8jQeq9, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@61a4e0f2, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=69gYn0tqN08tYtQiGnBHTM, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865578787Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.865587423Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3nZUrQdm6sej2NyLrmZot8, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865915263Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865921023Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5WyUXsCu2QgHFlq00kxhGZ, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.885548374Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.885557110Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865018184Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865025177Z)]), parentId=null, originalId=5Kn4LR50sdBlSQGQp5PeA0, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@15780a10, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but could not find the following element(s):
  [Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3zuwOoPFu9kzfh1hsQjgDz, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.784777642Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.784787891Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4zgTiAECwzQLiOt74ybPrn, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785133353Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785138884Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4iWhSkYsplrBB8zs3hKpIO, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785901352Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785911491Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.783476862Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.783484837Z)]), parentId=null, originalId=YCchHwBIdtE39VP8jQeq9, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@61a4e0f2, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=69gYn0tqN08tYtQiGnBHTM, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865578787Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.865587423Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3nZUrQdm6sej2NyLrmZot8, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865915263Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865921023Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5WyUXsCu2QgHFlq00kxhGZ, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.885548374Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.885557110Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865018184Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865025177Z)]), parentId=null, originalId=5Kn4LR50sdBlSQGQp5PeA0, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@15780a10, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  []
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3zuwOoPFu9kzfh1hsQjgDz, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.784777642Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.784787891Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4zgTiAECwzQLiOt74ybPrn, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785133353Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785138884Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4iWhSkYsplrBB8zs3hKpIO, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785901352Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785911491Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.783476862Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.783484837Z)]), parentId=null, originalId=YCchHwBIdtE39VP8jQeq9, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@61a4e0f2, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=69gYn0tqN08tYtQiGnBHTM, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865578787Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.865587423Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3nZUrQdm6sej2NyLrmZot8, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865915263Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865921023Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5WyUXsCu2QgHFlq00kxhGZ, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.885548374Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.885557110Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865018184Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865025177Z)]), parentId=null, originalId=5Kn4LR50sdBlSQGQp5PeA0, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@15780a10, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but could not find the following element(s):
  [Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3zuwOoPFu9kzfh1hsQjgDz, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.784777642Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.784787891Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4zgTiAECwzQLiOt74ybPrn, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785133353Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785138884Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=4iWhSkYsplrBB8zs3hKpIO, executionId=YCchHwBIdtE39VP8jQeq9, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.785901352Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.785911491Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.783476862Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.783484837Z)]), parentId=null, originalId=YCchHwBIdtE39VP8jQeq9, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@61a4e0f2, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=69gYn0tqN08tYtQiGnBHTM, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865578787Z), State.History(state=SUCCESS, date=2025-10-09T17:12:37.865587423Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=3nZUrQdm6sej2NyLrmZot8, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865915263Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865921023Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7cjiphujvskgrdze21vcgh, id=5WyUXsCu2QgHFlq00kxhGZ, executionId=5Kn4LR50sdBlSQGQp5PeA0, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.885548374Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.885557110Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-09T17:12:37.865018184Z), State.History(state=RUNNING, date=2025-10-09T17:12:37.865025177Z)]), parentId=null, originalId=5Kn4LR50sdBlSQGQp5PeA0, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@15780a10, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

@AcevedoR AcevedoR force-pushed the new-filters-execution-labels branch 2 times, most recently from 3f2d33a to 0dff1ed Compare October 10, 2025 08:27
Copy link
Contributor

Tests report quick summary:

totals > tests: 3096, success: 3065, skipped: 30, failed: 1

Project Status Success Skipped Failed
cli success ✅ 74 0 0
core success ✅ 1598 0 0
executor success ✅ 3 0 0
jdbc success ✅ 12 0 0
jdbc-h2 success ✅ 432 0 0
jdbc-mysql failed ❌ 435 0 1
jdbc-postgres success ✅ 436 0 0
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler success ✅ 24 0 0
script success ✅ 11 0 0
storage-local success ✅ 62 0 0

Failed tests:

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 6.152
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7YYrrHqtwerXkOJlhF0VaW, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831469Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.831480Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6LKcueyE31Qcl5swVFecvh, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831825Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.831831Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6Ug7TMhys45KW02opXTGV5, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.832588Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.832596Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.830661Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.830668Z)]), parentId=null, originalId=2EMJiGamwEBEFFVYuh7LzA, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@64015885, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=mZDNjj7Cl5ywBmfLKxvOx, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:55.871252Z), State.History(state=SUCCESS, date=2025-10-10T08:33:55.871284Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=485HPNyUCec2KONTNC0M4x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.562230Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.562239Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7QUwou7VlRLybSS3bp4h7x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.575973Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.576001Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:53.319304Z), State.History(state=RUNNING, date=2025-10-10T08:33:53.319308Z)]), parentId=null, originalId=69830Gn7SQhiq2byeoRgdC, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6d5e7320, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=wCpJ9Xm5zZQKhTvVGNDDo, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.740629Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.740640Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2iLKmH0B4sSWwL5P1RilXj, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.770482Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.770487Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=3drTCKxRzqDefh8hdExD2f, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.771363Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.771373Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.739882Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.739888Z)]), parentId=null, originalId=6KE2qPkXMJMB4UwzBdwIbr, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@58661934, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=wCpJ9Xm5zZQKhTvVGNDDo, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.740629263Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.740640584Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2iLKmH0B4sSWwL5P1RilXj, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.770482173Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.770487884Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=3drTCKxRzqDefh8hdExD2f, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.771363698Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.771373747Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.739882411Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.739888572Z)]), parentId=null, originalId=6KE2qPkXMJMB4UwzBdwIbr, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6c76d354, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7YYrrHqtwerXkOJlhF0VaW, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831469901Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.831480Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6LKcueyE31Qcl5swVFecvh, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831825719Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.831831199Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6Ug7TMhys45KW02opXTGV5, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.832588070Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.832596075Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.830661372Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.830668837Z)]), parentId=null, originalId=2EMJiGamwEBEFFVYuh7LzA, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@16a4190c, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=mZDNjj7Cl5ywBmfLKxvOx, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:55.871252Z), State.History(state=SUCCESS, date=2025-10-10T08:33:55.871284Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=485HPNyUCec2KONTNC0M4x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.562230Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.562239Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7QUwou7VlRLybSS3bp4h7x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.575973Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.576001Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:53.319304Z), State.History(state=RUNNING, date=2025-10-10T08:33:53.319308Z)]), parentId=null, originalId=69830Gn7SQhiq2byeoRgdC, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6d5e7320, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7YYrrHqtwerXkOJlhF0VaW, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831469Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.831480Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6LKcueyE31Qcl5swVFecvh, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831825Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.831831Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6Ug7TMhys45KW02opXTGV5, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.832588Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.832596Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.830661Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.830668Z)]), parentId=null, originalId=2EMJiGamwEBEFFVYuh7LzA, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@64015885, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=mZDNjj7Cl5ywBmfLKxvOx, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:55.871252Z), State.History(state=SUCCESS, date=2025-10-10T08:33:55.871284Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=485HPNyUCec2KONTNC0M4x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.562230Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.562239Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7QUwou7VlRLybSS3bp4h7x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.575973Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.576001Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:53.319304Z), State.History(state=RUNNING, date=2025-10-10T08:33:53.319308Z)]), parentId=null, originalId=69830Gn7SQhiq2byeoRgdC, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6d5e7320, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=wCpJ9Xm5zZQKhTvVGNDDo, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.740629Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.740640Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2iLKmH0B4sSWwL5P1RilXj, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.770482Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.770487Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=3drTCKxRzqDefh8hdExD2f, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.771363Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.771373Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.739882Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.739888Z)]), parentId=null, originalId=6KE2qPkXMJMB4UwzBdwIbr, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@58661934, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=wCpJ9Xm5zZQKhTvVGNDDo, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.740629263Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.740640584Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2iLKmH0B4sSWwL5P1RilXj, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.770482173Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.770487884Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=3drTCKxRzqDefh8hdExD2f, executionId=6KE2qPkXMJMB4UwzBdwIbr, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.771363698Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.771373747Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.739882411Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.739888572Z)]), parentId=null, originalId=6KE2qPkXMJMB4UwzBdwIbr, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6c76d354, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7YYrrHqtwerXkOJlhF0VaW, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831469901Z), State.History(state=SUCCESS, date=2025-10-10T08:33:56.831480Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6LKcueyE31Qcl5swVFecvh, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.831825719Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.831831199Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=6Ug7TMhys45KW02opXTGV5, executionId=2EMJiGamwEBEFFVYuh7LzA, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.832588070Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.832596075Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.830661372Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.830668837Z)]), parentId=null, originalId=2EMJiGamwEBEFFVYuh7LzA, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@16a4190c, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=mZDNjj7Cl5ywBmfLKxvOx, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T08:33:55.871252Z), State.History(state=SUCCESS, date=2025-10-10T08:33:55.871284Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=485HPNyUCec2KONTNC0M4x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.562230Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.562239Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2hfb3kbdgldoj6pt3jhyug, id=7QUwou7VlRLybSS3bp4h7x, executionId=69830Gn7SQhiq2byeoRgdC, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:56.575973Z), State.History(state=RUNNING, date=2025-10-10T08:33:56.576001Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T08:33:53.319304Z), State.History(state=RUNNING, date=2025-10-10T08:33:53.319308Z)]), parentId=null, originalId=69830Gn7SQhiq2byeoRgdC, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6d5e7320, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Copy link
Contributor

Tests report quick summary:

totals > tests: 3097, success: 3066, skipped: 30, failed: 1

Project Status Success Skipped Failed
cli success ✅ 74 0 0
core success ✅ 1599 0 0
executor success ✅ 3 0 0
jdbc success ✅ 12 0 0
jdbc-h2 success ✅ 432 0 0
jdbc-mysql failed ❌ 435 0 1
jdbc-postgres success ✅ 436 0 0
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler success ✅ 24 0 0
script success ✅ 11 0 0
storage-local success ✅ 62 0 0

Failed tests:

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 8.495
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=3foVFl8nMNxUGNQzekY0nn, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:56.784558Z), State.History(state=SUCCESS, date=2025-10-10T09:03:56.784565Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=lWgVirhfnYnRbKCug6Sfq, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.883240Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.883249Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=55F74h4jaAgGG50p43mlDE, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.906418Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.906428Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:52.783085Z), State.History(state=RUNNING, date=2025-10-10T09:03:52.783089Z)]), parentId=null, originalId=5iUwsGKp8AEtIaWvblYiIH, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5b48ea7e, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=D3eLt4NEWEWzhOI3iujVl, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105135Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.105143Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6yD2wahNySLSZImQmGSv8x, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105506Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.105511Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5QsTOpP2DWN40KW0OZqHyv, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.115018Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.115031Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.104400Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.104406Z)]), parentId=null, originalId=6U7o3Dsd6fX2piBhSJGeDI, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5b57fbec, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5Xvie7Q94i6EvMQHlMqNSV, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.234191Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.234201Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5C7UPQnOi3Yxdm3I8YgAK7, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.235445Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.235452Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5CAXrysKcMGbuf31K9Xn8V, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.241763Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.241775Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.232751Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.232759Z)]), parentId=null, originalId=blCheKCy1w3NANoezSPW8, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6dfd991f, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=D3eLt4NEWEWzhOI3iujVl, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105135452Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.105143788Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6yD2wahNySLSZImQmGSv8x, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105506144Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.105511985Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5QsTOpP2DWN40KW0OZqHyv, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.115018938Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.115031361Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.104400090Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.104406642Z)]), parentId=null, originalId=6U7o3Dsd6fX2piBhSJGeDI, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5a0a795e, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5Xvie7Q94i6EvMQHlMqNSV, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.234191778Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.234201666Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5C7UPQnOi3Yxdm3I8YgAK7, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.235445969Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.235452751Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5CAXrysKcMGbuf31K9Xn8V, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.241763479Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.241775662Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.232751870Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.232759034Z)]), parentId=null, originalId=blCheKCy1w3NANoezSPW8, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@631b4b4f, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=3foVFl8nMNxUGNQzekY0nn, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:56.784558Z), State.History(state=SUCCESS, date=2025-10-10T09:03:56.784565Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=lWgVirhfnYnRbKCug6Sfq, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.883240Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.883249Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=55F74h4jaAgGG50p43mlDE, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.906418Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.906428Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:52.783085Z), State.History(state=RUNNING, date=2025-10-10T09:03:52.783089Z)]), parentId=null, originalId=5iUwsGKp8AEtIaWvblYiIH, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5b48ea7e, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=3foVFl8nMNxUGNQzekY0nn, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:56.784558Z), State.History(state=SUCCESS, date=2025-10-10T09:03:56.784565Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=lWgVirhfnYnRbKCug6Sfq, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.883240Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.883249Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=55F74h4jaAgGG50p43mlDE, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.906418Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.906428Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:52.783085Z), State.History(state=RUNNING, date=2025-10-10T09:03:52.783089Z)]), parentId=null, originalId=5iUwsGKp8AEtIaWvblYiIH, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5b48ea7e, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=D3eLt4NEWEWzhOI3iujVl, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105135Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.105143Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6yD2wahNySLSZImQmGSv8x, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105506Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.105511Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5QsTOpP2DWN40KW0OZqHyv, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.115018Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.115031Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.104400Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.104406Z)]), parentId=null, originalId=6U7o3Dsd6fX2piBhSJGeDI, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5b57fbec, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5Xvie7Q94i6EvMQHlMqNSV, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.234191Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.234201Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5C7UPQnOi3Yxdm3I8YgAK7, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.235445Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.235452Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5CAXrysKcMGbuf31K9Xn8V, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.241763Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.241775Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.232751Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.232759Z)]), parentId=null, originalId=blCheKCy1w3NANoezSPW8, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@6dfd991f, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=D3eLt4NEWEWzhOI3iujVl, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105135452Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.105143788Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=6yD2wahNySLSZImQmGSv8x, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.105506144Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.105511985Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5QsTOpP2DWN40KW0OZqHyv, executionId=6U7o3Dsd6fX2piBhSJGeDI, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.115018938Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.115031361Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.104400090Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.104406642Z)]), parentId=null, originalId=6U7o3Dsd6fX2piBhSJGeDI, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5a0a795e, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5Xvie7Q94i6EvMQHlMqNSV, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.234191778Z), State.History(state=SUCCESS, date=2025-10-10T09:03:58.234201666Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5C7UPQnOi3Yxdm3I8YgAK7, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.235445969Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.235452751Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5CAXrysKcMGbuf31K9Xn8V, executionId=blCheKCy1w3NANoezSPW8, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.241763479Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.241775662Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:58.232751870Z), State.History(state=RUNNING, date=2025-10-10T09:03:58.232759034Z)]), parentId=null, originalId=blCheKCy1w3NANoezSPW8, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@631b4b4f, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=3foVFl8nMNxUGNQzekY0nn, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T09:03:56.784558Z), State.History(state=SUCCESS, date=2025-10-10T09:03:56.784565Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=lWgVirhfnYnRbKCug6Sfq, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.883240Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.883249Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6xlt7yxosjvwosp8dcmxht, id=55F74h4jaAgGG50p43mlDE, executionId=5iUwsGKp8AEtIaWvblYiIH, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:57.906418Z), State.History(state=RUNNING, date=2025-10-10T09:03:57.906428Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T09:03:52.783085Z), State.History(state=RUNNING, date=2025-10-10T09:03:52.783089Z)]), parentId=null, originalId=5iUwsGKp8AEtIaWvblYiIH, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5b48ea7e, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

@AcevedoR AcevedoR force-pushed the new-filters-execution-labels branch from 5c78005 to c15fb92 Compare October 10, 2025 10:24
Copy link
Contributor

Tests report quick summary:

totals > tests: 3101, success: 3066, skipped: 33, failed: 2

Project Status Success Skipped Failed
cli success ✅ 74 0 0
core success ✅ 1603 0 0
executor success ✅ 3 0 0
jdbc success ✅ 12 0 0
jdbc-h2 success ✅ 432 0 0
jdbc-mysql failed ❌ 435 0 1
jdbc-postgres failed ❌ 435 0 1
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler success ✅ 24 0 0
script success ✅ 11 0 0
storage-local success ✅ 62 0 0

Failed tests:

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 8.033
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7OSg3ZjW1hsEYdT4cayMEQ, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507565Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.507576Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=mQNlyy3OrAtHuSogAPPN4, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507942Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.507948Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7LnwSIqWqAX0OmuqLWpwCo, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.508779Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.508790Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.506859Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.506868Z)]), parentId=null, originalId=2BO1eFurfBXQbDpYp0mRuo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4b3b6b65, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4Tpxx3olKqQ9kEF9VoLH5d, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.588607Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.588618Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=6zizKmkOdMGPdzKHz1hjqD, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589003Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589010Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=1UQZLXOhakl2bzJklQHeWQ, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589844Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589856Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.587925Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.587933Z)]), parentId=null, originalId=3nmfx8woKHwPocl2buE7mi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@750a752b, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=45RFdb4la79cPKiooUVA2q, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:51.846124Z), State.History(state=SUCCESS, date=2025-10-10T10:30:51.846132Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=5zPSfqT8FGxXVV6eoemEby, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.309168Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.309183Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=vHcckcjnb972h1FiijCbe, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.349809Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.349823Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:48.520846Z), State.History(state=RUNNING, date=2025-10-10T10:30:48.520852Z)]), parentId=null, originalId=4MtwJ20YwdmuAMMgS8Yc86, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@59c9a789, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7OSg3ZjW1hsEYdT4cayMEQ, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507565810Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.507576971Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=mQNlyy3OrAtHuSogAPPN4, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507942386Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.507948467Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7LnwSIqWqAX0OmuqLWpwCo, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.508779733Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.508790694Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.506859378Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.506868104Z)]), parentId=null, originalId=2BO1eFurfBXQbDpYp0mRuo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@55fc9326, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4Tpxx3olKqQ9kEF9VoLH5d, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.588607398Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.588618739Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=6zizKmkOdMGPdzKHz1hjqD, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589003880Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589010733Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=1UQZLXOhakl2bzJklQHeWQ, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589844204Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589856517Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.587925602Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.587933727Z)]), parentId=null, originalId=3nmfx8woKHwPocl2buE7mi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@1a794102, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=45RFdb4la79cPKiooUVA2q, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:51.846124Z), State.History(state=SUCCESS, date=2025-10-10T10:30:51.846132Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=5zPSfqT8FGxXVV6eoemEby, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.309168Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.309183Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=vHcckcjnb972h1FiijCbe, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.349809Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.349823Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:48.520846Z), State.History(state=RUNNING, date=2025-10-10T10:30:48.520852Z)]), parentId=null, originalId=4MtwJ20YwdmuAMMgS8Yc86, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@59c9a789, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7OSg3ZjW1hsEYdT4cayMEQ, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507565Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.507576Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=mQNlyy3OrAtHuSogAPPN4, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507942Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.507948Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7LnwSIqWqAX0OmuqLWpwCo, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.508779Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.508790Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.506859Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.506868Z)]), parentId=null, originalId=2BO1eFurfBXQbDpYp0mRuo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4b3b6b65, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4Tpxx3olKqQ9kEF9VoLH5d, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.588607Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.588618Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=6zizKmkOdMGPdzKHz1hjqD, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589003Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589010Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=1UQZLXOhakl2bzJklQHeWQ, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589844Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589856Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.587925Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.587933Z)]), parentId=null, originalId=3nmfx8woKHwPocl2buE7mi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@750a752b, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=45RFdb4la79cPKiooUVA2q, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:51.846124Z), State.History(state=SUCCESS, date=2025-10-10T10:30:51.846132Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=5zPSfqT8FGxXVV6eoemEby, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.309168Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.309183Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=vHcckcjnb972h1FiijCbe, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.349809Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.349823Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:48.520846Z), State.History(state=RUNNING, date=2025-10-10T10:30:48.520852Z)]), parentId=null, originalId=4MtwJ20YwdmuAMMgS8Yc86, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@59c9a789, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7OSg3ZjW1hsEYdT4cayMEQ, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507565810Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.507576971Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=mQNlyy3OrAtHuSogAPPN4, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.507942386Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.507948467Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=7LnwSIqWqAX0OmuqLWpwCo, executionId=2BO1eFurfBXQbDpYp0mRuo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.508779733Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.508790694Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.506859378Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.506868104Z)]), parentId=null, originalId=2BO1eFurfBXQbDpYp0mRuo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@55fc9326, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4Tpxx3olKqQ9kEF9VoLH5d, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.588607398Z), State.History(state=SUCCESS, date=2025-10-10T10:30:52.588618739Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=6zizKmkOdMGPdzKHz1hjqD, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589003880Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589010733Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=1UQZLXOhakl2bzJklQHeWQ, executionId=3nmfx8woKHwPocl2buE7mi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.589844204Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.589856517Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.587925602Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.587933727Z)]), parentId=null, originalId=3nmfx8woKHwPocl2buE7mi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@1a794102, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=45RFdb4la79cPKiooUVA2q, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T10:30:51.846124Z), State.History(state=SUCCESS, date=2025-10-10T10:30:51.846132Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=5zPSfqT8FGxXVV6eoemEby, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.309168Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.309183Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-7ogiq1pwitoxaxivag4k9u, id=vHcckcjnb972h1FiijCbe, executionId=4MtwJ20YwdmuAMMgS8Yc86, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:52.349809Z), State.History(state=RUNNING, date=2025-10-10T10:30:52.349823Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T10:30:48.520846Z), State.History(state=RUNNING, date=2025-10-10T10:30:48.520852Z)]), parentId=null, originalId=4MtwJ20YwdmuAMMgS8Yc86, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@59c9a789, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

jdbc-postgres > io.kestra.repository.postgres.PostgresExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 11.205
org.jooq.exception.DataAccessException: SQL [select *, count(*) over () as "total_count" from (select "value" from executions where ("tenant_id" = ? and "deleted" = ? and "kind" is null and (EXISTS ( SELECT 1 FROM JSON_TABLE(value, '$.labels[*]' COLUMNS(  label_key VARCHAR(255) PATH '$.key',  label_value VARCHAR(255) PATH '$.value')) AS lbl WHERE LOWER(lbl.label_value) LIKE LOWER(CONCAT('%', ?, '%'))    OR LOWER(lbl.label_key) LIKE LOWER(CONCAT('%', ?, '%')))))) as "page" where true offset ? rows fetch next ? rows only]; ERROR: syntax error at or near "COLUMNS"
  Position: 204

org.jooq.exception.DataAccessException: SQL [select *, count(*) over () as "total_count" from (select "value" from executions where ("tenant_id" = ? and "deleted" = ? and "kind" is null and (EXISTS ( SELECT 1 FROM JSON_TABLE(value, '$.labels[*]' COLUMNS(  label_key VARCHAR(255) PATH '$.key',  label_value VARCHAR(255) PATH '$.value')) AS lbl WHERE LOWER(lbl.label_value) LIKE LOWER(CONCAT('%', ?, '%'))    OR LOWER(lbl.label_key) LIKE LOWER(CONCAT('%', ?, '%')))))) as "page" where true offset ? rows fetch next ? rows only]; ERROR: syntax error at or near "COLUMNS"
  Position: 204
	at org.jooq_3.20.8.POSTGRES.debug(Unknown Source)
	at app//org.jooq.impl.Tools.translate(Tools.java:3700)
	at app//org.jooq.impl.Tools.translate(Tools.java:3676)
	at app//org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:869)
	at app//org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:363)
	at app//org.jooq.impl.AbstractResultQuery.fetch(AbstractResultQuery.java:263)
	at app//org.jooq.impl.SelectImpl.fetch(SelectImpl.java:3217)
	at app//io.kestra.repository.postgres.PostgresRepository.fetchPage(PostgresRepository.java:112)
	at app//io.kestra.jdbc.AbstractJdbcRepository.fetchPage(AbstractJdbcRepository.java:217)
	at app//io.kestra.jdbc.repository.AbstractJdbcExecutionRepository.lambda$find$4(AbstractJdbcExecutionRepository.java:233)
	at app//org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:533)
	at app//org.jooq.impl.Tools$3$1.block(Tools.java:6393)
	at [email protected]/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3740)
	at [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3723)
	at app//org.jooq.impl.Tools$3.get(Tools.java:6390)
	at app//org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:581)
	at app//org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:504)
	at app//io.kestra.jdbc.JooqDSLContextWrapper.lambda$transactionResult$2(JooqDSLContextWrapper.java:67)
	at app//dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243)
	at app//dev.failsafe.Functions.lambda$get$0(Functions.java:46)
	at app//dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
	at app//dev.failsafe.internal.FallbackExecutor.lambda$apply$0(FallbackExecutor.java:51)
	at app//dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
	at app//dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
	at app//dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112)
	at app//io.kestra.core.utils.RetryUtils$Instance.wrap(RetryUtils.java:144)
	at app//io.kestra.core.utils.RetryUtils$Instance.runRetryIf(RetryUtils.java:103)
	at app//io.kestra.jdbc.JooqDSLContextWrapper.transactionResult(JooqDSLContextWrapper.java:65)
	at app//io.kestra.jdbc.repository.AbstractJdbcExecutionRepository.find(AbstractJdbcExecutionRepository.java:223)
	at app//io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:755)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "COLUMNS"
  Position: 204
	at app//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2736)
	at app//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2421)
	at app//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:372)
	at app//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:525)
	at app//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:435)
	at app//org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:196)
	at app//org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:182)
	at app//com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
	at app//com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
	at app//org.jooq.tools.jdbc.DefaultPreparedStatement.execute(DefaultPreparedStatement.java:219)
	at app//org.jooq.impl.Tools.lambda$executeStatementAndGetFirstResultSet$104(Tools.java:4904)
	at app//org.jooq.impl.Tools.consumeExceptions(Tools.java:4791)
	at app//org.jooq.impl.Tools.executeStatementAndGetFirstResultSet(Tools.java:4819)
	at app//org.jooq.impl.AbstractResultQuery.execute(AbstractResultQuery.java:209)
	at app//org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:349)
	... 35 more

@AcevedoR AcevedoR force-pushed the new-filters-execution-labels branch from c15fb92 to d3b7a37 Compare October 10, 2025 11:15
Copy link
Contributor

Tests report quick summary:

totals > tests: 3099, success: 3066, skipped: 31, failed: 2

Project Status Success Skipped Failed
cli success ✅ 74 0 0
core success ✅ 1601 0 0
executor success ✅ 3 0 0
jdbc success ✅ 12 0 0
jdbc-h2 success ✅ 432 0 0
jdbc-mysql failed ❌ 435 0 1
jdbc-postgres failed ❌ 435 0 1
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler success ✅ 24 0 0
script success ✅ 11 0 0
storage-local success ✅ 62 0 0

Failed tests:

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 7.988
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  []
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2p2GJck9p2OKcIDgtYPuVg, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.282244269Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.282254499Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3dJOeEzGI0HefZBcvVjp1M, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.285016739Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.285024603Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1Zwj462MDkwxYPV60kc7bK, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.291485242Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.291497224Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.279931519Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.279941107Z)]), parentId=null, originalId=5HeaNf4DHBY1109rdM7eEo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@305660d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2Mve7q7R3ZZ6MAyycdpN9a, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438246237Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.438257167Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=BZqlauvtHLZBBRRDQkokz, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438629653Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.438655511Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1LxWFdHLvZV86Av9h1F7hx, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.446137077Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.446147867Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.436374601Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.436382025Z)]), parentId=null, originalId=3H4LMKoW2bgN2hxROo6MZK, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@22309d75, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but could not find the following element(s):
  [Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2p2GJck9p2OKcIDgtYPuVg, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.282244269Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.282254499Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3dJOeEzGI0HefZBcvVjp1M, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.285016739Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.285024603Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1Zwj462MDkwxYPV60kc7bK, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.291485242Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.291497224Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.279931519Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.279941107Z)]), parentId=null, originalId=5HeaNf4DHBY1109rdM7eEo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@305660d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2Mve7q7R3ZZ6MAyycdpN9a, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438246237Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.438257167Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=BZqlauvtHLZBBRRDQkokz, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438629653Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.438655511Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1LxWFdHLvZV86Av9h1F7hx, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.446137077Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.446147867Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.436374601Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.436382025Z)]), parentId=null, originalId=3H4LMKoW2bgN2hxROo6MZK, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@22309d75, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  []
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2p2GJck9p2OKcIDgtYPuVg, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.282244269Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.282254499Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3dJOeEzGI0HefZBcvVjp1M, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.285016739Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.285024603Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1Zwj462MDkwxYPV60kc7bK, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.291485242Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.291497224Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.279931519Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.279941107Z)]), parentId=null, originalId=5HeaNf4DHBY1109rdM7eEo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@305660d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2Mve7q7R3ZZ6MAyycdpN9a, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438246237Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.438257167Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=BZqlauvtHLZBBRRDQkokz, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438629653Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.438655511Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1LxWFdHLvZV86Av9h1F7hx, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.446137077Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.446147867Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.436374601Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.436382025Z)]), parentId=null, originalId=3H4LMKoW2bgN2hxROo6MZK, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@22309d75, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but could not find the following element(s):
  [Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2p2GJck9p2OKcIDgtYPuVg, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.282244269Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.282254499Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3dJOeEzGI0HefZBcvVjp1M, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.285016739Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.285024603Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1Zwj462MDkwxYPV60kc7bK, executionId=5HeaNf4DHBY1109rdM7eEo, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.291485242Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.291497224Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.279931519Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.279941107Z)]), parentId=null, originalId=5HeaNf4DHBY1109rdM7eEo, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@305660d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=2Mve7q7R3ZZ6MAyycdpN9a, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438246237Z), State.History(state=SUCCESS, date=2025-10-10T11:21:50.438257167Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=BZqlauvtHLZBBRRDQkokz, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.438629653Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.438655511Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-3jloyahst9borfn7t6h6ud, id=1LxWFdHLvZV86Av9h1F7hx, executionId=3H4LMKoW2bgN2hxROo6MZK, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.446137077Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.446147867Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T11:21:50.436374601Z), State.History(state=RUNNING, date=2025-10-10T11:21:50.436382025Z)]), parentId=null, originalId=3H4LMKoW2bgN2hxROo6MZK, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@22309d75, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

jdbc-postgres > io.kestra.repository.postgres.PostgresExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 13.151
org.jooq.exception.DataAccessException: SQL [select *, count(*) over () as "total_count" from (select "value" from executions where ("tenant_id" = ? and "deleted" = ? and "kind" is null and (EXISTS ( SELECT 1 FROM JSON_TABLE(value, '$.labels[*]' COLUMNS(  label_key VARCHAR(255) PATH '$.key',  label_value VARCHAR(255) PATH '$.value')) AS lbl WHERE LOWER(lbl.label_value) LIKE LOWER(CONCAT('%', ?, '%'))    OR LOWER(lbl.label_key) LIKE LOWER(CONCAT('%', ?, '%')))))) as "page" where true offset ? rows fetch next ? rows only]; ERROR: syntax error at or near "COLUMNS"
  Position: 204

org.jooq.exception.DataAccessException: SQL [select *, count(*) over () as "total_count" from (select "value" from executions where ("tenant_id" = ? and "deleted" = ? and "kind" is null and (EXISTS ( SELECT 1 FROM JSON_TABLE(value, '$.labels[*]' COLUMNS(  label_key VARCHAR(255) PATH '$.key',  label_value VARCHAR(255) PATH '$.value')) AS lbl WHERE LOWER(lbl.label_value) LIKE LOWER(CONCAT('%', ?, '%'))    OR LOWER(lbl.label_key) LIKE LOWER(CONCAT('%', ?, '%')))))) as "page" where true offset ? rows fetch next ? rows only]; ERROR: syntax error at or near "COLUMNS"
  Position: 204
	at org.jooq_3.20.8.POSTGRES.debug(Unknown Source)
	at app//org.jooq.impl.Tools.translate(Tools.java:3700)
	at app//org.jooq.impl.Tools.translate(Tools.java:3676)
	at app//org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:869)
	at app//org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:363)
	at app//org.jooq.impl.AbstractResultQuery.fetch(AbstractResultQuery.java:263)
	at app//org.jooq.impl.SelectImpl.fetch(SelectImpl.java:3217)
	at app//io.kestra.repository.postgres.PostgresRepository.fetchPage(PostgresRepository.java:112)
	at app//io.kestra.jdbc.AbstractJdbcRepository.fetchPage(AbstractJdbcRepository.java:217)
	at app//io.kestra.jdbc.repository.AbstractJdbcExecutionRepository.lambda$find$4(AbstractJdbcExecutionRepository.java:233)
	at app//org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:533)
	at app//org.jooq.impl.Tools$3$1.block(Tools.java:6393)
	at [email protected]/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3740)
	at [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3723)
	at app//org.jooq.impl.Tools$3.get(Tools.java:6390)
	at app//org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:581)
	at app//org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:504)
	at app//io.kestra.jdbc.JooqDSLContextWrapper.lambda$transactionResult$2(JooqDSLContextWrapper.java:67)
	at app//dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243)
	at app//dev.failsafe.Functions.lambda$get$0(Functions.java:46)
	at app//dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
	at app//dev.failsafe.internal.FallbackExecutor.lambda$apply$0(FallbackExecutor.java:51)
	at app//dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
	at app//dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
	at app//dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112)
	at app//io.kestra.core.utils.RetryUtils$Instance.wrap(RetryUtils.java:144)
	at app//io.kestra.core.utils.RetryUtils$Instance.runRetryIf(RetryUtils.java:103)
	at app//io.kestra.jdbc.JooqDSLContextWrapper.transactionResult(JooqDSLContextWrapper.java:65)
	at app//io.kestra.jdbc.repository.AbstractJdbcExecutionRepository.find(AbstractJdbcExecutionRepository.java:223)
	at app//io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:755)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "COLUMNS"
  Position: 204
	at app//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2736)
	at app//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2421)
	at app//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:372)
	at app//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:525)
	at app//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:435)
	at app//org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:196)
	at app//org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:182)
	at app//com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
	at app//com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
	at app//org.jooq.tools.jdbc.DefaultPreparedStatement.execute(DefaultPreparedStatement.java:219)
	at app//org.jooq.impl.Tools.lambda$executeStatementAndGetFirstResultSet$104(Tools.java:4904)
	at app//org.jooq.impl.Tools.consumeExceptions(Tools.java:4791)
	at app//org.jooq.impl.Tools.executeStatementAndGetFirstResultSet(Tools.java:4819)
	at app//org.jooq.impl.AbstractResultQuery.execute(AbstractResultQuery.java:209)
	at app//org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:349)
	... 35 more

@AcevedoR AcevedoR force-pushed the new-filters-execution-labels branch from d3b7a37 to 5345542 Compare October 10, 2025 13:57
Copy link
Contributor

Tests report quick summary:

totals > tests: 3047, success: 3031, skipped: 11, failed: 5

Project Status Success Skipped Failed
cli success ✅ 72 0 0
core failed ❌ 1595 0 3
executor success ✅ 3 0 0
jdbc success ✅ 10 0 0
jdbc-h2 success ✅ 430 0 0
jdbc-mysql failed ❌ 431 0 1
jdbc-postgres failed ❌ 431 0 1
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
storage-local success ✅ 62 0 0

Failed tests:

core > io.kestra.core.runners.ExecutionServiceTest > markAsEachPara() failed ❌ in 16.651
java.lang.RuntimeException: Execution 6rCplIJ3shjNSpiTuKdfSZ is currently at the status RUNNING which is not the awaited one, full execution object:
{"tenantId":"tenant1","id":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","flowRevision":1,"taskRunList":[{"tenantId":"tenant1","id":"4pJC4UIQWUY7EDL8sznGL","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"1_each","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.512128Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.108796Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:02.411281Z"}],"duration":11.899153000,"startDate":"2025-10-10T14:04:50.512128Z","endDate":"2025-10-10T14:05:02.411281Z"}},{"tenantId":"tenant1","id":"5VUcJ6aMF5xLbjCoLOl2V7","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"4pJC4UIQWUY7EDL8sznGL","value":"value 1","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:52.349785Z"},{"state":"RUNNING","date":"2025-10-10T14:04:53.829256Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.641450Z"}],"duration":9.291665000,"startDate":"2025-10-10T14:04:52.349785Z","endDate":"2025-10-10T14:05:01.641450Z"},"iteration":0},{"tenantId":"tenant1","id":"31UiyyPDrKVq1tJXutuGMT","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"4pJC4UIQWUY7EDL8sznGL","value":"value 2","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:52.349803Z"},{"state":"RUNNING","date":"2025-10-10T14:04:53.829270Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.641719Z"}],"duration":9.291916000,"startDate":"2025-10-10T14:04:52.349803Z","endDate":"2025-10-10T14:05:01.641719Z"},"iteration":1},{"tenantId":"tenant1","id":"5xR6GT4c8gCZKn5ImpR3","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"4pJC4UIQWUY7EDL8sznGL","value":"value 3","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:52.349816Z"},{"state":"RUNNING","date":"2025-10-10T14:04:53.829279Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.641980Z"}],"duration":9.292164000,"startDate":"2025-10-10T14:04:52.349816Z","endDate":"2025-10-10T14:05:01.641980Z"},"iteration":2},{"tenantId":"tenant1","id":"541E3RtfVnkqCfxV5KlRvz","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"5VUcJ6aMF5xLbjCoLOl2V7","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.834915Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.834917Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.900425Z"}],"duration":0.065510000,"startDate":"2025-10-10T14:04:57.834915Z","endDate":"2025-10-10T14:04:57.900425Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:55.270160Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:57.612704Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.834623Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.900489Z"}],"duration":2.630329000,"startDate":"2025-10-10T14:04:55.270160Z","endDate":"2025-10-10T14:04:57.900489Z"}},{"tenantId":"tenant1","id":"oODCkptnk46IE94aFaH0U","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"31UiyyPDrKVq1tJXutuGMT","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.845272Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.845273Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.894757Z"}],"duration":0.049485000,"startDate":"2025-10-10T14:04:57.845272Z","endDate":"2025-10-10T14:04:57.894757Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:55.270496Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:57.617268Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.844982Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.894837Z"}],"duration":2.624341000,"startDate":"2025-10-10T14:04:55.270496Z","endDate":"2025-10-10T14:04:57.894837Z"}},{"tenantId":"tenant1","id":"4MQWNCpoyuQ0P3dejVKAGs","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"5xR6GT4c8gCZKn5ImpR3","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.854335Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.854337Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.887839Z"}],"duration":0.033504000,"startDate":"2025-10-10T14:04:57.854335Z","endDate":"2025-10-10T14:04:57.887839Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:55.270807Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:57.633261Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.854014Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.887910Z"}],"duration":2.617103000,"startDate":"2025-10-10T14:04:55.270807Z","endDate":"2025-10-10T14:04:57.887910Z"}},{"tenantId":"tenant1","id":"5Z4dr6SWrZy0lMactU9IFR","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"5VUcJ6aMF5xLbjCoLOl2V7","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.440593Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.440595Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.490208Z"}],"duration":0.049615000,"startDate":"2025-10-10T14:05:00.440593Z","endDate":"2025-10-10T14:05:00.490208Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.924547Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:00.288863Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.440131Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.490271Z"}],"duration":0.565724000,"startDate":"2025-10-10T14:04:59.924547Z","endDate":"2025-10-10T14:05:00.490271Z"}},{"tenantId":"tenant1","id":"6lABYkzIvRMVlFozAXqLTa","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"31UiyyPDrKVq1tJXutuGMT","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.469302Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.469304Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.492287Z"}],"duration":0.022985000,"startDate":"2025-10-10T14:05:00.469302Z","endDate":"2025-10-10T14:05:00.492287Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.924842Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:00.290177Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.468839Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.492341Z"}],"duration":0.567499000,"startDate":"2025-10-10T14:04:59.924842Z","endDate":"2025-10-10T14:05:00.492341Z"}},{"tenantId":"tenant1","id":"7IGR60oLM40utilmFxCoYn","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"5xR6GT4c8gCZKn5ImpR3","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.474198Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.474199Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.475868Z"}],"duration":0.001670000,"startDate":"2025-10-10T14:05:00.474198Z","endDate":"2025-10-10T14:05:00.475868Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.925110Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:00.291894Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.473923Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.518889Z"}],"duration":0.593779000,"startDate":"2025-10-10T14:04:59.925110Z","endDate":"2025-10-10T14:05:00.518889Z"}},{"tenantId":"tenant1","id":"3LAP7R1VAJlzGsDclLO2YH","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2_end","outputs":null,"state":{"current":"SUBMITTED","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.206458Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:03.377455Z"}],"duration":0.170997000,"startDate":"2025-10-10T14:05:03.206458Z"}}],"labels":[{"key":"system.correlationId","value":"6rCplIJ3shjNSpiTuKdfSZ"}],"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.262767Z"},{"state":"RUNNING","date":"2025-10-10T14:04:50.536694Z"}],"duration":0.273927000,"startDate":"2025-10-10T14:04:50.262767Z"},"originalId":"6rCplIJ3shjNSpiTuKdfSZ","deleted":false,"metadata":{"attemptNumber":1,"originalCreatedDate":"2025-10-10T14:04:50.262773Z"}}

java.lang.RuntimeException: Execution 6rCplIJ3shjNSpiTuKdfSZ is currently at the status RUNNING which is not the awaited one, full execution object:
{"tenantId":"tenant1","id":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","flowRevision":1,"taskRunList":[{"tenantId":"tenant1","id":"4pJC4UIQWUY7EDL8sznGL","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"1_each","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.512128Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.108796Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:02.411281Z"}],"duration":11.899153000,"startDate":"2025-10-10T14:04:50.512128Z","endDate":"2025-10-10T14:05:02.411281Z"}},{"tenantId":"tenant1","id":"5VUcJ6aMF5xLbjCoLOl2V7","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"4pJC4UIQWUY7EDL8sznGL","value":"value 1","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:52.349785Z"},{"state":"RUNNING","date":"2025-10-10T14:04:53.829256Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.641450Z"}],"duration":9.291665000,"startDate":"2025-10-10T14:04:52.349785Z","endDate":"2025-10-10T14:05:01.641450Z"},"iteration":0},{"tenantId":"tenant1","id":"31UiyyPDrKVq1tJXutuGMT","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"4pJC4UIQWUY7EDL8sznGL","value":"value 2","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:52.349803Z"},{"state":"RUNNING","date":"2025-10-10T14:04:53.829270Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.641719Z"}],"duration":9.291916000,"startDate":"2025-10-10T14:04:52.349803Z","endDate":"2025-10-10T14:05:01.641719Z"},"iteration":1},{"tenantId":"tenant1","id":"5xR6GT4c8gCZKn5ImpR3","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"4pJC4UIQWUY7EDL8sznGL","value":"value 3","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:52.349816Z"},{"state":"RUNNING","date":"2025-10-10T14:04:53.829279Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.641980Z"}],"duration":9.292164000,"startDate":"2025-10-10T14:04:52.349816Z","endDate":"2025-10-10T14:05:01.641980Z"},"iteration":2},{"tenantId":"tenant1","id":"541E3RtfVnkqCfxV5KlRvz","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"5VUcJ6aMF5xLbjCoLOl2V7","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.834915Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.834917Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.900425Z"}],"duration":0.065510000,"startDate":"2025-10-10T14:04:57.834915Z","endDate":"2025-10-10T14:04:57.900425Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:55.270160Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:57.612704Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.834623Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.900489Z"}],"duration":2.630329000,"startDate":"2025-10-10T14:04:55.270160Z","endDate":"2025-10-10T14:04:57.900489Z"}},{"tenantId":"tenant1","id":"oODCkptnk46IE94aFaH0U","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"31UiyyPDrKVq1tJXutuGMT","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.845272Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.845273Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.894757Z"}],"duration":0.049485000,"startDate":"2025-10-10T14:04:57.845272Z","endDate":"2025-10-10T14:04:57.894757Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:55.270496Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:57.617268Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.844982Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.894837Z"}],"duration":2.624341000,"startDate":"2025-10-10T14:04:55.270496Z","endDate":"2025-10-10T14:04:57.894837Z"}},{"tenantId":"tenant1","id":"4MQWNCpoyuQ0P3dejVKAGs","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"5xR6GT4c8gCZKn5ImpR3","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.854335Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.854337Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.887839Z"}],"duration":0.033504000,"startDate":"2025-10-10T14:04:57.854335Z","endDate":"2025-10-10T14:04:57.887839Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:55.270807Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:57.633261Z"},{"state":"RUNNING","date":"2025-10-10T14:04:57.854014Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:57.887910Z"}],"duration":2.617103000,"startDate":"2025-10-10T14:04:55.270807Z","endDate":"2025-10-10T14:04:57.887910Z"}},{"tenantId":"tenant1","id":"5Z4dr6SWrZy0lMactU9IFR","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"5VUcJ6aMF5xLbjCoLOl2V7","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.440593Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.440595Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.490208Z"}],"duration":0.049615000,"startDate":"2025-10-10T14:05:00.440593Z","endDate":"2025-10-10T14:05:00.490208Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.924547Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:00.288863Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.440131Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.490271Z"}],"duration":0.565724000,"startDate":"2025-10-10T14:04:59.924547Z","endDate":"2025-10-10T14:05:00.490271Z"}},{"tenantId":"tenant1","id":"6lABYkzIvRMVlFozAXqLTa","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"31UiyyPDrKVq1tJXutuGMT","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.469302Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.469304Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.492287Z"}],"duration":0.022985000,"startDate":"2025-10-10T14:05:00.469302Z","endDate":"2025-10-10T14:05:00.492287Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.924842Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:00.290177Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.468839Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.492341Z"}],"duration":0.567499000,"startDate":"2025-10-10T14:04:59.924842Z","endDate":"2025-10-10T14:05:00.492341Z"}},{"tenantId":"tenant1","id":"7IGR60oLM40utilmFxCoYn","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"5xR6GT4c8gCZKn5ImpR3","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.474198Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.474199Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.475868Z"}],"duration":0.001670000,"startDate":"2025-10-10T14:05:00.474198Z","endDate":"2025-10-10T14:05:00.475868Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.925110Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:00.291894Z"},{"state":"RUNNING","date":"2025-10-10T14:05:00.473923Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:00.518889Z"}],"duration":0.593779000,"startDate":"2025-10-10T14:04:59.925110Z","endDate":"2025-10-10T14:05:00.518889Z"}},{"tenantId":"tenant1","id":"3LAP7R1VAJlzGsDclLO2YH","executionId":"6rCplIJ3shjNSpiTuKdfSZ","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2_end","outputs":null,"state":{"current":"SUBMITTED","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.206458Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:03.377455Z"}],"duration":0.170997000,"startDate":"2025-10-10T14:05:03.206458Z"}}],"labels":[{"key":"system.correlationId","value":"6rCplIJ3shjNSpiTuKdfSZ"}],"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.262767Z"},{"state":"RUNNING","date":"2025-10-10T14:04:50.536694Z"}],"duration":0.273927000,"startDate":"2025-10-10T14:04:50.262767Z"},"originalId":"6rCplIJ3shjNSpiTuKdfSZ","deleted":false,"metadata":{"attemptNumber":1,"originalCreatedDate":"2025-10-10T14:04:50.262773Z"}}
	at io.kestra.core.runners.TestRunnerUtils.awaitExecution(TestRunnerUtils.java:211)
	at io.kestra.core.runners.TestRunnerUtils.emitAndAwaitExecution(TestRunnerUtils.java:186)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:108)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:103)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:76)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:51)
	at io.kestra.core.runners.ExecutionServiceTest.markAsEachPara(ExecutionServiceTest.java:321)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.core.runners.ExecutionServiceTest > replayEachPara() failed ❌ in 15.880
java.lang.RuntimeException: Execution 46UXtQbYCi25cQdjdfWVkg is currently at the status RUNNING which is not the awaited one, full execution object:
{"tenantId":"main","id":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","flowRevision":1,"taskRunList":[{"tenantId":"main","id":"1u9PkhHSZpZ7Ob8dCKtJXs","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"1_each","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:51.021106Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.956380Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.517506Z"}],"duration":12.496400000,"startDate":"2025-10-10T14:04:51.021106Z","endDate":"2025-10-10T14:05:03.517506Z"}},{"tenantId":"main","id":"qNyUmxgITGXd0tI5mbvVy","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"1u9PkhHSZpZ7Ob8dCKtJXs","value":"value 1","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.336391Z"},{"state":"RUNNING","date":"2025-10-10T14:04:54.658080Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.197928Z"}],"duration":9.861537000,"startDate":"2025-10-10T14:04:53.336391Z","endDate":"2025-10-10T14:05:03.197928Z"},"iteration":0},{"tenantId":"main","id":"pjZ3TO3tESe2rJAe6gsma","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"1u9PkhHSZpZ7Ob8dCKtJXs","value":"value 2","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.336418Z"},{"state":"RUNNING","date":"2025-10-10T14:04:54.658094Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.198208Z"}],"duration":9.861790000,"startDate":"2025-10-10T14:04:53.336418Z","endDate":"2025-10-10T14:05:03.198208Z"},"iteration":1},{"tenantId":"main","id":"54CGu46MS5AVnqUDLgeB56","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"1u9PkhHSZpZ7Ob8dCKtJXs","value":"value 3","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.336436Z"},{"state":"RUNNING","date":"2025-10-10T14:04:54.658103Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.198487Z"}],"duration":9.862051000,"startDate":"2025-10-10T14:04:53.336436Z","endDate":"2025-10-10T14:05:03.198487Z"},"iteration":2},{"tenantId":"main","id":"46g8hkDiwwIBvTQQy7IsOb","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"qNyUmxgITGXd0tI5mbvVy","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.106259Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.106262Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.147176Z"}],"duration":0.040917000,"startDate":"2025-10-10T14:04:59.106259Z","endDate":"2025-10-10T14:04:59.147176Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:56.793691Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:58.910895Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.103252Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.147238Z"}],"duration":2.353547000,"startDate":"2025-10-10T14:04:56.793691Z","endDate":"2025-10-10T14:04:59.147238Z"}},{"tenantId":"main","id":"4cCx7pjqMAvKCVJjsZsubF","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"pjZ3TO3tESe2rJAe6gsma","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.106956Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.106958Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.150475Z"}],"duration":0.043519000,"startDate":"2025-10-10T14:04:59.106956Z","endDate":"2025-10-10T14:04:59.150475Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:56.794057Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:58.911965Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.106766Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.150523Z"}],"duration":2.356466000,"startDate":"2025-10-10T14:04:56.794057Z","endDate":"2025-10-10T14:04:59.150523Z"}},{"tenantId":"main","id":"1prv027QVWFXDo0V5LJ90i","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"54CGu46MS5AVnqUDLgeB56","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.114965Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.114966Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.148801Z"}],"duration":0.033836000,"startDate":"2025-10-10T14:04:59.114965Z","endDate":"2025-10-10T14:04:59.148801Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:56.794354Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:58.933229Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.114678Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.148855Z"}],"duration":2.354501000,"startDate":"2025-10-10T14:04:56.794354Z","endDate":"2025-10-10T14:04:59.148855Z"}},{"tenantId":"main","id":"7KfegteYW6jRDI6C7049g0","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"qNyUmxgITGXd0tI5mbvVy","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.368698Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.368699Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.404589Z"}],"duration":0.035891000,"startDate":"2025-10-10T14:05:01.368698Z","endDate":"2025-10-10T14:05:01.404589Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.872747Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:01.168938Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.368308Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.404649Z"}],"duration":0.531902000,"startDate":"2025-10-10T14:05:00.872747Z","endDate":"2025-10-10T14:05:01.404649Z"}},{"tenantId":"main","id":"69z5fFAVoRdmm084YCGEDL","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"pjZ3TO3tESe2rJAe6gsma","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.388342Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.388344Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.414631Z"}],"duration":0.026289000,"startDate":"2025-10-10T14:05:01.388342Z","endDate":"2025-10-10T14:05:01.414631Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.873008Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:01.170005Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.387850Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.414708Z"}],"duration":0.541700000,"startDate":"2025-10-10T14:05:00.873008Z","endDate":"2025-10-10T14:05:01.414708Z"}},{"tenantId":"main","id":"1GIvaFk6rrnw2Asjr2LVRw","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"54CGu46MS5AVnqUDLgeB56","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.403739Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.403740Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.416565Z"}],"duration":0.012826000,"startDate":"2025-10-10T14:05:01.403739Z","endDate":"2025-10-10T14:05:01.416565Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.873252Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:01.187370Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.403489Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.416607Z"}],"duration":0.543355000,"startDate":"2025-10-10T14:05:00.873252Z","endDate":"2025-10-10T14:05:01.416607Z"}},{"tenantId":"main","id":"4ECnk2VKJ4HtYhvAsQxvWZ","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2_end","attempts":[{"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.866188Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.866190Z"}],"duration":0.000002000,"startDate":"2025-10-10T14:05:03.866188Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":null,"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.726021Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:03.804892Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.865841Z"}],"duration":0.139820000,"startDate":"2025-10-10T14:05:03.726021Z"}}],"labels":[{"key":"system.correlationId","value":"46UXtQbYCi25cQdjdfWVkg"}],"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.445202Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.043169Z"}],"duration":0.597967000,"startDate":"2025-10-10T14:04:50.445202Z"},"originalId":"46UXtQbYCi25cQdjdfWVkg","deleted":false,"metadata":{"attemptNumber":1,"originalCreatedDate":"2025-10-10T14:04:50.445208Z"}}

java.lang.RuntimeException: Execution 46UXtQbYCi25cQdjdfWVkg is currently at the status RUNNING which is not the awaited one, full execution object:
{"tenantId":"main","id":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","flowRevision":1,"taskRunList":[{"tenantId":"main","id":"1u9PkhHSZpZ7Ob8dCKtJXs","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"1_each","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:51.021106Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.956380Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.517506Z"}],"duration":12.496400000,"startDate":"2025-10-10T14:04:51.021106Z","endDate":"2025-10-10T14:05:03.517506Z"}},{"tenantId":"main","id":"qNyUmxgITGXd0tI5mbvVy","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"1u9PkhHSZpZ7Ob8dCKtJXs","value":"value 1","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.336391Z"},{"state":"RUNNING","date":"2025-10-10T14:04:54.658080Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.197928Z"}],"duration":9.861537000,"startDate":"2025-10-10T14:04:53.336391Z","endDate":"2025-10-10T14:05:03.197928Z"},"iteration":0},{"tenantId":"main","id":"pjZ3TO3tESe2rJAe6gsma","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"1u9PkhHSZpZ7Ob8dCKtJXs","value":"value 2","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.336418Z"},{"state":"RUNNING","date":"2025-10-10T14:04:54.658094Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.198208Z"}],"duration":9.861790000,"startDate":"2025-10-10T14:04:53.336418Z","endDate":"2025-10-10T14:05:03.198208Z"},"iteration":1},{"tenantId":"main","id":"54CGu46MS5AVnqUDLgeB56","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1_seq","parentTaskRunId":"1u9PkhHSZpZ7Ob8dCKtJXs","value":"value 3","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.336436Z"},{"state":"RUNNING","date":"2025-10-10T14:04:54.658103Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.198487Z"}],"duration":9.862051000,"startDate":"2025-10-10T14:04:53.336436Z","endDate":"2025-10-10T14:05:03.198487Z"},"iteration":2},{"tenantId":"main","id":"46g8hkDiwwIBvTQQy7IsOb","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"qNyUmxgITGXd0tI5mbvVy","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.106259Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.106262Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.147176Z"}],"duration":0.040917000,"startDate":"2025-10-10T14:04:59.106259Z","endDate":"2025-10-10T14:04:59.147176Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:56.793691Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:58.910895Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.103252Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.147238Z"}],"duration":2.353547000,"startDate":"2025-10-10T14:04:56.793691Z","endDate":"2025-10-10T14:04:59.147238Z"}},{"tenantId":"main","id":"4cCx7pjqMAvKCVJjsZsubF","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"pjZ3TO3tESe2rJAe6gsma","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.106956Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.106958Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.150475Z"}],"duration":0.043519000,"startDate":"2025-10-10T14:04:59.106956Z","endDate":"2025-10-10T14:04:59.150475Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:56.794057Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:58.911965Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.106766Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.150523Z"}],"duration":2.356466000,"startDate":"2025-10-10T14:04:56.794057Z","endDate":"2025-10-10T14:04:59.150523Z"}},{"tenantId":"main","id":"1prv027QVWFXDo0V5LJ90i","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-1_t1","parentTaskRunId":"54CGu46MS5AVnqUDLgeB56","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.114965Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.114966Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.148801Z"}],"duration":0.033836000,"startDate":"2025-10-10T14:04:59.114965Z","endDate":"2025-10-10T14:04:59.148801Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:56.794354Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:58.933229Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.114678Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.148855Z"}],"duration":2.354501000,"startDate":"2025-10-10T14:04:56.794354Z","endDate":"2025-10-10T14:04:59.148855Z"}},{"tenantId":"main","id":"7KfegteYW6jRDI6C7049g0","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"qNyUmxgITGXd0tI5mbvVy","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.368698Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.368699Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.404589Z"}],"duration":0.035891000,"startDate":"2025-10-10T14:05:01.368698Z","endDate":"2025-10-10T14:05:01.404589Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.872747Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:01.168938Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.368308Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.404649Z"}],"duration":0.531902000,"startDate":"2025-10-10T14:05:00.872747Z","endDate":"2025-10-10T14:05:01.404649Z"}},{"tenantId":"main","id":"69z5fFAVoRdmm084YCGEDL","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"pjZ3TO3tESe2rJAe6gsma","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.388342Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.388344Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.414631Z"}],"duration":0.026289000,"startDate":"2025-10-10T14:05:01.388342Z","endDate":"2025-10-10T14:05:01.414631Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.873008Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:01.170005Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.387850Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.414708Z"}],"duration":0.541700000,"startDate":"2025-10-10T14:05:00.873008Z","endDate":"2025-10-10T14:05:01.414708Z"}},{"tenantId":"main","id":"1GIvaFk6rrnw2Asjr2LVRw","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2-1-2_t2","parentTaskRunId":"54CGu46MS5AVnqUDLgeB56","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.403739Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.403740Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.416565Z"}],"duration":0.012826000,"startDate":"2025-10-10T14:05:01.403739Z","endDate":"2025-10-10T14:05:01.416565Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:00.873252Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:01.187370Z"},{"state":"RUNNING","date":"2025-10-10T14:05:01.403489Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:01.416607Z"}],"duration":0.543355000,"startDate":"2025-10-10T14:05:00.873252Z","endDate":"2025-10-10T14:05:01.416607Z"}},{"tenantId":"main","id":"4ECnk2VKJ4HtYhvAsQxvWZ","executionId":"46UXtQbYCi25cQdjdfWVkg","namespace":"io.kestra.tests","flowId":"each-parallel-nested","taskId":"2_end","attempts":[{"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.866188Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.866190Z"}],"duration":0.000002000,"startDate":"2025-10-10T14:05:03.866188Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":null,"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.726021Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:03.804892Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.865841Z"}],"duration":0.139820000,"startDate":"2025-10-10T14:05:03.726021Z"}}],"labels":[{"key":"system.correlationId","value":"46UXtQbYCi25cQdjdfWVkg"}],"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.445202Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.043169Z"}],"duration":0.597967000,"startDate":"2025-10-10T14:04:50.445202Z"},"originalId":"46UXtQbYCi25cQdjdfWVkg","deleted":false,"metadata":{"attemptNumber":1,"originalCreatedDate":"2025-10-10T14:04:50.445208Z"}}
	at io.kestra.core.runners.TestRunnerUtils.awaitExecution(TestRunnerUtils.java:211)
	at io.kestra.core.runners.TestRunnerUtils.emitAndAwaitExecution(TestRunnerUtils.java:186)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:108)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:103)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:76)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:51)
	at io.kestra.core.runners.ExecutionServiceTest.replayEachPara(ExecutionServiceTest.java:301)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.core.runners.ExecutionServiceTest > replayFlowable() failed ❌ in 16.221
java.lang.RuntimeException: Execution 7duaLPhpYluhul8i7Jve7Z is currently at the status RUNNING which is not the awaited one, full execution object:
{"tenantId":"tenant2","id":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","flowRevision":1,"taskRunList":[{"tenantId":"tenant2","id":"37SA8elN3tYh7UI7FWyydn","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"1_each","outputs":{},"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:51.135481Z"},{"state":"RUNNING","date":"2025-10-10T14:04:52.298505Z"}],"duration":1.163024000,"startDate":"2025-10-10T14:04:51.135481Z"}},{"tenantId":"tenant2","id":"2QPw1Ruv8AU1A4IJc8F6vX","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1_seq","parentTaskRunId":"37SA8elN3tYh7UI7FWyydn","value":"value 1","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.665692Z"},{"state":"RUNNING","date":"2025-10-10T14:04:55.042356Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:05.151036Z"}],"duration":11.485344000,"startDate":"2025-10-10T14:04:53.665692Z","endDate":"2025-10-10T14:05:05.151036Z"},"iteration":0},{"tenantId":"tenant2","id":"11u5vxJ6aM2UcBIGtTuvuS","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1_seq","parentTaskRunId":"37SA8elN3tYh7UI7FWyydn","value":"value 2","outputs":{},"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.665715Z"},{"state":"RUNNING","date":"2025-10-10T14:04:55.042370Z"}],"duration":1.376655000,"startDate":"2025-10-10T14:04:53.665715Z"},"iteration":1},{"tenantId":"tenant2","id":"1F87TULBH6t3FYBMPTnuy4","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1_seq","parentTaskRunId":"37SA8elN3tYh7UI7FWyydn","value":"value 3","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.682590Z"},{"state":"RUNNING","date":"2025-10-10T14:04:55.042378Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:05.422544Z"}],"duration":11.739954000,"startDate":"2025-10-10T14:04:53.682590Z","endDate":"2025-10-10T14:05:05.422544Z"},"iteration":2},{"tenantId":"tenant2","id":"5OdInPHayfmEX0796usb8a","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-1_t1","parentTaskRunId":"2QPw1Ruv8AU1A4IJc8F6vX","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.524174Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.524176Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.617544Z"}],"duration":0.093370000,"startDate":"2025-10-10T14:04:59.524174Z","endDate":"2025-10-10T14:04:59.617544Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.195626Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:59.343510Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.523915Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.617598Z"}],"duration":2.421972000,"startDate":"2025-10-10T14:04:57.195626Z","endDate":"2025-10-10T14:04:59.617598Z"}},{"tenantId":"tenant2","id":"6JOAUlz9WrKksGhG4xq7xs","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-1_t1","parentTaskRunId":"11u5vxJ6aM2UcBIGtTuvuS","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.555901Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.555903Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.644052Z"}],"duration":0.088151000,"startDate":"2025-10-10T14:04:59.555901Z","endDate":"2025-10-10T14:04:59.644052Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.195884Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:59.348291Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.555638Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.644117Z"}],"duration":2.448233000,"startDate":"2025-10-10T14:04:57.195884Z","endDate":"2025-10-10T14:04:59.644117Z"}},{"tenantId":"tenant2","id":"4HpOO8nQF8HyWavy2p5aFN","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-1_t1","parentTaskRunId":"1F87TULBH6t3FYBMPTnuy4","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.556610Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.556612Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.561514Z"}],"duration":0.004904000,"startDate":"2025-10-10T14:04:59.556610Z","endDate":"2025-10-10T14:04:59.561514Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.202795Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:59.368748Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.556420Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.561559Z"}],"duration":2.358764000,"startDate":"2025-10-10T14:04:57.202795Z","endDate":"2025-10-10T14:04:59.561559Z"}},{"tenantId":"tenant2","id":"6PZbvzE9XkbHfBTiTCJjK1","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2_t2","parentTaskRunId":"2QPw1Ruv8AU1A4IJc8F6vX","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.021436Z"},{"state":"RUNNING","date":"2025-10-10T14:05:02.421433Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:04.796419Z"}],"duration":3.774983000,"startDate":"2025-10-10T14:05:01.021436Z","endDate":"2025-10-10T14:05:04.796419Z"}},{"tenantId":"tenant2","id":"4IBdRK74SqX9idyLiHLivK","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2_t2","parentTaskRunId":"11u5vxJ6aM2UcBIGtTuvuS","outputs":{},"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.021907Z"},{"state":"RUNNING","date":"2025-10-10T14:05:02.421446Z"}],"duration":1.399539000,"startDate":"2025-10-10T14:05:01.021907Z"}},{"tenantId":"tenant2","id":"IBl727Z212ks1oMVBi3cY","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2_t2","parentTaskRunId":"1F87TULBH6t3FYBMPTnuy4","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.022843Z"},{"state":"RUNNING","date":"2025-10-10T14:05:02.421454Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:05.337181Z"}],"duration":4.314338000,"startDate":"2025-10-10T14:05:01.022843Z","endDate":"2025-10-10T14:05:05.337181Z"}},{"tenantId":"tenant2","id":"5eQ6TwFpvZtU1n5djiTOOO","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"6PZbvzE9XkbHfBTiTCJjK1","value":"value a","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.103444Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.103445Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128915Z"}],"duration":0.025471000,"startDate":"2025-10-10T14:05:03.103444Z","endDate":"2025-10-10T14:05:03.128915Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547224Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.722665Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.102076Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128973Z"}],"duration":0.581749000,"startDate":"2025-10-10T14:05:02.547224Z","endDate":"2025-10-10T14:05:03.128973Z"},"iteration":0},{"tenantId":"tenant2","id":"4Vpe7E7Vu14zTwGohDVKfw","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"6PZbvzE9XkbHfBTiTCJjK1","value":"value b","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.103784Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.103786Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128748Z"}],"duration":0.024964000,"startDate":"2025-10-10T14:05:03.103784Z","endDate":"2025-10-10T14:05:03.128748Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547252Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.726022Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.103480Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128805Z"}],"duration":0.581553000,"startDate":"2025-10-10T14:05:02.547252Z","endDate":"2025-10-10T14:05:03.128805Z"},"iteration":1},{"tenantId":"tenant2","id":"1W2SLFNwMztemSejOnfNib","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"6PZbvzE9XkbHfBTiTCJjK1","value":"value c","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.110672Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.110673Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.155766Z"}],"duration":0.045094000,"startDate":"2025-10-10T14:05:03.110672Z","endDate":"2025-10-10T14:05:03.155766Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547276Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.732903Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.110445Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.155832Z"}],"duration":0.608556000,"startDate":"2025-10-10T14:05:02.547276Z","endDate":"2025-10-10T14:05:03.155832Z"},"iteration":2},{"tenantId":"tenant2","id":"5vPbguReivP4oLy5ubPxYq","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"4IBdRK74SqX9idyLiHLivK","value":"value a","attempts":[{"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.109968Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.109971Z"}],"duration":0.000003000,"startDate":"2025-10-10T14:05:03.109968Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":null,"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547741Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.742814Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.107261Z"}],"duration":0.559520000,"startDate":"2025-10-10T14:05:02.547741Z"},"iteration":0},{"tenantId":"tenant2","id":"3yLWxjVgmqpGJv1PcR2cyr","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"4IBdRK74SqX9idyLiHLivK","value":"value b","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.135479Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.135481Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.173193Z"}],"duration":0.037714000,"startDate":"2025-10-10T14:05:03.135479Z","endDate":"2025-10-10T14:05:03.173193Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547759Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.746950Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.135219Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.173254Z"}],"duration":0.625495000,"startDate":"2025-10-10T14:05:02.547759Z","endDate":"2025-10-10T14:05:03.173254Z"},"iteration":1},{"tenantId":"tenant2","id":"35Sng0sAQNTSrIYoWMwZpJ","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"4IBdRK74SqX9idyLiHLivK","value":"value c","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.181808Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.181809Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.212004Z"}],"duration":0.030196000,"startDate":"2025-10-10T14:05:03.181808Z","endDate":"2025-10-10T14:05:03.212004Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547780Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.747874Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.181628Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.215326Z"}],"duration":0.667546000,"startDate":"2025-10-10T14:05:02.547780Z","endDate":"2025-10-10T14:05:03.215326Z"},"iteration":2},{"tenantId":"tenant2","id":"5BXhrQVs4sezbAXGucnNRv","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"IBl727Z212ks1oMVBi3cY","value":"value a","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.196427Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.196428Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.239126Z"}],"duration":0.042699000,"startDate":"2025-10-10T14:05:03.196427Z","endDate":"2025-10-10T14:05:03.239126Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.548111Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.896689Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.196229Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.239205Z"}],"duration":0.691094000,"startDate":"2025-10-10T14:05:02.548111Z","endDate":"2025-10-10T14:05:03.239205Z"},"iteration":0},{"tenantId":"tenant2","id":"2Rl5GYXO8k6QqwDpoR6N9a","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"IBl727Z212ks1oMVBi3cY","value":"value b","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.204935Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.204937Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.288832Z"}],"duration":0.083897000,"startDate":"2025-10-10T14:05:03.204935Z","endDate":"2025-10-10T14:05:03.288832Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.548125Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.898768Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.204682Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.288873Z"}],"duration":0.740748000,"startDate":"2025-10-10T14:05:02.548125Z","endDate":"2025-10-10T14:05:03.288873Z"},"iteration":1},{"tenantId":"tenant2","id":"36d4hh7exrbIlP5yaewHDO","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"IBl727Z212ks1oMVBi3cY","value":"value c","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.226405Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.226407Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.285932Z"}],"duration":0.059527000,"startDate":"2025-10-10T14:05:03.226405Z","endDate":"2025-10-10T14:05:03.285932Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.548165Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.899553Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.226122Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.286353Z"}],"duration":0.738188000,"startDate":"2025-10-10T14:05:02.548165Z","endDate":"2025-10-10T14:05:03.286353Z"},"iteration":2}],"inputs":{"failed":"NO"},"labels":[{"key":"system.correlationId","value":"7duaLPhpYluhul8i7Jve7Z"}],"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.528497Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.136355Z"}],"duration":0.607858000,"startDate":"2025-10-10T14:04:50.528497Z"},"originalId":"7duaLPhpYluhul8i7Jve7Z","deleted":false,"metadata":{"attemptNumber":1,"originalCreatedDate":"2025-10-10T14:04:50.528503Z"}}

java.lang.RuntimeException: Execution 7duaLPhpYluhul8i7Jve7Z is currently at the status RUNNING which is not the awaited one, full execution object:
{"tenantId":"tenant2","id":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","flowRevision":1,"taskRunList":[{"tenantId":"tenant2","id":"37SA8elN3tYh7UI7FWyydn","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"1_each","outputs":{},"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:51.135481Z"},{"state":"RUNNING","date":"2025-10-10T14:04:52.298505Z"}],"duration":1.163024000,"startDate":"2025-10-10T14:04:51.135481Z"}},{"tenantId":"tenant2","id":"2QPw1Ruv8AU1A4IJc8F6vX","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1_seq","parentTaskRunId":"37SA8elN3tYh7UI7FWyydn","value":"value 1","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.665692Z"},{"state":"RUNNING","date":"2025-10-10T14:04:55.042356Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:05.151036Z"}],"duration":11.485344000,"startDate":"2025-10-10T14:04:53.665692Z","endDate":"2025-10-10T14:05:05.151036Z"},"iteration":0},{"tenantId":"tenant2","id":"11u5vxJ6aM2UcBIGtTuvuS","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1_seq","parentTaskRunId":"37SA8elN3tYh7UI7FWyydn","value":"value 2","outputs":{},"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.665715Z"},{"state":"RUNNING","date":"2025-10-10T14:04:55.042370Z"}],"duration":1.376655000,"startDate":"2025-10-10T14:04:53.665715Z"},"iteration":1},{"tenantId":"tenant2","id":"1F87TULBH6t3FYBMPTnuy4","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1_seq","parentTaskRunId":"37SA8elN3tYh7UI7FWyydn","value":"value 3","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:53.682590Z"},{"state":"RUNNING","date":"2025-10-10T14:04:55.042378Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:05.422544Z"}],"duration":11.739954000,"startDate":"2025-10-10T14:04:53.682590Z","endDate":"2025-10-10T14:05:05.422544Z"},"iteration":2},{"tenantId":"tenant2","id":"5OdInPHayfmEX0796usb8a","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-1_t1","parentTaskRunId":"2QPw1Ruv8AU1A4IJc8F6vX","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.524174Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.524176Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.617544Z"}],"duration":0.093370000,"startDate":"2025-10-10T14:04:59.524174Z","endDate":"2025-10-10T14:04:59.617544Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.195626Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:59.343510Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.523915Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.617598Z"}],"duration":2.421972000,"startDate":"2025-10-10T14:04:57.195626Z","endDate":"2025-10-10T14:04:59.617598Z"}},{"tenantId":"tenant2","id":"6JOAUlz9WrKksGhG4xq7xs","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-1_t1","parentTaskRunId":"11u5vxJ6aM2UcBIGtTuvuS","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.555901Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.555903Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.644052Z"}],"duration":0.088151000,"startDate":"2025-10-10T14:04:59.555901Z","endDate":"2025-10-10T14:04:59.644052Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.195884Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:59.348291Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.555638Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.644117Z"}],"duration":2.448233000,"startDate":"2025-10-10T14:04:57.195884Z","endDate":"2025-10-10T14:04:59.644117Z"}},{"tenantId":"tenant2","id":"4HpOO8nQF8HyWavy2p5aFN","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-1_t1","parentTaskRunId":"1F87TULBH6t3FYBMPTnuy4","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:59.556610Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.556612Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.561514Z"}],"duration":0.004904000,"startDate":"2025-10-10T14:04:59.556610Z","endDate":"2025-10-10T14:04:59.561514Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:04:57.202795Z"},{"state":"SUBMITTED","date":"2025-10-10T14:04:59.368748Z"},{"state":"RUNNING","date":"2025-10-10T14:04:59.556420Z"},{"state":"SUCCESS","date":"2025-10-10T14:04:59.561559Z"}],"duration":2.358764000,"startDate":"2025-10-10T14:04:57.202795Z","endDate":"2025-10-10T14:04:59.561559Z"}},{"tenantId":"tenant2","id":"6PZbvzE9XkbHfBTiTCJjK1","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2_t2","parentTaskRunId":"2QPw1Ruv8AU1A4IJc8F6vX","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.021436Z"},{"state":"RUNNING","date":"2025-10-10T14:05:02.421433Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:04.796419Z"}],"duration":3.774983000,"startDate":"2025-10-10T14:05:01.021436Z","endDate":"2025-10-10T14:05:04.796419Z"}},{"tenantId":"tenant2","id":"4IBdRK74SqX9idyLiHLivK","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2_t2","parentTaskRunId":"11u5vxJ6aM2UcBIGtTuvuS","outputs":{},"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.021907Z"},{"state":"RUNNING","date":"2025-10-10T14:05:02.421446Z"}],"duration":1.399539000,"startDate":"2025-10-10T14:05:01.021907Z"}},{"tenantId":"tenant2","id":"IBl727Z212ks1oMVBi3cY","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2_t2","parentTaskRunId":"1F87TULBH6t3FYBMPTnuy4","outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:01.022843Z"},{"state":"RUNNING","date":"2025-10-10T14:05:02.421454Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:05.337181Z"}],"duration":4.314338000,"startDate":"2025-10-10T14:05:01.022843Z","endDate":"2025-10-10T14:05:05.337181Z"}},{"tenantId":"tenant2","id":"5eQ6TwFpvZtU1n5djiTOOO","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"6PZbvzE9XkbHfBTiTCJjK1","value":"value a","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.103444Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.103445Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128915Z"}],"duration":0.025471000,"startDate":"2025-10-10T14:05:03.103444Z","endDate":"2025-10-10T14:05:03.128915Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547224Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.722665Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.102076Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128973Z"}],"duration":0.581749000,"startDate":"2025-10-10T14:05:02.547224Z","endDate":"2025-10-10T14:05:03.128973Z"},"iteration":0},{"tenantId":"tenant2","id":"4Vpe7E7Vu14zTwGohDVKfw","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"6PZbvzE9XkbHfBTiTCJjK1","value":"value b","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.103784Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.103786Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128748Z"}],"duration":0.024964000,"startDate":"2025-10-10T14:05:03.103784Z","endDate":"2025-10-10T14:05:03.128748Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547252Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.726022Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.103480Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.128805Z"}],"duration":0.581553000,"startDate":"2025-10-10T14:05:02.547252Z","endDate":"2025-10-10T14:05:03.128805Z"},"iteration":1},{"tenantId":"tenant2","id":"1W2SLFNwMztemSejOnfNib","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"6PZbvzE9XkbHfBTiTCJjK1","value":"value c","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.110672Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.110673Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.155766Z"}],"duration":0.045094000,"startDate":"2025-10-10T14:05:03.110672Z","endDate":"2025-10-10T14:05:03.155766Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547276Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.732903Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.110445Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.155832Z"}],"duration":0.608556000,"startDate":"2025-10-10T14:05:02.547276Z","endDate":"2025-10-10T14:05:03.155832Z"},"iteration":2},{"tenantId":"tenant2","id":"5vPbguReivP4oLy5ubPxYq","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"4IBdRK74SqX9idyLiHLivK","value":"value a","attempts":[{"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.109968Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.109971Z"}],"duration":0.000003000,"startDate":"2025-10-10T14:05:03.109968Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":null,"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547741Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.742814Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.107261Z"}],"duration":0.559520000,"startDate":"2025-10-10T14:05:02.547741Z"},"iteration":0},{"tenantId":"tenant2","id":"3yLWxjVgmqpGJv1PcR2cyr","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"4IBdRK74SqX9idyLiHLivK","value":"value b","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.135479Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.135481Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.173193Z"}],"duration":0.037714000,"startDate":"2025-10-10T14:05:03.135479Z","endDate":"2025-10-10T14:05:03.173193Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547759Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.746950Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.135219Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.173254Z"}],"duration":0.625495000,"startDate":"2025-10-10T14:05:02.547759Z","endDate":"2025-10-10T14:05:03.173254Z"},"iteration":1},{"tenantId":"tenant2","id":"35Sng0sAQNTSrIYoWMwZpJ","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"4IBdRK74SqX9idyLiHLivK","value":"value c","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.181808Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.181809Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.212004Z"}],"duration":0.030196000,"startDate":"2025-10-10T14:05:03.181808Z","endDate":"2025-10-10T14:05:03.212004Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.547780Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.747874Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.181628Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.215326Z"}],"duration":0.667546000,"startDate":"2025-10-10T14:05:02.547780Z","endDate":"2025-10-10T14:05:03.215326Z"},"iteration":2},{"tenantId":"tenant2","id":"5BXhrQVs4sezbAXGucnNRv","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"IBl727Z212ks1oMVBi3cY","value":"value a","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.196427Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.196428Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.239126Z"}],"duration":0.042699000,"startDate":"2025-10-10T14:05:03.196427Z","endDate":"2025-10-10T14:05:03.239126Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.548111Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.896689Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.196229Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.239205Z"}],"duration":0.691094000,"startDate":"2025-10-10T14:05:02.548111Z","endDate":"2025-10-10T14:05:03.239205Z"},"iteration":0},{"tenantId":"tenant2","id":"2Rl5GYXO8k6QqwDpoR6N9a","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"IBl727Z212ks1oMVBi3cY","value":"value b","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.204935Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.204937Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.288832Z"}],"duration":0.083897000,"startDate":"2025-10-10T14:05:03.204935Z","endDate":"2025-10-10T14:05:03.288832Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.548125Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.898768Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.204682Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.288873Z"}],"duration":0.740748000,"startDate":"2025-10-10T14:05:02.548125Z","endDate":"2025-10-10T14:05:03.288873Z"},"iteration":1},{"tenantId":"tenant2","id":"36d4hh7exrbIlP5yaewHDO","executionId":"7duaLPhpYluhul8i7Jve7Z","namespace":"io.kestra.tests","flowId":"restart-each","taskId":"2-1-2-1_t1","parentTaskRunId":"IBl727Z212ks1oMVBi3cY","value":"value c","attempts":[{"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:03.226405Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.226407Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.285932Z"}],"duration":0.059527000,"startDate":"2025-10-10T14:05:03.226405Z","endDate":"2025-10-10T14:05:03.285932Z"},"workerId":"5e7042bf-7670-4d21-9bca-ecb0356d6e73"}],"outputs":{},"state":{"current":"SUCCESS","histories":[{"state":"CREATED","date":"2025-10-10T14:05:02.548165Z"},{"state":"SUBMITTED","date":"2025-10-10T14:05:02.899553Z"},{"state":"RUNNING","date":"2025-10-10T14:05:03.226122Z"},{"state":"SUCCESS","date":"2025-10-10T14:05:03.286353Z"}],"duration":0.738188000,"startDate":"2025-10-10T14:05:02.548165Z","endDate":"2025-10-10T14:05:03.286353Z"},"iteration":2}],"inputs":{"failed":"NO"},"labels":[{"key":"system.correlationId","value":"7duaLPhpYluhul8i7Jve7Z"}],"state":{"current":"RUNNING","histories":[{"state":"CREATED","date":"2025-10-10T14:04:50.528497Z"},{"state":"RUNNING","date":"2025-10-10T14:04:51.136355Z"}],"duration":0.607858000,"startDate":"2025-10-10T14:04:50.528497Z"},"originalId":"7duaLPhpYluhul8i7Jve7Z","deleted":false,"metadata":{"attemptNumber":1,"originalCreatedDate":"2025-10-10T14:04:50.528503Z"}}
	at io.kestra.core.runners.TestRunnerUtils.awaitExecution(TestRunnerUtils.java:211)
	at io.kestra.core.runners.TestRunnerUtils.emitAndAwaitExecution(TestRunnerUtils.java:186)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:108)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:103)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:76)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:61)
	at io.kestra.core.runners.ExecutionServiceTest.replayFlowable(ExecutionServiceTest.java:205)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 6.468
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2xkNCyuEmlJkg9KnYw4lMS, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.629671Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.629686Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5L4HD7mFn2giIO26gZB9LG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.630100Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.630107Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=3D8NFs4QnF1AOTI6niCZfG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.631025Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.631038Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.628817Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.628825Z)]), parentId=null, originalId=2rt7Ay3pIp1vMpLGQ3lfk3, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@237f3dfe, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4VicjqhtetQMc0ekE4nco0, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.038711Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.038720Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2MHhxL3OaQerR8Dhc9GjDO, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.476259Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.476265Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=30qagoh1QW9iRG7nPoZYQJ, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.477114Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.477123Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:50.823488Z), State.History(state=RUNNING, date=2025-10-10T14:03:50.823493Z)]), parentId=null, originalId=4HJxRl03RCF2aADjvgnvCi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@150cbcdf, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2TLdkb4NYmqGUatApDZ6py, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746045Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.746056Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5QAuoQmKV9W4F7EWrU7Z8r, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746420Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.746428Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2GDwhVZczMrnWhuJ3xXT8Q, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.747475Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.747487Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.745296Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.745304Z)]), parentId=null, originalId=KX7xpO4vizplV3P1dkKM7, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@7e8a4318, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2xkNCyuEmlJkg9KnYw4lMS, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.629671581Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.629686689Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5L4HD7mFn2giIO26gZB9LG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.630100597Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.630107941Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=3D8NFs4QnF1AOTI6niCZfG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.631025916Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.631038039Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.628817256Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.628825722Z)]), parentId=null, originalId=2rt7Ay3pIp1vMpLGQ3lfk3, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5a9d92d6, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2TLdkb4NYmqGUatApDZ6py, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746045001Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.746056032Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5QAuoQmKV9W4F7EWrU7Z8r, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746420297Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.746428863Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2GDwhVZczMrnWhuJ3xXT8Q, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.747475299Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.747487311Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.745296265Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.745304460Z)]), parentId=null, originalId=KX7xpO4vizplV3P1dkKM7, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@7e09dfad, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4VicjqhtetQMc0ekE4nco0, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.038711Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.038720Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2MHhxL3OaQerR8Dhc9GjDO, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.476259Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.476265Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=30qagoh1QW9iRG7nPoZYQJ, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.477114Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.477123Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:50.823488Z), State.History(state=RUNNING, date=2025-10-10T14:03:50.823493Z)]), parentId=null, originalId=4HJxRl03RCF2aADjvgnvCi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@150cbcdf, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2xkNCyuEmlJkg9KnYw4lMS, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.629671Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.629686Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5L4HD7mFn2giIO26gZB9LG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.630100Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.630107Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=3D8NFs4QnF1AOTI6niCZfG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.631025Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.631038Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.628817Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.628825Z)]), parentId=null, originalId=2rt7Ay3pIp1vMpLGQ3lfk3, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@237f3dfe, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4VicjqhtetQMc0ekE4nco0, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.038711Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.038720Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2MHhxL3OaQerR8Dhc9GjDO, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.476259Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.476265Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=30qagoh1QW9iRG7nPoZYQJ, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.477114Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.477123Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:50.823488Z), State.History(state=RUNNING, date=2025-10-10T14:03:50.823493Z)]), parentId=null, originalId=4HJxRl03RCF2aADjvgnvCi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@150cbcdf, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2TLdkb4NYmqGUatApDZ6py, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746045Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.746056Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5QAuoQmKV9W4F7EWrU7Z8r, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746420Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.746428Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2GDwhVZczMrnWhuJ3xXT8Q, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.747475Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.747487Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.745296Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.745304Z)]), parentId=null, originalId=KX7xpO4vizplV3P1dkKM7, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@7e8a4318, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2xkNCyuEmlJkg9KnYw4lMS, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.629671581Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.629686689Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5L4HD7mFn2giIO26gZB9LG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.630100597Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.630107941Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=3D8NFs4QnF1AOTI6niCZfG, executionId=2rt7Ay3pIp1vMpLGQ3lfk3, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.631025916Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.631038039Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.628817256Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.628825722Z)]), parentId=null, originalId=2rt7Ay3pIp1vMpLGQ3lfk3, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@5a9d92d6, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2TLdkb4NYmqGUatApDZ6py, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746045001Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.746056032Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=5QAuoQmKV9W4F7EWrU7Z8r, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.746420297Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.746428863Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2GDwhVZczMrnWhuJ3xXT8Q, executionId=KX7xpO4vizplV3P1dkKM7, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.747475299Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.747487311Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.745296265Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.745304460Z)]), parentId=null, originalId=KX7xpO4vizplV3P1dkKM7, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@7e09dfad, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=4VicjqhtetQMc0ekE4nco0, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.038711Z), State.History(state=SUCCESS, date=2025-10-10T14:03:53.038720Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=2MHhxL3OaQerR8Dhc9GjDO, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.476259Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.476265Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-2f3st9wp6j4uqxpwwfetwj, id=30qagoh1QW9iRG7nPoZYQJ, executionId=4HJxRl03RCF2aADjvgnvCi, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:53.477114Z), State.History(state=RUNNING, date=2025-10-10T14:03:53.477123Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T14:03:50.823488Z), State.History(state=RUNNING, date=2025-10-10T14:03:50.823493Z)]), parentId=null, originalId=4HJxRl03RCF2aADjvgnvCi, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@150cbcdf, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

jdbc-postgres > io.kestra.repository.postgres.PostgresExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 7.501
org.jooq.exception.DataAccessException: SQL [select *, count(*) over () as "total_count" from (select "value" from executions where ("tenant_id" = ? and "deleted" = ? and "kind" is null and (EXISTS ( SELECT 1 FROM JSON_TABLE(value, '$.labels[*]' COLUMNS(  label_key VARCHAR(255) PATH '$.key',  label_value VARCHAR(255) PATH '$.value')) AS lbl WHERE LOWER(lbl.label_value) LIKE LOWER(CONCAT('%', ?, '%'))    OR LOWER(lbl.label_key) LIKE LOWER(CONCAT('%', ?, '%')))))) as "page" where true offset ? rows fetch next ? rows only]; ERROR: syntax error at or near "COLUMNS"
  Position: 204

org.jooq.exception.DataAccessException: SQL [select *, count(*) over () as "total_count" from (select "value" from executions where ("tenant_id" = ? and "deleted" = ? and "kind" is null and (EXISTS ( SELECT 1 FROM JSON_TABLE(value, '$.labels[*]' COLUMNS(  label_key VARCHAR(255) PATH '$.key',  label_value VARCHAR(255) PATH '$.value')) AS lbl WHERE LOWER(lbl.label_value) LIKE LOWER(CONCAT('%', ?, '%'))    OR LOWER(lbl.label_key) LIKE LOWER(CONCAT('%', ?, '%')))))) as "page" where true offset ? rows fetch next ? rows only]; ERROR: syntax error at or near "COLUMNS"
  Position: 204
	at org.jooq_3.20.8.POSTGRES.debug(Unknown Source)
	at app//org.jooq.impl.Tools.translate(Tools.java:3700)
	at app//org.jooq.impl.Tools.translate(Tools.java:3676)
	at app//org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:869)
	at app//org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:363)
	at app//org.jooq.impl.AbstractResultQuery.fetch(AbstractResultQuery.java:263)
	at app//org.jooq.impl.SelectImpl.fetch(SelectImpl.java:3217)
	at app//io.kestra.repository.postgres.PostgresRepository.fetchPage(PostgresRepository.java:112)
	at app//io.kestra.jdbc.AbstractJdbcRepository.fetchPage(AbstractJdbcRepository.java:217)
	at app//io.kestra.jdbc.repository.AbstractJdbcExecutionRepository.lambda$find$4(AbstractJdbcExecutionRepository.java:233)
	at app//org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:533)
	at app//org.jooq.impl.Tools$3$1.block(Tools.java:6393)
	at [email protected]/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3740)
	at [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3723)
	at app//org.jooq.impl.Tools$3.get(Tools.java:6390)
	at app//org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:581)
	at app//org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:504)
	at app//io.kestra.jdbc.JooqDSLContextWrapper.lambda$transactionResult$2(JooqDSLContextWrapper.java:67)
	at app//dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243)
	at app//dev.failsafe.Functions.lambda$get$0(Functions.java:46)
	at app//dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
	at app//dev.failsafe.internal.FallbackExecutor.lambda$apply$0(FallbackExecutor.java:51)
	at app//dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
	at app//dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
	at app//dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112)
	at app//io.kestra.core.utils.RetryUtils$Instance.wrap(RetryUtils.java:144)
	at app//io.kestra.core.utils.RetryUtils$Instance.runRetryIf(RetryUtils.java:103)
	at app//io.kestra.jdbc.JooqDSLContextWrapper.transactionResult(JooqDSLContextWrapper.java:65)
	at app//io.kestra.jdbc.repository.AbstractJdbcExecutionRepository.find(AbstractJdbcExecutionRepository.java:223)
	at app//io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:755)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "COLUMNS"
  Position: 204
	at app//org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2736)
	at app//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2421)
	at app//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:372)
	at app//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:525)
	at app//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:435)
	at app//org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:196)
	at app//org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:182)
	at app//com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
	at app//com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
	at app//org.jooq.tools.jdbc.DefaultPreparedStatement.execute(DefaultPreparedStatement.java:219)
	at app//org.jooq.impl.Tools.lambda$executeStatementAndGetFirstResultSet$104(Tools.java:4904)
	at app//org.jooq.impl.Tools.consumeExceptions(Tools.java:4791)
	at app//org.jooq.impl.Tools.executeStatementAndGetFirstResultSet(Tools.java:4819)
	at app//org.jooq.impl.AbstractResultQuery.execute(AbstractResultQuery.java:209)
	at app//org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:349)
	... 35 more


Flaky tests report quick summary:

totals > tests: 19, success: 13, skipped: 2, failed: 4

Project Status Success Skipped Failed
cli success ✅ 2 0 0
core failed ❌ 2 0 3
jdbc success ✅ 2 0 0
jdbc-h2 failed ❌ 1 0 1
jdbc-mysql success ✅ 4 0 0
jdbc-postgres success ✅ 4 0 0

Failed tests:

core > io.kestra.plugin.core.flow.PauseTest > delayFromInput() failed ❌ in 0.014
java.lang.IllegalArgumentException: Unable to find flow 'pause-duration-from-input'

java.lang.IllegalArgumentException: Unable to find flow 'pause-duration-from-input'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOneUntilPaused$1(TestRunnerUtils.java:121)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOneUntilPaused(TestRunnerUtils.java:121)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runDurationFromInput(PauseTest.java:201)
	at io.kestra.plugin.core.flow.PauseTest.delayFromInput(PauseTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.plugin.core.flow.PauseTest > delay() failed ❌ in 0.023
java.lang.IllegalArgumentException: Unable to find flow 'pause-delay'

java.lang.IllegalArgumentException: Unable to find flow 'pause-delay'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOneUntilPaused$1(TestRunnerUtils.java:121)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOneUntilPaused(TestRunnerUtils.java:121)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runDelay(PauseTest.java:183)
	at io.kestra.plugin.core.flow.PauseTest.delay(PauseTest.java:60)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.plugin.core.flow.PauseTest > parallelDelay() failed ❌ in 0.020
java.lang.IllegalArgumentException: Unable to find flow 'each-parallel-pause'

java.lang.IllegalArgumentException: Unable to find flow 'each-parallel-pause'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOne$0(TestRunnerUtils.java:79)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:79)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:66)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runParallelDelay(PauseTest.java:219)
	at io.kestra.plugin.core.flow.PauseTest.parallelDelay(PauseTest.java:72)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1351)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:422)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:651)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

jdbc-h2 > io.kestra.runner.h2.H2ServiceLivenessCoordinatorTest > shouldReEmitTasksWhenWorkerIsDetectedAsNonResponding() failed ❌ in 14.576
org.opentest4j.AssertionFailedError: 
Expecting value to be true but was false

org.opentest4j.AssertionFailedError: 
Expecting value to be true but was false
	at app//io.kestra.jdbc.runner.JdbcServiceLivenessCoordinatorTest.shouldReEmitTasksWhenWorkerIsDetectedAsNonResponding(JdbcServiceLivenessCoordinatorTest.java:128)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

@AcevedoR AcevedoR force-pushed the new-filters-execution-labels branch from 1cd06d5 to 29de84c Compare October 10, 2025 15:02
Copy link
Contributor

Tests report quick summary:

totals > tests: 3070, success: 3056, skipped: 12, failed: 2

Project Status Success Skipped Failed
cli success ✅ 72 0 0
core success ✅ 1599 0 0
executor success ✅ 3 0 0
jdbc success ✅ 10 0 0
jdbc-h2 success ✅ 430 0 0
jdbc-mysql failed ❌ 431 0 1
jdbc-postgres success ✅ 432 0 0
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler failed ❌ 21 0 1
storage-local success ✅ 62 0 0

Failed tests:

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 12.081
java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  []
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=tFxMyPF4rVTtAtuiRwBWc, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.595969982Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.595984068Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=75DVlhKUtmqFcSd4kfZRg5, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.633417680Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.633425194Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=m6gRIWHMizyHA30UgVEto, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.641852164Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.641869566Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.594914057Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.594924396Z)]), parentId=null, originalId=4Z6XXRuwWGKm0YSHhkDtm1, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@65f4ccf7, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4eLRXDOwCa4VB3vH1jUEpq, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724348113Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.724365436Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4H0J7777oMLxvl7t1HddMf, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724870585Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.724878971Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3JK7g2z7cjQKVbC8sGFrYz, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.744147404Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.744160047Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.723407814Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.723417932Z)]), parentId=null, originalId=3jwyHzkqK9NcadDhbiaCDS, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@636abb2d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but could not find the following element(s):
  [Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=tFxMyPF4rVTtAtuiRwBWc, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.595969982Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.595984068Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=75DVlhKUtmqFcSd4kfZRg5, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.633417680Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.633425194Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=m6gRIWHMizyHA30UgVEto, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.641852164Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.641869566Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.594914057Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.594924396Z)]), parentId=null, originalId=4Z6XXRuwWGKm0YSHhkDtm1, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@65f4ccf7, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4eLRXDOwCa4VB3vH1jUEpq, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724348113Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.724365436Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4H0J7777oMLxvl7t1HddMf, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724870585Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.724878971Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3JK7g2z7cjQKVbC8sGFrYz, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.744147404Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.744160047Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.723407814Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.723417932Z)]), parentId=null, originalId=3jwyHzkqK9NcadDhbiaCDS, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@636abb2d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy


java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  []
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=tFxMyPF4rVTtAtuiRwBWc, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.595969982Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.595984068Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=75DVlhKUtmqFcSd4kfZRg5, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.633417680Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.633425194Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=m6gRIWHMizyHA30UgVEto, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.641852164Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.641869566Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.594914057Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.594924396Z)]), parentId=null, originalId=4Z6XXRuwWGKm0YSHhkDtm1, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@65f4ccf7, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4eLRXDOwCa4VB3vH1jUEpq, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724348113Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.724365436Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4H0J7777oMLxvl7t1HddMf, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724870585Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.724878971Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3JK7g2z7cjQKVbC8sGFrYz, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.744147404Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.744160047Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.723407814Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.723417932Z)]), parentId=null, originalId=3jwyHzkqK9NcadDhbiaCDS, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@636abb2d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but could not find the following element(s):
  [Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=tFxMyPF4rVTtAtuiRwBWc, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.595969982Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.595984068Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=75DVlhKUtmqFcSd4kfZRg5, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.633417680Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.633425194Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=m6gRIWHMizyHA30UgVEto, executionId=4Z6XXRuwWGKm0YSHhkDtm1, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.641852164Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.641869566Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.594914057Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.594924396Z)]), parentId=null, originalId=4Z6XXRuwWGKm0YSHhkDtm1, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@65f4ccf7, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4eLRXDOwCa4VB3vH1jUEpq, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724348113Z), State.History(state=SUCCESS, date=2025-10-10T15:09:02.724365436Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=4H0J7777oMLxvl7t1HddMf, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.724870585Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.724878971Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-42mdz7nladt8omrzpf34dx, id=3JK7g2z7cjQKVbC8sGFrYz, executionId=3jwyHzkqK9NcadDhbiaCDS, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.744147404Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.744160047Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-10T15:09:02.723407814Z), State.History(state=RUNNING, date=2025-10-10T15:09:02.723417932Z)]), parentId=null, originalId=3jwyHzkqK9NcadDhbiaCDS, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@636abb2d, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

scheduler > io.kestra.scheduler.SchedulerConditionTest > schedule() failed ❌ in 42.574
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at app//io.kestra.scheduler.SchedulerConditionTest.schedule(SchedulerConditionTest.java:116)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)


Flaky tests report quick summary:

totals > tests: 21, success: 15, skipped: 2, failed: 4

Project Status Success Skipped Failed
cli success ✅ 2 0 0
core failed ❌ 2 0 3
jdbc success ✅ 2 0 0
jdbc-h2 success ✅ 2 0 0
jdbc-mysql success ✅ 4 0 0
jdbc-postgres success ✅ 4 0 0
scheduler failed ❌ 1 0 1

Failed tests:

core > io.kestra.plugin.core.flow.PauseTest > delayFromInput() failed ❌ in 0.029
java.lang.IllegalArgumentException: Unable to find flow 'pause-duration-from-input'

java.lang.IllegalArgumentException: Unable to find flow 'pause-duration-from-input'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOneUntilPaused$1(TestRunnerUtils.java:121)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOneUntilPaused(TestRunnerUtils.java:121)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runDurationFromInput(PauseTest.java:201)
	at io.kestra.plugin.core.flow.PauseTest.delayFromInput(PauseTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.plugin.core.flow.PauseTest > delay() failed ❌ in 0.028
java.lang.IllegalArgumentException: Unable to find flow 'pause-delay'

java.lang.IllegalArgumentException: Unable to find flow 'pause-delay'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOneUntilPaused$1(TestRunnerUtils.java:121)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOneUntilPaused(TestRunnerUtils.java:121)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runDelay(PauseTest.java:183)
	at io.kestra.plugin.core.flow.PauseTest.delay(PauseTest.java:60)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.plugin.core.flow.PauseTest > parallelDelay() failed ❌ in 0.018
java.lang.IllegalArgumentException: Unable to find flow 'each-parallel-pause'

java.lang.IllegalArgumentException: Unable to find flow 'each-parallel-pause'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOne$0(TestRunnerUtils.java:79)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:79)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:66)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runParallelDelay(PauseTest.java:219)
	at io.kestra.plugin.core.flow.PauseTest.parallelDelay(PauseTest.java:72)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1351)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:422)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:651)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

scheduler > io.kestra.scheduler.SchedulerScheduleTest > recoverNONELongRunningExecution() failed ❌ in 34.397
java.util.concurrent.TimeoutException: Await failed to terminate within PT20S.

java.util.concurrent.TimeoutException: Await failed to terminate within PT20S.
	at io.kestra.core.utils.Await.until(Await.java:42)
	at io.kestra.core.utils.Await.until(Await.java:31)
	at io.kestra.scheduler.SchedulerScheduleTest.recoverNONELongRunningExecution(SchedulerScheduleTest.java:687)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

@AcevedoR AcevedoR force-pushed the new-filters-execution-labels branch from 29de84c to 808485b Compare October 13, 2025 07:53
Copy link
Contributor

Tests report quick summary:

totals > tests: 3069, success: 3056, skipped: 11, failed: 2

Project Status Success Skipped Failed
cli success ✅ 72 0 0
core success ✅ 1598 0 0
executor success ✅ 3 0 0
jdbc success ✅ 10 0 0
jdbc-h2 success ✅ 430 0 0
jdbc-mysql failed ❌ 431 0 1
jdbc-postgres success ✅ 432 0 0
processor success ✅ 7 0 0
runner-memory success ✅ 1 0 0
scheduler failed ❌ 21 0 1
storage-local success ✅ 62 0 0

Failed tests:

jdbc-mysql > io.kestra.repository.mysql.MysqlExecutionRepositoryTest > shouldFindByLabel() failed ❌ in 5.544
java.lang.AssertionError: [find execution CONTAINS LABELS value] &#10;Expecting ArrayList:&#10;  [Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=7jdczl9hTMkjoV6ZkmXW2O, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.370745Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.370754Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6HqjrTVKtVgeAKstVsphWO, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371067Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371073Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2DNlGel67sTamMYiwjUy7A, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371959Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371969Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.369961Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.369967Z)]), parentId=null, originalId=5y0yjfbnPwQ4Pwd6ciOIiQ, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@24e04308, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),&#10;    Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6n7E5lRGwmYeKUTeLD06Dp, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:36.806329Z), State.History(state=SUCCESS, date=2025-10-13T07:59:36.806338Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=Eba76xIZ0EoJI5YTohZV1, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.116494Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.116501Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=4UomYd6c913Iq31WKFbGcI, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.134244Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.134254Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:34.760819Z), State.History(state=RUNNING, date=2025-10-13T07:59:34.760823Z)]), parentId=null, originalId=625GrYmRxXSzYQrNAcPaSF, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4dc28ae4, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),&#10;    Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2l26mE9yDBOKxdyHSr8NcU, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271447Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.271457Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=zaYLEr6yC1S2hMZWq6tMh, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271832Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.271838Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=1qjkbVIw5dHrh21Qab7Fa2, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.272639Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.272650Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.270766Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.270773Z)]), parentId=null, originalId=6qEtYtkHsKwQmYru33903x, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@23bfca06, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]&#10;to contain only:&#10;  [Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2l26mE9yDBOKxdyHSr8NcU, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271447788Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.271457837Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=zaYLEr6yC1S2hMZWq6tMh, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271832453Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.271838564Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=1qjkbVIw5dHrh21Qab7Fa2, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.272639813Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.272650022Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.270766723Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.270773485Z)]), parentId=null, originalId=6qEtYtkHsKwQmYru33903x, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@484b1465, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),&#10;    Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=7jdczl9hTMkjoV6ZkmXW2O, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.370745029Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.370754947Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6HqjrTVKtVgeAKstVsphWO, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371067628Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371073429Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2DNlGel67sTamMYiwjUy7A, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371959715Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371969193Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.369961503Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.369967204Z)]), parentId=null, originalId=5y0yjfbnPwQ4Pwd6ciOIiQ, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4aef6d5c, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]&#10;but the following element(s) were unexpected:&#10;  [Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6n7E5lRGwmYeKUTeLD06Dp, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:36.806329Z), State.History(state=SUCCESS, date=2025-10-13T07:59:36.806338Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=Eba76xIZ0EoJI5YTohZV1, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.116494Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.116501Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=4UomYd6c913Iq31WKFbGcI, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.134244Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.134254Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:34.760819Z), State.History(state=RUNNING, date=2025-10-13T07:59:34.760823Z)]), parentId=null, originalId=625GrYmRxXSzYQrNAcPaSF, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4dc28ae4, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]&#10;when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:&#10;- the comparison was performed on the following fields: id&#10;- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)&#10;- these types were compared with the following comparators:&#10;  - java.lang.Double -> DoubleComparator[precision=1.0E-15]&#10;  - java.lang.Float -> FloatComparator[precision=1.0E-6]&#10;  - java.nio.file.Path -> lexicographic comparator (Path natural order)&#10;- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).&#10;- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy&#10;

java.lang.AssertionError: [find execution CONTAINS LABELS value] 
Expecting ArrayList:
  [Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=7jdczl9hTMkjoV6ZkmXW2O, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.370745Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.370754Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6HqjrTVKtVgeAKstVsphWO, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371067Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371073Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2DNlGel67sTamMYiwjUy7A, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371959Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371969Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.369961Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.369967Z)]), parentId=null, originalId=5y0yjfbnPwQ4Pwd6ciOIiQ, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@24e04308, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6n7E5lRGwmYeKUTeLD06Dp, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:36.806329Z), State.History(state=SUCCESS, date=2025-10-13T07:59:36.806338Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=Eba76xIZ0EoJI5YTohZV1, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.116494Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.116501Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=4UomYd6c913Iq31WKFbGcI, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.134244Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.134254Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:34.760819Z), State.History(state=RUNNING, date=2025-10-13T07:59:34.760823Z)]), parentId=null, originalId=625GrYmRxXSzYQrNAcPaSF, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4dc28ae4, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2l26mE9yDBOKxdyHSr8NcU, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271447Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.271457Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=zaYLEr6yC1S2hMZWq6tMh, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271832Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.271838Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=1qjkbVIw5dHrh21Qab7Fa2, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.272639Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.272650Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.270766Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.270773Z)]), parentId=null, originalId=6qEtYtkHsKwQmYru33903x, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@23bfca06, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
to contain only:
  [Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2l26mE9yDBOKxdyHSr8NcU, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271447788Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.271457837Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=zaYLEr6yC1S2hMZWq6tMh, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.271832453Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.271838564Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=1qjkbVIw5dHrh21Qab7Fa2, executionId=6qEtYtkHsKwQmYru33903x, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.272639813Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.272650022Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.270766723Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.270773485Z)]), parentId=null, originalId=6qEtYtkHsKwQmYru33903x, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@484b1465, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null),
    Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=7jdczl9hTMkjoV6ZkmXW2O, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.370745029Z), State.History(state=SUCCESS, date=2025-10-13T07:59:37.370754947Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6HqjrTVKtVgeAKstVsphWO, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371067628Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371073429Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=2DNlGel67sTamMYiwjUy7A, executionId=5y0yjfbnPwQ4Pwd6ciOIiQ, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.371959715Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.371969193Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey2, value=labelvalue2], Label[key=labelkey3, value=labelvalue3]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.369961503Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.369967204Z)]), parentId=null, originalId=5y0yjfbnPwQ4Pwd6ciOIiQ, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4aef6d5c, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
but the following element(s) were unexpected:
  [Execution(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, flowRevision=1, taskRunList=[TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=6n7E5lRGwmYeKUTeLD06Dp, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=first, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=SUCCESS, histories=[State.History(state=CREATED, date=2025-10-13T07:59:36.806329Z), State.History(state=SUCCESS, date=2025-10-13T07:59:36.806338Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=Eba76xIZ0EoJI5YTohZV1, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=second, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.116494Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.116501Z)]), iteration=null, dynamic=null, forceExecution=null), TaskRun(tenantId=mysqlexecutionrepositorytest-6rqxe84li52mdvdawnrgvx, id=4UomYd6c913Iq31WKFbGcI, executionId=625GrYmRxXSzYQrNAcPaSF, namespace=io.kestra.unittest, flowId=full, taskId=third, parentTaskRunId=null, value=null, attempts=null, outputs=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:37.134244Z), State.History(state=RUNNING, date=2025-10-13T07:59:37.134254Z)]), iteration=null, dynamic=null, forceExecution=null)], inputs=null, outputs=null, labels=[Label[key=labelkey1, value=labelvalue1]], variables=null, state=State(current=RUNNING, histories=[State.History(state=CREATED, date=2025-10-13T07:59:34.760819Z), State.History(state=RUNNING, date=2025-10-13T07:59:34.760823Z)]), parentId=null, originalId=625GrYmRxXSzYQrNAcPaSF, trigger=null, deleted=false, metadata=io.kestra.core.models.executions.ExecutionMetadata@4dc28ae4, scheduleDate=null, traceParent=null, fixtures=null, kind=null, breakpoints=null)]
when comparing values using recursive field/property by field/property comparator on all fields/properties using the following configuration:
- the comparison was performed on the following fields: id
- no equals methods were used in the comparison EXCEPT for java JDK types since introspecting JDK types is forbidden in java 17+ (use withEqualsForType to register a specific way to compare a JDK type if you need it)
- these types were compared with the following comparators:
  - java.lang.Double -> DoubleComparator[precision=1.0E-15]
  - java.lang.Float -> FloatComparator[precision=1.0E-6]
  - java.nio.file.Path -> lexicographic comparator (Path natural order)
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).
- the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy

	at io.kestra.core.repositories.AbstractExecutionRepositoryTest.shouldFindByLabel(AbstractExecutionRepositoryTest.java:764)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

scheduler > io.kestra.scheduler.SchedulerConditionTest > schedule() failed ❌ in 39.481
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at app//io.kestra.scheduler.SchedulerConditionTest.schedule(SchedulerConditionTest.java:116)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at app//io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at app//io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)


Flaky tests report quick summary:

totals > tests: 21, success: 16, skipped: 2, failed: 3

Project Status Success Skipped Failed
cli success ✅ 2 0 0
core failed ❌ 2 0 3
jdbc success ✅ 2 0 0
jdbc-h2 success ✅ 2 0 0
jdbc-mysql success ✅ 4 0 0
jdbc-postgres success ✅ 4 0 0
scheduler success ✅ 2 0 0

Failed tests:

core > io.kestra.plugin.core.flow.PauseTest > delayFromInput() failed ❌ in 0.041
java.lang.IllegalArgumentException: Unable to find flow 'pause-duration-from-input'

java.lang.IllegalArgumentException: Unable to find flow 'pause-duration-from-input'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOneUntilPaused$1(TestRunnerUtils.java:121)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOneUntilPaused(TestRunnerUtils.java:121)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runDurationFromInput(PauseTest.java:201)
	at io.kestra.plugin.core.flow.PauseTest.delayFromInput(PauseTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.plugin.core.flow.PauseTest > parallelDelay() failed ❌ in 0.040
java.lang.IllegalArgumentException: Unable to find flow 'each-parallel-pause'

java.lang.IllegalArgumentException: Unable to find flow 'each-parallel-pause'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOne$0(TestRunnerUtils.java:79)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:79)
	at io.kestra.core.runners.TestRunnerUtils.runOne(TestRunnerUtils.java:66)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runParallelDelay(PauseTest.java:219)
	at io.kestra.plugin.core.flow.PauseTest.parallelDelay(PauseTest.java:72)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.tryRemoveAndExec(ForkJoinPool.java:1351)
	at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:422)
	at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:651)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

core > io.kestra.plugin.core.flow.PauseTest > delay() failed ❌ in 0.038
java.lang.IllegalArgumentException: Unable to find flow 'pause-delay'

java.lang.IllegalArgumentException: Unable to find flow 'pause-delay'
	at io.kestra.core.runners.TestRunnerUtils.lambda$runOneUntilPaused$1(TestRunnerUtils.java:121)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.kestra.core.runners.TestRunnerUtils.runOneUntilPaused(TestRunnerUtils.java:121)
	at io.kestra.plugin.core.flow.PauseTest$Suite.runDelay(PauseTest.java:183)
	at io.kestra.plugin.core.flow.PauseTest.delay(PauseTest.java:60)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension$2.proceed(MicronautJunit5Extension.java:142)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162)
	at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119)
	at io.micronaut.test.extensions.junit5.MicronautJunit5Extension.interceptTestMethod(MicronautJunit5Extension.java:129)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To review

Development

Successfully merging this pull request may close these issues.

1 participant