Bitrise Build Issue Report template
Description of the issue
Building the React Native Module with Android is giving a ENOSPC error on Android & Docker Ubuntu 16.04 stack. Happening only when running on Bitrise, but not locally!
Where did the issue happen?
Which build Step causes the issue and which version of the step?
E.g.: Git Clone v3.6.0
- 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) : YES/NO
Does a rebuild without caches help? (You can remove the
Cache:Pushsteps temporarily to not to use the cache, or you can delete all the caches on the
Settingstab of the app. : YES/NO
- Does the issue happen sporadically, or every time? :
- Does upgrading the build Step to the latest version help? : YES/NO
- When did the issue start? :
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
Local reproduction: Linux / Android (docker based) stack builds
Can it be reproduced by running the build locally, after doing a new git clone of the repository into the
/tmp directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/ .
Compiling react for debug build…
Error: watch /bitrise/src/GametimeAndroid/gt-react-native/node_modules/npm/node_modules/libcipm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/node_modules/encoding ENOSPC
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at NodeWatcher.watchdir (/bitrise/src/GametimeAndroid/gt-react-native/node_modules/metro/node_modules/sane/src/node_watcher.js:159:22)
at Walker. (/bitrise/src/GametimeAndroid/gt-react-native/node_modules/metro/node_modules/sane/src/common.js:109:31)
at emitTwo (events.js:126:13)
at Walker.emit (events.js:214:7)
at go$readdir$cb (/bitrise/src/GametimeAndroid/gt-react-native/node_modules/graceful-fs/graceful-fs.js:149:14)
at FSReqWrap.oncomplete (fs.js:135:15)
Task :App:assembleDebugReact FAILED
FAILURE: Build failed with an exception.
Build file ‘/bitrise/src/GametimeAndroid/App/build.gradle’ line: 391