Patch was finished unexpectedly => Git

We're getting the following error.  It seems the first build works but then start seeing these.  I'm wonder if memory is maybe an issue.  I've since set the memory options to the recommended (-Xmx4g -XX:MaxPermSize=270m.. it's a Linux EC2 instance using a 64-bit JVM) and will see if it helps.  But in the meantime, do you have any other ideas what might have caused these?

[14:28:46]Updating sources: server side checkout (31s)
[14:28:46][Updating sources] Using vcs information from server. Reason: no revision information for buildtype mw5 master and checkout directory D:\BuildAgent\work\565c4f91e7e75344 on agent
[14:28:47][Updating sources] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[14:28:47][Updating sources] Building and caching clean patch for VCS root: github.dowjones.net
[14:29:10][Updating sources] Transferring cached clean patch for VCS root: github.dowjones.net
[14:29:17][Updating sources] Failed to build patch for build #6458 {build id=26214}, VCS root: "github.dowjones.net" {instance id=632, parent internal id=62, parent id=github_dowjones_net, description: "https://github.dowjones.net/MarketWatch/mw5.git#master"}, due to error: Cannot build patch: ClientAbortException:  java.io.IOException: Connection reset by peer
[14:29:17][Updating sources] Repository sources transferred: 97.9 MB total
[14:29:18]Will repeat attempt when server will be available, number of attempts left: 2
[14:29:28]Updating sources: server side checkout (6s)
[14:29:28][Updating sources] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[14:29:28][Updating sources] Transferring cached clean patch for VCS root: github.dowjones.net
[14:29:34][Updating sources] Failed to build patch for build #6458 {build id=26214}, VCS root: "github.dowjones.net" {instance id=632, parent internal id=62, parent id=github_dowjones_net, description: "https://github.dowjones.net/MarketWatch/mw5.git#master"}, due to error: Cannot build patch: ClientAbortException:  java.io.IOException: Connection reset by peer
[14:29:34][Updating sources] Repository sources transferred: 103.12 MB total
[14:29:34]Will repeat attempt when server will be available, number of attempts left: 1
[14:29:44]Updating sources: server side checkout (7s)
[14:29:44][Updating sources] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[14:29:44][Updating sources] Transferring cached clean patch for VCS root: github.dowjones.net
[14:29:50][Updating sources] Failed to build patch for build #6458 {build id=26214}, VCS root: "github.dowjones.net" {instance id=632, parent internal id=62, parent id=github_dowjones_net, description: "https://github.dowjones.net/MarketWatch/mw5.git#master"}, due to error: Cannot build patch: ClientAbortException:  java.io.IOException: Broken pipe
[14:29:50][Updating sources] Repository sources transferred: 96.09 MB total
[14:29:51]Patch was finished unexpectedly, can be found in file: D:\BuildAgent\temp\globalTmp\temp5829483803892262883patch_26214
[14:29:51]jetbrains.buildServer.RunBuildException
[14:29:52]jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Patch was finished unexpectedly, probably it was broken when downloaded from server      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:118)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:104)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:69)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:71)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:60)      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.BuildRunAction.doStages(BuildRunAction.java:70)      at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:265)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:52)      at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:231)      at java.lang.Thread.run(Thread.java:744) Caused by: java.io.EOFException      at java.io.DataInputStream.readByte(DataInputStream.java:267)      at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readAction(LowLevelPatcher.java:29)      at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readPatchStream(LowLevelPatcher.java:98)      at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:88)      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:88)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:98)
2 comments
Comment actions Permalink

Changing those options did not fix anything.  Oddly, for the project in question, there's a master and a deploy branch.  The master branch appears to build but the deploy branch doesn't build at all.  I really need to get that fixed but I'm not sure where to start!!

Thanks,
tim

0
Comment actions Permalink

Ugh, nevermind.  The system volume was completely filled up!  Moved it to a bigger volume and now everything is happy.

0

Please sign in to leave a comment.