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

jdk/jshell/CompletionSuggestionTest.java fails intermittent with Launching JShell execution engine threw: FailOverExecutionControlProvider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11, 17, 19
    • tools
    • None
    • generic
    • generic

      We run now and then into these errors when running jdk/jshell/CompletionSuggestionTest.java :

      config CompletionSuggestionTest.setUp(): success
      test CompletionSuggestionTest.testIntersection(): success
      config KullaTesting.tearDown(): success
      config CompletionSuggestionTest.setUp(): failure
      java.lang.IllegalStateException: Launching JShell execution engine threw: FailOverExecutionControlProvider: FAILED: 0:jdi:hostname(127.0.0.1) --
        Exception: java.lang.InternalError: Failed remote listen: java.util.concurrent.ExecutionException: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection @ com.sun.jdi.SocketListen (defaults: timeout=, port=, localAddress=) -- {timeout=timeout=5000, port=port=xyz, localAddress=localAddress=127.0.0.1}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:199)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:111)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)

      Mostly the error is observed on Windows , but sometimes as well on other platforms (e.g. macOS).
      Should we maybe mark the test "intermittent" ?

            asotona Adam Sotona
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: