[Bifrost] Let providers propose their own parameters #3714
16 errors, 1 skipped, 30 pass in 5m 16s
7 files 7 suites 5m 16s ⏱️
47 tests 30 ✅ 1 💤 0 ❌ 16 🔥
182 runs 159 ✅ 3 💤 0 ❌ 20 🔥
Results for commit c050ffd.
Annotations
Check failure on line 0 in dev.restate.sdktesting.tests.KafkaIngress
github-actions / Test Results
1 out of 3 runs with error: handleEventInEventHandler(URL, int, Client) (dev.restate.sdktesting.tests.KafkaIngress)
test-report/threeNodes/TEST-junit-jupiter.xml [took 10s]
Raw output
Condition with alias 'Updates from Kafka are visible in the counter' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 expected: 6L but was: 0L.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'Updates from Kafka are visible in the counter' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
expected: 6L
but was: 0L.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
expected: 6L
but was: 0L
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.KafkaIngress$handleEventInEventHandler$1$1.invokeSuspend(KafkaIngress.kt:146)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.KafkaIngress]/[method:handleEventInEventHandler(java.net.URL, int, dev.restate.sdk.client.Client)]
display-name: handleEventInEventHandler(URL, int, Client)
Check failure on line 0 in dev.restate.sdktesting.tests.ServiceToServiceCommunication
github-actions / Test Results
2 out of 5 runs with error: oneWayCall(Client) (dev.restate.sdktesting.tests.ServiceToServiceCommunication)
test-report/threeNodes/TEST-junit-jupiter.xml [took 14s]
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 13s]
Raw output
Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 expected: 1L but was: 0L within 10 seconds.
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
expected: 1L
but was: 0L within 10 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:103)
... 13 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.ServiceToServiceCommunication]/[method:oneWayCall(dev.restate.sdk.client.Client)]
display-name: oneWayCall(Client)
Check failure on line 0 in dev.restate.sdktesting.tests.UserErrors
github-actions / Test Results
1 out of 5 runs with error: internalCallFailurePropagation(Client) (dev.restate.sdktesting.tests.UserErrors)
test-report/threeNodes/TEST-junit-jupiter.xml [took 30s]
Raw output
internalCallFailurePropagation(dev.restate.sdk.client.Client) timed out after 30 seconds
java.util.concurrent.TimeoutException: internalCallFailurePropagation(dev.restate.sdk.client.Client) timed out after 30 seconds
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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.RecursiveAction.exec(RecursiveAction.java:194)
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)
Suppressed: java.lang.InterruptedException
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
at dev.restate.sdktesting.tests.UserErrors.internalCallFailurePropagation(UserErrors.kt:83)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
... 11 more
Suppressed: java.lang.IllegalStateException: This job has not completed yet
at kotlinx.coroutines.JobSupport.getCompletionExceptionOrNull(JobSupport.kt:1303)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1.invokeSuspend(TestBuilders.kt:370)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.EventLoopImplBase.shutdown(EventLoop.common.kt:222)
at kotlinx.coroutines.EventLoop.decrementUseCount(EventLoop.common.kt:110)
at kotlinx.coroutines.EventLoop.decrementUseCount$default(EventLoop.common.kt:104)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:101)
... 24 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.UserErrors]/[method:internalCallFailurePropagation(dev.restate.sdk.client.Client)]
display-name: Test propagate failure from another service
Check failure on line 0 in dev.restate.sdktesting.tests.ServiceToServiceCommunication
github-actions / Test Results
2 out of 6 runs with error: oneWayCallWithDelay(Client) (dev.restate.sdktesting.tests.ServiceToServiceCommunication)
test-report/threeNodes/TEST-junit-jupiter.xml [took 11s]
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 10s]
Raw output
Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 expected: 10L but was: 8L within 10 seconds.
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
expected: 10L
but was: 8L within 10 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
expected: 10L
but was: 8L
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.ServiceToServiceCommunication$oneWayCallWithDelay$1$1.invokeSuspend(ServiceToServiceCommunication.kt:100)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.ServiceToServiceCommunication]/[method:oneWayCallWithDelay(dev.restate.sdk.client.Client)]
display-name: oneWayCallWithDelay(Client)
Check failure on line 0 in dev.restate.sdktesting.tests.ServiceToServiceCommunication
github-actions / Test Results
1 out of 5 runs with error: regularCall(Client) (dev.restate.sdktesting.tests.ServiceToServiceCommunication)
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 30s]
Raw output
regularCall(dev.restate.sdk.client.Client) timed out after 30 seconds
java.util.concurrent.TimeoutException: regularCall(dev.restate.sdk.client.Client) timed out after 30 seconds
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
Suppressed: java.lang.InterruptedException
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
at dev.restate.sdktesting.tests.ServiceToServiceCommunication.regularCall(ServiceToServiceCommunication.kt:47)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
... 6 more
Suppressed: java.lang.IllegalStateException: This job has not completed yet
at kotlinx.coroutines.JobSupport.getCompletionExceptionOrNull(JobSupport.kt:1303)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1.invokeSuspend(TestBuilders.kt:370)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.EventLoopImplBase.shutdown(EventLoop.common.kt:222)
at kotlinx.coroutines.EventLoop.decrementUseCount(EventLoop.common.kt:110)
at kotlinx.coroutines.EventLoop.decrementUseCount$default(EventLoop.common.kt:104)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:101)
... 19 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.ServiceToServiceCommunication]/[method:regularCall(dev.restate.sdk.client.Client)]
display-name: regularCall(Client)
Check failure on line 0 in dev.restate.sdktesting.tests.CancelInvocation
github-actions / Test Results
1 out of 3 runs with error: cancelInvocation(BlockingOperation, Client, URL)[3] (dev.restate.sdktesting.tests.CancelInvocation)
test-report/threeNodes/TEST-junit-jupiter.xml [took 10s]
Raw output
Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 Expecting value to be true but was false.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
Expecting value to be true but was false.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
Expecting value to be true but was false
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.CancelInvocation$cancelInvocation$1$1.invokeSuspend(CancelInvocation.kt:60)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.CancelInvocation]/[test-template:cancelInvocation(dev.restate.sdktesting.contracts.BlockingOperation, dev.restate.sdk.client.Client, java.net.URL)]/[test-template-invocation:#3]
display-name: cancel blocked invocation on AWAKEABLE
Check failure on line 0 in dev.restate.sdktesting.tests.CancelInvocation
github-actions / Test Results
1 out of 3 runs with error: cancelInvocation(BlockingOperation, Client, URL)[1] (dev.restate.sdktesting.tests.CancelInvocation)
test-report/threeNodes/TEST-junit-jupiter.xml [took 12s]
Raw output
Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 Expecting value to be true but was false.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
Expecting value to be true but was false.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:103)
... 13 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.CancelInvocation]/[test-template:cancelInvocation(dev.restate.sdktesting.contracts.BlockingOperation, dev.restate.sdk.client.Client, java.net.URL)]/[test-template-invocation:#1]
display-name: cancel blocked invocation on CALL
Check failure on line 0 in dev.restate.sdktesting.tests.Ingress
github-actions / Test Results
1 out of 3 runs with error: idempotentInvokeService(Client) (dev.restate.sdktesting.tests.Ingress)
test-report/threeNodes/TEST-junit-jupiter.xml [took 10s]
Raw output
Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 expected: 2L but was: 0L within 10 seconds.
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
expected: 2L
but was: 0L within 10 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
expected: 2L
but was: 0L
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.Ingress$idempotentInvokeService$1$1.invokeSuspend(Ingress.kt:132)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.Ingress]/[method:idempotentInvokeService(dev.restate.sdk.client.Client)]
display-name: Idempotent invocation to a service
Check failure on line 0 in dev.restate.sdktesting.tests.CancelInvocation
github-actions / Test Results
1 out of 3 runs with error: cancelInvocation(BlockingOperation, Client, URL)[2] (dev.restate.sdktesting.tests.CancelInvocation)
test-report/threeNodes/TEST-junit-jupiter.xml [took 10s]
Raw output
Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 Expecting value to be true but was false.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
Expecting value to be true but was false.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
Expecting value to be true but was false
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.CancelInvocation$cancelInvocation$1$1.invokeSuspend(CancelInvocation.kt:60)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.CancelInvocation]/[test-template:cancelInvocation(dev.restate.sdktesting.contracts.BlockingOperation, dev.restate.sdk.client.Client, java.net.URL)]/[test-template-invocation:#2]
display-name: cancel blocked invocation on SLEEP
Check failure on line 0 in dev.restate.sdktesting.tests.KillInvocation
github-actions / Test Results
1 out of 3 runs with error: kill(Client, URL) (dev.restate.sdktesting.tests.KillInvocation)
test-report/threeNodes/TEST-junit-jupiter.xml [took 12s]
Raw output
Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 Expecting value to be true but was false.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'awakeable is registered' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
Expecting value to be true but was false.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
Expecting value to be true but was false
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.KillInvocation$kill$1$1.invokeSuspend(KillInvocation.kt:51)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.KillInvocation]/[method:kill(dev.restate.sdk.client.Client, java.net.URL)]
display-name: kill(Client, URL)
Check failure on line 0 in dev.restate.sdktesting.tests.CallOrdering
github-actions / Test Results
1 out of 3 runs with error: ordering(boolean[], Client)[1] (dev.restate.sdktesting.tests.CallOrdering)
test-report/threeNodes/TEST-junit-jupiter.xml [took 30s]
Raw output
ordering([Z, dev.restate.sdk.client.Client) timed out after 30 seconds
java.util.concurrent.TimeoutException: ordering([Z, dev.restate.sdk.client.Client) timed out after 30 seconds
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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.get(ForkJoinTask.java:991)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
Suppressed: java.lang.InterruptedException
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
at dev.restate.sdktesting.tests.CallOrdering.ordering(CallOrdering.kt:58)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
... 11 more
Suppressed: java.lang.IllegalStateException: This job has not completed yet
at kotlinx.coroutines.JobSupport.getCompletionExceptionOrNull(JobSupport.kt:1303)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1.invokeSuspend(TestBuilders.kt:370)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.EventLoopImplBase.shutdown(EventLoop.common.kt:222)
at kotlinx.coroutines.EventLoop.decrementUseCount(EventLoop.common.kt:110)
at kotlinx.coroutines.EventLoop.decrementUseCount$default(EventLoop.common.kt:104)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:101)
... 24 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.CallOrdering]/[test-template:ordering(%5BZ, dev.restate.sdk.client.Client)]/[test-template-invocation:#1]
display-name: [1] [true, false, false]
Check failure on line 0 in dev.restate.sdktesting.tests.PrivateService
github-actions / Test Results
1 out of 3 runs with error: privateService(URL, Client) (dev.restate.sdktesting.tests.PrivateService)
test-report/threeNodes/TEST-junit-jupiter.xml [took 13s]
Raw output
Condition with alias 'the service becomes public again' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 expected: 2L but was: 1L.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'the service becomes public again' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
expected: 2L
but was: 1L.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
expected: 2L
but was: 1L
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.PrivateService$privateService$1$2.invokeSuspend(PrivateService.kt:91)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.PrivateService]/[method:privateService(java.net.URL, dev.restate.sdk.client.Client)]
display-name: Make a handler ingress private and try to call it both directly and through a proxy service
Check failure on line 0 in dev.restate.sdktesting.tests.CallOrdering
github-actions / Test Results
1 out of 3 runs with error: ordering(boolean[], Client)[2] (dev.restate.sdktesting.tests.CallOrdering)
test-report/threeNodes/TEST-junit-jupiter.xml [took 30s]
Raw output
ordering([Z, dev.restate.sdk.client.Client) timed out after 30 seconds
java.util.concurrent.TimeoutException: ordering([Z, dev.restate.sdk.client.Client) timed out after 30 seconds
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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.get(ForkJoinTask.java:991)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
Suppressed: java.lang.InterruptedException
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
at dev.restate.sdktesting.tests.CallOrdering.ordering(CallOrdering.kt:58)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
... 11 more
Suppressed: java.lang.IllegalStateException: This job has not completed yet
at kotlinx.coroutines.JobSupport.getCompletionExceptionOrNull(JobSupport.kt:1303)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1.invokeSuspend(TestBuilders.kt:370)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.EventLoopImplBase.shutdown(EventLoop.common.kt:222)
at kotlinx.coroutines.EventLoop.decrementUseCount(EventLoop.common.kt:110)
at kotlinx.coroutines.EventLoop.decrementUseCount$default(EventLoop.common.kt:104)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:101)
... 24 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.CallOrdering]/[test-template:ordering(%5BZ, dev.restate.sdk.client.Client)]/[test-template-invocation:#2]
display-name: [2] [false, true, false]
Check failure on line 0 in dev.restate.sdktesting.tests.CallOrdering
github-actions / Test Results
1 out of 3 runs with error: ordering(boolean[], Client)[3] (dev.restate.sdktesting.tests.CallOrdering)
test-report/threeNodes/TEST-junit-jupiter.xml [took 30s]
Raw output
ordering([Z, dev.restate.sdk.client.Client) timed out after 30 seconds
java.util.concurrent.TimeoutException: ordering([Z, dev.restate.sdk.client.Client) timed out after 30 seconds
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.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
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.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.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.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.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.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
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)
Suppressed: java.lang.InterruptedException
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:47)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
at dev.restate.sdktesting.tests.CallOrdering.ordering(CallOrdering.kt:58)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
... 48 more
Suppressed: java.lang.IllegalStateException: This job has not completed yet
at kotlinx.coroutines.JobSupport.getCompletionExceptionOrNull(JobSupport.kt:1303)
at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1.invokeSuspend(TestBuilders.kt:370)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
at kotlinx.coroutines.EventLoopImplBase.shutdown(EventLoop.common.kt:222)
at kotlinx.coroutines.EventLoop.decrementUseCount(EventLoop.common.kt:110)
at kotlinx.coroutines.EventLoop.decrementUseCount$default(EventLoop.common.kt:104)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:101)
... 61 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.CallOrdering]/[test-template:ordering(%5BZ, dev.restate.sdk.client.Client)]/[test-template-invocation:#3]
display-name: [3] [true, true, false]
Check failure on line 0 in dev.restate.sdktesting.tests.UpgradeWithInFlightInvocation
github-actions / Test Results
2 out of 5 runs with error: inFlightInvocation(Client, URL) (dev.restate.sdktesting.tests.UpgradeWithInFlightInvocation)
test-report/threeNodes/TEST-junit-jupiter.xml [took 14s]
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 12s]
Raw output
Condition with alias 'reach sync point' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 Expecting value to be true but was false.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'reach sync point' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
Expecting value to be true but was false.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
Expecting value to be true but was false
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.UpgradeWithInFlightInvocation$inFlightInvocation$1$1.invokeSuspend(UpgradeWithInFlightInvocation.kt:81)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.UpgradeWithInFlightInvocation]/[method:inFlightInvocation(dev.restate.sdk.client.Client, java.net.URL)]
display-name: inFlightInvocation(Client, URL)
Check failure on line 0 in dev.restate.sdktesting.tests.State
github-actions / Test Results
2 out of 6 runs with error: proxyOneWayAdd(Client) (dev.restate.sdktesting.tests.State)
test-report/threeNodes/TEST-junit-jupiter.xml [took 13s]
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 14s]
Raw output
Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 expected: 3L but was: 2L within 10 seconds.
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2
expected: 3L
but was: 2L within 10 seconds.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
at dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2.invokeSuspend(utils.kt:36)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:96)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:816)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Caused by: org.opentest4j.AssertionFailedError:
expected: 3L
but was: 2L
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at dev.restate.sdktesting.tests.State$proxyOneWayAdd$1$1.invokeSuspend(State.kt:75)
... 8 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.State]/[method:proxyOneWayAdd(dev.restate.sdk.client.Client)]
display-name: proxyOneWayAdd(Client)