runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

outdated checksum in Install WSL2

Open mayeu20 opened this issue 6 months ago • 1 comments

Description

azure-arm.image: Provisioning with powershell script: C:/a/1/s/runner-images/images/windows/templates/../scripts/build/Install-WSL2.ps1 azure-arm.image: Install WSL2 azure-arm.image: Found download url for microsoft/WSL version 2.5.7: https://github.com/microsoft/WSL/releases/download/2.5.7/wsl.2.5.7.0.x64.msi azure-arm.image: Downloading package from https://github.com/microsoft/WSL/releases/download/2.5.7/wsl.2.5.7.0.x64.msi to D:\temp\f2wx5erl.msi... azure-arm.image: Package downloaded in 2.61 seconds ==> azure-arm.image: Checksum verification failed: expected A327590770BD334878FB47113355AA07CFCF056ACDC08F5E5646A2418C66D721, got ==> azure-arm.image: AF1C1CBDB2F8E323A74224F200B3A4E25C0CF6DD5DAE7D0D14CB64109E429ED8 ==> azure-arm.image: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:965 char:9 ==> azure-arm.image: + throw "Checksum verification failed: expected $expectedHash, ... ==> azure-arm.image: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> azure-arm.image: + CategoryInfo : OperationStopped: (Checksum verifi...4CB64109E429ED8:String) [], RuntimeException ==> azure-arm.image: + FullyQualifiedErrorId : Checksum verification failed: expected A327590770BD334878FB47113355AA07CFCF056ACDC08F5E5 ==> azure-arm.image: 646A2418C66D721, got AF1C1CBDB2F8E323A74224F200B3A4E25C0CF6DD5DAE7D0D14CB64109E429ED8 ==> azure-arm.image: ==> azure-arm.image: Provisioning step had errors: Running the cleanup provisioner, if present...

Platforms affected

  • [x] Azure DevOps
  • [ ] GitHub Actions - Standard Runners
  • [ ] GitHub Actions - Larger Runners

Runner images affected

  • [ ] Ubuntu 22.04
  • [ ] Ubuntu 24.04
  • [ ] macOS 13
  • [ ] macOS 13 Arm64
  • [ ] macOS 14
  • [ ] macOS 14 Arm64
  • [ ] macOS 15
  • [ ] macOS 15 Arm64
  • [ ] Windows Server 2019
  • [x] Windows Server 2022
  • [x] Windows Server 2025

Image version and build link

.

Is it regression?

no

Expected behavior

Signature matches and installation continues.

Actual behavior

Signature mismatches and installation and image builds fail. expected A327590770BD334878FB47113355AA07CFCF056ACDC08F5E5646A2418C66D721, got AF1C1CBDB2F8E323A74224F200B3A4E25C0CF6DD5DAE7D0D14CB64109E429ED8

Repro steps

Step 1. Pull the main branch Step 2. Build a image with the latest version of either a windows or linux os of your choice eg windows2022 Step 3. Failure will occur at the IInstall-WSL2.ps1 installation step

mayeu20 avatar May 28 '25 09:05 mayeu20

Hi @mayeu20 , Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.


akilesh-amaran avatar May 28 '25 09:05 akilesh-amaran

HI @mayeu20 , the issue is fixed under https://github.com/actions/runner-images/pull/12266

vidyasagarnimmagaddi avatar May 28 '25 14:05 vidyasagarnimmagaddi