arcade: Intermittent NU3004 errors (fixed?)
Time to time I see errors like this one in the Arcade CI build:
error NU3004: Package 'vswhere 2.6.7' from source 'https://api.nuget.org/v3/index.json': This repository indicated that all its packages are repository signed; however, this package is unsigned.
Doesn’t make much sense to me as it happens only sometimes… The package is definitely signed.
Failure example: https://dev.azure.com/dnceng/public/_build/results?buildId=172551
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (17 by maintainers)
Commits related to this issue
- Update version of .NET SDK * Updating due to issue dotnet/arcade#2638 — committed to StephenBonikowsky/wcf by StephenBonikowsky 5 years ago
@riarenas yes I’ll get someone on this this morning.
@tmat, there are 2 known scenarios where you might get this error erroneously:
Chatted with @loic-sharma.
Even though I can’t find the logs I’d imagine it’s possible that you are hitting this bug. https://github.com/NuGet/Home/issues/7997
Basically, if on the same machine, multiple client version of dotnet.exe are being used in a span of 30 minutes you can run into it. Basically I think you need one of 2.1.500/2.2.100 (not latest patch) to run after a 3.0.0 P4-P5/2.2.300/2.1.700.
@loic-sharma also pointed out that we should probably have a better description of this scenario somewhere. Ideally a nuget tracking issue and/or a docs update for the NU3004 warning. //cc @rrelyea