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

"Static graph-based restore failed with exit code 1 but did not log an error." failure in dotnet/runtime repo #13551

Closed
jkotas opened this issue Jun 15, 2024 · 2 comments
Labels
Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Bug

Comments

@jkotas
Copy link

jkotas commented Jun 15, 2024

NuGet Product Used

NuGet.exe

Product Version

.NET SDK 9.0.100-preview.5.24307.3

Worked before?

No response

Impact

It's more difficult to complete my work

Repro Steps & Context

This is intermittent build error encountered by dotnet/runtime repo build. dotnet/runtime#103526 is going to have statics on how often it occurs.

Verbose Logs

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]
@jkotas jkotas changed the title "Static graph-based restore failed with exit code .* but did not log an error." failure in dotnet/runtime repo "Static graph-based restore failed with exit code 1 but did not log an error." failure in dotnet/runtime repo Jun 15, 2024
@ViktorHofer
Copy link

ViktorHofer commented Jun 17, 2024

This is probably similar or the same as #13545 but just with normal (non-static graph based) restore.

@nkolev92
Copy link
Member

Consolidating to a single investigation: #13545.

The root cause is the same.

@nkolev92 nkolev92 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2024
@nkolev92 nkolev92 added Resolution:Duplicate This issue appears to be a Duplicate of another issue Functionality:Restore and removed Triage:Untriaged labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Bug
Projects
None yet
Development

No branches or pull requests

3 participants