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

Compiler test InlineCommandTest fails to start due to closed ServerSocket

XMLWordPrintable

      It looks to me like the ServerSocket got closed for some reason.

      The problem is in the Executor trying to connect to the test VM.

      This is part of the test framework. It didn't get to run the actual test.

      Exception in thread "main" java.lang.Error: TESTBUG: unexpected lines list
          at compiler.compilercontrol.share.actions.BaseAction.decodeMap(BaseAction.java:111)
          at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:100)
          at compiler.compilercontrol.share.actions.BaseAction.main(BaseAction.java:59)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

          at jdk.test.lib.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:366)
          at compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:115)
          at compiler.compilercontrol.share.SingleCommand.test(SingleCommand.java:55)
          at compiler.compilercontrol.commandfile.PrintTest.main(PrintTest.java:44)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:520)
          at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
          at java.lang.Thread.run(Thread.java:747)
      java.lang.Error: Failed to write data: Socket closed
          at compiler.compilercontrol.share.scenario.Executor.connectTestVM(Executor.java:147)
          at compiler.compilercontrol.share.scenario.Executor.lambda$execute$0(Executor.java:98)
          at java.lang.Thread.run(Thread.java:747)
      Caused by: java.net.SocketException: Socket closed
          at java.net.PlainSocketImpl.socketAccept(Native Method)
          at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
          at java.net.ServerSocket.implAccept(ServerSocket.java:546)
          at java.net.ServerSocket.accept(ServerSocket.java:514)
          at compiler.compilercontrol.share.scenario.Executor.connectTestVM(Executor.java:126)


            ppunegov Pavel Punegov
            jprovino Joseph Provino (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: