[JIRA] (JENKINS-49763) Duration time is incorrect in a parallel pipeline step.

2019-05-13 Thread bwald...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Walding commented on  JENKINS-49763  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
 Note: my example doesn't show negatives, but does show the blueocean endpoint returning invalid timings for parallel stages, and not accumulating the time for the overall stage correctly. I suspect they're all issues in a similar section of code, so will leave my notes here.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188710.1519731897000.2014.1557805440129%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-49763) Duration time is incorrect in a parallel pipeline step.

2019-05-13 Thread bwald...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Walding commented on  JENKINS-49763  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
 I've reproduced this using a similar pipeline in declarative format. Classic Stages ViewBlueOcean ViewPipeline 


Jenkinsfile

 

pipeline {
agent {
label "docker"
}
stages {
stage('Step Serial') {
steps {
sh "sleep 5"
}
}

stage('Step Parallel') {
parallel {
stage("Primary Branch") {
steps {
sh "sleep 4"
}
}
stage("Secondary Branch") {
steps {
sh "sleep 6"
}
}
}
}
}
}
 

 REST Response /blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/?limit=1 


REST Response

 

[
  {
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl",
"_links": {
  "self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/6/"
  },
  "actions": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/6/actions/"
  },
  "steps": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/6/steps/"
  }
},
"actions": [],
"displayDescription": null,
"displayName": "Step Serial",
"durationInMillis": 5573,
"id": "6",
"input": null,
"result": "SUCCESS",
"startTime": "2019-05-14T03:31:27.174+",
"state": "FINISHED",
"type": "STAGE",
"causeOfBlockage": null,
"edges": [
  {
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl",
"id": "11",
"type": "STAGE"
  }
],
"firstParent": null,
"restartable": true
  },
  {
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl",
"_links": {
  "self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/11/"
  },
  "actions": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/11/actions/"
  },
  "steps": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/test-timings/runs/3/nodes/11/steps/"
  }
},
"actions": [],
"displayDescription": null,
"displayName": "Step Parallel",
"durationInMillis": 31,
"id": 

[JIRA] (JENKINS-49763) Duration time is incorrect in a parallel pipeline step.

2019-05-13 Thread bwald...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Walding updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49763  
 
 
  Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
Change By: 
 Ben Walding  
 
 
Attachment: 
 screenshot-1.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188710.1519731897000.2008.1557805200228%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-49763) Duration time is incorrect in a parallel pipeline step.

2019-05-13 Thread bwald...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ben Walding updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49763  
 
 
  Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
Change By: 
 Ben Walding  
 
 
Attachment: 
 Screen Shot 2019-05-14 at 1.37.24 pm.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188710.1519731897000.2005.1557805080171%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-49763) Duration time is incorrect in a parallel pipeline step.

2018-03-07 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49763  
 
 
  Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Component/s: 
 pipeline-graph-analysis-plugin  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49763) Duration time is incorrect in a parallel pipeline step.

2018-02-27 Thread zxj...@126.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 suren pi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49763  
 
 
  Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
Change By: 
 suren pi  
 

  
 
 
 
 

 
 I got a negative number from pipeline workflow api, that is a  during  duration  time.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-49763) Duration time is incorrect in a parallel pipeline step.

2018-02-27 Thread zxj...@126.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 suren pi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49763  
 
 
  Duration time is incorrect in a parallel pipeline step.   
 

  
 
 
 
 

 
Change By: 
 suren pi  
 
 
Summary: 
 During Duration  time is incorrect in a parallel pipeline step.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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