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

agent dies upon network timeouts, but should retry.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: remoting
    • Labels:
      None
    • Environment:
      Jenkins 2.277.4, remoting agents 4.6
    • Similar Issues:

      Description

      When the remoting agent suffers a network timeout, it will retry the connection in the main loop in src/main/java/hudson/remoting/Engine.java. But if that reconnect also gets a timeout, it does System.exit instead of waiting 10s.

      In the code src/main/java/hudson/remoting/Engine.java the method onConnectionRejected tells its listeners that the server rejected the connection and then waits 10s before retrying.

      The problem is that both GuiEventListerner and CuiEventListener does a System.exit upon an error message.

      Probably it should be a call to events.status instead of events.error...

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            jthompson Jeff Thompson
            Reporter:
            bildrulle Lars Berntzon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: