-
Bug
-
Resolution: Answered
-
Low
-
None
-
6.4.0, 6.2.8, 6.3.2
-
3
-
Severity 3 - Minor
-
Summary
Source code checkout task throws the below error with LFS enabled GIT repositories when run on a remote agent.
error: cannot fork to run external filter error: external filter failed
Steps to Reproduce
- Dedicate a remote agent to a plan that has Source code checkout task that is tagged to a GIT LFS repository
- Make sure the option 'Enabled repository caching on remote agents' option in the respecive Linked Repository settings page is enabled.
- Run the plan
Expected Results
The plan executes successfully without any error
Actual Results
The below exception is thrown multiple times in the build log file:
simple 18-Mar-2018 01:15:09 error: cannot run : No such file or directory simple 18-Mar-2018 01:15:09 error: cannot fork to run external filter simple 18-Mar-2018 01:15:09 error: external filter failed
Workaround
Disable Cache by going to Linked Repositories -> Repo -> disable 'Enabled repository caching on remote agents'
Solution
Upgrade git to version 2.8
- has a derivative of
-
BAM-20511 Update supported git version documentation
- Closed
- relates to
-
BAM-20119 Additional protocols for caching to provide GIT LFS Support
- Gathering Interest
- is cloned as
-
BDEV-15101 Failed to load
Form Name |
---|
[BAM-19773] GIT LFS throws "cannot fork to run external filter" error when repository caching on remote agents is enabled
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 2645857 ] | New: JAC Bug Workflow v3 [ 3386201 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Description |
Original:
h3. Summary
Source code checkout task throws the below error with LFS enabled GIT repositories when run on a remote agent. {noformat:title=} error: cannot fork to run external filter error: external filter failed {noformat} h3. Steps to Reproduce # Dedicate a remote agent to a plan that has Source code checkout task that is tagged to a GIT LFS repository # Make sure the option *'Enabled repository caching on remote agents'* option in the respecive *Linked Repository* settings page is enabled. # Run the plan h3. Expected Results The plan executes successfully without any error h3. Actual Results The below exception is thrown multiple times in the build log file: {noformat} simple 18-Mar-2018 01:15:09 error: cannot run : No such file or directory simple 18-Mar-2018 01:15:09 error: cannot fork to run external filter simple 18-Mar-2018 01:15:09 error: external filter failed {noformat} h3.Workaround Disable Cache by going to *Linked Repositories -> Repo -> disable 'Enabled repository caching on remote agents'* |
New:
h3. Summary
Source code checkout task throws the below error with LFS enabled GIT repositories when run on a remote agent. {noformat} error: cannot fork to run external filter error: external filter failed {noformat} h3. Steps to Reproduce # Dedicate a remote agent to a plan that has Source code checkout task that is tagged to a GIT LFS repository # Make sure the option *'Enabled repository caching on remote agents'* option in the respecive *Linked Repository* settings page is enabled. # Run the plan h3. Expected Results The plan executes successfully without any error h3. Actual Results The below exception is thrown multiple times in the build log file: {noformat} simple 18-Mar-2018 01:15:09 error: cannot run : No such file or directory simple 18-Mar-2018 01:15:09 error: cannot fork to run external filter simple 18-Mar-2018 01:15:09 error: external filter failed {noformat} h3. Workaround Disable Cache by going to *Linked Repositories -> Repo -> disable 'Enabled repository caching on remote agents'* h3. Solution Upgrade git to version 2.8 |
Resolution | New: Answered [ 9 ] | |
Status | Original: Needs Triage [ 10030 ] | New: Resolved [ 5 ] |
Resolution | Original: Cannot Reproduce [ 5 ] | |
Status | Original: Resolved [ 5 ] | New: Needs Triage [ 10030 ] |
Priority | Original: Medium [ 3 ] | New: Low [ 4 ] |
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Priority | Original: Low [ 4 ] | New: Medium [ 3 ] |
Remote Link | New: This issue links to "BDEV-15101 (Jira)" [ 405376 ] |