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

OnceRetentionStrategy does not handle disconnected agants

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins 2.364.3-rc
      durable-task:496.va67c6f9eefa7
      workflow-durable-task-step:1190.vc93d7d457042
      google-compute-engine:4.3.9
    • durable-task-plugin 555.v6802fe0f0b_82

      If an outbound Cloud Agent become disconnected and is using the OnceRetentionStrategy it will never attempt to reconnect.

      Steps to reproduce

      • create a Cloud using Google Cloud Engine
      • set the cloud One-Shot to enabled
      • create a pipeline job using the node to execute `sh 'sleep 240'`
      • start the job
      • wait for the node to be provisioned and terminate the `agent.jar` process

      Expected Outcome

      • Jenkins detects the agent is disconnected and attempts to relaunch it
      • job continues successfully to completion

      Actual

      • Jenkins detects the agent is disconnected but does not attempt to relaunch it.
      • Job stays in limbo land.

            teilo James Nord
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: