Skip to content

[Bifrost] Let providers propose their own parameters #3714

[Bifrost] Let providers propose their own parameters

[Bifrost] Let providers propose their own parameters #3714

GitHub Actions / Test Results failed Dec 20, 2024 in 0s

14 errors, 1 skipped, 32 pass in 5m 5s

  7 files    7 suites   5m 5s ⏱️
 47 tests  32 ✅ 1 💤 0 ❌ 14 🔥
182 runs  161 ✅ 3 💤 0 ❌ 18 🔥

Results for commit c050ffd.

Annotations

Check failure on line 0 in dev.restate.sdktesting.tests.KafkaIngress

See this annotation in the file changed.

@github-actions 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: 3L.
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: 3L.
	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: 3L
	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

See this annotation in the file changed.

@github-actions 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 12s]
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: org.opentest4j.AssertionFailedError: 
expected: 1L
 but was: 0L
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at dev.restate.sdktesting.tests.ServiceToServiceCommunication$oneWayCall$1$1.invokeSuspend(ServiceToServiceCommunication.kt:77)
	... 8 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.KafkaIngress

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs with error: handleEventInCounterService(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$handleEventInCounterService$1$1.invokeSuspend(KafkaIngress.kt:93)
	... 8 more

unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.KafkaIngress]/[method:handleEventInCounterService(java.net.URL, int, dev.restate.sdk.client.Client)]
display-name: handleEventInCounterService(URL, int, Client)

Check failure on line 0 in dev.restate.sdktesting.tests.UserErrors

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 10s]
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 11s]
Raw output
Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2  expected: 10L  but was: 5L 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: 5L 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: 5L
	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

See this annotation in the file changed.

@github-actions 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.Ingress

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 3 runs with error: idempotentSendThenAttachWIthIdempotencyKey(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  Expecting value to be true but was false within 10 seconds.
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 
Expecting value to be true but was false 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: 
Expecting value to be true but was false
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at dev.restate.sdktesting.tests.Ingress$idempotentSendThenAttachWIthIdempotencyKey$1$1.invokeSuspend(Ingress.kt:252)
	... 8 more

unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.Ingress]/[method:idempotentSendThenAttachWIthIdempotencyKey(dev.restate.sdk.client.Client)]
display-name: Idempotent send then attach/getOutput with idempotency key

Check failure on line 0 in dev.restate.sdktesting.tests.CancelInvocation

See this annotation in the file changed.

@github-actions 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 'verify test' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 null.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'verify test' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 null.
	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: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 1000 ms
	at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:188)
	at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
	at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:505)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at java.base/java.lang.Thread.run(Thread.java:1583)

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.Ingress

See this annotation in the file changed.

@github-actions 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.KillInvocation

See this annotation in the file changed.

@github-actions 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 13s]
Raw output
Condition with alias 'singleton service is unlocked after killing the call tree' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 null.
org.awaitility.core.ConditionTimeoutException: Condition with alias 'singleton service is unlocked after killing the call tree' didn't complete within 10 seconds because assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 null.
	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.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.PrivateService

See this annotation in the file changed.

@github-actions 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 15s]
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: 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.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

See this annotation in the file changed.

@github-actions 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.UpgradeWithInFlightInvocation

See this annotation in the file changed.

@github-actions 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 15s]
test-report/threeNodesAlwaysSuspending/TEST-junit-jupiter.xml [took 13s]
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

See this annotation in the file changed.

@github-actions 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 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: 3L  but was: 1L 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: 1L 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: 1L
	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)