• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ansicolor-plugin
    • Ansi Color Plugin version 0.4.1

      The Plugin seems to generate a span html tag for several parts of the same line, having all the line the same colour. While this is not a problem on small builds, in large projects the console output can increase considerably (up to 100Mb in ours) and the response time to check the whole log is also affected notably.

      An example can be checked at:
      http://build.osrfoundation.org/job/gazebo-default-devel-trusty-amd64-gpu-nvidia/lastSuccessfulBuild/consoleFull

      For example (all the line is in red):

      [Err] [SVGLoader.cc:666] Failed to load file /not/a/file.svg
      

      ends up in:

      75: 
      <b><span style="color: #CD0000;">[Err] </span></b>
      <b><span style="color: #CD0000;">[</span></b>
      <b><span style="color: #CD0000;">SVGLoader.cc</span></b>
      <b><span style="color: #CD0000;">:</span></b>
      <b><span style="color: #CD0000;">666</span></b>
      <b><span style="color: #CD0000;">] </span></b>
      <b><span style="color: #CD0000;">Failed to load file </span></b>
      <b><span style="color: #CD0000;">/not/a/file.svg</span></b>
      

          [JENKINS-29090] Too many span labels for the same line

          Daniel Beck added a comment -

          What is the source text? Maybe the problem is that the ANSI output also looks like this?

          Daniel Beck added a comment - What is the source text? Maybe the problem is that the ANSI output also looks like this?

          Steve Peters added a comment -

          Sorry for the delayed response. Yes, our ANSI output has the same formatting; the html just inflates it a bit.

          Perhaps this could be a feature request to merge adjacent span elements with identical colors?

          Steve Peters added a comment - Sorry for the delayed response. Yes, our ANSI output has the same formatting; the html just inflates it a bit. Perhaps this could be a feature request to merge adjacent span elements with identical colors?

          Jesse Glick added a comment -

          The bloat aspect could be considered a symptom of JENKINS-11752.

          Jesse Glick added a comment - The bloat aspect could be considered a symptom of JENKINS-11752 .

            Unassigned Unassigned
            jrivero Jose Luis Rivero
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: