bazelbuild / bazel-buildfarm

Bazel remote caching and execution service
https://bazel.build
Apache License 2.0
635 stars 199 forks source link

ERROR: error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @build_buildfarm~: #1770

Closed Sowmya-Iyer closed 3 weeks ago

Sowmya-Iyer commented 3 weeks ago

Tried to get the buildfarm version 2.10.0 using bzlmod.

Replicated the override instructions in the documentation and got the following error:

Error in fail: error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @build_buildfarm~:
fatal: could not read Username for 'https://github.com': No such device or address
ERROR: error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @build_buildfarm~:
fatal: could not read Username for 'https://github.com': No such device or address
jasonschroeder-sfdc commented 3 weeks ago

Hi @Sowmya-Iyer - do you have an authenticated user for github.com? Perhaps something in $HOME/.git-credentials ?

Sowmya-Iyer commented 3 weeks ago

The path is wrong in the Readme file : git_override( module_name = "build_buildfarm", commit = "", remote = "https://github.com/**bazelbuild**/bazel-buildfarm.git", )