TeamCity reporting that it’s out of diskspace

I installed TeamCity on a server (just the professional edition).

The server was installed under D:\TeamCity, with it’s (only) agent under D:\TeamCity\buildAgent.

I then started creating a project. At one point I modified the VSC Checkout rules, and then stuff went downhill.

First of all, a VSC root is not under some sort of revision control like build configurations, which is a pain in the *** to track your changes. Even the Checkout rules aren’t (which are build configuration specific).

Anyway, this was the error:

Free disk space requirement
[18:18:07][Free disk space requirement] Removing files to meet 3.0Gb of free disk space required for directory D:\TeamCity\buildAgent\work\cc94054af2903311 (only 0.0b is free now).
[18:18:07][Free disk space requirement] Removing files to meet 3.0Gb of free disk space required for directory D:\TeamCity\buildAgent\temp (only 12.7Gb is free now).
[18:18:07][Free disk space requirement] Free disk space requirement of 3.0Gb could not be met for directory D:\TeamCity\buildAgent\work\cc94054af2903311 (only 0.0b is free)
[18:18:07][Free disk space requirement] Free disk space requirement of 3.0Gb could not be met for directory D:\TeamCity\buildAgent\temp (only 12.7Gb is free)

Weird errors, because the disk actually had >3.0GB free (not 3.0Gb, that’s a typo on their side).

I checked all the disks, maybe it tried to write to the C: for temp files, but that one had enough space too.

Upon further investigation I saw I made a typo in the Checkout rules of a particular VCS root which caused the fail:

I set the rule like this:

+:Foo=Bar

As you can see, it misses the >

So the correct one should be

+:Foo=>Bar

It’s very annoying they don’t have error checking for that.

Have a good one,

-Kristof

This entry was posted in Programming, TeamCity. Bookmark the permalink.
  • Alex Maslov

    Thank you for this tiny little gotcha mate, saved me loads of time.

  • Bill

    Thank you Kristof. I was able to point the finger at my developer.