dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.38k stars 4.75k forks source link

Build failure: Static graph-based restore failed with exit code .* but did not log an error. #103526

Open jkotas opened 5 months ago

jkotas commented 5 months ago

Log https://dev.azure.com/dnceng-public/public/_build/results?buildId=709057&view=logs&j=bdec34cc-8c67-558e-657b-d36a4105119f&t=a678ac1d-afa2-555a-c9f2-128b541774a9&l=605:

...
Restored D:\a\_work\1\s\src\libraries\shims\stubs\System.IO.Packaging.csproj (in 0.8 ms).
Failed to restore D:\a\_work\1\s\src\libraries\System.Collections.Immutable\ref\System.Collections.Immutable.csproj (in 271 ms).
Restored D:\a\_work\1\s\src\libraries\shims\stubs\System.Diagnostics.PerformanceCounter.csproj (in 0.8 ms).
...
Restored D:\a\_work\1\s\src\libraries\sfx-gen.proj (in 0.6 ms).
2D:\a\_work\1\s\.dotnet\sdk\9.0.100-preview.5.24307.3\NuGet.RestoreEx.targets(19,5): error : Static graph-based restore failed with exit code '1' but did not log an error. Please file an issue at https://github.com/NuGet/Home. [D:\a\_work\1\s\Build.proj]

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=709057 Build error leg or test failing: System.Numerics.Tensors.Tests.TensorSpanTests.TensorExtensionsSpanInSpanOut Pull request: https://github.com/dotnet/runtime/pull/103519

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "Static graph-based restore failed with exit code .* but did not log an error.",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=709057 Error message validated: [Static graph-based restore failed with exit code .* but did not log an error.] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 6/15/2024 7:13:58 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
dotnet-policy-service[bot] commented 5 months ago

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries See info in area-owners.md if you want to be subscribed.

jkotas commented 5 months ago

Also opened https://github.com/NuGet/Home/issues/13551 according to the error message.

lewing commented 5 months ago

https://github.com/dotnet/dnceng/issues/3100 also appears related

dotnet-policy-service[bot] commented 5 months ago

Tagging subscribers to this area: @dotnet/runtime-infrastructure See info in area-owners.md if you want to be subscribed.

ericstj commented 5 months ago

Also https://github.com/dotnet/runtime/issues/103114

lewing commented 5 months ago

I opened https://github.com/dotnet/dnceng/issues/3139 to track this outside of runtime too