Builds immediately fail with error "git: executable file not found"

Bitrise Build Issue Report template

Description of the issue

All builds immediately fail with exec "git": executable file not found in $PATH and exec "rsync": executable file not found in $PATH, even though these executables should exist in the selected stack. This is a new issue starting Jan 22.

Nothing changed on our end before these errors began to occur.

Environment:

Where did the issue happen?

Build made on Bitrise.io.

Stack: Hybrid, Stable stack. Repros on Hybrid, Beta and Previous Hybrid stacks.

Which build Step causes the issue and which version of the step?

Steps fail to clone because git and rsync are not found.

Reproducibility

  • Does a β€œRebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the β€œRebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO, deleting all caches had zero effect
  • Does the issue happen sporadically, or every time? : Every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : On the morning of Jan 22, 2019, Pacific time.

Build log

Agent version:	0.6.3
Start time:	2019-01-22T21:25:54Z
$ bitrise "run" "--config" "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise-agent609771416/bitrise.yml" "--inventory" "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise-agent609771416/bitrise.secrets.yml" "--json-params-base64" "eyJ3b3JrZmxvdyI6InByIn0="
  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•
  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•
  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
  β•šβ•β•β•β•β•β• β•šβ•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•
  version: 1.26.0
INFO[13:25:54] bitrise runs in Secret Filtering mode 
INFO[13:25:54] bitrise runs in PR mode           
INFO[13:25:54] bitrise runs in CI mode           
INFO[13:25:54] Running workflows: _setup --> pr --> _ios-e2e-tests 
Switching to workflow: _setup
INFO[13:25:56] Step uses latest version -- Updating StepLib ... 
INFO[13:25:56] Update StepLib (https://github.com/bitrise-io/bitrise-steplib.git)... 
FATA[13:26:02] Failed to update StepLib (https://github.com/bitrise-io/bitrise-steplib.git), error: failed to pull library (https://github.com/bitrise-io/bitrise-steplib.git), error: exec: "git": executable file not found in $PATH 
WARN[13:26:02] Step uses latest version, but failed to update StepLib, err: exit status 1 
FATA[13:26:02] Failed to copy step, error: exec: "rsync": executable file not found in $PATH 

This issue appeared to resolve itself this morning. Builds are now working again, after no change on our end.

Hi @johnjensenish-weconn!

That’s correct, the website was rolled back.

Sorry for the inconvenience this caused, you shouldn’t experience this issue anymore in the future, but please let us know if something’s off.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.