Failure to install go: Command failed: install-tool golang 1.21.10 #28966
-
What would you like help with?I think I found a bug How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.37.353.0 Please tell us more about your question or problemI started to get artifact errors, like this:
It was working before... Logs (if relevant)Logs
If I use the container that renovate is using and try to do the install command:
Notice that I'm installing v1.21.10, and it seems to do so, but then for some reason, it is proceeding to install v1.22.2, and that is where it is failing:
I don't know why it decides to install a different version after the first. If I do the same thing, but I do not set GOSUBDB=off, then it compiles, without problems:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Are you running on a regular internet connection or some type of corporate connection which can have proxies, custom certificates, own GOPROXY, etc? |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. To get started, please read our guide on creating a minimal reproduction. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
If I run If I run against a fork of your repo I get:
I assume it must be because of this line: https://github.com/micah/rdsys/blob/e6c8222bb896780c9331fcc5e58d1118c0b65f2d/go.mod#L5 Which means the error is due to your manual constraints setting. Could you describe more on why you have that? |
Beta Was this translation helpful? Give feedback.
If I run
docker run --rm -it ghcr.io/containerbase/sidecar:10.6.6 bash
and theninstall-tool golang 1.21.9
orinstall-tool golang 1.21.10
then it completes successfully.If I run against a fork of your repo I get: