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

[BUG]: Primary signature validity period expired for msazure visualstudio packages #18092

Closed
2 of 4 tasks
tejitpabari99 opened this issue Apr 10, 2023 · 2 comments
Closed
2 of 4 tasks

Comments

@tejitpabari99
Copy link

Task name

No response

Task version

No response

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Microsoft Windows NT 6.2.9200.0

Task log

Starting: Restore MDP NuGet packages (windows_build_container)
==============================================================================
Task         : MSBuild
Description  : Build with MSBuild
Version      : 1.217.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/msbuild
==============================================================================
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" "C:\__w\1\s\MDP.sln" /nologo /nr:false /t:"Clean" /dl:CentralLogger,"C:\__w\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.217.0\node_modules\azure-pipelines-tasks-msbuildhelpers\tools\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll";"RootDetailId=8ff6fc88-585a-4300-b814-5accc1be7281|SolutionDir=C:\__w\1\s|enableOrphanedProjectsLogs=true"*ForwardingLogger,"C:\__w\_tasks\MSBuild_c6c4c611-aa2e-4a33-b606-5eaba2196824\1.217.0\node_modules\azure-pipelines-tasks-msbuildhelpers\tools\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" /t:Restore /p:platform="x64" /p:configuration="release" /m /p:_MSDeployUserAgent="VSTS_41bf5486-7392-4b7a-a7e3-a735c767e3b3_build_197039_0"
Build started 4/10/2023 9:36:18 PM.
Included response file: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.rsp


....


GET https://msazure.pkgs.visualstudio.com/_packaging/cbca9439-5bb6-464a-b912-edb0a4eaa90e/nuget/v3/flat2/system.xml.xpath/4.3.0/system.xml.xpath.4.3.0.nupkg
           OK https://msazure.pkgs.visualstudio.com/_packaging/cbca9439-5bb6-464a-b912-edb0a4eaa90e/nuget/v3/flat2/system.text.encoding.codepages/4.3.0/system.text.encoding.codepages.4.3.0.nupkg 170ms
           OK https://msazure.pkgs.visualstudio.com/_packaging/cbca9439-5bb6-464a-b912-edb0a4eaa90e/nuget/v3/flat2/system.xml.xpath/4.3.0/system.xml.xpath.4.3.0.nupkg 74ms
           OK https://msazure.pkgs.visualstudio.com/_packaging/cbca9439-5bb6-464a-b912-edb0a4eaa90e/nuget/v3/flat2/system.security.principal/4.3.0/system.security.principal.4.3.0.nupkg 579ms
           OK https://msazure.pkgs.visualstudio.com/_packaging/cbca9439-5bb6-464a-b912-edb0a4eaa90e/nuget/v3/flat2/system.security.cryptography.cng/4.4.0/system.security.cryptography.cng.4.4.0.nupkg 583ms
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'System.Runtime.Handles 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'System.Runtime.Handles 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'System.IO.FileSystem.Primitives 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'System.IO.FileSystem.Primitives 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
         Installed runtime.native.System 4.0.0 from https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json with content hash QfS/nQI7k/BLgmLrw7qm7YBoULEvgWnPI+cYsbfCVFTW8Aj+i8JhccxcFMu1RWms0YZzF+UHguNBK4Qn89e2Sg==.
         Installed runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0 from https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json with content hash VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==.
         Installed System.Buffers 4.4.0 from https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json with content hash AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==.
         Installed System.Reflection.Emit.Lightweight 4.0.1 from https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json with content hash sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==.
         Installed System.Reflection.Emit.ILGeneration 4.0.1 from https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json with content hash Ov6dU8Bu15Bc7zuqttgHF12J5lwSWyTf1S+FJouUXVMSqImLZzYaQ+vRr1rQ0OZ0HqsrwWl4dsKHELckQkVpgA==.
         Installed System.IO.FileSystem.Primitives 4.0.1 from https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json with content hash kWkKD203JJKxJeE74p8aF8y4Qc9r9WQx4C0cHzHPrY3fv/L/IhWnyCHaFJ3H1QPOH6A93whlQ2vG5nHlBDvzWQ==.

.....


Build FAILED.

       "C:\__w\1\s\MDP.sln" (Clean;Restore target) (1) ->
       (Restore target) -> 
         C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
         C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'System.Runtime.Handles 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
         C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'System.IO.FileSystem.Primitives 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
         C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
         C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(132,5): error : The given key was not present in the dictionary. [C:\__w\1\s\MDP.sln]

    0 Warning(s)
    5 Error(s)

Time Elapsed 00:00:21.37
##[error]Process 'MSBuild.exe' exited with code '1'.

Relevant log output

##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'System.Runtime.Handles 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'System.Runtime.Handles 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'System.IO.FileSystem.Primitives 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'System.IO.FileSystem.Primitives 4.0.1' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]
##[error]src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj(0,0): Error NU3037: Warning As Error: Package 'runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired.
     1>C:\__w\1\s\src\IndoorMaps\IndoorMapsServiceCommon\IndoorMapsServiceCommon.csproj : error NU3037: Warning As Error: Package 'runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0' from source 'https://msazure.pkgs.visualstudio.com/_packaging/AzureMaps/nuget/v3/index.json': The repository primary signature validity period has expired. [C:\__w\1\s\MDP.sln]

Aditional info

No response

@KonstantinTyukalov
Copy link
Contributor

Hi @tejitpabari99, when the task started failing? Was it working previously?
does the build works locally?

please try the following NuGet/Home#10491 (comment)

The related post:
https://devblogs.microsoft.com/nuget/microsoft-author-signing-certificate-update

If you have a nuget.config, try to update certificate fingerprint

@tejitpabari99
Copy link
Author

Sorry, I didn't get notification about this comment. Will try it out and let you know!
I had retried it when the issue happened, and retry was successful. However, my team member is facing the same issue again, will pass on the information.

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

2 participants