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

AVD Windows10 Intermittent failing for Communicator ended with: 4294770688 #455

Open
garimakhulbe02 opened this issue Nov 26, 2024 · 0 comments
Labels

Comments

@garimakhulbe02
Copy link
Contributor

Overview of the Issue

Packer build failing for error code 4294770688 (0xFFFD0000)

[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:24 packer-provisioner-powershell plugin: [INFO] 108 bytes written for 'uploadData'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:24 [INFO] 108 bytes written for 'uploadData'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:24 packer-plugin-azure_v2.2.0_x5.0_linux_amd64 plugin: 2024/11/23 00:31:24 Uploading file to 'c:/Windows/Temp/script-6741214e-d20a-1e9a-333a-a21f90faaaca.ps1'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:31 packer-plugin-azure_v2.2.0_x5.0_linux_amd64 plugin: 2024/11/23 00:31:31 [INFO] starting remote command: powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-67412259-0659-7bfd-11e5-cf6f26b919fb.ps1"
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 packer-plugin-azure_v2.2.0_x5.0_linux_amd64 plugin: 2024/11/23 00:31:33 [INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-67412259-0659-7bfd-11e5-cf6f26b919fb.ps1"' exited with code: 4294770688
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 packer-plugin-azure_v2.2.0_x5.0_linux_amd64 plugin: 2024/11/23 00:31:33 [INFO] RPC endpoint: Communicator ended with: 4294770688
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 ui:     azure-arm: Windows PowerShell
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 [INFO] 217 bytes written for 'stderr'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 [INFO] 145 bytes written for 'stdout'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 [INFO] RPC client: Communicator ended with: 4294770688
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 [INFO] RPC endpoint: Communicator ended with: 4294770688
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 ui error: ==> azure-arm: The argument 'C:/Windows/Temp/packer-elevated-shell-67412259-0659-7bfd-11e5-cf6f26b919fb.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 packer-provisioner-powershell plugin: [INFO] 145 bytes written for 'stdout'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 packer-provisioner-powershell plugin: [INFO] 217 bytes written for 'stderr'
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 packer-provisioner-powershell plugin: [INFO] RPC client: Communicator ended with: 4294770688
[64f6f026-0959-4788-bfe8-da8ebd42ae51] PACKER 2024/11/23 00:31:33 ui:     azure-arm: Copyright (C) Microsoft Corporation. All rights reserved.

Reproduction Steps

This is intermittent failure. Currently 1 out of 7 build failing randomly on customize step. Customize steps are simple. Below is Azure Image Builder customize config.

{
      "inline": [
        "Write-Output '*** End customizer section: test5 *** '",
        "Write-Output '*** End customizer section: test5 *** '"
      ],
      "name": "test5",
      "runAsSystem": true,
      "runElevated": true,
      "scriptUri": null,
      "sha256Checksum": null,
      "type": "PowerShell",
      "validExitCodes": null
    }

Plugin and Packer version

Packer version: 1.11.2 [go1.21.12 linux amd64]
packer-plugin-azure_v2.2.0_x5.0_linux_amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant