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] agent development environment container can't run inv setup #31899

Open
jackgopack4 opened this issue Dec 9, 2024 · 1 comment
Open

Comments

@jackgopack4
Copy link
Contributor

Agent Environment
"name": "Datadog-Agent-DevEnv",
"image": "registry.ddbuild.io/ci/datadog-agent-devenv:1-arm64"

Describe what happened:

inv setup fails when trying to install tools;

Installing go tools...
# internal/goos
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# unicode
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/godebugs
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/goexperiment
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/goarch
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/race
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/itoa
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/coverage/rtcov
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# math/bits
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# unicode/utf16
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# log/internal
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/unsafeheader
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# cmp
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# encoding
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# runtime/internal/syscall
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# internal/cpu
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# sync/atomic
compile: version "go1.22.8" does not match go tool version "go1.23.3"
# unicode/utf8
compile: version "go1.22.8" does not match go tool version "go1.23.3"
[1 / 3] Failed running command `go install github.com/frapposelli/wwhrd`, retrying in 10 seconds

Describe what you expected:
tools install successfully so that linter, pre-commit, etc. all works

Steps to reproduce the issue:
boot up agent devenv devcontainer, run inv setup
or, run go install github.com/frapposelli/wwhrd

Additional environment details (Operating System, Cloud provider, etc):

@jackgopack4
Copy link
Contributor Author

@DataDog/agent-devx-infra @DataDog/agent-developer-tools

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

1 participant