JDK-8239930 : jdk/jshell/UserJdiUserRemoteTest.java fails due to agentvm mode timeout
  • Type: Bug
  • Component: tools
  • Sub-Component: jshell
  • Affected Version: 15
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: windows
  • CPU: x86_64
  • Submitted: 2020-02-25
  • Updated: 2020-03-19
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The following test fails in the JDK15 CI:

jdk/jshell/UserJdiUserRemoteTest.java
	
This test failure is due to an agentvm mode timeout:

#section:testng
----------messages:(7/215)----------
command: testng UserJdiUserRemoteTest
reason: User specified action: run testng UserJdiUserRemoteTest 
Mode: agentvm
Agent id: 4
Timeout refired 480 times
Timeout information:
elapsed time (seconds): 540.036
----------configuration:(10/778)*----------

<snip>

test result: Error. Agent communication error: java.net.SocketTimeoutException: Read timed out; check console log for any additional details

PLEASE, DO NOT ADD OTHER FAILURE MODES TO THIS BUG.
Comments
Snippets from the log file for the jdk-15+13-455-tier2 failure: #section:build ----------messages:(3/107)---------- command: build UserJdiUserRemoteTest reason: Named class compiled on demand elapsed time (seconds): 0.0 result: Passed. All files up to date #section:testng ----------messages:(8/245)---------- command: testng UserJdiUserRemoteTest reason: User specified action: run testng UserJdiUserRemoteTest Mode: agentvm Agent id: 4 Timeout refired 480 times Timeout information: --- Timeout information end. elapsed time (seconds): 670.955 ----------configuration:(10/778)*---------- Boot Layer class path: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\testng.jar C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\javatest.jar C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\jtreg.jar patch: java.base T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\patches\\java.base Test Layer class path: T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\classes\\2\\jdk\\jshell\\UserJdiUserRemoteTest.d C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+13-455\\src.full\\open\\test\\langtools\\jdk\\jshell ----------rerun:(33/4007)*---------- <snip> result: Error. Agent error: java.lang.Exception: Agent 4 timed out with a timeout of 480 seconds; check console log for any additional details This instance of the failure has an "Agent error" but not the same as this one; Error. Agent communication error: java.net.SocketTimeoutException: Read timed out; check console log for any additional details The latest one also does not have "WARNING: failed to clean up files after test".
28-02-2020

The log file has one other set of messages earlier in the log, but I'm not sure what to make of them: #section:script_messages ----------messages:(9/895)*---------- JDK under test: c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+12-414\\windows-x64.jdk\\jdk-15 java version "15-ea" 2020-09-15 Java(TM) SE Runtime Environment (build 15-ea+12-414) Java HotSpot(TM) 64-Bit Server VM (build 15-ea+12-414, mixed mode, sharing) error: failed to rename T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\scratch\\2\\processes.html to T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\jdk\\jshell\\UserJdiUserRemoteTest\\processes.html error: failed to rename T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\scratch\\2\\processes.log to T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\jdk\\jshell\\UserJdiUserRemoteTest\\processes.log Can't save files in T:\\testoutput\\test-support\\jtreg_open_test_langtools_tier2\\scratch\\2 WARNING: failed to clean up files after test WARNING: closing agent(s) #section:build
25-02-2020