actions / runner-images

GitHub Actions runner images
MIT License
10.1k stars 3.04k forks source link

VSIX installation failed with exit code -2146233079 #10755

Closed MathijsHofkens closed 1 week ago

MathijsHofkens commented 2 weeks ago

Description

==> azure-arm.build_gallery_image: Provisioning with powershell script: /home/vsts/work/1/s/images/windows/scripts/build/Install-WDK.ps1 azure-arm.build_gallery_image: Downloading package from https://go.microsoft.com/fwlink/?linkid=2249371 to C:\Users\packer\AppData\Local\Temp\2lhaj3fi.exe... azure-arm.build_gallery_image: Package downloaded in 1.19 seconds azure-arm.build_gallery_image: Signature for C:\Users\packer\AppData\Local\Temp\2lhaj3fi.exe is valid azure-arm.build_gallery_image: Starting Install ... azure-arm.build_gallery_image: Installation successful in 163.97 seconds azure-arm.build_gallery_image: Installing VSIX from C:\Program Files (x86)\Windows Kits\10\Vsix\VS2022\10.0.22621.0\WDK.vsix... azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 19 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 18 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 17 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 16 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 15 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 14 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 13 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 12 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 11 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 10 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 9 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 8 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 7 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 6 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 5 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 4 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 3 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 2 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: Waiting 10 seconds before retrying. Retries left: 1 azure-arm.build_gallery_image: VSIX installation failed with exit code -2146233079. azure-arm.build_gallery_image: VSIX installation failed after 0 retries.

Platforms affected

Runner images affected

Image version and build link

Windows2022

Is it regression?

no

Expected behavior

VSIX installed correctly

Actual behavior

Windows2022 build image fails

Repro steps

Build windows2022 image with visualstudio:

"visualStudio": { "version": "2022", "subversion": "17", "edition": "Enterprise", "channel": "release", "signature": "C2048FB509F1C37A8C3E9EC6648118458AA01780", "workloads": [ "Component.Dotfuscator", "Component.Linux.CMake", "Component.UnityEngine.x64", "Component.Unreal.Android", "Component.Xamarin", "Microsoft.Component.VC.Runtime.UCRTSDK", "Microsoft.Net.Component.4.7.TargetingPack", "Microsoft.Net.Component.4.7.2.TargetingPack", "Microsoft.Net.Component.4.8.1.SDK", "Microsoft.Net.Component.4.8.1.TargetingPack", "Microsoft.VisualStudio.Component.AspNet45", "Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools", "Microsoft.VisualStudio.Component.Debugger.JustInTime", "Microsoft.VisualStudio.Component.EntityFramework", "Microsoft.VisualStudio.Component.DslTools", "Microsoft.VisualStudio.Component.LinqToSql", "Microsoft.VisualStudio.Component.SQL.SSDT", "Microsoft.VisualStudio.Component.Sharepoint.Tools", "Microsoft.VisualStudio.Component.PortableLibrary", "Microsoft.VisualStudio.Component.TeamOffice", "Microsoft.VisualStudio.Component.TestTools.CodedUITest", "Microsoft.VisualStudio.Component.TestTools.WebLoadTest", "Microsoft.VisualStudio.Component.UWP.VC.ARM64", "Microsoft.VisualStudio.Component.UWP.VC.ARM64EC", "Microsoft.VisualStudio.Component.VC.CLI.Support", "Microsoft.VisualStudio.Component.VC.CMake.Project", "Microsoft.VisualStudio.Component.VC.DiagnosticTools", "Microsoft.VisualStudio.Component.VC.Llvm.Clang", "Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset", "Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre", "Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre", "Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest", "Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest", "Microsoft.VisualStudio.Component.VC.Tools.ARM", "Microsoft.VisualStudio.Component.VC.MFC.ARM", "Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.ATL.ARM64", "Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.MFC.ARM64", "Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.Modules.x86.x64", "Microsoft.VisualStudio.Component.VC.Tools.ARM64", "Microsoft.VisualStudio.Component.VC.Tools.ARM64EC", "Microsoft.VisualStudio.Component.VC.Redist.MSM", "Microsoft.VisualStudio.Component.VC.v141.x86.x64", "Microsoft.VisualStudio.Component.VC.v141.x86.x64.Spectre", "Microsoft.VisualStudio.Component.VC.v141.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.v141.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.v141.MFC", "Microsoft.VisualStudio.Component.VC.v141.MFC.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ARM", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ARM64", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.x86.x64", "Microsoft.VisualStudio.Component.VC.14.29.16.11.x86.x64.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64", "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.ARM", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.ARM64", "Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ARM", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ARM64", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64", "Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ATL", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ATL.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ATL.ARM", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ATL.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ATL.ARM64", "Microsoft.VisualStudio.Component.VC.14.34.17.4.ATL.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.MFC", "Microsoft.VisualStudio.Component.VC.14.34.17.4.MFC.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.MFC.ARM", "Microsoft.VisualStudio.Component.VC.14.34.17.4.MFC.ARM.Spectre", "Microsoft.VisualStudio.Component.VC.14.34.17.4.MFC.ARM64", "Microsoft.VisualStudio.Component.VC.14.34.17.4.MFC.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.ATLMFC", "Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre", "Microsoft.VisualStudio.Component.Windows10SDK.19041", "Microsoft.VisualStudio.Component.Windows10SDK.20348", "Microsoft.VisualStudio.Component.Windows11SDK.22000", "Microsoft.VisualStudio.Component.Windows11SDK.22621", "Microsoft.VisualStudio.Component.Windows11SDK.26100", "Microsoft.VisualStudio.Component.Workflow", "Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices", "Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang", "Microsoft.VisualStudio.ComponentGroup.UWP.VC.v142", "Microsoft.VisualStudio.ComponentGroup.Web.CloudTools", "Microsoft.VisualStudio.Workload.Azure", "Microsoft.VisualStudio.Workload.Data", "Microsoft.VisualStudio.Workload.ManagedDesktop", "Microsoft.VisualStudio.Workload.ManagedGame", "Microsoft.VisualStudio.Workload.NativeCrossPlat", "Microsoft.VisualStudio.Workload.NativeDesktop", "Microsoft.VisualStudio.Workload.NativeGame", "Microsoft.VisualStudio.Workload.NativeMobile", "Microsoft.VisualStudio.Workload.NetCrossPlat", "Microsoft.VisualStudio.Workload.NetWeb", "Microsoft.VisualStudio.Workload.Node", "Microsoft.VisualStudio.Workload.Office", "Microsoft.VisualStudio.Workload.Python", "Microsoft.VisualStudio.Workload.Universal", "Microsoft.VisualStudio.Workload.VisualStudioExtension", "Component.MDD.Linux", "Component.MDD.Linux.GCC.arm", "wasm.tools" ], "vsix": [] },

vidyasagarnimmagaddi commented 2 weeks ago

Hi @MathijsHofkens , Thanks you for bringing this issue to us. We will validate and provide solution. thanks.

vidyasagarnimmagaddi commented 2 weeks ago

Hi @MathijsHofkens , The windows-2022 version 20241006.1 is rolled. Kindly synch your main , and try the same. if still error , revert your error logs. Thanks

MathijsHofkens commented 2 weeks ago

@vidyasagarnimmagaddi installation of VSIX is OK, but Install-NativeImages.ps1 is now failing:

==> azure-arm.build_gallery_image: Provisioning with powershell script: /home/vsts/work/1/s/images/windows/scripts/build/Install-NativeImages.ps1 azure-arm.build_gallery_image: NGen: install Microsoft.PowerShell.Utility.Activities... azure-arm.build_gallery_image: NGen: update x64 native images... azure-arm.build_gallery_image: NGen: update x86 native images... ==> azure-arm.build_gallery_image: Update of x86 native images failed with exit code -1 ==> azure-arm.build_gallery_image: At C:\Windows\Temp\script-6707d910-87c6-d05e-9478-5f2644e3581f.ps1:21 char:5 ==> azure-arm.build_gallery_image: + throw "Update of x86 native images failed with exit code $LASTEXI ... ==> azure-arm.build_gallery_image: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> azure-arm.build_gallery_image: + CategoryInfo : OperationStopped: (Update of x86 n...th exit code -1:String) [], RuntimeException ==> azure-arm.build_gallery_image: + FullyQualifiedErrorId : Update of x86 native images failed with exit code -1

vidyasagarnimmagaddi commented 1 week ago

Hi @MathijsHofkens , We tried replicating the same, and we are successful in installing Install-NativeImages.ps1 , kindly try again. thanks

MathijsHofkens commented 1 week ago

Hello @vidyasagarnimmagaddi , well i tried building but still no luck, exact same output as above. Repository is up to date. Any idea on how to troubleshoot?

vidyasagarnimmagaddi commented 1 week ago

Hi @MathijsHofkens , kindly provide the repro steps you have followed , so that we can help in troubleshooting . regards

MathijsHofkens commented 1 week ago

Hi @vidyasagarnimmagaddi i'm using this toolset.json:

{
  "toolcache": [
    {
      "name": "node",
      "url": "https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json",
      "arch": "x64",
      "platform": "win32",
      "versions": ["14.*", "16.*", "18.*", "20.*"]
    }
  ],
  "powershellModules": [
    { "name": "DockerMsftProvider" },
    { "name": "MarkdownPS" },
    { "name": "Pester" },
    { "name": "PowerShellGet" },
    { "name": "PSScriptAnalyzer" },
    { "name": "PSWindowsUpdate" },
    { "name": "SqlServer" },
    { "name": "VSSetup" },
    { "name": "Microsoft.Graph" },
    { "name": "AzTable" }
  ],
  "azureModules": [
    {
      "name": "azurerm",
      "versions": ["2.1.0", "6.13.1"],
      "zip_versions": ["3.8.0", "4.2.1", "5.1.1", "6.7.0"],
      "default": "2.1.0"
    },
    {
      "name": "azure",
      "versions": ["2.1.0", "5.3.0"],
      "zip_versions": ["3.8.0", "4.2.1", "5.1.1"],
      "default": "2.1.0"
    },
    {
      "name": "az",
      "versions": ["12.1.0"],
      "zip_versions": []
    }
  ],
  "windowsFeatures": [
    { "name": "Containers" },
    { "name": "Microsoft-Windows-Subsystem-Linux", "optionalFeature": true },
    { "name": "VirtualMachinePlatform", "optionalFeature": true },
    { "name": "NET-Framework-45-Features", "includeAllSubFeatures": true },
    { "name": "Client-ProjFS", "optionalFeature": true },
    { "name": "NET-Framework-Features", "includeAllSubFeatures": true }
  ],
  "visualStudio": {
    "version": "2022",
    "subversion": "17",
    "edition": "Enterprise",
    "channel": "release",
    "signature": "C2048FB509F1C37A8C3E9EC6648118458AA01780",
    "workloads": [
      "Component.Dotfuscator",
      "Component.Linux.CMake",
      "Component.UnityEngine.x64",
      "Component.Unreal.Android",
      "Component.Xamarin",
      "Microsoft.Component.VC.Runtime.UCRTSDK",
      "Microsoft.Net.Component.4.7.TargetingPack",
      "Microsoft.Net.Component.4.7.2.TargetingPack",
      "Microsoft.Net.Component.4.8.1.SDK",
      "Microsoft.Net.Component.4.8.1.TargetingPack",
      "Microsoft.VisualStudio.Component.AspNet45",
      "Microsoft.VisualStudio.Component.Azure.ServiceFabric.Tools",
      "Microsoft.VisualStudio.Component.Debugger.JustInTime",
      "Microsoft.VisualStudio.Component.EntityFramework",
      "Microsoft.VisualStudio.Component.DslTools",
      "Microsoft.VisualStudio.Component.LinqToSql",
      "Microsoft.VisualStudio.Component.SQL.SSDT",
      "Microsoft.VisualStudio.Component.Sharepoint.Tools",
      "Microsoft.VisualStudio.Component.PortableLibrary",
      "Microsoft.VisualStudio.Component.TeamOffice",
      "Microsoft.VisualStudio.Component.TestTools.CodedUITest",
      "Microsoft.VisualStudio.Component.TestTools.WebLoadTest",
      "Microsoft.VisualStudio.Component.UWP.VC.ARM64",
      "Microsoft.VisualStudio.Component.UWP.VC.ARM64EC",
      "Microsoft.VisualStudio.Component.VC.CLI.Support",
      "Microsoft.VisualStudio.Component.VC.CMake.Project",
      "Microsoft.VisualStudio.Component.VC.DiagnosticTools",
      "Microsoft.VisualStudio.Component.VC.Llvm.Clang",
      "Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset",
      "Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest",
      "Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest",
      "Microsoft.VisualStudio.Component.VC.Tools.ARM",
      "Microsoft.VisualStudio.Component.VC.Tools.ARM64",
      "Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
      "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
      "Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
      "Microsoft.VisualStudio.Component.VC.Redist.MSM",
      "Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre",
      "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre",
      "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre",
      "Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre",
      "Microsoft.VisualStudio.Component.VC.MFC.ARM",
      "Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre",
      "Microsoft.VisualStudio.Component.VC.MFC.ARM64",
      "Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre",
      "Microsoft.VisualStudio.Component.VC.ATLMFC",
      "Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre",
      "Microsoft.VisualStudio.Component.VC.ATL",
      "Microsoft.VisualStudio.Component.VC.ATL.Spectre",
      "Microsoft.VisualStudio.Component.VC.ATL.ARM",
      "Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre",
      "Microsoft.VisualStudio.Component.VC.ATL.ARM64",
      "Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre",
      "Microsoft.VisualStudio.Component.VC.ASAN",
      "Microsoft.VisualStudio.Component.Windows10SDK.19041",
      "Microsoft.VisualStudio.Component.Windows10SDK.20348",
      "Microsoft.VisualStudio.Component.Windows11SDK.22000",
      "Microsoft.VisualStudio.Component.Windows11SDK.22621",
      "Microsoft.VisualStudio.Component.Workflow",
      "Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices",
      "Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools",
      "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang",
      "Microsoft.VisualStudio.ComponentGroup.UWP.VC.v142",
      "Microsoft.VisualStudio.ComponentGroup.Web.CloudTools",
      "Microsoft.VisualStudio.Workload.Azure",
      "Microsoft.VisualStudio.Workload.Data",
      "Microsoft.VisualStudio.Workload.ManagedDesktop",
      "Microsoft.VisualStudio.Workload.ManagedGame",
      "Microsoft.VisualStudio.Workload.NativeCrossPlat",
      "Microsoft.VisualStudio.Workload.NativeDesktop",
      "Microsoft.VisualStudio.Workload.NativeGame",
      "Microsoft.VisualStudio.Workload.NativeMobile",
      "Microsoft.VisualStudio.Workload.NetCrossPlat",
      "Microsoft.VisualStudio.Workload.NetWeb",
      "Microsoft.VisualStudio.Workload.Node",
      "Microsoft.VisualStudio.Workload.Office",
      "Microsoft.VisualStudio.Workload.Python",
      "Microsoft.VisualStudio.Workload.Universal",
      "Microsoft.VisualStudio.Workload.VisualStudioExtension",
      "Component.MDD.Linux",
      "Component.MDD.Linux.GCC.arm",
      "Component.Microsoft.Windows.DriverKit",
      "wasm.tools"
    ],
    "vsix": []
  },
  "pipx": [
    {
      "package": "yamllint",
      "cmd": "yamllint --version"
    },
    {
      "package": "databricks-cli",
      "cmd": "databricks-cli --version"
    }
  ],
  "selenium": {
    "version": "4",
    "binary_name": "selenium-server"
  },
  "npm": {
    "global_packages": [
      { "name": "yarn", "test": "yarn --version" },
      { "name": "newman", "test": "newman --version" },
      { "name": "lerna", "test": "lerna --version" },
      { "name": "gulp-cli", "test": "gulp --version" },
      { "name": "grunt-cli", "test": "grunt --version" }
    ]
  },
  "dotnet": {
    "versions": ["3.1", "5.0", "6.0", "7.0"],
    "tools": [
      {
        "name": "nbgv",
        "test": "nbgv --version",
        "getversion": "nbgv --version"
      }
    ],
    "warmup": false
  },
  "choco": {
    "common_packages": [
      { "name": "Bicep" },
      { "name": "jq" },
      { "name": "7zip.install" },
      { "name": "databricks-cli" },
      { "name": "azcopy10" }
    ]
  },
  "node": {
    "default": "18"
  },
  "mysql": {
    "version": "8.0"
  },
  "mongodb": {
    "version": "5.0"
  },
  "nsis": {
    "version": "3.08"
  },
  "llvm": {
    "version": "15"
  },
  "php": {
    "version": "8.2"
  },
  "postgresql": {
    "version": "14"
  },
  "kotlin": {
    "version": "latest",
    "binary_name": "kotlin-compiler"
  },
  "maven": {
    "version": "3.8"
  },
  "java": {
    "default": "8",
    "versions": ["8", "11", "17", "21"]
  },
  "openssl": {
    "version": "1.1.1"
  },
  "pwsh": {
    "version": "7.4"
  }
}

Do you need anything else? I've just ran the build again an it fails again: ==> azure-arm.build_gallery_image: Provisioning with powershell script: /home/vsts/work/1/s/images/windows/scripts/build/Install-WindowsUpdatesAfterReboot.ps1 ==> azure-arm.build_gallery_image: Provisioning with Powershell... ==> azure-arm.build_gallery_image: Provisioning with powershell script: /home/vsts/work/1/s/images/windows/scripts/build/Install-NativeImages.ps1 azure-arm.build_gallery_image: NGen: install Microsoft.PowerShell.Utility.Activities... azure-arm.build_gallery_image: NGen: update x64 native images... azure-arm.build_gallery_image: NGen: update x86 native images... ==> azure-arm.build_gallery_image: Update of x86 native images failed with exit code -1 ==> azure-arm.build_gallery_image: At C:\Windows\Temp\script-670921d7-273d-86d5-ab94-6951a754766b.ps1:21 char:5 ==> azure-arm.build_gallery_image: + throw "Update of x86 native images failed with exit code $LASTEXI ... ==> azure-arm.build_gallery_image: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> azure-arm.build_gallery_image: + CategoryInfo : OperationStopped: (Update of x86 n...th exit code -1:String) [], RuntimeException ==> azure-arm.build_gallery_image: + FullyQualifiedErrorId : Update of x86 native images failed with exit code -1

MathijsHofkens commented 1 week ago

Hi @vidyasagarnimmagaddi could you take a look at this please? Thanks.

vidyasagarnimmagaddi commented 1 week ago

Hi @MathijsHofkens , Could you confirm which agent you are using in building image, is is micorosoft-hosted agents or self-hosted agents .?

MathijsHofkens commented 1 week ago

Hi @vidyasagarnimmagaddi Microsoft-hosted agents on Azure DevOps

vidyasagarnimmagaddi commented 1 week ago

Hi @MathijsHofkens , we are not facing any issue in our environment Screenshot is attached.

image

vidyasagarnimmagaddi commented 1 week ago

Hi @MathijsHofkens ,Kindly try the reproducing the same.thanks closing this issue.