JDK-8302608 : two monitoring/stress/thread/cmon tests need a timeout adjustment
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 21
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2023-02-15
  • Updated: 2023-04-14
  • Resolved: 2023-04-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21Resolved
Related Reports
Relates :  
Description
The following two tests timed out with slowdebug bits with
stress testing:

vmTestbase/nsk/monitoring/stress/thread/cmon002/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/cmon003/TestDescription.java

Here's my tracking entries:

+# jdk-21+9_1_linux - observed in jdk-21+9 testing on 2023.02.09 on
+# linux-x64 in slowdebug config:
+#   - elapsed time (seconds): 124.115
+# jdk-21+9_2_linux - observed in jdk-21+9 testing on 2023.02.10 on
+# linux-x64 in slowdebug config:
+#   - elapsed time (seconds): 123.998
+# jdk-21+9_3_linux - observed in jdk-21+9 testing on 2023.02.11 on
+# linux-x64 in slowdebug config:
+#   - elapsed time (seconds): 123.886
+#ZZZ vmTestbase/nsk/monitoring/stress/thread/cmon002/TestDescription.java XXXXXXX linux-x64
+
+# jdk-21+9_1_linux - observed in jdk-21+9 testing on 2023.02.09 on
+# linux-x64 in slowdebug config:
+#   - elapsed time (seconds): 124.14
+# jdk-21+9_2_linux - observed in jdk-21+9 testing on 2023.02.10 on
+# linux-x64 in slowdebug config:
+#   - elapsed time (seconds): 124.059
+# jdk-21+9_3_linux - observed in jdk-21+9 testing on 2023.02.11 on
+# linux-x64 in slowdebug config:
+#   - elapsed time (seconds): 123.921
+#ZZZ vmTestbase/nsk/monitoring/stress/thread/cmon003/TestDescription.java 8209849 linux-x64

8209849 is closed bug associated with a Solaris timeout sighting from a long time ago.
I'll be updating the entry to this bug ID.
Comments
With the fix for the following bug in place: JDK-8300926 Several startup regressions ~6-70% in 21-b6 all platforms these two tests no longer timeout: vmTestbase/nsk/monitoring/stress/thread/cmon002/TestDescription.java vmTestbase/nsk/monitoring/stress/thread/cmon003/TestDescription.java so I'm closing this bug as "Cannot Reproduce".
14-04-2023

Here's the logs from my jdk-21+11 stress run sightings on linux-x64: $ unzip -l jdk-21+11_linux-x64.8302608.zip Archive: jdk-21+11_linux-x64.8302608.zip Length Date Time Name --------- ---------- ----- ---- 111772 2023-02-23 11:12 jdk-21+11_1/failures.linux-x86_64/TestDescription.jtr.slowdebug 102469 2023-02-23 11:16 jdk-21+11_1/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 85413 2023-02-24 12:27 jdk-21+11_2/failures.linux-x86_64/TestDescription.jtr.slowdebug 18423 2023-02-24 12:32 jdk-21+11_2/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 111656 2023-02-25 13:45 jdk-21+11_3/failures.linux-x86_64/TestDescription.jtr.slowdebug 90710 2023-02-25 13:49 jdk-21+11_3/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 --------- ------- 520443 6 files Increasing the timeout value from 180 to 240 seconds did not help in the slowdebug config; still had slowdebug timeouts in all three runs.
28-02-2023

Here's the logs from my jdk-21+10 stress run sightings on linux-x64: $ unzip -l jdk-21+10_linux-x64.8302608.zip Archive: jdk-21+10_linux-x64.8302608.zip Length Date Time Name --------- ---------- ----- ---- 115282 2023-02-16 11:16 jdk-21+10_1/failures.linux-x86_64/TestDescription.jtr.slowdebug 90071 2023-02-16 11:19 jdk-21+10_1/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 88218 2023-02-17 13:15 jdk-21+10_2/failures.linux-x86_64/TestDescription.jtr.slowdebug 96738 2023-02-17 13:19 jdk-21+10_2/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 97021 2023-02-18 14:52 jdk-21+10_3/failures.linux-x86_64/TestDescription.jtr.slowdebug 113911 2023-02-18 14:55 jdk-21+10_3/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 --------- ------- 601241 6 files Increasing the timeout value from the default 120 to 180 did not help in the slowdebug config; still had slowdebug timeouts in all three runs.
22-02-2023

Here's the logs from my jdk-21+9 stress run sightings on linux-x64: $ unzip -l jdk-21+9_linux-x64.8302608.zip Archive: jdk-21+9_linux-x64.8302608.zip Length Date Time Name --------- ---------- ----- ---- 105058 2023-02-09 11:54 jdk-21+9_1/failures.linux-x86_64/TestDescription.jtr.slowdebug 104679 2023-02-09 11:56 jdk-21+9_1/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 117644 2023-02-10 13:17 jdk-21+9_2/failures.linux-x86_64/TestDescription.jtr.slowdebug 111528 2023-02-10 13:19 jdk-21+9_2/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 108541 2023-02-11 15:09 jdk-21+9_3/failures.linux-x86_64/TestDescription.jtr.slowdebug 94586 2023-02-11 15:11 jdk-21+9_3/failures.linux-x86_64/TestDescription.jtr.slowdebug.1 --------- ------- 642036 6 files
16-02-2023