Pipeline Repo Submodule LFS access error

Dan January 23, 2025

Hi,

I have a repo that has a submodule from the same Bitbucket project. When cloning onto my PC, I can initialise and update the submodule without issue. All LFS files are successfully downloaded.

When trying to do this within a pipeline, it fails:

Cloning into '/opt/atlassian/pipelines/agent/build/tools'...

Downloading container/tool.tar.gz (486 MB)

Error downloading object: container/tool.tar.gz (1234): Smudge error: Error downloading container/tool.tar.gz (abcdefg12345): batch response: Authorization error: https://bitbucket.org/XXXX/info/lfs/objects/batch

Check that you have proper access to the repository

There are other none LFS submodules from the same project and the pipeline can clone those without a problem.

A similar issue is described here: https://confluence.atlassian.com/bitbucketserverkb/smudge-error-occurs-when-performing-git-operations-when-using-token-authentication-with-bitbucket-server-or-data-center-1189791625.html
but that relates to the Data Centre platform, not Cloud.

Adding lfs: true to the yaml file made no difference.

 

Why does the cloud pipeline have this problem?

 

1 answer

1 accepted

0 votes
Answer accepted
Dan January 31, 2025

After contacting support, the following ticket was created:

https://jira.atlassian.com/browse/BCLOUD-23561

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events