Gradle Test Run :lib-datalayer-repository:jvmTest[jvm]
givenNonExistentDocument_whenPosted_thenCreatesNewDocument[jvm]
summary
|
100%
successful |
standard output
2026-10-05 06:38:47.646 [Test worker @coroutine#683] INFO io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 06:38:47.650 [Test worker @coroutine#683] INFO io.ktor.server.Application - Application started in 0.004 seconds.
2026-10-05 06:38:47.657 [DefaultDispatcher-worker-1 @coroutine#688] INFO io.ktor.server.Application - Responding at http://0.0.0.0:40607
2026-10-05 06:38:47.724 [DefaultDispatcher-worker-8 @coroutine#691] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:47.724 [DefaultDispatcher-worker-8 @coroutine#691] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 06:38:47.724 [DefaultDispatcher-worker-8 @coroutine#691] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 06:38:47.726 [Test worker @coroutine#683] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:47.726 [Test worker @coroutine#683] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 06:38:47.733 [eventLoopGroupProxy-85-2 @call-handler#698] 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 -> SUCCESS @ /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 -> FAILURE "Selector didn't match" @ /agents/profile [(method:PUT)]
/agents/profile [(method:DELETE)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:DELETE)]
Matched routes:
"" -> "agents" -> "profile" -> "(method:GET)"
Routing resolve result:
SUCCESS @ /agents/profile [(method:GET)]
2026-10-05 06:38:47.735 [eventLoopGroupProxy-85-2 @call-handler#698] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the GET /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].
2026-10-05 06:38:47.736 [eventLoopGroupProxy-85-1 @call-handler#699] 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 -> SUCCESS @ /agents/profile [(method:POST)]
/agents/profile [(method:PUT)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:PUT)]
/agents/profile [(method:DELETE)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:DELETE)]
Matched routes:
"" -> "agents" -> "profile" -> "(method:POST)"
Routing resolve result:
SUCCESS @ /agents/profile [(method:POST)]
2026-10-05 06:38:47.736 [eventLoopGroupProxy-85-1 @call-handler#699] 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 06:38:47.737 [eventLoopGroupProxy-85-1 @call-handler#699] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 06:38:47.739 [eventLoopGroupProxy-85-1 @call-handler#699] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the POST /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].
2026-10-05 06:38:47.740 [Test worker @coroutine#683] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:47.740 [Test worker @coroutine#683] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:47.740 [Test worker @coroutine#683] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:47.741 [DefaultDispatcher-worker-8 @coroutine#691] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:47.745 [DefaultDispatcher-worker-8 @coroutine#691] TRACE i.k.client.plugins.HttpCallValidator - Processing exception kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@1a2bc5c7 for request http://localhost:40607/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1