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

bug: Sporadic X Plugin Not Installed Errors - ASDF Install #1733

Open
markekibbe opened this issue Apr 2, 2024 · 0 comments
Open

bug: Sporadic X Plugin Not Installed Errors - ASDF Install #1733

markekibbe opened this issue Apr 2, 2024 · 0 comments
Labels

Comments

@markekibbe
Copy link

Describe the Bug

In a container on Rocky Linux as the base, I am running into failures where randomly jobs will fail with X Tool Not Installed.

Having tested literally thousands of jobs, in each batch of 100 0-3 typically will fail with this error.

I've diagnosed that it is to do with version 14.0, and downgrading to 13.1 has remedied the issue.

ASDF Info shows that tools are indeed installed, and running each tools respective version commands via CLI even shows they are enabled.

Steps to Reproduce

Install ASDF 14.0
ASDF Install multiple tools (8-10 should suffice)
Repeat several times (Matrixed 10x10 jobs is how I tested)

Expected Behaviour

ASDF Tools Should Report Installed And Found

Actual Behaviour

Failure on plugin not installed

Environment

$ asdf info
OS:
Linux runner-b1ucpblhz-project-11611-concurrent-10ndvfh 5.10.205-195.807.amzn2.x86_64 #1 SMP Tue Jan 16 18:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
GNU bash, version 5.1.8(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
BASH VERSION:
5.1.8(1)-release
ASDF VERSION:
v0.14.0-ccdd47d
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/root/.asdf
ASDF_DIR=/root/.asdf
ASDF_CONFIG_FILE=/root/.asdfrc
ASDF INSTALLED PLUGINS:
awscli                       https://github.com/MetricMike/asdf-awscli.git main 2e31396
infracost                    https://github.com/dex4er/asdf-infracost.git main 9fe8a17
shellcheck                   https://github.com/luizm/asdf-shellcheck.git master 780d78d
terraform-docs               https://github.com/looztra/asdf-terraform-docs.git master acfd01c
terraform                    https://github.com/asdf-community/asdf-hashicorp.git master 197e3ec
terragrunt                   https://github.com/ohmer/asdf-terragrunt.git main 4a6651a
tflint                       https://github.com/skyzyx/asdf-tflint.git master 37e7eb9
tfsec                        https://github.com/woneill/asdf-tfsec.git main 0433fd6
$ asdf reshim
$ asdf install
terragrunt plugin is not installed

asdf plugins affected (if relevant)

All, the failures are sporadically random. Also to note, the failures happen with any tool in .tool-versions. Re-running the job usually remedies things.

@markekibbe markekibbe added the bug label Apr 2, 2024
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