Gradle Test Run :lib-datalayer-repository:jvmTest[jvm]
givenDocument_whenPut_thenCanBeRetrievedAsFlow[jvm]
summary
|
100%
successful |
standard output
2026-10-05 00:26:48.498 [Test worker @coroutine#724] INFO io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 00:26:48.498 [Test worker @coroutine#724] INFO io.ktor.server.Application - Application started in 0.0 seconds.
2026-10-05 00:26:48.507 [DefaultDispatcher-worker-6 @coroutine#729] INFO io.ktor.server.Application - Responding at http://0.0.0.0:35583
2026-10-05 00:26:48.563 [DefaultDispatcher-worker-6 @coroutine#732] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.563 [DefaultDispatcher-worker-6 @coroutine#732] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 00:26:48.563 [DefaultDispatcher-worker-6 @coroutine#732] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 00:26:48.571 [DefaultDispatcher-worker-7 @coroutine#744] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.571 [DefaultDispatcher-worker-7 @coroutine#744] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 00:26:48.575 [Test worker @coroutine#744] TRACE i.k.client.plugins.HttpCallValidator - Processing exception kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job="coroutine#735":StandaloneCoroutine{Cancelling}@72b10258 for request http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.577 [eventLoopGroupProxy-91-1 @call-handler#747] TRACE io.ktor.server.routing.Routing - Trace for [agents, profile]
/, segment:0 -> SUCCESS @ /
/agents, segment:1 -> SUCCESS @ /agents
/agents/profile, segment:2 -> SUCCESS @ /agents/profile
/agents/profile [(method:GET)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:GET)]
/agents/profile [(method:POST)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:POST)]
/agents/profile [(method:PUT)], segment:2 -> SUCCESS @ /agents/profile [(method:PUT)]
/agents/profile [(method:DELETE)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:DELETE)]
Matched routes:
"" -> "agents" -> "profile" -> "(method:PUT)"
Routing resolve result:
SUCCESS @ /agents/profile [(method:PUT)]
2026-10-05 00:26:48.578 [eventLoopGroupProxy-91-1 @call-handler#747] TRACE i.k.server.engine.DefaultTransform - Transformed class io.ktor.utils.io.ByteChannel to class kotlin.ByteArray for /agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.578 [eventLoopGroupProxy-91-1 @call-handler#747] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 00:26:48.578 [DefaultDispatcher-worker-11 @coroutine#732] TRACE i.k.client.plugins.HttpCallValidator - Processing exception kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@6710ad72 for request http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.579 [eventLoopGroupProxy-91-1 @call-handler#747] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the PUT /agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 request because the HttpStatusCode type is ignored. See [ContentNegotiationConfig::ignoreType].
error output
Oct 05, 2026 12:26:48 AM io.github.aakira.napier.DebugAntilog performLog
FINE: [DEBUG] HttpClientExtKt$getAsDataLoadState - Exception loading http://localhost:35583/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job="coroutine#735":StandaloneCoroutine{Cancelling}@72b10258
at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:1682)
at kotlinx.coroutines.Job.cancel$default(Job.kt:207)
at kotlinx.coroutines.Job$DefaultImpls.cancel$default(Job.kt:207)
at app.cash.turbine.ChannelTurbine$channel$1.cancel(Turbine.kt:142)
at kotlinx.coroutines.channels.ReceiveChannel.cancel$default(Channel.kt:695)
at kotlinx.coroutines.channels.ReceiveChannel$DefaultImpls.cancel$default(Channel.kt:695)
at app.cash.turbine.ChannelTurbine.cancel(Turbine.kt:161)
at app.cash.turbine.ChannelTurbine.cancelAndIgnoreRemainingEvents(Turbine.kt:184)
at app.cash.turbine.TurbineTestContextImpl.cancelAndIgnoreRemainingEvents(flow.kt)
at org.openeel.libxapi.test.AbstractXapiDocumentResourceTest$givenDocument_whenPut_thenCanBeRetrievedAsFlow$2$1$1.invokeSuspend(AbstractXapiDocumentResourceTest.kt:102)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
at io.ktor.client.engine.HttpClientEngine.executeWithinCallContext(HttpClientEngine.kt:184)
at io.ktor.client.engine.HttpClientEngine$install$1.invokeSuspend(HttpClientEngine.kt:154)
at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
at io.ktor.client.plugins.HttpSend$DefaultSender.execute(HttpSend.kt:141)
at io.ktor.client.plugins.HttpRedirectKt$HttpRedirect$2$1.invokeSuspend(HttpRedirect.kt:110)
at io.ktor.client.plugins.api.Send$install$1.invokeSuspend(CommonHooks.kt:52)
at io.ktor.client.plugins.HttpCallValidatorKt$HttpCallValidator$2$2.invokeSuspend(HttpCallValidator.kt:143)
at io.ktor.client.plugins.api.Send$install$1.invokeSuspend(CommonHooks.kt:52)
at io.ktor.client.plugins.HttpSend$Plugin$install$1.invokeSuspend(HttpSend.kt:107)
at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
at io.ktor.client.plugins.RequestError$install$1.invokeSuspend(HttpCallValidator.kt:165)
at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
at io.ktor.client.plugins.HttpRequestLifecycleKt$HttpRequestLifecycle$1$1.invokeSuspend(HttpRequestLifecycle.kt:29)
at io.ktor.client.plugins.SetupRequestContext$install$1.invokeSuspend(HttpRequestLifecycle.kt:42)
at io.ktor.util.pipeline.DebugPipelineContext.proceedLoop(DebugPipelineContext.kt:79)
at io.ktor.client.HttpClient.execute$ktor_client_core(HttpClient.kt:1420)
at io.ktor.client.statement.HttpStatement.fetchResponse(HttpStatement.kt:207)
at world.respect.datalayer.ext.HttpClientExtKt.getAsDataLoadState(HttpClientExt.kt:135)
at world.respect.datalayer.ext.HttpClientExtKt$getDataLoadResultAsFlow$6.invokeSuspend(HttpClientExt.kt:124)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:226)
at world.respect.datalayer.repository.flow.RepoFlowKt$asRepoFlow$1$2$2.invokeSuspend(RepoFlow.kt:89)
at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:213)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:30)
Caused by: kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job="coroutine#735":StandaloneCoroutine{Cancelling}@72b10258
at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:1682)
at kotlinx.coroutines.Job.cancel$default(Job.kt:207)
at kotlinx.coroutines.Job$DefaultImpls.cancel$default(Job.kt:207)
at app.cash.turbine.ChannelTurbine$channel$1.cancel(Turbine.kt:142)
at kotlinx.coroutines.channels.ReceiveChannel.cancel$default(Channel.kt:695)
at kotlinx.coroutines.channels.ReceiveChannel$DefaultImpls.cancel$default(Channel.kt:695)
at app.cash.turbine.ChannelTurbine.cancel(Turbine.kt:161)
at app.cash.turbine.ChannelTurbine.cancelAndIgnoreRemainingEvents(Turbine.kt:184)
at app.cash.turbine.TurbineTestContextImpl.cancelAndIgnoreRemainingEvents(flow.kt)
at org.openeel.libxapi.test.AbstractXapiDocumentResourceTest$givenDocument_whenPut_thenCanBeRetrievedAsFlow$2$1$1.invokeSuspend(AbstractXapiDocumentResourceTest.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:35)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:101)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:47)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:256)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:54)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlockingImpl(Builders.kt:30)
at kotlinx.coroutines.BuildersKt.runBlockingImpl(Unknown Source)
at kotlinx.coroutines.BuildersKt__Builders_concurrentKt.runBlockingK(Builders.concurrent.kt:172)
at kotlinx.coroutines.BuildersKt.runBlockingK(Unknown Source)
at kotlinx.coroutines.BuildersKt__Builders_concurrentKt.runBlockingK$default(Builders.concurrent.kt:157)
at kotlinx.coroutines.BuildersKt.runBlockingK$default(Unknown Source)
at org.openeel.libxapi.test.AbstractXapiDocumentResourceTest.givenDocument_whenPut_thenCanBeRetrievedAsFlow(AbstractXapiDocumentResourceTest.kt:90)
at org.openeel.libxapi.test.AbstractXapiAgentProfileResourceTest.givenDocument_whenPut_thenCanBeRetrievedAsFlow(AbstractXapiAgentProfileResourceTest.kt:26)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestExecutor.runRequest(JUnitTestExecutor.java:175)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestExecutor.accept(JUnitTestExecutor.java:84)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestExecutor.accept(JUnitTestExecutor.java:47)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestDefinitionProcessor.processTestDefinition(AbstractJUnitTestDefinitionProcessor.java:65)
at org.gradle.api.internal.tasks.testing.SuiteTestDefinitionProcessor.processTestDefinition(SuiteTestDefinitionProcessor.java:53)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.gradle.internal.dispatch.MethodInvocation.invokeOn(MethodInvocation.java:77)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:28)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:19)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:88)
at jdk.proxy1/jdk.proxy1.$Proxy4.processTestDefinition(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:178)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:126)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:122)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:72)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)