[JIRA] (JENKINS-58969) Input step: BlueOcean UI does not recognize node, results in "This stage has no steps"

5 views
Skip to first unread message

tim@getethos.com (JIRA)

unread,
Aug 16, 2019, 12:25:02 PM8/16/19
to jenkinsc...@googlegroups.com
Tim Huang updated an issue
 
Jenkins / Bug JENKINS-58969
Input step: BlueOcean UI does not recognize node, results in "This stage has no steps"
Change By: Tim Huang
Summary: Input step: Wrong BlueOcean UI does not recognize node ID in API output , results in "This stage has no steps"
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

tim@getethos.com (JIRA)

unread,
Aug 16, 2019, 12:27:02 PM8/16/19
to jenkinsc...@googlegroups.com
Tim Huang updated an issue
When waiting for user input (via the Input step), the BlueOcean UI does not correctly show that step, and thus the user input buttons are missing.

 

It seems that the
BlueOcean UI cannot pick up on the third node/stage in the job. The node ID according to the JSON output (GET /blue/rest/organizations/jenkins/pipelines/Continuous%20Deployment/runs/144/nodes/) is 72, but BlueOcean won't let me click on that node. Perhaps it is not making the request to that node ID (or an incorrect one) and thus cannot get the data for the step.

 

Attached is a screenshot and a .har archive of the network requests.

  !Captura de pantalla 2019-08-16 a la(s) 9.03.34 a. m..png|width=691,height=565!


 

{{[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl","_links":{"self":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/21/"},"actions":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/21/actions/"},"steps":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/21/steps/"}},"actions":[],"displayDescription":null,"displayName":"Notify Slack","durationInMillis":216,"id":"21","input":null,"result":"SUCCESS","startTime":"2019-08-16T15:51:05.153+0000","state":"FINISHED","type":"STAGE","causeOfBlockage":null,"edges":[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl","id":"38","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/Continuous Deployment/runs/144/nodes/38/"},"actions":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/38/actions/"},"steps":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/38/steps/"}},"actions":[],"displayDescription":null,"displayName":"Cut release branch","durationInMillis":3971,"id":"38","input":null,"result":"SUCCESS","startTime":"2019-08-16T15:51:05.404+0000","state":"FINISHED","type":"STAGE","causeOfBlockage":null,"edges":[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl","id":"72","type":"STAGE"}],"firstParent":"21","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/Continuous Deployment/runs/144/nodes/72/"},"actions":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/72/actions/"},"steps":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/72/steps/"}},"actions":[],"displayDescription":null,"displayName":"Allow for manual QA","durationInMillis":0,"id":"72","input":null,"result":null,"startTime":null,"state":null,"type":"STAGE","causeOfBlockage":null,"edges":[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl","id":"92","type":"STAGE"}],"firstParent":"38","restartable":false},\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl","_links":{"self":{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/92/"},"actions":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/92/actions/"},"steps":\{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/92/steps/"}},"actions":[],"displayDescription":null,"displayName":"GitHub Release","durationInMillis":0,"id":"92","input":null,"result":null,"startTime":null,"state":null,"type":"STAGE","causeOfBlockage":null,"edges":[],"firstParent":"72","restartable":false}]}}

alvizu@gmail.com (JIRA)

unread,
Oct 11, 2019, 6:07:02 PM10/11/19
to jenkinsc...@googlegroups.com
Dan Alvizu updated an issue
Change By: Dan Alvizu
When waiting for user input (via the Input step), the BlueOcean UI does not correctly show that step, and thus the user input buttons are missing.

 

It seems that the BlueOcean UI cannot pick up on the third node/stage in the job. The node ID according to the JSON output (GET /blue/rest/organizations/jenkins/pipelines/Continuous%20Deployment/runs/144/nodes/) is 72, but BlueOcean won't let me click on that node. Perhaps it is not making the request to that node ID (or an incorrect one) and thus cannot get the data for the step.

 

Attached is a screenshot and a .har archive of the network requests.

  !Captura de pantalla 2019-08-16 a la(s) 9.03.34 a. m..png|width=691,height=565!
{code:java}
 

{{[ \ {"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl","_links":{"self":
{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/21/"}
,"actions": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/21/actions/"},"steps": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/21/steps/"}},"actions":[],"displayDescription":null,"displayName":"Notify Slack","durationInMillis":216,"id":"21","input":null,"result":"SUCCESS","startTime":"2019-08-16T15:51:05.153+0000","state":"FINISHED","type":"STAGE","causeOfBlockage":null,"edges":[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl","id":"38","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/Continuous Deployment/runs/144/nodes/38/"}
,"actions": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/38/actions/"},"steps": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/38/steps/"}},"actions":[],"displayDescription":null,"displayName":"Cut release branch","durationInMillis":3971,"id":"38","input":null,"result":"SUCCESS","startTime":"2019-08-16T15:51:05.404+0000","state":"FINISHED","type":"STAGE","causeOfBlockage":null,"edges":[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl","id":"72","type":"STAGE"}],"firstParent":"21","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/Continuous Deployment/runs/144/nodes/72/"}
,"actions": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/72/actions/"},"steps": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/72/steps/"}},"actions":[],"displayDescription":null,"displayName":"Allow for manual QA","durationInMillis":0,"id":"72","input":null,"result":null,"startTime":null,"state":null,"type":"STAGE","causeOfBlockage":null,"edges":[\{"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl$EdgeImpl","id":"92","type":"STAGE"}],"firstParent":"38","restartable":false}, \ {"_class":"io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl","_links":{"self":
{"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/92/"}
,"actions": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/92/actions/"},"steps": \ {"_class":"io.jenkins.blueocean.rest.hal.Link","href":"/blue/rest/organizations/jenkins/pipelines/Continuous Deployment/runs/144/nodes/92/steps/"}},"actions":[],"displayDescription":null,"displayName":"GitHub Release","durationInMillis":0,"id":"92","input":null,"result":null,"startTime":null,"state":null,"type":"STAGE","causeOfBlockage":null,"edges":[],"firstParent":"72","restartable":false}]}} {code}
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

alvizu@gmail.com (JIRA)

unread,
Oct 11, 2019, 6:08:02 PM10/11/19
to jenkinsc...@googlegroups.com
Dan Alvizu commented on Bug JENKINS-58969
 
Re: Input step: BlueOcean UI does not recognize node, results in "This stage has no steps"

I'm seeing this with the kubernetes plugin, where our nodes are ephemeral

Reply all
Reply to author
Forward
0 new messages