We're updating the issue view to help you get more done. 

Pre-Upgrade job stage fails due to race condition in workflow state

Description

Pre-Upgrade job stage can fail when trying to stop a workflow due to combination of retry and race condition between Checking if RUNNING and transitioning workflow to terminal state.

 

The solution is to try to stop all workflows before failing the whole pre-upgrade job so on the next retry workflows should have transitioned to terminal state. Current behavior is to try and stop pipelines one by one and fail on the first failure which is not ideal if there many pipelines running.

Release Notes

None

Activity

Show:
Jay Pandya
August 13, 2020, 7:17 AM
Jay Pandya
August 14, 2020, 2:30 AM
Edited
Fixed

Assignee

Jay Pandya

Reporter

Jay Pandya

Labels

None

Docs Impact

None

UX Impact

None

Fix versions

Priority

Major
Configure