Skip to content
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 superpmi collect failure for crossgen2 on linux x64 and windows x86 #104181

Merged
merged 5 commits into from
Jul 17, 2024

Conversation

JulieLeeMSFT
Copy link
Member

@JulieLeeMSFT JulieLeeMSFT commented Jun 28, 2024

spmi collect pipeline started to fail since Feb'24 for crossgen2 on linux x64. Fix by including HelixRuntimeRid and download Dotnet Cli.

Edit: libraries crossgen2 was failing on windows x86 as well on partition 0 where it contained only ilc.exe. Fixed by ignoring ilc.exe because it does not have any assemblies to crossgen to.

cc @jkoritzinsky. PTAL.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 28, 2024
@JulieLeeMSFT JulieLeeMSFT self-assigned this Jun 28, 2024
@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone Jun 28, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@JulieLeeMSFT JulieLeeMSFT marked this pull request as draft June 28, 2024 23:09
@jkoritzinsky
Copy link
Member

Can you share a test run of the superpmi-collect pipeline with these changes (and a different JIT-EE guid to avoid overwriting existing collections)?

@JulieLeeMSFT JulieLeeMSFT changed the title Fix superpmi collect failure for crossgen2 on linux x64. Fix superpmi collect failure for crossgen2 on linux x64 and windows x86 Jul 14, 2024
@JulieLeeMSFT
Copy link
Member Author

JulieLeeMSFT commented Jul 14, 2024

Both tests are passing now in a private repo:

  • SuperPMI collect libraries crossgen2 linux x64 checked: Log
  • SuperPMI collect libraries crossgen2 windows x86 checked Log

@@ -183,6 +183,7 @@
"vcruntime140.dll",
"vcruntime140_1.dll",
"xunit.console.exe",
"ilc.exe"
Copy link
Member

Choose a reason for hiding this comment

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

Nit: the list looks sorted, so can you place this after ilasm?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. Done.

@JulieLeeMSFT
Copy link
Member Author

@dotnet/jit-contrib, @jkoritzinsky, @jakobbotsch, it is ready to review.

@JulieLeeMSFT JulieLeeMSFT merged commit efe4f6a into dotnet:main Jul 17, 2024
87 checks passed
@JulieLeeMSFT JulieLeeMSFT deleted the spmiCollect branch July 17, 2024 17:25
@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants