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

Signature validation for AzureCosmosDbEmulator failing on 2022 build #9887

Closed
2 of 14 tasks
DevOpsAzurance opened this issue May 17, 2024 · 2 comments
Closed
2 of 14 tasks

Comments

@DevOpsAzurance
Copy link

Description

Packer build run fails with the following:

==> azure-arm.image: Provisioning with powershell script: C:/a/1/AgentPacker/images/windows/templates/../scripts/build/Install-AzureCosmosDbEmulator.ps1
    azure-arm.image: Downloading package from https://aka.ms/cosmosdb-emulator to C:\Users\packer\AppData\Local\Temp\kfrl41cd.msi...
    azure-arm.image: Package downloaded in 2.23 seconds
==> azure-arm.image: Signature status is not valid. Status: UnknownError
==> azure-arm.image: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:958 char:9
==> azure-arm.image: +         throw "Signature status is not valid. Status: $($signature.St ...
==> azure-arm.image: +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.image:     + CategoryInfo          : OperationStopped: (Signature statu...s: UnknownError:String) [], RuntimeException
==> azure-arm.image:     + FullyQualifiedErrorId : Signature status is not valid. Status: UnknownError
==> azure-arm.image:
==> azure-arm.image: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]
==> azure-arm.image: Step "StepProvision" failed, aborting...

I am using the main branch for the build:

WARNING: Building using main branch
Cloning into 'C:\a\1\AgentPacker'...
main
WARNING:  Branch:  main
WARNING:  SHA:     4abf97ab13928c4731cb243a72225c55436832fc

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Current agent version: '3.238.0'
Current image version: '1.0.2'

Is it regression?

NA

Expected behavior

Runs the thumbprint verification successfully.

Actual behavior

Fails to validate installer of CosmosDB.

Repro steps

packer build run on the Windows 2022 template.

@erik-bershel
Copy link
Contributor

Hey @DevOpsAzurance!

It's in progress here: #9875

@mikhailkoliada
Copy link
Contributor

fixed, please sync your main.

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

No branches or pull requests

3 participants