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

ClientAbortException logged when cancelling a support bundle download

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: support-core-plugin
    • Labels:
      None
    • Environment:
      support-core-2.20 Tomcat
    • Similar Issues:

      Description

      When generating a support bundle through the GUI and finally selecting "Cancel" on the download window, `ClientAbortException: java.net.SocketException: Broken pipe` is logged in the catalina.log file. As a use decision, this should not occur as is it absolutely not an error.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Felix Belzunce Arcos
          Path:
          src/main/java/com/cloudbees/jenkins/support/SupportAction.java
          http://jenkins-ci.org/commit/support-core-plugin/1d617acebb3be7f8244f031134db8304f850923c
          Log:
          JENKINS-26409

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Felix Belzunce Arcos Path: src/main/java/com/cloudbees/jenkins/support/SupportAction.java http://jenkins-ci.org/commit/support-core-plugin/1d617acebb3be7f8244f031134db8304f850923c Log: JENKINS-26409
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Steven Christou
          Path:
          src/main/java/com/cloudbees/jenkins/support/SupportAction.java
          http://jenkins-ci.org/commit/support-core-plugin/717af32c2d0ff663438e726514b551b2843127c7
          Log:
          Merge pull request #19 from fbelzunc/JENKINS-26409

          [FIXED JENKINS-26409] ClientAbortException logged when cancelling a support bundle download

          Compare: https://github.com/jenkinsci/support-core-plugin/compare/a8001e90328b...717af32c2d0f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Steven Christou Path: src/main/java/com/cloudbees/jenkins/support/SupportAction.java http://jenkins-ci.org/commit/support-core-plugin/717af32c2d0ff663438e726514b551b2843127c7 Log: Merge pull request #19 from fbelzunc/ JENKINS-26409 [FIXED JENKINS-26409] ClientAbortException logged when cancelling a support bundle download Compare: https://github.com/jenkinsci/support-core-plugin/compare/a8001e90328b...717af32c2d0f
          Hide
          schristou Steven Christou added a comment -

          Félix Belzunce Arcos The support bundle logs this error message still:

          WARNING	c.c.j.support.SupportAction#doDownload: java.io.IOException: Broken pipe
          org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
          	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
          	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
          	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
          	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
          	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
          	at net.bull.javamelody.FilterServletOutputStream.flush(FilterServletOutputStream.java:65)
          	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:374)
          

          If this message should be removed it should be removed from: SupportAction.java#L171 instead of closing the stream.

          Show
          schristou Steven Christou added a comment - Félix Belzunce Arcos The support bundle logs this error message still: WARNING c.c.j.support.SupportAction#doDownload: java.io.IOException: Broken pipe org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317) at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110) at net.bull.javamelody.FilterServletOutputStream.flush(FilterServletOutputStream.java:65) at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:374) If this message should be removed it should be removed from: SupportAction.java#L171 instead of closing the stream.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: schristou88
          Path:
          src/main/java/com/cloudbees/jenkins/support/SupportAction.java
          http://jenkins-ci.org/commit/support-core-plugin/681ab47ef4b5aab55c8a4e615df4f4b7b8627bab
          Log:
          [FIXED JENKINS-26409] If the stream is terminated early log this information in FINE level.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: schristou88 Path: src/main/java/com/cloudbees/jenkins/support/SupportAction.java http://jenkins-ci.org/commit/support-core-plugin/681ab47ef4b5aab55c8a4e615df4f4b7b8627bab Log: [FIXED JENKINS-26409] If the stream is terminated early log this information in FINE level.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/main/java/com/cloudbees/jenkins/support/SupportAction.java
          http://jenkins-ci.org/commit/support-core-plugin/1e5ffae4bb740115c092f381c944b61b0d8cd80b
          Log:
          Merge pull request #60 from christ66/JENKINS-26409

          [FIXED JENKINS-26409] If the stream is terminated early log this info…

          Compare: https://github.com/jenkinsci/support-core-plugin/compare/7d4a2c979172...1e5ffae4bb74

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/jenkins/support/SupportAction.java http://jenkins-ci.org/commit/support-core-plugin/1e5ffae4bb740115c092f381c944b61b0d8cd80b Log: Merge pull request #60 from christ66/ JENKINS-26409 [FIXED JENKINS-26409] If the stream is terminated early log this info… Compare: https://github.com/jenkinsci/support-core-plugin/compare/7d4a2c979172...1e5ffae4bb74

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              fbelzunc Félix Belzunce Arcos
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: