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

agent dies upon network timeouts, but should retry.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • remoting
    • None
    • Jenkins 2.277.4, remoting agents 4.6

      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...

            Unassigned Unassigned
            bildrulle Lars Berntzon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: