JDK-8338502 : Test com/sun/net/httpserver/simpleserver/StressDirListings.java intermittent timeout
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 24
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2024-08-16
  • Updated: 2024-08-23
  • Resolved: 2024-08-16
Related Reports
Duplicate :  
Description
Test log snippet:
"MainThread" #31 [2495516] prio=5 os_prio=0 cpu=767.09ms elapsed=720.19s tid=0x00007fcbe020fd10 nid=2495516 waiting on condition  [0x00007fcba02cf000]
   java.lang.Thread.State: WAITING (parking)
    at jdk.internal.misc.Unsafe.park(java.base@24/Native Method)
    - parking to wait for  <0x000000011bdd03a8> (a java.util.concurrent.CompletableFuture$Signaller)
    at java.util.concurrent.locks.LockSupport.park(java.base@24/LockSupport.java:223)
    at java.util.concurrent.CompletableFuture$Signaller.block(java.base@24/CompletableFuture.java:1908)
    at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@24/ForkJoinPool.java:4021)
    at java.util.concurrent.ForkJoinPool.managedBlock(java.base@24/ForkJoinPool.java:3967)
    at java.util.concurrent.CompletableFuture.waitingGet(java.base@24/CompletableFuture.java:1942)
    at java.util.concurrent.CompletableFuture.get(java.base@24/CompletableFuture.java:2116)
    at jdk.internal.net.http.HttpClientImpl.send(java.net.http@24/HttpClientImpl.java:935)
    at jdk.internal.net.http.HttpClientFacade.send(java.net.http@24/HttpClientFacade.java:133)
    at StressDirListings.testDirListings(StressDirListings.java:107)
Comments
Yes - that's one test that would be sensitive to the bad fix too.
16-08-2024

Maybe this is the regression that was triggered by the fix pushed yesterday (JDK-8336655). That fix has now been reverted by JDK-8338495. If the problem persists after pulling JDK-8338495 should reopen this bug.
16-08-2024

java/net/httpclient/SmokeTest.java maybe has the same failure: "MainThread" #31 [1471343] prio=5 os_prio=0 cpu=733.64ms elapsed=480.18s tid=0x0000ffffb81d6890 nid=1471343 waiting on condition [0x0000ffff42acd000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@24/Native Method) - parking to wait for <0x000000011938a620> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(java.base@24/LockSupport.java:369) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@24/AbstractQueuedSynchronizer.java:519) at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@24/ForkJoinPool.java:4021) at java.util.concurrent.ForkJoinPool.managedBlock(java.base@24/ForkJoinPool.java:3967) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@24/AbstractQueuedSynchronizer.java:1717) at java.util.concurrent.LinkedBlockingQueue.take(java.base@24/LinkedBlockingQueue.java:435) at SmokeTest.takeQ(SmokeTest.java:652) at SmokeTest.test7(SmokeTest.java:644) at SmokeTest.main(SmokeTest.java:228)
16-08-2024