Skip to content

[CI] Don't skip E2E tests if only check-* steps in build fail #9912

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

Merged

Conversation

aelovikov-intel
Copy link
Contributor

We already have proper check on the e2e-tests job, but it depends on the aws-start task and that didn't have the check. That resulted in the aws-start being skipped whenever any of check-* steps failed and resulted in E2E tests not running even though we can easily run them to get better coverage.

This should make our post-commit CI more useful in presence of failures on check-* targets during the build stage.

We already have proper check on the `e2e-tests` job, but it depends on
the `aws-start` task and that didn't have the check. That resulted in
the `aws-start` being skipped whenever any of `check-*` steps failed and
resulted in E2E tests not running even though we can easily run them to
get better coverage.

This should make our post-commit CI more useful in presence of failures
on `check-*` targets during the build stage.
@aelovikov-intel aelovikov-intel requested a review from a team as a code owner June 15, 2023 16:18
@aelovikov-intel aelovikov-intel changed the title [CI] Don't skip E2E tests if only check-* steps in build fails [CI] Don't skip E2E tests if only check-* steps in build fail Jun 15, 2023
@@ -182,7 +182,7 @@ jobs:
aws-start:
name: Start AWS
needs: build
if: ${{ inputs.lts_aws_matrix != '[]' }}
if: ${{ always() && needs.build.result == 'success' && inputs.lts_aws_matrix != '[]' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"That resulted in the aws-start being skipped"
Will this change run only aws-start or E2E tests for all backends?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My intention is for the latter. Need to wait for the testing to finish to verify. Note that e2e-tests already has the same if: guard at line 208.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that we skip aws in post-commit because lts_aws_matrix is empty there (we only do testing on Intel HW in post-commit).

@aelovikov-intel aelovikov-intel requested a review from bader June 15, 2023 16:37
@aelovikov-intel aelovikov-intel marked this pull request as draft June 15, 2023 16:48
@aelovikov-intel aelovikov-intel temporarily deployed to aws June 15, 2023 17:09 — with GitHub Actions Inactive
@bader bader removed their request for review June 15, 2023 17:10
@aelovikov-intel aelovikov-intel temporarily deployed to aws June 15, 2023 17:44 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel temporarily deployed to aws June 15, 2023 19:10 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel temporarily deployed to aws June 15, 2023 20:50 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel temporarily deployed to aws June 15, 2023 21:02 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel marked this pull request as ready for review June 15, 2023 21:24
@aelovikov-intel aelovikov-intel requested a review from bader June 15, 2023 21:24
@aelovikov-intel aelovikov-intel temporarily deployed to aws June 15, 2023 21:41 — with GitHub Actions Inactive
@aelovikov-intel
Copy link
Contributor Author

@intel/dpcpp-devops-reviewers , ping.

@aelovikov-intel
Copy link
Contributor Author

@steffenlarsen , @cperkinsintel , ping.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🚀

@aelovikov-intel aelovikov-intel merged commit 5b1a9d2 into intel:sycl Jun 20, 2023
@aelovikov-intel aelovikov-intel deleted the ci-post-e2e-when-check-fail branch June 20, 2023 16:52
aelovikov-intel added a commit that referenced this pull request Jun 27, 2023
aelovikov-intel added a commit that referenced this pull request Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants