Skip to content

[CI] Made Nightly Tests Continue on Error #2905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

AlexandreSinger
Copy link
Contributor

Currently, the Nightly Tests will stop whenever any of the Nightly Tests fail (and will not run the following tests). So for example, if Nightly Test 1 has a QoR failure, all other Nightly tests will not be run.

Made each step in the Nightly Test manual job continue on error. This will run the following steps even if one of them fail.

I found this while running the Nightly Tests on Haydar's recent PR (PR #2897 ):
image

I do not think this is the intended behavior we want based on previous discussions.

Currently, the Nightly Tests will stop whenever any of the Nightly Tests
fail (and will not run the following tests). So for example, if Nightly
Test 1 has a QoR failure, all other Nightly tests will not be run.

Made each step in the Nightly Test manual job continue on error. This
will run the following steps even if one of them fail.
@github-actions github-actions bot added the infra Project Infrastructure label Feb 22, 2025
@AlexandreSinger
Copy link
Contributor Author

I ran the current Nightly Tests (which I know have QoR failures) and found the following problem with my solution:
image

According to the annotations, Nightly Tests 1 and 3 failed; however the overall workflow did not fail! This is because we marked them continue on failure. This is not desired behaviour. We want a big red X on the worflow saying something went wrong.

@AmirhosseinPoolad Can you look into this? I think as a work-around we can add a step at the end which will produce a "summary" of the nightly tests run and that one can fail. I think its possible to have each nightly test step produce some variable (pass / fail) which the summary step can consume at the end. What do you think?

@AmirhosseinPoolad
Copy link
Contributor

Thanks, I'll look into it. If that's okay with you, I'm going to just make another PR in another branch to fix this issue. Just to keep the git history clean.

@AlexandreSinger
Copy link
Contributor Author

Thanks, I'll look into it. If that's okay with you, I'm going to just make another PR in another branch to fix this issue. Just to keep the git history clean.

Up to you! You can also just modify this branch directly. feature-ci-nightly-test is on origin. You are free to commit your changes with amend to update the commit and push-force over the original commit.

@AmirhosseinPoolad
Copy link
Contributor

Decided to make a new PR since this one had a merge commit and I don't feel confident enough with my gitfu to change stuff from 2 commits ago. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Project Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants