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

Encoded console notes appear in the Parsed Console Output

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • log-parser-plugin
    • None

      Since Hudson 1.349, console notes can be embedded into the console output file. These notes are stored in an encoded format and are intended to be stripped out before the console is displayed.

      The Log Parser Plugin, since it reads from the console output file directly, puts these encoded notes into the Parsed Console Output page. Here is an example:

      [8mha:AAAAdB+LCAAAAAAAAABb85aBtbiIQSOjNKU4P0+vIKc0PTOvWK8kMze1uCQxtyC1SC8ExvbLL0llgABGJgZGLwaB3MycnMzi4My85FTXgvzkjIoiBimoScn5ecX5Oal6zhAaVS9DRQGQ1prw898HAAlKmbGBAAAA [0m
      

      The attached patch JENKINS-7263.patch strips out these console notes.

          [JENKINS-7263] Encoded console notes appear in the Parsed Console Output

          Steven G Brown created issue -
          StevenGBrown made changes -
          Attachment New: JENKINS-7263.patch [ 19680 ]
          StevenGBrown made changes -
          Description Original: Since Hudson 1.349, [https://hudson.dev.java.net/nonav/javadoc/hudson/console/ConsoleNote.html|console notes] can be embedded into the console output file. These notes are stored in an encoded format and are intended to be stripped out before the console is displayed.

          The Log Parser Plugin, since it reads from the console output file directly, puts these encoded notes into the Parsed Console Output page. Here is an example:

          [8mha:AAAAdB+LCAAAAAAAAABb85aBtbiIQSOjNKU4P0+vIKc0PTOvWK8kMze1uCQxtyC1SC8ExvbLL0llgABGJgZGLwaB3MycnMzi4My85FTXgvzkjIoiBimoScn5ecX5Oal6zhAaVS9DRQGQ1prw898HAAlKmbGBAAAA [0m
          New: Since Hudson 1.349, [console notes|https://hudson.dev.java.net/nonav/javadoc/hudson/console/ConsoleNote.html] can be embedded into the console output file. These notes are stored in an encoded format and are intended to be stripped out before the console is displayed.

          The Log Parser Plugin, since it reads from the console output file directly, puts these encoded notes into the Parsed Console Output page. Here is an example:

          {noformat}
          [8mha:AAAAdB+LCAAAAAAAAABb85aBtbiIQSOjNKU4P0+vIKc0PTOvWK8kMze1uCQxtyC1SC8ExvbLL0llgABGJgZGLwaB3MycnMzi4My85FTXgvzkjIoiBimoScn5ecX5Oal6zhAaVS9DRQGQ1prw898HAAlKmbGBAAAA [0m
          {noformat}

          The attached patch {{JENKINS-7263.patch}} strips out these console notes.

          StevenGBrown added a comment -

          Rinat, if you are happy for me to commit and release this change, please assign back to me. I could also perform some code cleanup, such as removing unused code, making use of generics, and replacing StringBuffer usages with StringBuilder.

          StevenGBrown added a comment - Rinat, if you are happy for me to commit and release this change, please assign back to me. I could also perform some code cleanup, such as removing unused code, making use of generics, and replacing StringBuffer usages with StringBuilder.
          StevenGBrown made changes -
          Assignee Original: Steven G Brown [ stevengbrown ] New: rgoren [ rgoren ]

          ssplett added a comment -

          The problem does not occur since a long time. If it occurs again, I will reopen this issue. Sorry for all trouble this issue might have caused so far.

          ssplett added a comment - The problem does not occur since a long time. If it occurs again, I will reopen this issue. Sorry for all trouble this issue might have caused so far.
          ssplett made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          ssplett added a comment -

          Sorry... Closed wrong issue...

          ssplett added a comment - Sorry... Closed wrong issue...
          ssplett made changes -
          Resolution Original: Cannot Reproduce [ 5 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          jborghi made changes -
          Assignee Original: rgoren [ rgoren ] New: jborghi [ jborghi ]

            jborghi jborghi
            stevengbrown Steven G Brown
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: