Closed victorosmov closed 9 months ago
Additional log with System.Debug
set to true:
2023-09-11T12:54:12.8316544Z ##[debug]which '/usr/bin/git'
2023-09-11T12:54:12.8317881Z ##[debug]Unexpected error attempting to determine if executable file exists '/usr/bin/git': TypeError: path must be a string or Buffer
2023-09-11T12:54:12.8319037Z ##[debug]not found
2023-09-11T12:54:12.8358395Z ##[error]Error: Unable to locate executable file: '/usr/bin/git'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2023-09-11T12:54:12.8372310Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Unable to locate executable file: '/usr/bin/git'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2023-09-11T12:54:12.8374214Z ##[debug]task result: Failed
2023-09-11T12:54:12.8376917Z ##[error]Error: Unable to locate executable file: '/usr/bin/git'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2023-09-11T12:54:12.8378757Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Unable to locate executable file: '/usr/bin/git'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2023-09-11T12:54:12.8383274Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Unable to locate executable file: '/usr/bin/git'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
@victorosmov @shamil-mubarakshin thanks for reporting. version 15.228.1 will fix this issue which is out now. Please rerun and confirm back.
If you don't mind, please share the complete debug logs of version 15.228.0 to v-mohithgc @microsoft.com
This issue is now resolved. V228.1 will be containing the fix. Feel free to reopen this issue if needed.
@victorosmov @shamil-mubarakshin, we are planning to release a new version of Download Artifacts - External TFS Git, on Tuesday (12-12-2023) which contains few minor improvements, can you please run the pipeline and let us know if anything unusual found?
Thanks
After
15.226.1
->15.228.0
update,Download Artifacts - External TFS Git
execution failed with the errorUnable to locate executable file: '/usr/bin/git'
like this:/usr/bin/git
is actually present and executable.