Problem in build using TFS2010

Hi, I've been working with 6.5.2 of TC (soon we acquire a license), we use TFS as repository mi problem is:

we perform a merge  between two branches in TFS, the merge was successfull, but when the build is trigerred because a change in the VCS, reviewing the build log i this text below:

[16:36:41]: Checking for changes
[16:53:58]: Clearing temporary directory: E:\TCBuildAgent\temp\buildTmp
[16:53:58]: Checkout directory: E:\TCBuildAgent\work\4c96607c7e8eb179
[16:53:58]: Updating sources: server side checkout... (7m:33s)
[16:54:03]: [Updating sources: server side checkout...] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[16:54:03]: [Updating sources: server side checkout...] Transferring cached clean patch for VCS root: General Dev03
[16:54:10]: [Updating sources: server side checkout...] Building incremental patch over the cached patch
[17:01:35]: [Updating sources: server side checkout...] Failed  to build patch for build #259 {build id=1976}, VCS root: tfs:  http://dev12802:8080/tfs/CajaPaitaCore/ $/SysONE/DEV/Team  03/Dev03/Legacy {instance id=17, parent id=18}, due to error:  java.io.FileNotFoundException:  E:\Programs\TeamCity\temp\TC-TFS-514-1335996079693\WebApps\WSMovicredito\Movicredito\Bin\FrameBld.dll  (The system cannot find the file specified)
[17:01:32]: [Updating sources: server side checkout...] Transferring repository sources: 40.19Mb so far...
[17:01:32]: [Updating sources: server side checkout...] Repository sources transferred: 40.20Mb total
[17:01:32]: [Updating sources: server side checkout...] Average transfer speed: 91.07Kb per second
[17:01:32]: Will repeat attempt when server will be available, number of attempts left: 2
[17:01:42]: Updating sources: server side checkout...
[17:01:47]: [Updating sources: server side checkout...] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[17:01:47]: [Updating sources: server side checkout...] Transferring cached clean patch for VCS root: General Dev03
[17:01:59]: [Updating sources: server side checkout...] Building incremental patch over the cached patch

[17:08:56]: [Updating sources: server side checkout...] Failed  to build patch for build #259 {build id=1976}, VCS root: tfs:  http://dev12802:8080/tfs/CajaPaitaCore/ $/SysONE/DEV/Team  03/Dev03/Legacy {instance id=17, parent id=18}, due to error:  java.io.FileNotFoundException:  E:\Programs\TeamCity\temp\TC-TFS-617-1335996520243\WebApps\WSMovicredito\Movicredito\Bin\FrameBld.dll  (The system cannot find the file specified)
[17:08:52]: [Updating sources: server side checkout...] Transferring repository sources: 40.19Mb so far...
[17:08:52]: [Updating sources: server side checkout...] Repository sources transferred: 40.20Mb total
[17:08:52]: [Updating sources: server side checkout...] Average transfer speed: 95.98Kb per second
[17:08:52]: Will repeat attempt when server will be available, number of attempts left: 1

[17:09:02]: Updating sources: server side checkout...
[17:09:06]: [Updating sources: server side checkout...] Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[17:09:06]: [Updating sources: server side checkout...] Transferring cached clean patch for VCS root: General Dev03

[17:10:16]: [Updating sources: server side checkout...] Building incremental patch over the cached patch
[17:14:58]: [Updating sources: server side checkout...] Failed  to build patch for build #259 {build id=1976}, VCS root: tfs:  http://dev12802:8080/tfs/CajaPaitaCore/ $/SysONE/DEV/Team  03/Dev03/Legacy {instance id=17, parent id=18}, due to error:  java.io.FileNotFoundException:  E:\Programs\TeamCity\temp\TC-TFS-714-1335996881995\WebApps\WSMovicredito\Movicredito\Bin\FrameBld.dll  (The system cannot find the file specified)
[17:14:54]: [Updating sources: server side checkout...] Transferring repository sources: 40.19Mb so far...
[17:14:54]: [Updating sources: server side checkout...] Repository sources transferred: 40.20Mb total
[17:14:54]: [Updating sources: server side checkout...] Average transfer speed: 117.15Kb per second
[17:14:54]: Patch is broken, can be found in file: E:\TCBuildAgent\temp\cache\temp1562947422962540501patch_1976
[17:14:54]: Failed  to build patch for build #259 {build id=1976}, VCS root: tfs:  http://dev12802:8080/tfs/CajaPaitaCore/ $/SysONE/DEV/Team  03/Dev03/Legacy {instance id=17, parent id=18}, due to error:  java.io.FileNotFoundException:  E:\Programs\TeamCity\temp\TC-TFS-714-1335996881995\WebApps\WSMovicredito\Movicredito\Bin\FrameBld.dll  (The system cannot find the file specified) 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:64)      at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:51)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:246)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:49)      at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:219)      at java.lang.Thread.run(Unknown Source) Caused by: jetbrains.buildServer.vcs.patches.UnsuccessfulPatchException:  Failed to build patch for build #259 {build id=1976}, VCS root: tfs:  http://dev12802:8080/tfs/CajaPaitaCore/ $/SysONE/DEV/Team  03/Dev03/Legacy {instance id=17, parent id=18}, due to error:  java.io.FileNotFoundException:  E:\Programs\TeamCity\temp\TC-TFS-714-1335996881995\WebApps\WSMovicredito\Movicredito\Bin\FrameBld.dll  (The system cannot find the file specified)      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
[17:14:55]: Publishing internal artifacts
[17:14:55]: [Publishing internal artifacts] Sending build.finish.properties file
[17:14:55]: Build failed to start. Artifacts will not be published for this build
[17:14:59]: Build finished



this tell me that TC could'nt build the patch for the checkout repository then fail and finish the build.


we try with another branch and every thing works fine, i'm stuck with this


any idea


thanks




uZi
2 comments
Comment actions Permalink

I will update to version 7, i think this issue was already resolve in this version...

i have another issue related with http://devnet.jetbrains.net/message/5464942#5464942, but when i try in my VM Lab with the version 7, the slow problem doesn´t appear :)

now i'll upgrade to the version 7 today


thanks for this great software


uZi

0

Please sign in to leave a comment.