Skip to content

Conversation

ianayl
Copy link
Contributor

@ianayl ianayl commented Oct 9, 2025

This PR adds precompiled CTS binaries to sycl-prebuilt-e2e-container.yml.

Note that this PR also renames some fields in devops/actions/run-tests/cts/action.yml to match that of run-tests/e2e/action.yml. If this is unwanted I will undo the changes.

@ianayl ianayl requested a review from a team as a code owner October 9, 2025 19:43
@sarnex sarnex requested a review from aelovikov-intel October 9, 2025 19:45
@ianayl
Copy link
Contributor Author

ianayl commented Oct 9, 2025

@aelovikov-intel ping for awareness

@ianayl
Copy link
Contributor Author

ianayl commented Oct 9, 2025

Test run at https://github.com/intel/llvm/actions/runs/18386413684

CTS tests are running as expected, but there seems to be a single failure. It doesn't seem to be related to the workflow, but I still need to look into why it is failing.

Comment on lines +347 to +348
testing_mode: ${{ inputs.cts_testing_mode }}
binaries_artifact: ${{ inputs.sycl_cts_artifact }}
Copy link
Contributor

Choose a reason for hiding this comment

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

If you can outline those changes into a separate PR, that would be awesome.

Comment on lines 349 to 353
# Author: Tom Deakin <[email protected]>
# Date: Thu Jul 10 16:45:48 2025 +0100
# Merge pull request #1102 from steffenlarsen/steffen/remove_secondary_queue_exceptions
# Remove expected exceptions for secondary queue
ref: 19e4ed34377c8a8a354d701772427be8c5430b0d
Copy link
Contributor

Choose a reason for hiding this comment

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

That should be controlled by the inputs and set from the yml building the docker image.

toolchain_artifact: toolchain
toolchain_artifact_filename: toolchain.tar.zst
e2e_binaries_artifact: e2e_bin
cts_binaries_artifact: cts_bin
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also contain the cache. I think it should be something like this:

  • in trunk, default to main branch or whatever is the trunk in the cts repo
  • for manual dispatch, that should be an input with the default matching the above. I'm not sure if that should be a string input or a choice. Maybe a choice would be better because you'd be able to provide the hard-coded hash and its description. Note that manual dispatch is how we create those images currently.
  • for sycl-rel-* branches I'd expect this job to have the hardcoded hash (but I don't think this job is enabled in post-commit of the sycl-rel-* branches)

@KornevNikita
Copy link
Contributor

Let's also update the description in sycl-prebuilt-e2e-container.yml:

# The purpose of this is to build E2E tests with the latest release toolchain
# and then run them with the trunk SYCL RT (libsycl.so and friends) to verify
# that ABI compatibility hasn't been broken.

testing_mode: build-only
target_devices: all
binaries_artifact: ${{ inputs.cts_binaries_artifact }}
sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++
Copy link
Contributor

@KornevNikita KornevNikita Oct 10, 2025

Choose a reason for hiding this comment

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

Just curious - why do we need this sycl_compiler?

ref:
description: "Commit SHA or branch to checkout tests"
required: true
binaries_artifact:
Copy link
Contributor

Choose a reason for hiding this comment

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

BTW there is also windows/run-tests/cts/action.yml. Could you please update variables here as well & therefore sycl-windows-run-tests.yml (also maybe worth moving cts & e2e dirs to linux dir to align these things)?

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