You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening an issue, this is known, as you've seen we're discussing with upstream to get that fixed (golang/go#72111), the best workaround is to export GOTOOLCHAIN=go1.23.8 env variable, it will dynamically downgrade Go to that version when running go commands (and Go 1.23 knows what tlskyber is).
Sorry for the inconvenience...
Following the build instructions for datadog-agent using Go 1.24.2 in README.md, dda inv install-tools generates the following errors:
(.venv) root@vmubuntu:/usr/local/go/src/github.com/DataDog/datadog-agent# dda inv install-tools
go: error loading go.work:
../../go.work:9: unknown godebug "tlskyber"
[1 / 3] Failed running command
go install github.com/frapposelli/wwhrd
, retrying in 10 secondsgo: error loading go.work:
../../go.work:9: unknown godebug "tlskyber"
[2 / 3] Failed running command
go install github.com/frapposelli/wwhrd
, retrying in 100 seconds^X^C
Aborted.
This appears to be related to golang/go#72111
Using Go 1.23.8 works without errors.
Agent Environment
Not applicable
Describe what happened:
When running 'dda inv install-tools' in the virtual environment, the above errors are seen.
Describe what you expected:
No errors.
Steps to reproduce the issue:
install Go 1.24.2
Clone datadog-agent repository
git clone https://github.com/DataDog/datadog-agent.git $GOPATH/src/github.com/DataDog/datadog-agent
Cloning into '/usr/local/go/src/github.com/DataDog/datadog-agent'...
remote: Enumerating objects: 572583, done.
remote: Counting objects: 100% (3558/3558), done.
remote: Compressing objects: 100% (1635/1635), done.
remote: Total 572583 (delta 2960), reused 1923 (delta 1923), pack-reused 569025 (from 4)
Receiving objects: 100% (572583/572583), 480.04 MiB | 28.57 MiB/s, done.
Resolving deltas: 100% (434703/434703), done.
Updating files: 100% (14704/14704), done.
Create virtual environment
root@vmubuntu:~# cd /usr/local/go/src/github.com/Datadog/datadog-agent
root@vmubuntu:/usr/local/go/src/github.com/DataDog/datadog-agent# python3 -mvenv .venv
root@vmubuntu:/usr/local/go/src/github.com/DataDog/datadog-agent# source .venv/bin/activate
Install dda
(.venv) root@vmubuntu:/usr/local/go/src/github.com/DataDog/datadog-agent# pip install dda
Add Go to $PATH
(.venv) root@vmubuntu:/usr/local/go/src/github.com/DataDog/datadog-agent# export PATH=$PATH:/usr/local/go/bin
Run dda inv install-tools
(.venv) root@vmubuntu:/usr/local/go/src/github.com/DataDog/datadog-agent# dda inv install-tools
go: error loading go.work:
../../go.work:9: unknown godebug "tlskyber"
[1 / 3] Failed running command
go install github.com/frapposelli/wwhrd
, retrying in 10 secondsgo: error loading go.work:
../../go.work:9: unknown godebug "tlskyber"
[2 / 3] Failed running command
go install github.com/frapposelli/wwhrd
, retrying in 100 seconds^X^C
Aborted.
The text was updated successfully, but these errors were encountered: