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

http://jenkins/job/jobname/1/timestamps return twice as big values compared to what it should

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • timestamper-plugin
    • None

      When requesting time stamps for a job via http://jenkins/job/jobname/1/timestamps a number of time stamps corresponding to number of console output lines is returned. Problem is that jenkins shows that job finished in time X but last line (in seconds) shows that build took 2X - twice as long.

        1. pluginList.txt
          1 kB
        2. timestamper.zip
          9 kB
        3. screenshot-1.jpg
          screenshot-1.jpg
          266 kB

          [JENKINS-19778] http://jenkins/job/jobname/1/timestamps return twice as big values compared to what it should

          aleksas created issue -
          Steven G Brown made changes -
          Summary Original: http://jenkins/job/jobname/1/timestamps return twise as big values compared to what it should New: http://jenkins/job/jobname/1/timestamps return twice as big values compared to what it should

          I haven't been able to reproduce this. If you could provide steps to reproduce from a new Jenkins install, that would be really useful. i.e. which version of Timestamper, which other plugins do I need, how should I configure the job.

          Steven G Brown added a comment - I haven't been able to reproduce this. If you could provide steps to reproduce from a new Jenkins install, that would be really useful. i.e. which version of Timestamper, which other plugins do I need, how should I configure the job.
          Steven G Brown made changes -
          Assignee Original: Steven G Brown [ stevengbrown ] New: aleksas [ aleksas ]

          aleksas added a comment - - edited

          Current software:

          • Jenkins ver. 1.509.4
          • Timestamper 1.5.7

          If checking timestamps via console output (http://jenkins/job/jobName/111/consoleFull), then they are consistent with time that jenkins reported duration.

          I'll try to reproduce on a clean install

          aleksas added a comment - - edited Current software: Jenkins ver. 1.509.4 Timestamper 1.5.7 If checking timestamps via console output ( http://jenkins/job/jobName/111/consoleFull ), then they are consistent with time that jenkins reported duration. I'll try to reproduce on a clean install
          aleksas made changes -
          Attachment New: screenshot-1.jpg [ 24541 ]

          aleksas added a comment - - edited

          Could not reproduce neither on a clean latest jenkins from releases nor from LTS. However on my current production Jenkins created a job having Windows batch command "ping -n 100 google.com" and ran it, the result is consistent with bug description. Well seconds listed are not exactly 2x but somewhat in that range. Slave version 2.32.

          aleksas added a comment - - edited Could not reproduce neither on a clean latest jenkins from releases nor from LTS. However on my current production Jenkins created a job having Windows batch command "ping -n 100 google.com" and ran it, the result is consistent with bug description. Well seconds listed are not exactly 2x but somewhat in that range. Slave version 2.32.

          OK, great. Which Jenkins plugins are installed on your production server?

          Could you also attach the contents of the timestamper directory for one of these builds (copy from your master Jenkins server), and let me know the duration of that build?

          Steven G Brown added a comment - OK, great. Which Jenkins plugins are installed on your production server? Could you also attach the contents of the timestamper directory for one of these builds (copy from your master Jenkins server), and let me know the duration of that build?

          aleksas added a comment -

          Build took 14 min. 19 s.

          aleksas added a comment - Build took 14 min. 19 s.
          aleksas made changes -
          Attachment New: timestamper.zip [ 24546 ]
          Attachment New: pluginList.txt [ 24547 ]

            aleksas aleksas
            aleksas aleksas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: