Improve testing tools Javadocs (#388) #427
2 errors, 1 skipped, 44 pass in 5m 4s
Annotations
Check failure on line 0 in dev.restate.sdktesting.tests.WorkflowAPI
github-actions / Test Results
1 out of 5 runs with error: setAndResolve(Client) (dev.restate.sdktesting.tests.WorkflowAPI)
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 null within 10 seconds.
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a Lambda expression in dev.restate.sdktesting.tests.UtilsKt$untilAsserted$2 null 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:27)
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.WorkflowAPI]/[method:setAndResolve(dev.restate.sdk.client.Client)]
display-name: Set and resolve durable promise leads to completion
Check failure on line 0 in dev.restate.sdktesting.tests.UpgradeWithNewInvocation
github-actions / Test Results
1 out of 5 runs with error: executesNewInvocationWithLatestServiceRevisions(Client, URL) (dev.restate.sdktesting.tests.UpgradeWithNewInvocation)
test-report/threeNodes/TEST-junit-jupiter.xml [took 0s]
Raw output
Timeout waiting for result with exception
org.rnorth.ducttape.TimeoutException: Timeout waiting for result with exception
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:54)
at dev.restate.sdktesting.infra.RestateDeployer.discoverDeployment(RestateDeployer.kt:293)
at dev.restate.sdktesting.infra.RestateDeployer.deployAll(RestateDeployer.kt:208)
at dev.restate.sdktesting.infra.RestateDeployerExtension.beforeAll(RestateDeployerExtension.kt:21)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.IllegalStateException: Error when discovering endpoint http://version1:9080/, got status code 0 with body: null
at dev.restate.sdktesting.infra.RestateDeployer.discoverDeployment$lambda$20(RestateDeployer.kt:298)
at org.rnorth.ducttape.unreliables.Unreliables.lambda$retryUntilSuccess$0(Unreliables.java:43)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: dev.restate.admin.client.ApiException: java.net.ConnectException
at dev.restate.admin.api.DeploymentApi.createDeploymentWithHttpInfo(DeploymentApi.java:128)
at dev.restate.admin.api.DeploymentApi.createDeployment(DeploymentApi.java:96)
at dev.restate.sdktesting.infra.RestateDeployer.discoverDeployment$lambda$20(RestateDeployer.kt:295)
... 5 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:574)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
at dev.restate.admin.api.DeploymentApi.createDeploymentWithHttpInfo(DeploymentApi.java:110)
... 7 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1083)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.checkRetryConnect(PlainHttpConnection.java:230)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:206)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:206)
at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:239)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:539)
at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:410)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$10(Exchange.java:543)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:543)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:386)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:378)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2340)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:158)
at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2673)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:294)
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:659)
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:553)
... 9 more
Caused by: java.nio.channels.ClosedChannelException
at java.base/sun.nio.ch.SocketChannelImpl.ensureOpen(SocketChannelImpl.java:195)
at java.base/sun.nio.ch.SocketChannelImpl.beginConnect(SocketChannelImpl.java:760)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:848)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
... 40 more
unique-id: [engine:junit-jupiter]/[class:dev.restate.sdktesting.tests.UpgradeWithNewInvocation]/[method:executesNewInvocationWithLatestServiceRevisions(dev.restate.sdk.client.Client, java.net.URL)]
display-name: executesNewInvocationWithLatestServiceRevisions(Client, URL)
Check notice on line 0 in .github
github-actions / Test Results
1 skipped test found
There is 1 skipped test, see "Raw output" for the name of the skipped test.
Raw output
dev.restate.sdktesting.tests.Ingress ‑ idempotentSendThenAttach(Client)
Check notice on line 0 in .github
github-actions / Test Results
47 tests found
There are 47 tests, see "Raw output" for the full list of tests.
Raw output
dev.restate.sdktesting.tests.AwaitTimeout ‑ timeout(Client)
dev.restate.sdktesting.tests.CallOrdering ‑ ordering(boolean[], Client)[1]
dev.restate.sdktesting.tests.CallOrdering ‑ ordering(boolean[], Client)[2]
dev.restate.sdktesting.tests.CallOrdering ‑ ordering(boolean[], Client)[3]
dev.restate.sdktesting.tests.CancelInvocation ‑ cancelInvocation(BlockingOperation, Client, URL)[1]
dev.restate.sdktesting.tests.CancelInvocation ‑ cancelInvocation(BlockingOperation, Client, URL)[2]
dev.restate.sdktesting.tests.CancelInvocation ‑ cancelInvocation(BlockingOperation, Client, URL)[3]
dev.restate.sdktesting.tests.Ingress ‑ headersPassThrough(Client)
dev.restate.sdktesting.tests.Ingress ‑ idempotentInvokeSend(Client)
dev.restate.sdktesting.tests.Ingress ‑ idempotentInvokeService(Client)
dev.restate.sdktesting.tests.Ingress ‑ idempotentInvokeVirtualObject(URL, Client)
dev.restate.sdktesting.tests.Ingress ‑ idempotentSendThenAttach(Client)
dev.restate.sdktesting.tests.Ingress ‑ idempotentSendThenAttachWIthIdempotencyKey(Client)
dev.restate.sdktesting.tests.KafkaIngress ‑ handleEventInCounterService(URL, int, Client)
dev.restate.sdktesting.tests.KafkaIngress ‑ handleEventInEventHandler(URL, int, Client)
dev.restate.sdktesting.tests.KillInvocation ‑ kill(Client, URL)
dev.restate.sdktesting.tests.KillRuntime ‑ startAndKillRuntimeRetainsTheState(Client, ContainerHandle)
dev.restate.sdktesting.tests.NonDeterminismErrors ‑ method(String, Client)[1]
dev.restate.sdktesting.tests.NonDeterminismErrors ‑ method(String, Client)[2]
dev.restate.sdktesting.tests.NonDeterminismErrors ‑ method(String, Client)[3]
dev.restate.sdktesting.tests.NonDeterminismErrors ‑ method(String, Client)[4]
dev.restate.sdktesting.tests.PrivateService ‑ privateService(URL, Client)
dev.restate.sdktesting.tests.ProxyRequestSigning ‑ requestSigningPass(Client)
dev.restate.sdktesting.tests.RawHandler ‑ rawHandler(Client)
dev.restate.sdktesting.tests.RunFlush ‑ flush(Client)
dev.restate.sdktesting.tests.RunRetry ‑ withExhaustedAttempts(Client)
dev.restate.sdktesting.tests.RunRetry ‑ withSuccess(Client)
dev.restate.sdktesting.tests.ServiceToServiceCommunication ‑ oneWayCall(Client)
dev.restate.sdktesting.tests.ServiceToServiceCommunication ‑ oneWayCallWithDelay(Client)
dev.restate.sdktesting.tests.ServiceToServiceCommunication ‑ regularCall(Client)
dev.restate.sdktesting.tests.Sleep ‑ manySleeps(Client)
dev.restate.sdktesting.tests.Sleep ‑ sleep(Client)
dev.restate.sdktesting.tests.SleepWithFailures ‑ sleepAndKillServiceEndpoint(Client, ContainerHandle)
dev.restate.sdktesting.tests.SleepWithFailures ‑ sleepAndTerminateServiceEndpoint(Client, ContainerHandle)
dev.restate.sdktesting.tests.State ‑ add(Client)
dev.restate.sdktesting.tests.State ‑ listStateAndClearAll(Client)
dev.restate.sdktesting.tests.State ‑ proxyOneWayAdd(Client)
dev.restate.sdktesting.tests.StopRuntime ‑ startAndStopRuntimeRetainsTheState(Client, ContainerHandle)
dev.restate.sdktesting.tests.UpgradeWithInFlightInvocation ‑ inFlightInvocation(Client, URL)
dev.restate.sdktesting.tests.UpgradeWithNewInvocation ‑ executesNewInvocationWithLatestServiceRevisions(Client, URL)
dev.restate.sdktesting.tests.UserErrors ‑ failSeveralTimes(Client)
dev.restate.sdktesting.tests.UserErrors ‑ internalCallFailurePropagation(Client)
dev.restate.sdktesting.tests.UserErrors ‑ invocationWithEventualSuccess(Client)
dev.restate.sdktesting.tests.UserErrors ‑ invokeTerminallyFailingCall(Client)
dev.restate.sdktesting.tests.UserErrors ‑ setStateThenFailShouldPersistState(Client)
dev.restate.sdktesting.tests.UserErrors ‑ sideEffectWithTerminalError(Client)
dev.restate.sdktesting.tests.WorkflowAPI ‑ setAndResolve(Client)