Fail ocp_testing when any stage was marked UNSTABLE - #36
Open
tusharjadhav3302 wants to merge 1 commit into
Open
Conversation
tusharjadhav3302
requested review from
chenwng,
dlaw4608,
ekuris-redhat,
eshulman2,
gryf,
imatza-rh,
mandre,
stephenfin and
winiciusallan
as code owners
August 17, 2026 10:04
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
4 tasks
Contributor
Author
tusharjadhav3302
force-pushed
the
fail-on-stage-unstable-flag
branch
from
August 20, 2026 15:27
def9455 to
f622df1
Compare
Testing stages write test_stage_unstable_flag on failure via rescue blocks. Soft verification checks keep using stage_unstable_flag without triggering job failure. Remove end-of-playbook fail from ocp_testing; ci-framework shiftstack role fails after artifact rsync when test_stage_unstable_flag is present. Pair with ci-framework-jobs failure-message: unstable for yellow Zuul UI. Co-authored-by: Cursor <cursoragent@cursor.com>
tusharjadhav3302
force-pushed
the
fail-on-stage-unstable-flag
branch
from
August 20, 2026 15:30
f622df1 to
4ad50e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Monolithic shiftstack Zuul jobs were reporting SUCCESS (green) when testing stages had failing tests. Test stages already caught failures in
rescueblocks, but the playbook exited 0 because nothing consumed the accumulated UNSTABLE state at job level.This PR adds a test-only unstable flag written by testing-stage rescues. Job failure and yellow Zuul UI are handled by companion changes in ci-framework and ci-framework-jobs (links below).
Changes in this PR
mark_test_stage_unstable.yml— writes~/artifacts/test_stage_unstable_flagwith a warning message.openstack_test(includeslb_tests)egressip_testscpms_testcinder_csi_tests/manila_csi_testsconformance_testtest_stage_unstable_flagtoconfigs/global.ymland clean it up at the start ofocp_testing.yaml.ocp_testing.yaml— the inner playbook completes all stages; ci-framework fails the outer Zuul job after artifact rsync.stage_unstable_flagonly (unchanged, no job fail).Companion changes (merge together)
test_stage_unstable_flagexists in rsynced artifactsfailure-message: unstableonperiodic-osasinfra-shiftstack_ci-osp_verificationfor yellow Zuul UIEnd-to-end flow
Expected job behavior
failure-message: unstable*)*Zuul applies one
failure-messageper job; install/verification hard failures on monolithic jobs also display as unstable when that setting is present.Test plan