runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open jkotas opened this issue 1 year ago • 6 comments
trafficstars

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<Single> 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

Build Definition Step Name Console log Pull Request
2524622 dotnet-runtime Build HelloiOS Native AOT sample app STRIP_SYMBOLS=False HYBRID_GLOBALIZATION=True Log
773118 dotnet/runtime Build product Log dotnet/runtime#106139
772983 dotnet/runtime Build product Log dotnet/runtime#105737
772220 dotnet/runtime Build product Log dotnet/runtime#105288
771840 dotnet/runtime Build product Log dotnet/runtime#106225
771691 dotnet/runtime Build product Log dotnet/runtime#106217
771062 dotnet/runtime Build product Log dotnet/runtime#106083
770060 dotnet/runtime Build product Log dotnet/runtime#106155
769979 dotnet/runtime Build product Log dotnet/runtime#106014
768998 dotnet/runtime Build product Log
768489 dotnet/runtime Build product Log dotnet/runtime#106072
2509726 dotnet-runtime Build product Log
2509225 dotnet-runtime Build product Log
766348 dotnet/runtime Build product Log dotnet/runtime#105958
764315 dotnet/runtime Build product Log dotnet/runtime#105887
2506996 dotnet-runtime Build product (linux_arm64) Log
762890 dotnet/runtime Build product Log dotnet/runtime#105781
2506608 dotnet-runtime Build product Log
761775 dotnet/runtime Build product Log dotnet/runtime#105734
2506124 dotnet-runtime Build product Log
760176 dotnet/runtime Build product Log dotnet/runtime#105689
760106 dotnet/runtime Build product Log dotnet/runtime#104849
760081 dotnet/runtime Build product Log dotnet/runtime#105676
759847 dotnet/runtime Build product Log dotnet/runtime#105652
759311 dotnet/runtime Build product Log dotnet/runtime#105633
758553 dotnet/runtime Build product Log dotnet/runtime#105612

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 1 26

jkotas avatar Jun 15 '24 19:06 jkotas

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

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

jkotas avatar Jun 15 '24 19:06 jkotas

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

lewing avatar Jun 17 '24 21:06 lewing

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

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

ericstj avatar Jun 17 '24 23:06 ericstj

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

lewing avatar Jun 20 '24 23:06 lewing