Jenkins pipeline not aborted when the machine running docker container goes offline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

       Preconditions

      Jenkins pipeline job is configured to run parallel actions in different docker swarm nodes.

      Procedure

      1. Run job
      2. Force disconnect of a node running a part of this job

      Actual outcome

      Job will never terminate. The pipeline part will remain stuck in:

      Cannot contact swarm-xxxxxxxx: hudson.remoting.RequestAbortedException: java.nio.channels.ClosedChannelException

      The exception is catched by workflow-durable-task-step-plugin and used to display the log above.

      Expected outcome

      The pipeline part execution should generate an exception that can be catched.

      This will can allow implementing a retry strategy in Pipeline job.

            Assignee:
            Unassigned
            Reporter:
            Aymen Bouaziz
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: