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

Seeing checksum failed when installing latest terragrunt v0.58.7 release on github codespaces devcontainer #3143

Closed
1 of 2 tasks
qubitron opened this issue May 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@qubitron
Copy link

Describe the bug

When building the github codespace for this repo we're seeing a checksum failure when installing terragrunt on the latest package release:

15.21 Downloading Terragrunt...
16.25 sha256sum: WARNING: 1 computed checksum did NOT match
16.25 sha256sum: terragrunt_SHA256SUMS: no file was verified
16.25 terragrunt_linux_amd64: FAILED
16.25 ERROR: Feature "Terraform, tflint, and TFGrunt" (ghcr.io/devcontainers/features/terraform) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/terraform for help troubleshooting this error.
------

This just started happening for us a couple hours ago when the latest terragrunt package was released. We pinned the repo to use v0.58.6 and that worked around the issue but we'd like to unpin it.

Steps To Reproduce

You can try creating a new codespace on this repo to observe the behavior.

Or, on a 64-bit debian 12 linux machine, here's a minimal repro of the issue:

curl -sSL -o terragrunt_SHA256SUMS https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.7/SHA256SUMS
curl -sSL -o terragrunt_linux_amd64 https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.7/terragrunt_linux_amd64
sha256sum --ignore-missing -c terragrunt_SHA256SUMS

Output

terragrunt_linux_amd64: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
sha256sum: terragrunt_SHA256SUMS: no file was verified

Expected behavior

Checksum for package passes

Nice to haves

  • Terminal output
  • Screenshots

Versions

  • Terragrunt version: v0.58.7
  • OpenTofu/Terraform version: 1.8.3
  • Environment details (Ubuntu 20.04, Windows 10, etc.): Debian 12 (bookworm)

Additional context

The definition for the devcontainer image being built is here, it uses the terragrunt devcontainer feature defined here.

@qubitron qubitron added the bug Something isn't working label May 18, 2024
@denis256
Copy link
Member

denis256 commented May 20, 2024

Hi,
checksums match, example:

#!/bin/bash

set -x

curl -sSL -o terragrunt_SHA256SUMS https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.7/SHA256SUMS
curl -sSL -o terragrunt_linux_amd64 https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.7/terragrunt_linux_amd64
sha256sum --ignore-missing -c terragrunt_SHA256SUMS
./script.sh 
+ curl -sSL -o terragrunt_SHA256SUMS https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.7/SHA256SUMS
+ curl -sSL -o terragrunt_linux_amd64 https://github.com/gruntwork-io/terragrunt/releases/download/v0.58.7/terragrunt_linux_amd64
+ sha256sum --ignore-missing -c terragrunt_SHA256SUMS
terragrunt_linux_amd64: OK

sha256sum terragrunt_linux_amd64 
19278fa9c5539bf57407feafbbaf88fc7a778a6d3abd46ed028aa0a7992f92e1  terragrunt_linux_amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants