[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-20 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues updated  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Fix has been merged: https://github.com/jenkinsci/blueocean-plugin/pull/1794      
 

  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Craig Rodrigues  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-19 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale started work on  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-19 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale updated  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-19 Thread mne...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Neale assigned an issue to Craig Rodrigues  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Michael Neale  
 
 
Assignee: 
 Michael Neale Craig Rodrigues  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-19 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues commented on  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Test duration is always displayed as <1s   
 

  
 
 
 
 

 
 https://github.com/jenkinsci/blueocean-plugin/pull/1794     With this fix, the test report viewer in Blue Ocean matches the timestamps reported by the classic UI test reporter.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-19 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues edited a comment on  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Test duration is always displayed as <1s   
 

  
 
 
 
 

 
 I built blueocean-plugin and did some debugging.      On this line:  [https://github.com/jenkinsci/blueocean-plugin/blob/b02273dc2a6aee295ac8bd7dbab8eb3a8516a60e/blueocean-dashboard/src/main/js/components/testing/TestCaseResultRow.jsx#L24]   {code:java} const duration = TimeDuration.format(testCase.duration, translation, locale);{code}   the first argument to TimeDuration.format() needs to be milliseconds:  [ https://github.com/jenkinsci/blueocean-plugin/blob/b02273dc2a6aee295ac8bd7dbab8eb3a8516a60e/jenkins-design-language/src/js/components/TimeDuration.jsx#L82 ] but it is actually seconds:  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-19 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues commented on  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Test duration is always displayed as <1s   
 

  
 
 
 
 

 
 I built blueocean-plugin and did some debugging.  On this line: https://github.com/jenkinsci/blueocean-plugin/blob/b02273dc2a6aee295ac8bd7dbab8eb3a8516a60e/blueocean-dashboard/src/main/js/components/testing/TestCaseResultRow.jsx#L24 

 

 const duration = TimeDuration.format(testCase.duration, translation, locale); 

 the first argument to TimeDuration.format() needs to be milliseconds: https://github.com/jenkinsci/blueocean-plugin/blob/b02273dc2a6aee295ac8bd7dbab8eb3a8516a60e/jenkins-design-language/src/js/components/TimeDuration.jsx#L82 but it is actually seconds:  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-18 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues commented on  JENKINS-52944  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Test duration is always displayed as <1s   
 

  
 
 
 
 

 
 Here is an example JUnit report.xml file.  In classic UI, it displays the proper test duration.  In Blue Ocean test UI, the test duration is wrong.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-18 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Craig Rodrigues  
 
 
Attachment: 
 report.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-18 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Craig Rodrigues  
 
 
Attachment: 
 Screen Shot 2018-08-18 at 7.47.02 PM.png  
 
 
Attachment: 
 Screen Shot 2018-08-18 at 7.47.31 PM.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-18 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Craig Rodrigues  
 
 
Attachment: 
 report.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-18 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Craig Rodrigues  
 
 
Attachment: 
 report.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-08 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues assigned an issue to Michael Neale  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Change By: 
 Craig Rodrigues  
 
 
Assignee: 
 Michael Neale  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-52944) Test duration is always displayed as <1s

2018-08-08 Thread rodr...@freebsd.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Rodrigues created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-52944  
 
 
  Test duration is always displayed as <1s   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 blueocean-plugin  
 
 
Created: 
 2018-08-08 19:35  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Craig Rodrigues  
 

  
 
 
 
 

 
 I have BlueOcean 1.7.1 I have a job which generates test results into JUnit xml format, and then the JUnit xml is parsed by Jenkins.   If I go to: https://myhost/blue/organizations/jenkins/MYTEST/detail/MYTEST/23/tests   Each test is listed as taking <1s However, if I go to the classic UI, the correct test durations are displayed.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment