actions / runner-images

GitHub Actions runner images
MIT License
9.82k stars 3.01k forks source link

Wrong Signature Thumbprint - Install Visual Studio - Windows Server 2022 Runner Image #10561

Open Ami-007 opened 1 week ago

Ami-007 commented 1 week ago

Description

Install Visual Studio has the wrong signature thumbprint on the test.

==> azure-arm.build_vhd: Provisioning with powershell script: /agent/_work/1/s/runner-images/images/windows/scripts/build/Install-VisualStudio.ps1 azure-arm.build_vhd: Downloading Bootstrapper ... azure-arm.build_vhd: Downloading package from https://aka.ms/vs/17/release/vs_Enterprise.exe to C:\Users\INSTAL~1\AppData\Local\Temp\vs_Enterprise.exe... azure-arm.build_vhd: Package downloaded in 0.42 seconds azure-arm.build_vhd: Signature thumbprint do not match expected. azure-arm.build_vhd: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:973 char:9 azure-arm.build_vhd: + throw "Signature thumbprint do not match expected." azure-arm.build_vhd: + ~~~~~~~~~~~ azure-arm.build_vhd: + CategoryInfo : OperationStopped: (Signature thumb...match expected.:String) [], RuntimeException azure-arm.build_vhd: + FullyQualifiedErrorId : Signature thumbprint do not match expected. azure-arm.build_vhd:

Platforms affected

Runner images affected

Image version and build link

N/A private build

Is it regression?

Yes - this worked on 19th August 2024

Expected behavior

All tests pass successfully and build completes successfully for Windows 2022 using the build code in runner images repo

Actual behavior

Our pipeline that builds the Windows 2022 image using the runner-images code from this repo is failing when attempting to install Visual Studio Enterprise and producing thumbprint error.

Repro steps

Run Packer build using the latest code in this repo for Windows Server 2022

RaviAkshintala commented 1 week ago

@Ami-007 Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

angaaruriakhil commented 1 week ago

I am also having this issue. I see this thumbprint mismatch issue frequently with this repository. Is there no way to have this automated in some way instead of doing manual fixes?

vidyasagarnimmagaddi commented 15 hours ago

Hi @cupacheeno , the new image has been rolled out (20240912.1.1) .The issue is fixed now. kindly synch your main .Thanks

Ami-007 commented 12 hours ago

Hi @cupacheeno , the new image has been rolled out (20240912.1.1) .The issue is fixed now. kindly synch your main .Thanks

Where has 22 been fixed? I see a code update for 2019, but not for 2022. I have run a build and am still seeing the same error

vidyasagarnimmagaddi commented 12 hours ago

Hi @Ami-007 , Please follow the official status page of Azure DevOps for updates https://status.dev.azure.com/_event/543117809