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

Full log with ANSI output: Timestamps don't match records in log, some are missing

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • timestamper-plugin
    • Jenkins 2.462.1
      Timestamper 1.27 (also tested with 1.26, the bug still can be reproduced)
      AnsiColor 1.0.4 (also tested with 1.0.3, the bug still can be reproduced)

      Tested in Chrome and Firefox, with the same results.

      It started happening a 1-2 weeks ago, not sure why. Maybe an upgrade of Jenkins could cause it ...

      Steps in our environment:

      1. Have a job that has configured the options "Add timestamps to the Console Output" and "Color ANSI Console Output => xterm"
      2. Run the job
      3. Open its results => Console Output 
      4. Click on the radio button "System clock time"
      5. Timestamps look O.K.
      6. Click on Full Log (suppose the result is bigger, e.g. 2,261 KB). Now you can see the timestamps were shifted somehow and they are missing completely  at the end of the log
      7. Now if you click on "View as plain text", timestamps are O.K.

          [JENKINS-73683] Full log with ANSI output: Timestamps don't match records in log, some are missing

          Simon added a comment -

          Also started to see this after a recent upgrade of Jenkins to 2.462.2 on Ubuntu 22.04.4 LTS. For me the timestamps appear on lines present at the time of page load and subsequently loaded lines do not have the timestamp.

          Simon added a comment - Also started to see this after a recent upgrade of Jenkins to 2.462.2 on Ubuntu 22.04.4 LTS. For me the timestamps appear on lines present at the time of page load and subsequently loaded lines do not have the timestamp.

          Jaromir added a comment -

          Yes, possibly it could be a regression in 2.462.1 because we couldn't see such issue before

          The changelog mentions

          • Add download option to Console output, move View as plain text and Copy buttons to app bar. pull 9169

           

          Maybe it's related to it somehow, but I can't see into it.

          Jaromir added a comment - Yes, possibly it could be a regression in 2.462.1 because we couldn't see such issue before The changelog mentions Add download option to  Console output , move  View as plain text  and  Copy  buttons to app bar.  pull 9169   Maybe it's related to it somehow, but I can't see into it.

            Unassigned Unassigned
            mirao Jaromir
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: