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

dotnet build inside CI container fails with NU3028 and NU3037 #10492

Closed
svdHero opened this issue Jan 27, 2021 · 3 comments
Closed

dotnet build inside CI container fails with NU3028 and NU3037 #10492

svdHero opened this issue Jan 27, 2021 · 3 comments

Comments

@svdHero
Copy link

svdHero commented Jan 27, 2021

NuGet product used:
dotnet.exe

Product version (as by dotnet --version):
5.0.102 inside container mcr.microsoft.com/dotnet/sdk:5.0

Problem description

We have a Jenkins CI server on Ubuntu Server 20.04 LTS which builds our ASP.NET Web API inside a mcr.microsoft.com/dotnet/sdk:5.0 container. Everything has worked fine until this morning when suddenly the build pipeline fails with hundreds of errors of the kind

/MyWorkspace/MyProject/MyProject.csproj : error NU3028: Package 'Microsoft.AspNetCore.Mvc.NewtonsoftJson 5.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
/MyWorkspace/MyProject/MyProject.csproj : error NU3037: Package 'Microsoft.AspNetCore.Mvc.NewtonsoftJson 5.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.

What's the problem here? As far as I know we have not changed anything on our CI machine and the build job still pulls the same container image mcr.microsoft.com/dotnet/sdk:5.0 for building as always.

@dasMulli
Copy link

Just opened #10491 for that

@svdHero
Copy link
Author

svdHero commented Jan 27, 2021

@dasMulli Danke schön für den Hinweis. 😉

@svdHero svdHero closed this as completed Jan 27, 2021
@svdHero
Copy link
Author

svdHero commented Jan 27, 2021

Closed as dublicate.

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

No branches or pull requests

2 participants