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

The "RestoreTask" task returned false but did not log an error #3100

Open
3 tasks
jeffschwMSFT opened this issue Jun 17, 2024 · 3 comments
Open
3 tasks

The "RestoreTask" task returned false but did not log an error #3100

jeffschwMSFT opened this issue Jun 17, 2024 · 3 comments

Comments

@jeffschwMSFT
Copy link
Member

jeffschwMSFT commented Jun 17, 2024

Build

https://dev.azure.com/dnceng/internal/_build/results?buildId=2474913

     2>/__w/1/s/.dotnet/sdk/9.0.100-preview.5.24307.3/NuGet.targets(170,5): error MSB4181: The "RestoreTask" task returned false but did not log an error. [/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/9.0.0-beta.24311.10/tools/Tools.proj]
##[error].dotnet/sdk/9.0.100-preview.5.24307.3/NuGet.targets(170,5): error MSB4181: (NETCORE_ENGINEERING_TELEMETRY=Restore) The "RestoreTask" task returned false but did not log an error.
     2>Done Building Project "/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/9.0.0-beta.24311.10/tools/Tools.proj" (Restore target(s)) -- FAILED.
     1>Done Building Project "/__w/1/s/.packages/microsoft.dotnet.arcade.sdk/9.0.0-beta.24311.10/tools/Build.proj" (default targets) -- FAILED.

Build leg reported

No response

Pull Request

No response

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

 {
    "ErrorMessage" : "The \"RestoreTask\" task returned false but did not log an error",
    "BuildRetry": false,
    "ErrorPattern": "",
    "ExcludeConsoleLog": false
 }

@dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

No response

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng/internal/_build/results?buildId=2474913
Error message validated: [The "RestoreTask" task returned false but did not log an error]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/17/2024 3:39:02 PM UTC

Report

Build Definition Test Pull Request
2555659 dotnet-roslyn Microsoft.CodeAnalysis.MSBuild.UnitTests.NetCoreTests.TestOpenSolution_NetCoreMultiTFMWithProjectReferenceToFSharp
827696 dotnet/roslyn Microsoft.CodeAnalysis.MSBuild.UnitTests.NetCoreTests.TestOpenSolution_NetCoreMultiTFMWithProjectReferenceToFSharp dotnet/roslyn#75395

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 2
@ericstj
Copy link
Member

ericstj commented Jun 17, 2024

Should we make this "BuildRetry": true,?

@lewing
Copy link
Member

lewing commented Jun 20, 2024

I opened #3139 in dnceng to track the other version of this problem

@ViktorHofer
Copy link
Member

Thanks to @akoeplinger's fix in NuGet, we could resolve this by promoting a newer SDK (>= 9.0.100-preview.7.24357.2) via Arcade. @mmitche opinions? Might make sense to discuss this in Tactics tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants