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.
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
Add new Pipeline for Running Libs Tests with TestReadyToRun #91229
Add new Pipeline for Running Libs Tests with TestReadyToRun #91229
Changes from 15 commits
58471ac
d424419
cbae83d
bbcbda5
74c393d
f39ec24
e76d7b2
800bf85
4888506
f95be94
ce0beb7
084dcd2
d6145d9
7a98a59
57a1ed0
9c9845c
201c744
0e5318e
94b209d
baf03ff
bd083f9
70a5310
29bdc40
0dafa7a
0987abf
c050621
21f95ef
59af6bb
52875a7
43eee05
4666ac0
79a9028
e95e20d
e857281
d193ab5
7a3a1d5
cd94d5a
3c54a84
879e5ea
11cdb6b
19bb85f
81cb9e3
47760b3
0728170
4262460
403a5f9
797f2c0
048d35e
9939472
033508d
54088ef
7a23788
7c97aa7
f54af82
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can inline this template into the
crossgen2.yml
file to reduce nesting.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may be mistaken but I think that "global-build-job.yml" is the pipeline that's supposed to test "local dev experience" in terms of building and running everything in sequence on the same machine. Is that what we really need here? I would assume that we should be able to reuse the library build artifacts and possibly just build the live CoreCLR subrepo including Crossgen2, possibly along with product.packs in case we want to use the "shipping NativeAOT Crossgen2" for the testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've been moving to using the
global-build-job.yml
template as the "build the repo with the root build script" command instead of using the separate CoreCLR, Libraries, etc build jobs for pipelines other than the runtime pipeline.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we intending to run tests locally instead of on Helix? If so, we should remove the
helixQueuesTemplate
option at https://github.com/dotnet/runtime/pull/91229/files#diff-b7cad421e96ec3229e0085c3a9f978858632fb29a034d369281db897678636f1R63.If not, we should use the
libraries/helix.yml
template instead of the-test
flag.Also, any reason that this needs to be a separate invocation of the build script from the one in
build-for-test-ready-to-run.yml
?Also, we have the
global-build-step.yml
template, which we could use instead of manually invoking the build script here. That template would handle the-arch
and-os
flags for us.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the observations Jeremy. You bring up some interesting points I had not considered that will certainly help improve this PR:
We want them to run on Helix. So I'll check out
libraries/helix.yml
as you suggested.This was because originally, we needed to have the
packs
subset built before attempting to run the tests, in order to use the fully self-contained Crossgen2. This was to get around that error where it tried to run thecrossgen2
executable directly and failed sayingYou must install .NET to run this application
.However, with the most recent changes to the Crossgen2 infrastructure, I just confirmed that this is no longer the case. We can now run say
--subset clr+libs+libs.tests
in the same call without issues. Will adjust it in CI as well.