[JIRA] (JENKINS-40033) Tap Plugin not not calculating duration properly

1 view
Skip to first unread message

george.adams@uk.ibm.com (JIRA)

unread,
Nov 25, 2016, 5:08:05 AM11/25/16
to jenkinsc...@googlegroups.com
George Adams created an issue
 
Jenkins / Bug JENKINS-40033
Tap Plugin not not calculating duration properly
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Attachments: Screen Shot 2016-11-25 at 10.05.36.png
Components: tap-plugin
Created: 2016/Nov/25 10:07 AM
Environment: Jenkins ver. 2.33, Tap Plugin 2.0.1
Labels: plugin bug
Priority: Critical Critical
Reporter: George Adams

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

george.adams@uk.ibm.com (JIRA)

unread,
Nov 25, 2016, 5:11:05 AM11/25/16
to jenkinsc...@googlegroups.com
George Adams updated an issue
Change By: George Adams
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.


The Breaking PR appears to be here: https://github.com/jenkinsci/tap-plugin/pull/6

george.adams@uk.ibm.com (JIRA)

unread,
Nov 25, 2016, 5:17:05 AM11/25/16
to jenkinsc...@googlegroups.com
George Adams updated an issue
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.

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

george.adams@uk.ibm.com (JIRA)

unread,
Nov 25, 2016, 5:21:07 AM11/25/16
to jenkinsc...@googlegroups.com
George Adams updated an issue
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

george.adams@uk.ibm.com (JIRA)

unread,
Nov 25, 2016, 5:32:05 AM11/25/16
to jenkinsc...@googlegroups.com
George Adams updated an issue
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

ralf.payer@wibu.com (JIRA)

unread,
Aug 21, 2019, 12:00:03 PM8/21/19
to jenkinsc...@googlegroups.com
Ralf Payer commented on Bug JENKINS-40033
 
Re: Tap Plugin not not calculating duration properly

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).

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages