[JIRA] (JENKINS-52261) After a build is rebuilt, parallel stages are marked as FINISHED instead of NOT_BUILT

3 views
Skip to first unread message

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:25:02 PM6/28/18
to jenkinsc...@googlegroups.com
Nicolae Pascu created an issue
 
Jenkins / Bug JENKINS-52261
After a build is rebuilt, parallel stages are marked as FINISHED instead of NOT_BUILT
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2018-06-28 23:24
Priority: Minor Minor
Reporter: Nicolae Pascu

While doing some tests I found an issue (this is a restarted build that was restarted from the "Static Analysis" stage)

Unable to render embedded object: File (screenshot-1.png?default=false) not found.

The state of non-parallel stages is being correctly reported as "NOT_BUILT" while the state of the Parallel stages is "FINISHED"

Unable to render embedded object: File (screenshot-2.png?default=false) not found.

 

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

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:28:03 PM6/28/18
to jenkinsc...@googlegroups.com

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:28:03 PM6/28/18
to jenkinsc...@googlegroups.com
Nicolae Pascu updated an issue
While doing some tests I found an issue (this is a restarted build that was restarted from the "Static Analysis" stage)



The state of non-parallel stages is being correctly reported as "NOT_BUILT" while the state of the Parallel stages is "FINISHED"

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:28:04 PM6/28/18
to jenkinsc...@googlegroups.com

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:29:01 PM6/28/18
to jenkinsc...@googlegroups.com
Nicolae Pascu updated an issue
While doing some tests I found an issue (this is a restarted build that was restarted from the "Static Analysis" stage)


The state of non-parallel stages is being correctly reported as "NOT_BUILT" while the state of the Parallel stages is "FINISHED"

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:29:02 PM6/28/18
to jenkinsc...@googlegroups.com
Nicolae Pascu updated an issue
While doing some tests I found an issue (this is a restarted build that was restarted from the "Static Analysis" stage)

!screenshot-1.png|thumbnail!  


The state of non-parallel stages is being correctly reported as "NOT_BUILT" while the state of the Parallel stages is "FINISHED"

[ !screenshot-2.png ?default=false! | https://cloudbees.atlassian.net/secure/attachment/39426/39426_screenshot-2.png]

thumbnail!  

npascu@cloudbees.com (JIRA)

unread,
Jun 28, 2018, 7:40:02 PM6/28/18
to jenkinsc...@googlegroups.com
Nicolae Pascu updated an issue
While doing some tests I found an issue (this is a restarted build that was restarted from the "Static Analysis" stage)

!screenshot-1.png|thumbnail!  

The state of non-parallel stages is being correctly reported as "NOT_BUILT" while the state of the Parallel stages is "FINISHED"

!screenshot-2.png|thumbnail!  

 

The jenkinsfile used in the example above is: https://github.com/NicuPascu/app-store-demo/blob/longer-pipeline/Jenkinsfile

andrew.bayer@gmail.com (JIRA)

unread,
Jun 29, 2018, 4:49:02 PM6/29/18
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Bug JENKINS-52261
 
Re: After a build is rebuilt, parallel stages are marked as FINISHED instead of NOT_BUILT

Hmm. I see NotExecutedNodeAction on both the parent of the parallel stages and the parallel stages themselves, which is right, and they have the SKIPPED_FOR_RESTART value for the STAGE_STATUS tag.

Oh, wait, I think I get it. Honestly, I'm not sure how any of the stages are showing up as NOT_BUILT. It looks like that only gets set for a stage that's skipped for a conditional, or one where its last FlowNode has the NotExecutedNodeAction on it. I was putting NotExecutedNodeAction on the start node, not the end node. Durrr. Working up a fix, but it'll need review next week.

andrew.bayer@gmail.com (JIRA)

unread,
Jun 29, 2018, 5:00:02 PM6/29/18
to jenkinsc...@googlegroups.com
Andrew Bayer started work on Bug JENKINS-52261
 
Change By: Andrew Bayer
Status: Open In Progress

andrew.bayer@gmail.com (JIRA)

unread,
Jun 29, 2018, 5:00:02 PM6/29/18
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Jun 29, 2018, 5:01:01 PM6/29/18
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Jul 9, 2018, 1:34:01 PM7/9/18
to jenkinsc...@googlegroups.com
 

Merged, will be in next release (1.3.2)

Change By: Andrew Bayer
Status: In Review Resolved
Resolution: Fixed

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:08 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages