JDK-8298213 : sun/nio/cs/StreamEncoderClose.java crashed with UT enabled
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 20
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64
  • Submitted: 2022-12-06
  • Updated: 2022-12-07
Related Reports
Relates :  
Description
The following test crashed in the JDK20 CI:

sun/nio/cs/StreamEncoderClose.java

Here's a snippet from the log file:

#section:main
----------messages:(7/241)----------
command: main StreamEncoderClose
reason: Assumed action based on file name: run main StreamEncoderClose 
started: Tue Dec 06 19:13:57 UTC 2022
Mode: agentvm
Agent id: 18
finished: Tue Dec 06 19:15:59 UTC 2022
elapsed time (seconds): 121.872
----------configuration:(12/1409)----------

<snip>

----------stdout:(4/124)----------
[thread 1756441 also had an error]

------ Timeout during error reporting after 120 s. ------
# [ timer expired, abort... ]
result: Error. Agent communication error: java.io.EOFException; check console log for any additional details


test result: Error. Agent communication error: java.io.EOFException; check console log for any additional details


Please note that the crash information is severely limited by this bug:

JDK-8297588 Timeout during error reporting

but this failure should not be linked to JDK-8297588.

This particular failure sighting happened in a
tier7-common-usage-tracker so this crash is very likely
related to some timing race with the Usage Tracker.
However, we won't be able to learn more until we get
a sighting _after_ JDK-8297588 is fixed.