- Gradle Test Run :respect-lib-cache:jvmTest[jvm]

## Gradle Test Run :respect-lib-cache:jvmTest[jvm]

# givenEntryNotLocked_whenLockAdded_thenWillBeMovedToPersistentDir[jvm]

- summary
- error output

## summary

1 tests | 0 failures | 0 skipped | 0.114s duration
| 100% successful

## error output

    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    FINE: [DEBUG] UstadCache - UstadCache(): store request for 1 entries
    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    FINEST: [VERBOSE] UstadCache - UstadCache(): copied request data for http://www.server.com/file.png to /tmp/junit2200886055446841103/junit7647147352889771973/tmpWork/1.tmp (integrity=sha256-hlfF4oGFRfane2XiRyLv02LtOJ4Va2UanpQV0im/K8I=)
    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    FINEST: [VERBOSE] UstadCache - UstadCache(): cacheEntries created 1 entries
    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    INFO: [INFO] UstadCache - UstadCache(): Retrieve http://www.server.com/file.png
    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    FINE: [DEBUG] UstadCache - UstadCache(): FOUND http://www.server.com/file.png
    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    FINEST: [VERBOSE] UstadCache - UstadCache(): add retention locks for http://www.server.com/file.png
    Aug 22, 2026 11:09:42 PM io.github.aakira.napier.DebugAntilog performLog
    FINE: [DEBUG] UstadCache - UstadCache(): moveToNewPath (http://www.server.com/file.png) /tmp/junit2200886055446841103/junit7647147352889771973/cache/9d3d0d23-b80a-4fb4-b8f2-23a30a7fd7a6 -> /tmp/junit2200886055446841103/junit7647147352889771973/persistent/9d3d0d23-b80a-4fb4-b8f2-23a30a7fd7a6
    Exception in thread "DefaultDispatcher-worker-1 @coroutine#33" kotlinx.coroutines.channels.ClosedReceiveChannelException: Channel was closed
    	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
    	at kotlinx.coroutines.channels.BufferedChannel.receive$suspendImpl(BufferedChannel.kt:678)
    	at kotlinx.coroutines.channels.BufferedChannel.receive(BufferedChannel.kt)
    	at com.ustadmobile.libcache.UstadCacheImpl$4.invokeSuspend(UstadCacheImpl.kt:368)
    	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineId(33), "coroutine#33":StandaloneCoroutine{Cancelling}@1b6453c2, Dispatchers.IO]
    Caused by: kotlinx.coroutines.channels.ClosedReceiveChannelException: Channel was closed
    	at kotlinx.coroutines.channels.BufferedChannel.getReceiveException(BufferedChannel.kt:1739)
    	at kotlinx.coroutines.channels.BufferedChannel.receive$suspendImpl(BufferedChannel.kt:678)
    	at kotlinx.coroutines.channels.BufferedChannel.receive(BufferedChannel.kt)
    	at com.ustadmobile.libcache.UstadCacheImpl$4.invokeSuspend(UstadCacheImpl.kt:368)
    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
    	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
    	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
    	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:798)
    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
    	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)