Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8173079

JShell test: jdk/jshell/UserJdiUserRemoteTest.java fails intermittently

    XMLWordPrintable

    Details

      Description

      This bug seems to have become a catch-all for a smattering of varying kinds of failures in a variety of unrelated sub-tests, with this test file the only the only common aspect. When reporting via data that will go away, please, at least, include the sub-test name, error message, and backtrace -- so that I can some hope of figuring what is going on.

      Thanks,
      Robert

      ------------------------------------------------------------------------------------------------------------------------------------------------------------

      This has been observed to fail once on Linux X64. It looks to be intermittent, but requires more attention since it is a tier 1 test.

      ----------System.out:(63/3718)----------
      [TestNG] Running:
        jdk/jshell/UserJdiUserRemoteTest.java

      config UserJdiUserRemoteTest.setUp(): success
      test UserJdiUserRemoteTest.testExtension(): success
      config KullaTesting.tearDown(): success
      config UserJdiUserRemoteTest.setUp(): failure
      java.lang.IllegalStateException: Launching JShell execution engine threw: Accept timed out
      at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:133)
      at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:376)
      at KullaTesting.setUp(KullaTesting.java:198)
      at UserJdiUserRemoteTest.setUp(UserJdiUserRemoteTest.java:52)
      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:543)
      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:89)
      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:543)
      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 MyExecutionControl.make(MyExecutionControl.java:95)
      at MyExecutionControlProvider.generate(MyExecutionControlProvider.java:44)
      at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:120)
      ... 33 more
      test UserJdiUserRemoteTest.testRedefine(): skip
      config KullaTesting.tearDown(): skip
      config UserJdiUserRemoteTest.setUp(): skip
      test UserJdiUserRemoteTest.testVarValue(): skip
      config KullaTesting.tearDown(): skip

      ===============================================
      jdk/jshell/UserJdiUserRemoteTest.java
      Total tests run: 3, Failures: 0, Skips: 2
      Configuration Failures: 1, Skips: 3
      ===============================================

      ----------System.err:(12/713)----------
      java.lang.Exception: failures: 0
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:91)
      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:543)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              xiaofeya Xiaofeng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated: