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

Cloud Foundry CLI download endpoint now returns 404 for Windows 2019 builds #11091

Closed
2 of 15 tasks
angaaruriakhil opened this issue Dec 3, 2024 · 3 comments
Closed
2 of 15 tasks

Comments

@angaaruriakhil
Copy link

Description

When running the following script as part of a Windows 2019 build, https://github.com/actions/runner-images/blob/main/images/windows/scripts/build/Install-CloudFoundryCli.ps1, the endpoint is no longer accessible and returns a 404 not found error.

I have tried in my web browser on my personal machine as well and the endpoint no longer returns a binary.

This makes windows 2019 builds fail.

==> azure-arm.build_vhd: Provisioning with powershell script: /agent/_work/1/s/runner-images/images/windows/scripts/build/Install-CloudFoundryCli.ps1
    azure-arm.build_vhd: Downloading package from https://packages.cloudfoundry.org/stable?release=windows64-exe&source=github to C:\Users\packer\AppData\Local\Temp\stablerelease=windows64-exe&source=github...
    azure-arm.build_vhd: WARNING: Package download failed in 0.89 seconds
    azure-arm.build_vhd: WARNING: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
==> azure-arm.build_vhd: Package download failed after 0.92 seconds
    azure-arm.build_vhd: WARNING: Request returned 404 Not Found. Aborting download.
==> azure-arm.build_vhd: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:204 char:13
==> azure-arm.build_vhd: +             throw "Package download failed after $totalSeconds second ...
==> azure-arm.build_vhd: +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.build_vhd:     + CategoryInfo          : OperationStopped: (Package downloa...er 0.92 seconds:String) [], RuntimeException
==> azure-arm.build_vhd:     + FullyQualifiedErrorId : Package download failed after 0.92 seconds
==> azure-arm.build_vhd:
==> azure-arm.build_vhd: Provisioning step had errors: Running the cleanup provisioner, if present...

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 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

We are using self hosted VMSS

Is it regression?

Yes

Expected behavior

Script should download the cloud foundry exe successfully

Actual behavior

404 Not Found

Repro steps

Clone down runner-images repo and use it to run a build of Windows 2019 with Hashicorp Packer

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @angaaruriakhil
There is an open issue in the repo for the same, We will revert after analysis. regards

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @angaaruriakhil ,Earlier the version for 8.9.0 is not found,
We have tested now https://packages.cloudfoundry.org/stable?release=windows64-exe&source=github , now downloading. Could you please try at your end. and revert if any issue . thanks.

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @angaaruriakhil ,
The issue is resolved now, We are closing this issue . thanks

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