-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix target specific download to not clean the unpack dir #35699
Conversation
Tagging subscribers to this area: @ViktorHofer |
Unzip target specific coreclr tests to a separate folder Copy to final destination w/o cleaning This fixes is intended to fix issues with unzip failing to overwrite duplicate files when unzipping the target specific tests
119c65b
to
a3346c2
Compare
The
There I revised the patch to download to unpack into a temp directory, then use YML has parsed successfully and jobs are now running. |
|
||
- ${{ if eq(parameters.testBuildPhased, true) }}: | ||
# Copy target specific tests on top of the generic test | ||
# Expected to overwrite duplicates |
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.
Would it make sense to instead port into this PR building the target specific tests as part of the run job, or is that a very big change?
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.
That PR already exists #35645. If it is right it should fix the issue.
It is a bigger change, so it may take longer to review/merge.
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.
Ok, since this is a temp workaround, if it fixes the issue I don't want to block on this, so fine with me and we can remove this workaround on #35645
Looks like I need to add an |
Also throwing an idea here:
|
There is similar code here. runtime/src/coreclr/tests/src/runtest.proj Lines 51 to 79 in 2b4935c
However due to the various test runs it is not clear to me how this should be done for helix with job filtering for Seems like this should be a separate issue. |
That is testing the number of tests built. Helix is creating workitems which contains all the tests and I believe those are always the same number in coreclr as there's logic to group the tests by workitems depending on the test category. @echesakovMSFT and @jashook should know more about it but that is my understanding. So |
Yes, @safern is right. We had issues in the past with accidental breaking test build mechanism - it was also hard to notice and that's why this check was added. Unfortunately, it would not help to identify issues like this with Helix submissions. But I like the idea of adding such check to runtime/src/coreclr/tests/helixpublishwitharcade.proj. Although, the number of Helix workitems is not the same across all architectures/OSs (since some of the test directories are not built/run on non-Windows platforms or not grouped into a separate Helix workitem) we can put 24 as lower bound for WorkItems->Count() (this number is based on educated guess from the Kusto query I sent last night) |
#35645 (comment) about failing ready2run tests will probably also affect this fix. |
Closing in favor of #35783 |
No description provided.