Hello,
I keep getting the following error, causing the majority of builds not to run:
Failed to build patch for build #1346 {build id=184638, buildTypeId=Setup_10GetTools}, VCS root: "eBusiness_trunk2" {instance id=342, parent internal id=90, parent id=Setup_EBusinessTrunk2, description: "svn: xxxxxx";}, due to error: org.tmatesoft.svn.core.SVNException: svn: E175002: There is not enough space on the disk svn: E175002: REPORT request failed on '/svn/Retail/!svn/vcc/default'
The SVN server and the TeamCity server are not short on space, so this is not related to a space issue on either server like the error would suggest.
Creating and changing to a new VCS Root provides a temporary fix, however the problem reemerges shortly after.
It also seems to disappear for a number of days and then reemerge.
Any ideas?
Logs:
[16:37:47]Collecting changes in 1 VCS root
[16:37:47][Collecting changes in 1 VCS root] VCS Root details
[16:37:47][VCS Root details] "eBusiness_trunk2" {instance id=342, parent internal id=90, parent id=Setup_EBusinessTrunk2, description: "svn: xxxxxx";}
[16:37:48]Clearing temporary directory: F:\BuildAgent3\temp\buildTmp
[16:37:48]Publishing internal artifacts
[16:37:48]Checkout directory: F:\BuildAgent3\work\c097196c9d89a620
[16:37:48]Updating sources: server side checkout (1m:38s)
[16:37:48][Updating sources] Using vcs information from server. Reason: no revision information for build configuration "1.0 Get Tools" and checkout directory F:\BuildAgent3\work\c097196c9d89a620 on agent
[16:37:48][Updating sources] Will perform clean checkout
[16:37:48][Updating sources] Clean checkout reasons
[16:37:48][Clean checkout reasons] Agent doesn't have any version of the project sources
[16:37:48][Clean checkout reasons] Checkout directory is empty or doesn't exist
[16:37:48][Updating sources] Building and caching clean patch for VCS root: eBusiness_trunk2
[16:39:26][Updating sources] Failed to build patch for build #1346 {build id=184638, buildTypeId=Setup_10GetTools}, VCS root: "eBusiness_trunk2" {instance id=342, parent internal id=90, parent id=Setup_EBusinessTrunk2, description: "svn: xxxxxx";}, due to error: org.tmatesoft.svn.core.SVNException: svn: E175002: There is not enough space on the disk svn: E175002: REPORT request failed on '/svn/Retail/!svn/vcc/default'
[16:39:26][Updating sources] Repository sources transferred
[16:39:26]Will repeat attempt when server will be available, number of attempts left: 2
[16:39:36]Will perform clean checkout
[16:39:36]Clean checkout reasons
[16:39:36]Updating sources: server side checkout (1m:43s)
[16:41:19]Will repeat attempt when server will be available, number of attempts left: 1
[16:41:29]Updating sources: server side checkout (1m:36s)
[16:43:06]Patch is broken, can be found in file: F:\BuildAgent3\temp\buildTmp\temp8021524079668502201patch_184638
[16:43:06]Failed to build patch for build #1346 {build id=184638, buildTypeId=Setup_10GetTools}, VCS root: "eBusiness_trunk2" {instance id=342, parent internal id=90, parent id=Setup_EBusinessTrunk2, description: "svn: xxxxxx";}, due to error: org.tmatesoft.svn.core.SVNException: svn: E175002: There is not enough space on the disk svn: E175002: REPORT request failed on '/svn/Retail/!svn/vcc/default'
[16:43:06]jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:119) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:109) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:70) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:71) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:57) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:91) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:59) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doLastAttempt(RecoverableBuildStage.java:112) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:70) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunActionImpl.doStages(BuildRunActionImpl.java:70) at jetbrains.buildServer.agent.impl.BuildRunActionImpl.runBuild(BuildRunActionImpl.java:50) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:288) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:53) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:252) at java.lang.Thread.run(Thread.java:745) Caused by: jetbrains.buildServer.vcs.patches.UnsuccessfulPatchException: Failed to build patch for build #1346 {build id=184638, buildTypeId=Setup_10GetTools}, VCS root: "eBusiness_trunk2" {instance id=342, parent internal id=90, parent id=Setup_EBusinessTrunk2, description: "svn: xxxxxx";}, due to error: org.tmatesoft.svn.core.SVNException: svn: E175002: There is not enough space on the disk svn: E175002: REPORT request failed on '/svn/Retail/!svn/vcc/default' at jetbrains.buildServer.vcs.patches.AbstractPatcher$1.fail(AbstractPatcher.java:93) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readPatchStream(LowLevelPatcher.java:181) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:104) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:42) at jetbrains.buildServer.agent.impl.patch.PatchApplierImpl.applyPatch(PatchApplierImpl.java:18) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatchInFileIsCompleted(PatchDownloaderImpl.java:89) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:99) ... 18 more
[16:43:06]Publishing internal artifacts
[16:43:06]Build failed to start. Artifacts will not be published for this build
Hi Dean,
does the TeamCity Agent (not the server) have enough disk space?
Hi Denis,
Yes the agents have enough disk space, this happens across all of our agents, all of which have more than sufficient disk space.
Hello Dean,
Please inspect TeamCity/logs/teamcity-vcs.log file - there should be an exception related to the "There is not enough space on the disk" error. Please post it here or attach teamcity-vcs.log file.
Please also double check that not only main partition but also temporary partitions on SVN server and TeamCity server have enough disk space. During the checkout on the server side, TeamCity server creates files which essentially contain the whole repository you check out.
Another thing to try is to switch from server-side checkout to agent-side checkout, this should help but the problem may re-appear in new form later.
Thanks,