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

SupportPlugin.writeBundle should gracefully handle remoting.ChannelClosedException

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • support-core-plugin
    • None

      SupportPlugin.writeBundle can throw ChannelClosedException while (assumably) attempting to retrieve agent info.

      For example:

      hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on JNLP4-connect connection from IP:PORT failed. The channel is closing down or has closed down
      

      This seems to abort the entire bundle generation process.

      It should be able to gracefully handle an agent disconnection, and just move on with the bundle generation process.

          [JENKINS-55230] SupportPlugin.writeBundle should gracefully handle remoting.ChannelClosedException

          Owen Wood added a comment -

          I can't see where this is actually triggered in master.

          I think this might have already been addressed in https://github.com/jenkinsci/support-core-plugin/commit/efc40215b5a25acbf4eb437943637893dd9be9e4

          Owen Wood added a comment - I can't see where this is actually triggered in master. I think this might have already been addressed in https://github.com/jenkinsci/support-core-plugin/commit/efc40215b5a25acbf4eb437943637893dd9be9e4

            owood Owen Wood
            owood Owen Wood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: