We have builds that uses more than a half of free disk space on agent (60gb of 100). And build is failing due to lack of disk space. We configured "Free disk space" requirement on all builds. But seems that when we have two serial greedy builds the results of finished one from .old directory not removed by agent software.
Here is an example. Greedy build has finished, new one is working for several minutes. It reported in log that can not free enough disk space and started working. Here is how disk usage looks:
$ du -h -d1 buildAgent/work/
And thats how in look inside .old:
$ du -h -d1 buildAgent/work/.old/
Is it a bug or thats how it should be?