-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ILLink_links_simple_app_without_analysis_warnings_and_it_runs failing in 8.0.1xx #40882
Comments
@dotnet/illink-contrib a new issue has been filed in the ILLink area, please triage |
@agocke seems like there's an issue in 8.0.1xx for this test |
It looks like the test is only failing on the Windows fullframework build. I tried the following:
And the test passes for me locally. Does this look like the right way to run the test locally in the Windows fullframework setup? |
The failure is happening at: sdk/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToRunILLink.cs Lines 2247 to 2250 in d7cce5a
which suggests that maybe ILLinkTargetsPath is not set for some reason, or maybe GetValues isn't working correctly. Unfortunately without a repro, I can't do much except add extra logging for when this fails in ci.
|
Based on the Build Analysis info, this started happening 1 day ago. We should look at the PRs. It is likely that something broke this test. |
I looked at this a bit. @sbomer To repro locally (hopefully I'm not forgetting anything):
That should repro the failure. To investigate more, you can (in another prompt) run |
Thanks everyone for your investigation. This is blocking the rest of the teams from flowing their code. I think this should be addressed but as a warning we are going to disable the test to get other things moving along @sbomer |
Thanks for the instructions @dsplaisted, that let me repro the failure. The test is running I was wondering why this wasn't failing in main on .NET Core, and found that the But a simpler fix might be to just set |
Should be fixed by #41135 |
Thank you! |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=675180
Build error leg or test failing: Microsoft.NET.Publish.Tests.GivenThatWeWantToRunILLink.ILLink_links_simple_app_without_analysis_warnings_and_it_runs
Pull request: #40874
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=675180
Error message validated:
[System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 5/14/2024 8:31:19 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: