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

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

# UstadCacheInterceptorTest[jvm]

- summary
- error output

## summary

9 tests | 0 failures | 0 skipped | 0.672s duration
| 100% successful

Child | Name | Tests | Failures | Skipped | Duration | Success rate
--- | --- | --- | --- | --- | --- | ---
givenCompressableEntryNotYetCachedAlreadyEncoded_whenRequested_thenWillRespondAndCacheIt[jvm] | givenCompressableEntryNotYetCachedAlreadyEncoded_whenRequested_thenWillRespondAndCacheIt | 1 | 0 | 0 | 0.078s | 100%
givenCompressableEntryNotYetCachedNotEncoded_whenRequested_thenWillRespondAndCacheIt[jvm] | givenCompressableEntryNotYetCachedNotEncoded_whenRequested_thenWillRespondAndCacheIt | 1 | 0 | 0 | 0.069s | 100%
givenEntryIsStale_whenRequestedWithValidationHeader_thenResponseShouldBe304NotModified[jvm] | givenEntryIsStale_whenRequestedWithValidationHeader_thenResponseShouldBe304NotModified | 1 | 0 | 0 | 0.083s | 100%
givenEntryIsStaleAndValidatable_whenRequested_thenIsValidated[jvm] | givenEntryIsStaleAndValidatable_whenRequested_thenIsValidated | 1 | 0 | 0 | 0.074s | 100%
givenEntryNotYetCached_whenRequested_thenWillRespondAndCacheIt[jvm] | givenEntryNotYetCached_whenRequested_thenWillRespondAndCacheIt | 1 | 0 | 0 | 0.069s | 100%
givenImmutableEntryWasCached_whenRequested_thenCacheWillHit[jvm] | givenImmutableEntryWasCached_whenRequested_thenCacheWillHit | 1 | 0 | 0 | 0.153s | 100%
givenRequestNotStorable_whenRequested_thenIsNotStored[jvm] | givenRequestNotStorable_whenRequested_thenIsNotStored | 1 | 0 | 0 | 0.006s | 100%
givenResponseHasNoStoreHeader_whenRequested_thenIsNotStored[jvm] | givenResponseHasNoStoreHeader_whenRequested_thenIsNotStored | 1 | 0 | 0 | 0.064s | 100%
givenResponsePartiallyStored_whenRequestedWithResumeUuid_thenWillResume[jvm] | givenResponsePartiallyStored_whenRequestedWithResumeUuid_thenWillResume | 1 | 0 | 0 | 0.075s | 100%

## error output

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(37377 cache2) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(46554 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(37377 cache2) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(46554 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(41085 cache2) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    	at java.base/java.lang.Thread.run(Thread.java:840)
    Caused by: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(46554 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(41085 cache2) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(37377 cache2) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(46554 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    Aug 19, 2026 11:09:30 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(33576 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:31 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(55600 cache2) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more

    Aug 19, 2026 11:09:31 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(59998 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    Aug 19, 2026 11:09:31 PM io.github.aakira.napier.DebugAntilog performLog
    SEVERE: [ERROR] DistCache - DistributedCacheHashtable(39054 cache1) exception reading incoming packet
    java.net.SocketException: Socket closed
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:252)
    	at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
    	at com.ustadmobile.libcache.distributed.DistributedCacheHashtable$ReceivePacketsRunnable.run(DistributedCacheHashtable.kt:170)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
    	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: java.nio.channels.ClosedChannelException
    	at java.base/sun.nio.ch.DatagramChannelImpl.ensureOpen(DatagramChannelImpl.java:267)
    	at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:624)
    	at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
    	... 8 more