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

Azure CLI installer certificate thumbprint is outdated due to new release #9771

Closed
2 of 13 tasks
Ami-007 opened this issue Apr 30, 2024 · 2 comments
Closed
2 of 13 tasks

Comments

@Ami-007
Copy link

Ami-007 commented Apr 30, 2024

Description

Attempted to build a Windows 2019 image based on the current repo, but it failed with the error below.

==> azure-arm: Provisioning with powershell script: /agent/_work/1/s/runner-images/images/windows/scripts/build/Install-AzureCli.ps1
azure-arm: Install the latest Azure CLI release
azure-arm: Downloading package from https://aka.ms/installazurecliwindowsx64 to C:\Users\packer\AppData\Local\Temp\kbhjzvvz.msi...
azure-arm: Package downloaded in 2.84 seconds
==> azure-arm: Signature thumbprint do not match expected.
==> azure-arm: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:972 char:9
==> azure-arm: + throw "Signature thumbprint do not match expected."
==> azure-arm: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm: + CategoryInfo : OperationStopped: (Signature thumb...match expected.:String) [], RuntimeException
==> azure-arm: + FullyQualifiedErrorId : Signature thumbprint do not match expected.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Private build of Azure DevOps agent based on Windows Server 2019 from this repo

Is it regression?

Yes

Expected behavior

Thumbprint should match and build of new Windows 2019 runner image built successfully

Actual behavior

Building the image fails due to:
==> azure-arm: Signature thumbprint do not match expected.
==> azure-arm: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:972 char:9
==> azure-arm: + throw "Signature thumbprint do not match expected."
==> azure-arm: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm: + CategoryInfo : OperationStopped: (Signature thumb...match expected.:String) [], RuntimeException
==> azure-arm: + FullyQualifiedErrorId : Signature thumbprint do not match expected.

Repro steps

Build the Windows Server 2019 image using the code in runner images

@sergei-pyshnoi
Copy link
Contributor

Hello @Ami-007 . Thanks for your report, we are working on it.

@mikhailkoliada
Copy link
Member

should be fixed now in main!

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