Open carlossanlop opened 1 year ago
Tagging subscribers to 'os-tvos': @steveisok, @akoeplinger See info in area-owners.md if you want to be subscribed.
Author: | carlossanlop |
---|---|
Assignees: | - |
Labels: | `arch-arm64`, `area-Infrastructure-mono`, `os-tvos`, `Known Build Error` |
Milestone: | 6.0.x |
It seems to me that Static graph restore either having a hard time with the relative path, or has an invalid value for LibrariesProjectRoot.
https://github.com/search?q=%22System.Composition.AttributedModel%22++repo%3Adotnet%2Fruntime+extension%3Acsproj&type=Code&ref=advsearch&l=&l=
Given the specific failure It's probably the relative path. https://github.com/dotnet/runtime/blob/67354a2fb4308650eb1d7db3277c862b8464c895/src/libraries/System.Composition.AttributedModel/tests/System.Composition.AttributeModel.Tests.csproj#L19
@jeffkl does this issue look familiar? Seems like it might be race condition where static graph gets confused about relative directory.
@ericstj I've seen this happen over the years with the MSBuild static graph API. For some reason a property does not have a value and the path gets mangled. At this point in restore, NuGet is loading projects via MSBuild so we're pretty confident something is wrong with static graph API. I'll ask around to see if anyone has figured out why this happens.
Adding @dfederm who has seen this, were you able to figure out why it's happening?
It's also possible that this has been fixed in later SDKs, @carlossanlop noticed in our 6.0 branch which is using 6.0.115 SDK.
Found in the 6.0 branding PR: https://github.com/dotnet/runtime/pull/84315
Build tvOS arm64 Release AllSubsets_Mono
Report
Summary
Known issue validation
Build: :mag_right: Result validation: :warning: Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: :mag_right:" line.