GIT-LFS custom build failing with Smudge error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 9.6.9, 10.1.1
    • 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

      1. Create an LFS repo in Bitbucket and enable LFS option
      2. Perform the git clone in your local environment and Initialize,
      3. create a file
      4. LFS Track the file 
      5. perform git add, commit, and push the file
      6. Now edit the files and create multiple commits 

      From Bamboo using Remote Agent

      1. Link the repository and enable the LFS option
      2. Create a plan and add the linked repo
      3. Create a source checkout task
      4. Run the Normal Build. - It should be successful
      5. Now pick the previous revision from Bitbucket -> repo -> commits
      6. 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.

            Assignee:
            Eduardo Alvarenga (Inactive)
            Reporter:
            Santhosh Thokur Raghava
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: