Skip to content

[CI] Enable SYCL End-to-End tests on Windows for post-commit #8656

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
merged 32 commits into from
Apr 6, 2023

Conversation

uditagarwal97
Copy link
Contributor

@uditagarwal97 uditagarwal97 commented Mar 14, 2023

This PR augments Pavel's work (#7477) on running llvm_test_suite in Windows CI for post-commit testing.
Keeping in mind that the intel/llvm_test_suite repo is getting merged into intel/llvm, this PR tests in-tree SYCL E2E tests.

@bader bader requested a review from aelovikov-intel March 14, 2023 22:59
@uditagarwal97 uditagarwal97 self-assigned this Mar 14, 2023
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 14, 2023 23:22 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 14, 2023 23:23 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 15, 2023 00:57 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 15, 2023 00:58 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 16, 2023 00:42 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 16, 2023 00:43 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 16, 2023 17:04 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 16, 2023 17:05 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 17:32 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 17:32 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 18:01 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 18:02 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 18:38 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 19:11 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 17, 2023 19:11 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 19, 2023 22:27 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 19, 2023 23:19 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 19, 2023 23:43 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 00:03 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 00:21 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 00:40 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 01:03 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 01:19 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 01:38 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 01:59 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 02:15 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws March 20, 2023 06:54 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 changed the title [CI] Enable SYCL End-to-End tests on Windows for post-commit testing [CI] Enable SYCL End-to-End tests on Windows for post-commit Apr 3, 2023
@uditagarwal97
Copy link
Contributor Author

@bader I've disabled the Basic/build_log E2E test case on Windows as it requires the OCLOC external dependency. I've also created an internal ticket to track the status of this test case and have requested the tools team to install OCLOC on Windows CI. Will re-enable this test case on Windows once OCLOC is installed.

@uditagarwal97 uditagarwal97 temporarily deployed to aws April 3, 2023 21:39 — with GitHub Actions Inactive
run: |
mkdir build-e2e
set PATH=%GITHUB_WORKSPACE%\install\bin;%PATH%
cmake -GNinja -B build-e2e -S.\llvm\sycl\test-e2e -DSYCL_TEST_E2E_TARGETS="${{ inputs.targets }}" -DCMAKE_CXX_COMPILER="clang++" -DLLVM_LIT="..\llvm\llvm\utils\lit\lit.py" ${{ inputs.cmake_args }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if we want clang++ or clang-cl here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Previously, I did try experimenting with clang-cl instead of clang++. However, I got a lot of compiler errors. My understanding is that, with Git's Bash, clang++ works fine. However, with U4Win Bash, I had to use clang-cl to run the tests. IDK why this happens, but that's something I observed while playing around with the CI.

@uditagarwal97 uditagarwal97 temporarily deployed to aws April 4, 2023 00:37 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws April 4, 2023 00:43 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws April 4, 2023 05:03 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws April 4, 2023 05:09 — with GitHub Actions Inactive
@uditagarwal97
Copy link
Contributor Author

The failing E2E tests (on Windows) are unrelated and I've filed the bug report in #8934.
@bader should we wait for these tests to get fixed before merging this PR or should we temporarily disable these test cases?

@bader
Copy link
Contributor

bader commented Apr 5, 2023

The failing E2E tests (on Windows) are unrelated and I've filed the bug report in #8934. @bader should we wait for these tests to get fixed before merging this PR or should we temporarily disable these test cases?

@uditagarwal97, please, disable them. Otherwise, they will fail in post-commits for every commit.

@uditagarwal97 uditagarwal97 requested a review from a team as a code owner April 5, 2023 19:13
@uditagarwal97 uditagarwal97 temporarily deployed to aws April 5, 2023 20:11 — with GitHub Actions Inactive
@uditagarwal97 uditagarwal97 temporarily deployed to aws April 5, 2023 20:12 — with GitHub Actions Inactive
@uditagarwal97
Copy link
Contributor Author

@intel/dpcpp-esimd-reviewers reviews, please. We have disabled some ESIMD E2E test cases as they were failing on Windows (#8934 ).

Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

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

esimd lgtm

@uditagarwal97
Copy link
Contributor Author

@intel/llvm-gatekeepers The PR is ready!

@steffenlarsen steffenlarsen merged commit 19d023b into intel:sycl Apr 6, 2023
bader pushed a commit that referenced this pull request Apr 10, 2023
This PR (1) enables running Windows Build + LIT + E2E tests during
pre-commit testing, (2) Fix windows_test_comment_trigger workflow after
#8656
againull pushed a commit that referenced this pull request Apr 21, 2023
The AWS CUDA testing in pre-commit unwillingly got disabled in #8656.
This PR re-enables the AWS CUDA testing in pre-commit.
@uditagarwal97 uditagarwal97 deleted the CIWinLLVMtestSuite branch March 21, 2024 19:59
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.

5 participants