Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27205

Jenkins raised java.net.SocketTimeoutException: Read timed out when start FitNesse on remote VM

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm having a slave node to run the FitNesse test cases using the FitNesse plugin.

      However when the executing time of test suite is long (over 20 minutes), Jenkins will raise the Java read timed out Exception during the executing time, and the jenkins job is failed.

      The error is as follow:
      Connected: 200/OK
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:150)
      at java.net.SocketInputStream.read(SocketInputStream.java:121)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:543)
      at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:600)
      at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:687)
      at java.io.FilterInputStream.read(FilterInputStream.java:133)
      at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2959)
      at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2953)
      at hudson.plugins.fitnesse.FitnesseExecutor.getHttpBytes(FitnesseExecutor.java:249)
      at hudson.plugins.fitnesse.FitnesseExecutor$1.run(FitnesseExecutor.java:226)
      at java.lang.Thread.run(Thread.java:722)
      Force close of input stream.

      This seems to be a known issue in the FitNesse plugin, and it has been raised for a long time. Hope this bug could be resolved ASAP.

      Issue raised before:
      https://issues.jenkins-ci.org/browse/JENKINS-18501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

        Attachments

          Activity

          Hide
          geekinfinity Heng Wang added a comment -

          solved this Java Read time out issue by increasing the HTTP Timeout (ms) and Test Timeout (ms), put it long enough to finish all you test suite

          Show
          geekinfinity Heng Wang added a comment - solved this Java Read time out issue by increasing the HTTP Timeout (ms) and Test Timeout (ms), put it long enough to finish all you test suite
          Hide
          antoine_aumjaud Antoine Aumjaud added a comment -

          increase time out

          Show
          antoine_aumjaud Antoine Aumjaud added a comment - increase time out

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            geekinfinity Heng Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: