Details
-
Bug
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
11
-
b18
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8299638 | 11.0.19-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8302725 | 11.0.19 | Goetz Lindenmaier | P4 | Resolved | Fixed | b03 |
Description
This test has been observed failing intermittently in the CI.
It has several potential sources of instability:
- The test runs in AgentVM mode
- Receiver binds to the wildcard, sender sends to getLocalHost()
(using wildcard/localhost instead of loopback/loopback has been a source of instability in the past)
- Sockets are not closed properly if an exception happens
- Publication of instance variables is not always Multi Thread safe
(would require volatile or other means of synchronization)
- If the sender fails to send, the test will get wedged forever.
- Possibly better exception logging
It has several potential sources of instability:
- The test runs in AgentVM mode
- Receiver binds to the wildcard, sender sends to getLocalHost()
(using wildcard/localhost instead of loopback/loopback has been a source of instability in the past)
- Sockets are not closed properly if an exception happens
- Publication of instance variables is not always Multi Thread safe
(would require volatile or other means of synchronization)
- If the sender fails to send, the test will get wedged forever.
- Possibly better exception logging
Attachments
Issue Links
- backported by
-
JDK-8299638 java/nio/channels/DatagramChannel/SRTest.java fails intermittently
-
- Resolved
-
-
JDK-8302725 java/nio/channels/DatagramChannel/SRTest.java fails intermittently
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/2244467c
-
Commit openjdk/jdk/784f1c1f
-
Review openjdk/jdk11u-dev/1756
-
Review openjdk/jdk/3354
(1 links to)