nikhilhs Posted January 17, 2012 Report Share Posted January 17, 2012 I've moved some files around in PlasticSCM. Now TeamCity/Plastic keeps trying to download files that are no longer there. The Temp folder was deleted. I'm using Plastic 3.0.187.30. I get the following error message: [23:52:18]: Patch is broken, can be found in file: C:\TeamCity\buildAgent\temp\cache\temp6574739686776698035patch_67 [23:52:18]: Failed to build patch for build #0.0.64 {build id=67}, VCS root: repository "sod" path "/" branch "/main" checkout "/main" {instance id=1, parent id=1}, due to error: Error getting file contents: The specified revision was not found C:\Users\nick\.BuildServer\system\caches\plasticscm\plasticscm_-6479615514438447346\Temp#cs:113@rep:sod@repserver:localhost:8084;C:\TeamCity\temp\plasticscm1205538948321945198catresult\Temp jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors, will try again. at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:113) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:103) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:64) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:70) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:62) 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:29) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:76) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:36) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:65) at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:52) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:245) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:50) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:218) at java.lang.Thread.run(Unknown Source) Caused by: jetbrains.buildServer.vcs.patches.UnsuccessfulPatchException: Failed to build patch for build #0.0.64 {build id=67}, VCS root: repository "sod" path "/" branch "/main" checkout "/main" {instance id=1, parent id=1}, due to error: Error getting file contents: The specified revision was not found C:\Users\nick\.BuildServer\system\caches\plasticscm\plasticscm_-6479615514438447346\Temp#cs:113@rep:sod@repserver:localhost:8084;C:\TeamCity\temp\plasticscm1205538948321945198catresult\Temp at jetbrains.buildServer.vcs.patches.AbstractPatcher$1.fail(AbstractPatcher.java:93) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readPatchStream(LowLevelPatcher.java:156) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:79) 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:83) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:93) ... 18 more Link to comment Share on other sites More sharing options...
manu Posted January 17, 2012 Report Share Posted January 17, 2012 Hi , Can you try to create a new PlasticSCM workspace and perform and update operation with the following selector rule: path "/" branch "/main" checkout "/main" Tell me if it works or not. Link to comment Share on other sites More sharing options...
nikhilhs Posted January 17, 2012 Author Report Share Posted January 17, 2012 I gave up and moved to 4.0. That has its own problems that I've posted in the general plastic scm forum. I may come back to this if I can't get 4.0 to work. Link to comment Share on other sites More sharing options...
manu Posted January 17, 2012 Report Share Posted January 17, 2012 Ok, Feel free to ask if you need more info. Manu. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.