Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Build fails during second lfs fetch in Checkout job if the repository uses Git LFS - Log shows Git credential and password errors #2272
Having issue with Tasks?
During the Checkout job of the build process, the agent checks the Git version (2.21.0.windows.1) and the Git LFS version (2.7.1). Based on some research I've done, it seems like version 2.7.1 of Git LFS may be causing this issue. Version 2.7.2 was released a few days ago to address this but my agent still has 2.7.1 and I'm not sure how to update this specific package. Running the build on a repository with the same codebase that does not use LFS works perfectly fine, it's only when LFS is used that I receive these errors. The errors also seem to be related to credential/password issues... so if there's something else you can suggest to fix this, I'd be glad to try.
Agent Version and Platform
Version of your agent? 2.150.3
OS of the machine running the agent? Windows
Azure DevOps Type and Version
What's not working?
Here are some of the relevant lines from the Checkout Job log:
A new Windows image containing version 2.7.2 of
See this comment for more details about the deployment schedule: microsoft/azure-pipelines-image-generation#800 (comment)