JDK-8276808 : java/nio/channels/Channels/TransferTo.java timed out
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: aarch64
  • Submitted: 2021-11-08
  • Updated: 2021-12-02
  • Resolved: 2021-11-09
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 18
18 b23Fixed
Related Reports
Relates :  
Description
The following test timed out in the JDK18 CI:

java/nio/channels/Channels/TransferTo.java

Here's a snippet from the log file:

#section:testng
----------messages:(6/206)----------
command: testng TransferTo
reason: User specified action: run testng/othervm TransferTo 
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
elapsed time (seconds): 501.775
----------configuration:(0/0)----------
----------System.out:(5/308)----------
Seed from RandomFactory = 7611183328771965387L
Timeout refired 480 times
test TransferTo.testMoreThanTwoGB(): success
test TransferTo.testNullPointerException(TransferTo$2@2e92724a, TransferTo$4@a6dd5b5): success
test TransferTo.testNullPointerException(TransferTo$3@fb1475a, TransferTo$1@6b95eb64): success
----------System.err:(0/0)----------
----------rerun:(35/7401)*----------

<snip>

result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+23-1484/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 501765ms).

Comments
Changeset: dde959df Author: Brian Burkhalter <bpb@openjdk.org> Date: 2021-11-09 19:17:59 +0000 URL: https://git.openjdk.java.net/jdk/commit/dde959dfcef01897fdf51f820d414402e6309b8d
09-11-2021

Looks like another case of jtreg timeout being fired while the test is executing. The point to which the test had progressed looks to be approximately 95% of the execution time of the TestNG @Tests.
08-11-2021