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

Tap Plugin not not calculating duration properly

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: tap-plugin
    • Labels:
    • Environment:
      Jenkins ver. 2.33, Tap Plugin 2.0.1
    • Similar Issues:

      Description

      Hi am having an issue with the tap plugin. in my tap test I have "duration_ms: x" where x is in milliseconds. So looking at the attached picture you can see that the individual test duration is 4.8 sec. This is correct but the overall test time is showing as 1 hr 20 min.

      This PR was submitted to change duration_ms to be in ms not seconds but they never changed the overall test time https://github.com/jenkinsci/tap-plugin/pull/6

      Essentially all that needs to be changed is that the overall test time also needs to be divided by 1000

      I believe that this is the fix: https://github.com/jenkinsci/tap-plugin/pull/16

        Attachments

          Activity

          Hide
          wibu_rp Ralf Payer added a comment -

          Could you please fix this bug. The wrong duration is very annoying to me and the fix seems to be very easy: dividing by 1000 at the right location(s).

          Show
          wibu_rp Ralf Payer added a comment - Could you please fix this bug. The wrong duration is very annoying to me and the fix seems to be very easy: dividing by 1000 at the right location(s).

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              george_ibm George Adams
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: