Uh oh!
There was an error while loading. Please reload this page.
Spmi replay pipeline - #56871
Conversation
kunalspathak
commented
Aug 5, 2021
@dotnet/jit-contrib |
kunalspathak
commented
Aug 11, 2021
Can someone review this? Want to make sure that this goes in before we freeze the main. |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
| - ${{ if eq(parameters.uploadAsArtifacts, false) }}: | |
| - ${{ if not(parameters.uploadAsArtifacts) }}: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ghost
commented
Aug 11, 2021
Hello @kunalspathak! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me ( |
BruceForstall
commented
Aug 25, 2021
@kunalspathak Love this work! Are you planning to move the pipeline from internal to public, so it can be auto-triggered or manually triggered on JIT PR's? Or is there some reason why it must remain on "internal" and run post-merge? |
kunalspathak
commented
Aug 25, 2021
We could definitely make it public but there is one scenario in which it doesn't work - If the PR changes the JITEE guid, then we don't get new collection for new guid because we haven't collected it. What should ideally happen in such cases is that collection pipeline should trigger the replay pipeline. But other than that, this can be moved to public (let me know if you plan on doing it). |
BruceForstall
commented
Aug 26, 2021
|
kunalspathak
commented
Aug 26, 2021
Currently, the partitions are hardcoded in runtime/src/coreclr/scripts/superpmi-replay.proj Lines 45 to 55 in 7994e59
I didn't see any assert yet. The pipeline failed once and reported when we didn't had .mch files to run on. |
Introduce
superpmi-replaypublic pipeline that will be triggered after JIT changes. Here is how it works:windowx-x64build to cross-compile following jit binaries:clrjit_win_x64_x64.dllclrjit_win_arm64_x64.dllclrjit_unix_x64_x64.dllclrjit_unix_arm64_x64.dllwindowx-x86build to cross-compile following jit binaries:clrjit_win_x86_x86.dllclrjit_unix_arm_x86.dllsuperpmi replayfor below environment variables:superpmi__arch.logas an artifact. Currently the pipeline fails because of a bug in helix tracked by https://github.com/dotnet/core-eng/issues/13983.Changes:
--no_progressin "superpmi download" so we do not see the progress logs during mch downloading.download-specific-artifacts.yml.Since I have introduced superpmi-replay** files, I will submit a follow-up PR to rename existing superpmi* files that does the collection to superpmi-collect**.
Also, as a follow-up work, we would trigger this pipeline after
superpmi-collectpipeline completes so the collection are fresh and we don't get "missing key errors".Fixes: #52392