-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Create a SuperPMI collection pipeline #42053
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
Create a SuperPMI collection pipeline #42053
Conversation
76a0c54 to
278c532
Compare
1ad9f75 to
0b5407e
Compare
1f58683 to
cdb6b20
Compare
bb642b7 to
383f0c5
Compare
Start with a clone of jitstress.yml, and go from there.
8f10370 to
f27d3cc
Compare
Note that shutil.copy2 is very slow specially on Linux as compared to rsync. But I think we are ok to have slowness in return of simpler code.
This reverts commit a5312c0.
- Tests run times out on Windows - Some of the partition's collection failed for tests because reply was not clean - Here are the details when libraries/tests were run: https://dev.azure.com/dnceng/internal/_build/results?buildId=832814&view=results - Hence, disable tests run and just have libraries run for now. - I didn't remove the test run part but commented the portion of tests collection with TODO intentionally so when I have to enable it, I will know what to enable.
|
@dotnet/jit-contrib |
|
@safern - Thanks a lot for helping me through this. If you get a chance, please take a look at the overall pipeline structure. |
BruceForstall
left a comment
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.
Looks good.
(I can't approve this because it's technically "my" PR)
Thanks Bruce for reviewing. I will incorporate the feedback and approve it! :) |
kunalspathak
left a comment
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.
LGTM
| <FileSeparatorChar>\</FileSeparatorChar> | ||
| </PropertyGroup> | ||
| <PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'"> | ||
| <FileSeparatorChar>/</FileSeparatorChar> |
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.
You don't need this. You can use MSBuild::NormalizeDirectory or MSBuild::NormalizePath apis. We have a bunch of usages and examples in the runtime repo.
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.
Note that this APIs need to be used with full paths, it doesn't work with relative paths.
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.
Maybe you do need it... because you're using it to calculate the commands you're going to run on helix.
| # Run superpmi collection in helix | ||
| - template: /eng/common/templates/steps/superpmi-send-to-helix.yml | ||
| parameters: | ||
| HelixSource: '$(HelixSourcePrefix)/$(Build.Repository.Name)/$(Build.SourceBranch)' # sources must start with pr/, official/, prodcon/, or agent/ |
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 beliueve this is no longer needed, this is automatically set by the Helix SDK nowadays.
In dotnet#42053, I forgot to push a change to enable the superpmi pipeline. This change will trigger it every Sunday at 9:00 AM PST.
* enable superpmi collection pipeline In #42053, I forgot to push a change to enable the superpmi pipeline. This change will trigger it every Sunday at 9:00 AM PST. * fix space changes
Update from Kunal:
Added
runtime superpmipipeline that does the following:I also had to update
superpmi.pyto make it Python3.5 compliant. I didn't remove the test run part but commented the portion of tests collection with TODO intentionally so when I have to enable it, I will know what to enable.