-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Affects Version/s: 9.2.14, 10.1.0, 9.6.8, 10.0.3
-
Component/s: Custom builds
-
None
-
2
-
Severity 2 - Major
-
11
Issue Summary
This is reproducible on Data Center: Yes
Steps to Reproduce
From Bitbucket
- Create an LFS repo in Bitbucket and enable LFS option
- Perform the git clone in your local environment and Initialize,
- create a file
- LFS Track the file
- perform git add, commit, and push the file
- Now edit the files and create multiple commits
From Bamboo using Remote Agent
- Link the repository and enable the LFS option
- Create a plan and add the linked repo
- Create a source checkout task
- Run the Normal Build. - It should be successful
- Now pick the previous revision from Bitbucket -> repo -> commits
- Run the Custom build from Bamboo
Expected Results
- The Build should succeed
Actual Results
- The custom build fails with the smudge error.
The below exception is thrown in the build.log file:
15-Nov-2024 00:36:11 /usr/bin/git checkout -f 2b7c19b1688b7456245e35759588918e7349cc82 15-Nov-2024 00:36:11 Downloading data_new.bin (131 MB) 15-Nov-2024 00:36:11 Error downloading object: data_new.bin (094d72c): Smudge error: Error downloading data_new.bin (094d72c18166c3df0e6c44d17b1c03c1e6aca1d20df99980773228e6bb2fd526): Error transferring "094d72c18166c3df0e6c44d17b1c03c1e6aca1d20df99980773228e6bb2fd526": [0] remote missing object 094d72c18166c3df0e6c44d17b1c03c1e6aca1d20df99980773228e6bb2fd526 15-Nov-2024 00:36:11 15-Nov-2024 00:36:11 Errors logged to /home/ubuntu/bamboo-remote-agent/xml-data/build-dir/SET-GLSD-JOB1/.git/lfs/logs/20241115T003611.306284896.log 15-Nov-2024 00:36:11 Use `git lfs logs last` to view the log. 15-Nov-2024 00:36:11 error: external filter 'git-lfs filter-process' failed 15-Nov-2024 00:36:11 error: external filter 'git-lfs filter-process' is not available anymore although not all paths have been filtered
Workaround
Modify the repository settings and enable "Fetch whole repository" under Advanced settings.