Skip to content

Image build failure #12003

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

Open
2 of 15 tasks
jaswant-dnv opened this issue Apr 12, 2025 · 1 comment
Open
2 of 15 tasks

Image build failure #12003

jaswant-dnv opened this issue Apr 12, 2025 · 1 comment

Comments

@jaswant-dnv
Copy link

Description

Image build failure with message(same issue with windows build as well)

##[debug] . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
GenerateResourcesAndImage : A parameter cannot be found that matches parameter name 'Force'.
At /agent/_work/_temp/azureclitaskscript1744449493276_inlinescript.ps1:23 char:27

  • GenerateResourcesAndImage @CreateImageParams
  •                       ~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : InvalidArgument: (:) [GenerateResourcesAndImage], ParentContainsErrorRecordException
  • FullyQualifiedErrorId : NamedParameterNotFound,GenerateResourcesAndImage

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 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

20250406.1.0

Is it regression?

NA

Expected behavior

image build success

Actual behavior

##[debug] . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . '/agent/_work/_temp/azureclitaskscript1744449493277.ps1'
GenerateResourcesAndImage : A parameter cannot be found that matches parameter name 'Force'.
At /agent/_work/_temp/azureclitaskscript1744449493276_inlinescript.ps1:23 char:27

  • GenerateResourcesAndImage @CreateImageParams
  •                       ~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : InvalidArgument: (:) [GenerateResourcesAndImage], ParentContainsErrorRecordException
  • FullyQualifiedErrorId : NamedParameterNotFound,GenerateResourcesAndImage

Repro steps

Rerun pipeline

@Prabhatkumar59
Copy link
Contributor

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

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

2 participants