Skip to content

Windows WSL checksum mismatch #12421

@jsloan117

Description

@jsloan117

Description

At this time, it only affects Windows 2025. When attempting to download and install the WSL package, it errors out about a checksum mismatch.

Provisioning with powershell script: C:/a/6/s/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.9: https://github.com/microsoft/WSL/releases/download/2.5.9/wsl.2.5.9.0.x64.msi
    azure-arm.image: Downloading package from https://github.com/microsoft/WSL/releases/download/2.5.9/wsl.2.5.9.0.x64.msi to D:\temp\3m0raoho.msi...
    azure-arm.image: Package downloaded in 356.97 seconds
==> azure-arm.image: Checksum verification failed: expected AF1C1CBDB2F8E323A74224F200B3A4E25C0CF6DD5DAE7D0D14CB64109E429ED8, got
==> azure-arm.image: FFC88065B767806451B2EADB92C3AD3D4031F2D34B5C93E84250B17CC00DBBF7
==> 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...250B17CC00DBBF7:String) [], RuntimeException
==> azure-arm.image:     + FullyQualifiedErrorId : Checksum verification failed: expected AF1C1CBDB2F8E323A74224F200B3A4E25C0CF6DD5DAE7D0D1
==> azure-arm.image:    4CB64109E429ED8, got FFC88065B767806451B2EADB92C3AD3D4031F2D34B5C93E84250B17CC00DBBF7

Platforms affected

  • 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
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

NA

Is it regression?

no?

Expected behavior

For checksums never to be an issue again.

Actual behavior

When installing the WSL package it fails to do so because of a checksum mismatch.

Repro steps

Attempt to build a Windows 2025 image from main.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions