cake: NuGet hang due to bug in NuGet 4.6.0
Cake hangs when restoring certain signed NuGet packages. The longest I waited before killing was between 5 and 10 minutes. A repro is a .cake script with #tool WiX.Toolset.UnofficialFork. The latest version of that package, 3.11.1, is the first signed version.
I verified that the bug is present in https://dist.nuget.org/win-x86-commandline/v4.6.0/nuget.exe but not in https://dist.nuget.org/win-x86-commandline/v4.6.1/nuget.exe, running nuget.exe verify -signatures wix.toolset.unofficialfork.3.11.1.nupkg against each.
Cake currently bundles NuGet 4.6.0 assemblies, so it seems that updating its NuGet dependencies to 4.6.2 might resolve this problem.
/cc @gep13
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (22 by maintainers)
Commits related to this issue
- (GH-2207) Update to NuGet 4.7.0 - Fixes #2207 — committed to bjorkstromm/cake by bjorkstromm 6 years ago
- Merge branch 'mholo65-feature/GH-2207' into develop * mholo65-feature/GH-2207: (GH-2207) Update to NuGet 4.7.0 — committed to cake-build/cake by devlead 6 years ago
- Merge branch 'release/0.30.0' into main * release/0.30.0: (22 commits) (build) Updated version and release notes. (GH-2214) Use Environment.CommandLine directly and remove polyfill. (GH-2238) A... — committed to cake-build/cake by devlead 6 years ago
Lol, three-way race condition 😆
@mholo65 I’ve added you as a collaborator on the repo and as an owner on NuGet, feel free to push any change 😃
@jnm2, np. I can take a look tonight!
Ok, perfect. Just wanted to check.