Details
-
Bug
-
Resolution: Fixed
-
P2
-
23
-
b23
-
x86_64, aarch64
-
windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333218 | 21.0.5-oracle | Alexey Ivanov | P2 | Resolved | Fixed | master |
JDK-8334609 | 21.0.5 | Andrew Lu | P2 | Resolved | Fixed | master |
JDK-8333257 | 17.0.13-oracle | Alexey Ivanov | P2 | Resolved | Fixed | master |
JDK-8333289 | 11.0.25-oracle | Alexey Ivanov | P2 | Resolved | Fixed | master |
JDK-8333538 | 8u431 | Alexey Ivanov | P2 | Resolved | Fixed | master |
Description
All the failures found on Windows look the same:
Number of snapshots: 20
Number of snapshots where number of loader threads:
= 1: 19
= 2: 0
> 2: 1
Exception in Test Runner: class java.lang.RuntimeException: Detected 1 snapshots with several loading threads
java.lang.RuntimeException: Detected 1 snapshots with several loading threads
at LoaderThreadCount.runTest(LoaderThreadCount.java:168)
at LoaderThreadCount.wrapper(LoaderThreadCount.java:108)
at java.base/java.lang.Thread.run(Thread.java:1575)
A kind of tolerance is needed. For example, fail the test if the number of snapshots with more than 2 loading threads is above 2 or 3. Without the fix, the number of such snapshots is much higher, usually at 20 out of 20, the lowest I've seen over the recent days is 16.
A fraction of the number of (valid) snapshots could be used, for instance SNAPSHOTS / 2 or loaderCount.size() / 2, both usually give 10 on Windows.
Attachments
Issue Links
- backported by
-
JDK-8333218 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
-
- Resolved
-
-
JDK-8333257 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
-
- Resolved
-
-
JDK-8333289 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
-
- Resolved
-
-
JDK-8333538 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
-
- Resolved
-
-
JDK-8334609 BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
-
- Resolved
-
- clones
-
JDK-8331494 BasicDirectoryModel/LoaderThreadCount.java fails in CI
-
- In Progress
-
- relates to
-
JDK-8333880 BasicDirectoryModel/LoaderThreadCount.java still fails frequently on Windows in CI
-
- Open
-
- links to
-
Commit openjdk/jdk21u-dev/c9592070
-
Commit openjdk/jdk/ffbdfffb
-
Review openjdk/jdk17u-dev/2605
-
Review openjdk/jdk21u-dev/741
-
Review openjdk/jdk/19156