Bitrise Build Issue Report template
Unity Android builds keep failing with “no disc space left”
Description of the issue
The issue is pretty strange one. A while ago, week or a little bit more, everything was going smoothly. One day all Unity Android builds started to fail. With no major (not even minor) changes to project. We have different messages:
“no space left on device”
“There is not enough space available on “Untitled” to install the software. An additional 2 GB is required.”
Never seen those before.
I’ve tried different ways to optimize our project, but the cache is pretty big one - about 3.5 GB. Does anyone know what happened? Are there any new limits to Bitrise infrastructure regarding disc space? There is no info about it in machine specifications.
I’m helpless now…
(btw iOS builds run smoothly as always)
Environment:
Visual Studio for Mac, Stable Channel
Unity 2019.1.1f1
Which build Step causes the issue and which version of the step?
Different steps: installing Unity, pushing cache, building project.
Reproducibility
Can’ tell if it happens to anyone else. I’ve turn on support access already, but no info till now.
To sum up, fails every time. Started a week ago. All steps are in the newest version. Cache was completely rebuilt.
Build log
Oct 18 08:05:00 installer[13037] <Info>: Starting installation:
Oct 18 08:05:00 installer[13037] <Notice>: Configuring volume "Untitled"
Oct 18 08:05:00 installer[13037] <Info>: Preparing disk for local booted install.
Oct 18 08:05:00 installer[13037] <Notice>: Free space on "Untitled": 1.4 GB (1398001664 bytes).
Oct 18 08:05:00 installer[13037] <Notice>: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.13037Rctjln"
Oct 18 08:05:00 installer[13037] <Notice>: IFPKInstallElement (1 packages)
Oct 18 08:05:00 installer[13037] <Error>: Failed install preflight: Error Domain=PKInstallErrorDomain Code=107 "There is not enough space available on “Untitled” to install the software. An additional 2 GB is required." UserInfo={NSLocalizedDescription=There is not enough space available on “Untitled” to install the software. An additional 2 GB is required., NSURLVolumeURLKey=file:///}
Oct 18 08:05:00 installer[13037] <Error>: Install failed.
Another one
Checking for file changes
Previous cache is invalid, new cache will be generated:
95 files needs to be removed
840 files has changed
5594 files added
File changes found in 29.845978ms
Generating cache archive
Failed to populate archive: failed to copy, error: write /tmp/cache-archive.tar: no space left on device, file: /Users/vagrant/git/unity/Library/metadata/f3/f39525545e8c940c59a5d96411e4ef77, size: 192168 for header: &{48 /Users/vagrant/git/unity/Library/metadata/f3/f39525545e8c940c59a5d96411e4ef77 192168 420 501 20 vagrant staff 2019-10-11 12:56:27 +0000 UTC 2019-10-11 13:36:24.328671907 +0000 UTC 2019-10-11 13:11:32.742404633 +0000 UTC 0 0 map[] map[] <unknown>}