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

Too many span labels for the same line

    XMLWordPrintable

Details

    Description

      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>
      

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck added a comment -

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

            danielbeck Daniel Beck added a comment - What is the source text? Maybe the problem is that the ANSI output also looks like this?
            scpeters 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?

            scpeters 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?
            jglick Jesse Glick added a comment -

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

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

            People

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

              Dates

                Created:
                Updated: