Gradle Test Run :lib-datalayer-repository:jvmTest[jvm]

givenExistingDocument_whenOverwrittenWithPut_thenReplacesDocumentCompletely[jvm]

summary

1

tests

0

failures

0

skipped

0.322s

duration

100%

successful

standard output

2026-10-05 04:37:08.478 [Test worker @coroutine#748] INFO  io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 04:37:08.483 [Test worker @coroutine#748] INFO  io.ktor.server.Application - Application started in 0.005 seconds.
2026-10-05 04:37:08.491 [DefaultDispatcher-worker-10 @coroutine#753] INFO  io.ktor.server.Application - Responding at http://0.0.0.0:46579
2026-10-05 04:37:08.553 [DefaultDispatcher-worker-4 @coroutine#756] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.553 [DefaultDispatcher-worker-4 @coroutine#756] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 04:37:08.553 [DefaultDispatcher-worker-4 @coroutine#756] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 04:37:08.554 [Test worker @coroutine#748] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.554 [Test worker @coroutine#748] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 04:37:08.563 [eventLoopGroupProxy-94-1 @call-handler#765] 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 04:37:08.564 [eventLoopGroupProxy-94-1 @call-handler#765] 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 04:37:08.564 [eventLoopGroupProxy-94-1 @call-handler#765] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 04:37:08.565 [eventLoopGroupProxy-94-2 @call-handler#766] 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 04:37:08.567 [eventLoopGroupProxy-94-1 @call-handler#765] 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].
2026-10-05 04:37:08.569 [DefaultDispatcher-worker-5 @coroutine#756] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.569 [DefaultDispatcher-worker-5 @coroutine#756] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.569 [DefaultDispatcher-worker-5 @coroutine#756] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.576 [DefaultDispatcher-worker-7 @coroutine#756] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.576 [DefaultDispatcher-worker-7 @coroutine#756] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 04:37:08.576 [DefaultDispatcher-worker-7 @coroutine#756] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 04:37:08.570 [eventLoopGroupProxy-94-2 @call-handler#766] 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 04:37:08.578 [eventLoopGroupProxy-94-1 @call-handler#771] 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 04:37:08.579 [eventLoopGroupProxy-94-1 @call-handler#771] 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 04:37:08.579 [eventLoopGroupProxy-94-1 @call-handler#771] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 04:37:08.582 [Test worker @coroutine#748] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.583 [eventLoopGroupProxy-94-1 @call-handler#771] 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].
2026-10-05 04:37:08.583 [Test worker @coroutine#748] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.583 [Test worker @coroutine#748] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:37:08.584 [DefaultDispatcher-worker-10 @coroutine#756] TRACE i.k.client.plugins.HttpCallValidator - Processing exception kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@6c96565d for request http://localhost:46579/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1