Renovate is unable to pull Cargo artifact over ssh in Github #26269
-
How are you running Renovate?Mend Renovate hosted app on github.com If you're self-hosting Renovate, tell us what version of Renovate you run.No response If you're self-hosting Renovate, select which platform you are using.None Was this something which used to work for you, and then stopped?It used to work, and then stopped Describe the problemHi ! Since #24704 has been merged, we could pull private crate with Renovate As it was working before, is a minimal reproduction needed? Let me know if there is something I can do Relevant debug logsLogs{
"err": {
"cmd": "/bin/sh -c cargo update --config net.git-fetch-with-cli=true --manifest-path code/rust/darty/Cargo.toml --workspace",
"stderr": "warning: virtual workspace defaulting to `resolver = \"1\"` despite one or more workspace members being on edition 2021 which implies `resolver = \"2\"`\nnote: to keep the current resolver, specify `workspace.resolver = \"1\"` in the workspace root's manifest\nnote: to use the edition 2021 resolver, specify `workspace.resolver = \"2\"` in the workspace root's manifest\nnote: for more details see https://**redacted**@github.com/pbstck/aws-lib`\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\nerror: failed to get `aws-lib` as a dependency of package `turbo v0.1.0 (/tmp/renovate/repos/github/pbstck/aggregation-processings/code/rust/turbo)`\n\nCaused by:\n failed to load source for dependency `aws-lib`\n\nCaused by:\n Unable to update ssh://**redacted**@github.com/pbstck/aws-lib?tag=v1.20231206.1658#5523252f\n\nCaused by:\n failed to fetch into: /home/ubuntu/.cargo/git/db/aws-lib-66fd83fbc17bc4b6\n\nCaused by:\n process didn't exit successfully: `git fetch --tags --force --update-head-ok 'ssh://**redacted**@github.com/pbstck/aws-lib' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)\n",
"stdout": "",
"options": {
"cwd": "/tmp/renovate/repos/github/pbstck/aggregation-processings",
"encoding": "utf-8",
"env": {
"HOME": "/home/ubuntu",
"PATH": "/home/ubuntu/.cargo/bin:/home/ubuntu/.local/bin:/go/bin:/home/ubuntu/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/.cargo/bin:/home/ubuntu/.local/bin:/go/bin:/home/ubuntu/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/.cargo/bin:/home/ubuntu/.local/bin:/go/bin:/home/ubuntu/bin:/home/ubuntu/.npm-global/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LC_ALL": "C.UTF-8",
"LANG": "C.UTF-8",
"CONTAINERBASE_CACHE_DIR": "/tmp/renovate/cache/containerbase"
},
"maxBuffer": 10485760,
"timeout": 900000
},
"exitCode": 101,
"name": "ExecError",
"message": "Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path code/rust/darty/Cargo.toml --workspace\nwarning: virtual workspace defaulting to `resolver = \"1\"` despite one or more workspace members being on edition 2021 which implies `resolver = \"2\"`\nnote: to keep the current resolver, specify `workspace.resolver = \"1\"` in the workspace root's manifest\nnote: to use the edition 2021 resolver, specify `workspace.resolver = \"2\"` in the workspace root's manifest\nnote: for more details see https://**redacted**@github.com/pbstck/aws-lib`\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\nerror: failed to get `aws-lib` as a dependency of package `turbo v0.1.0 (/tmp/renovate/repos/github/pbstck/aggregation-processings/code/rust/turbo)`\n\nCaused by:\n failed to load source for dependency `aws-lib`\n\nCaused by:\n Unable to update ssh://**redacted**@github.com/pbstck/aws-lib?tag=v1.20231206.1658#5523252f\n\nCaused by:\n failed to fetch into: /home/ubuntu/.cargo/git/db/aws-lib-66fd83fbc17bc4b6\n\nCaused by:\n process didn't exit successfully: `git fetch --tags --force --update-head-ok 'ssh://**redacted**@github.com/pbstck/aws-lib' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)\n",
"stack": "ExecError: Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path code/rust/darty/Cargo.toml --workspace\nwarning: virtual workspace defaulting to `resolver = \"1\"` despite one or more workspace members being on edition 2021 which implies `resolver = \"2\"`\nnote: to keep the current resolver, specify `workspace.resolver = \"1\"` in the workspace root's manifest\nnote: to use the edition 2021 resolver, specify `workspace.resolver = \"2\"` in the workspace root's manifest\nnote: for more details see https://**redacted**@github.com/pbstck/aws-lib`\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\nerror: failed to get `aws-lib` as a dependency of package `turbo v0.1.0 (/tmp/renovate/repos/github/pbstck/aggregation-processings/code/rust/turbo)`\n\nCaused by:\n failed to load source for dependency `aws-lib`\n\nCaused by:\n Unable to update ssh://**redacted**@github.com/pbstck/aws-lib?tag=v1.20231206.1658#5523252f\n\nCaused by:\n failed to fetch into: /home/ubuntu/.cargo/git/db/aws-lib-66fd83fbc17bc4b6\n\nCaused by:\n process didn't exit successfully: `git fetch --tags --force --update-head-ok 'ssh://**redacted**@github.com/pbstck/aws-lib' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)\n\n at ChildProcess.<anonymous> (/opt/containerbase/tools/renovate/37.87.2/node_modules/renovate/lib/util/exec/common.ts:99:11)\n at ChildProcess.emit (node:events:529:35)\n at ChildProcess.emit (node:domain:489:12)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)"
}
}
Have you created a minimal reproduction repository?I have explained in the description why a minimal reproduction is impossible |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hi, please format any copy/pasted code or logs so they're readable. You can find a Markdown code formatting guide here as well as some GitHub-specific information formatting code blocks here. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
The source of any change in behavior is unclear. It is highly unlikely to be related to #26224. Could you compare the "docker run" command and logs from a week ago when it worked and this week when it doesn't? I wonder if there's some change to the "git instead of" variables which would be the only way which private repos over SSH could be working. |
Beta Was this translation helpful? Give feedback.
-
I can do that In https://developer.mend.io/github/pbstck/aggregation-processings I've only access to this : However, I can't see any Command log
If needed I can share with you all the "DEBUG" log from my job |
Beta Was this translation helpful? Give feedback.
#26273