JDK-8183370 : jdk/jshell/FailOverExecutionControlDyingLaunchTest.java fails intermittently
  • Type: Bug
  • Component: tools
  • Sub-Component: jshell
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2017-07-03
  • Updated: 2018-06-07
  • Resolved: 2018-02-26
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
tbd_minorResolved
Related Reports
Duplicate :  
Relates :  
Description
jdk/jshell/FailOverExecutionControlDyingLaunchTest.java fails intermittently:

----------System.out:(77/4888)----------
[TestNG] Running:
  jdk/jshell/FailOverExecutionControlDyingLaunchTest.java

config FailOverExecutionControlDyingLaunchTest.setUp(): success
test ExecutionControlTestBase.classesDeclaration(): success
config KullaTesting.tearDown(): success
config FailOverExecutionControlDyingLaunchTest.setUp(): success
test ExecutionControlTestBase.interfaceTest(): success
config KullaTesting.tearDown(): success
config FailOverExecutionControlDyingLaunchTest.setUp(): success
test ExecutionControlTestBase.methodOverload(): success
config KullaTesting.tearDown(): success
config FailOverExecutionControlDyingLaunchTest.setUp(): success
test ExecutionControlTestBase.testExprSanity(): success
config KullaTesting.tearDown(): success
config FailOverExecutionControlDyingLaunchTest.setUp(): success
test ExecutionControlTestBase.testImportOnDemand(): success
config KullaTesting.tearDown(): success
config FailOverExecutionControlDyingLaunchTest.setUp(): failure
java.lang.IllegalStateException: Launching JShell execution engine threw: Accept timed out
	at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:139)
	at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405)
	at KullaTesting.setUp(KullaTesting.java:197)
	at FailOverExecutionControlDyingLaunchTest.setUp(FailOverExecutionControlDyingLaunchTest.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:773)
	at org.testng.TestRunner.run(TestRunner.java:623)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
	at org.testng.TestNG.run(TestNG.java:1018)
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.net.SocketTimeoutException: Accept timed out
	at java.base/java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:459)
	at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:551)
	at java.base/java.net.ServerSocket.accept(ServerSocket.java:519)
	at jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:116)
	at jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:148)
	at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:179)
	at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
	at jdk.jshell/jdk.jshell.execution.FailOverExecutionControlProvider.generate(FailOverExecutionControlProvider.java:103)
	at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:179)
	at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
	at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:136)
	... 33 more
test ExecutionControlTestBase.variables(): skip
config KullaTesting.tearDown(): skip
Comments
http://java.se.oracle.com:10065/mdash/jobs/cplummer-jdk1-20180607-2137-25614/tasks/cplummer-jdk1-20180607-2137-25614-jdk_open_test_langtools_tier1-linux-x64-open-72/results?search=status:overview In this test run, not only do I see FailOverExecutionControlDyingLaunchTest.java failing due to: java.net.SocketTimeoutException: Accept timed out I also see jdk/jshell/ExceptionMessageTest.java failing for a similar reason: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection
07-06-2018

Is this failure occurring in high concurrency mode (per JDK-8184445)?
17-02-2018

This looks like a duplicate of JDK-8184445.
08-02-2018

Caused by: java.net.SocketTimeoutException: Accept timed out Is this test fragility or infrastructure fragility?
08-02-2018

This test is inherently fragile.
13-09-2017