Teamcity git checkout失败:“低级补丁流已关闭”

时间:2013-11-20 22:24:12

标签: git teamcity

我正在使用teamcity服务器8.0.3(版本27540),并已设置了几个github.com项目。我添加了一个新项目,唯一的主要区别是这个受密码保护,并解决了我在根VCS设置下发出的密码和用户名。

  

但在构建过程中,我的团队日志中出现以下错误:   [2013-11-20 21:45:57,287] INFO [rmal executor 1] -
  jetbrains.buildServer.VCS - 为缓存构建干净的补丁:   根="例如" {instance id = 50,parent internal id = 50,parent   id = booking_log_ client,description:" #master"},   toVersion = 5e7db24835bbd67df8f67ef768403b2685a6d4c9,checkoutRules = +:=>   [2013-11-20 21:45:57,288] INFO [rmal executor 1] -   Triggers.vcs.git.GitVcsSupport - 在VCS root中构建补丁"示例"   {instance id = 50,parent internal id = 50,parent id = example,descrip   :#" #master"}进行修订   5e7db24835bbd67df8f67ef768403b2685a6d4c9 [2013-11-20 21:46:01,798]
  WARN [rmal executor 1] - jetbrains.buildServer.VCS - 失败   为构建#7 {build id = 6155}构建补丁,VCS root:"示例"   {instance id = 50,parent internal id = 50,parent id = example,   说明:" #master"},由于错误:不能   build patch:java.io.IOException:关闭低级补丁流   jetbrains.buildServer.vcs.VcsRootVcsException:无法构建补丁:   java.io.IOException:关闭低级补丁流           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatchForRoot(PatchComposer.java:117)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatch(PatchComposer.java:10)           at jetbrains.buildServer.serverSide.impl.BuildTypeImpl.buildPatch(BuildTypeImpl.java:335)           at jetbrains.buildServer.serverSide.impl.BuildStarter $ 2.call(BuildStarter.java:6)           在java.util.concurrent.FutureTask.run(FutureTask.java:262)           在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)           at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)           在java.lang.Thread.run(Thread.java:744)引起:jetbrains.buildServer.vcs.VcsException:无法构建补丁:   java.io.IOException:关闭低级补丁流           ... 8更多引起:java.io.IOException:关闭低级补丁流           at jetbrains.buildServer.vcs.patches.LowLevelPatchBuilderImpl.assertClosed(LowLevelPatchBuilderImpl.java:141)           at jetbrains.buildServer.vcs.patches.LowLevelPatchBuilderImpl.writePair(LowLevelPatchBuilderImpl.java:29)           at jetbrains.buildServer.vcs.patches.LowLevelPatchBuilderImpl.fail(LowLevelPatchBuilderImpl.java:40)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildCleanPatchToStream(PatchComposer.java:71)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.access $ 200(PatchComposer.java:126)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer $ 2.constructPatch(PatchComposer.java:5)           at jetbrains.buildServer.serverSide.impl.projectSources.SmallPatchCache.getCachedCleanPatch(SmallPatchCache.java:46)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchCacheImpl.requestCachedPatch(PatchCacheImpl.java:2)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.getOrMakeCacheableCleanPatch(PatchComposer.java:174)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.makeCleanPatch(PatchComposer.java:170)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.makePatch(PatchComposer.java:89)           at jetbrains.buildServer.serverSide.impl.projectSources.PatchComposer.buildPatchForRoot(PatchComposer.java:40)           ... 7更多[2013-11-20 21:46:09,922] INFO [ical executor 1] - .buildTriggers.vcs.LoadChanges - 为VCS root收集更改"示例" {instance id = 50,parent internal id = 50,parent id = example,   描述:" #master"}来自州   RepositoryStateImpl {defaultBranch =参/头/主,branchRevisions = {参/头/主:   5e7db24835bbd67df8f67ef768403b2685a6d4c9,refs / heads / staging:   c4eead312a950ea9393e689933728ec92a075c9c}}到州   RepositoryStateImpl {defaultBranch =参/头/主,branchRevisions = {参/头/主:   5e7db24835bbd67df8f67ef768403b2685a6d4c9,refs / heads / staging:   c4eead312a950ea9393e689933728ec92a075c9c}} [2013-11-20 21:46:09,928]   INFO [ical executor 1] - jetbrains.buildServer.VCS - 完成   为VCS root"示例"成功收集更改{instance id = 50,   parent internal id = 50,parent id = example,description:" #master"} from state   RepositoryStateImpl {defaultBranch =参/头/主,branchRevisions = {参/头/主:   5e7db24835bbd67df8f67ef768403b2685a6d4c9,refs / heads / staging:   c4eead312a950ea9393e689933728ec92a075c9c}}到州   RepositoryStateImpl {defaultBranch =参/头/主,branchRevisions = {参/头/主:   5e7db24835bbd67df8f67ef768403b2685a6d4c9,refs / heads / staging:   c4eead312a950ea9393e689933728ec92a075c9c}};收集0个变化0   报告的变化,花费的时间:7毫秒[2013-11-20 21:46:12,450]信息   [rmal executor 5] - jetbrains.buildServer.VCS - 请求清理   patch:root =" example" {instance id = 50,parent internal id = 50,parent   id = example,description:" #master"},   toVersion = 5e7db24835bbd67df8f67ef768403b2685a6d4c9,   checkoutRules = +:=&gt ;, cleanPatch = true,buildType = Booking Log Client ::   赢取Chrome {id = example,internal id = bt18},buildId = 6155

1 个答案:

答案 0 :(得分:2)

这实际上是TeamCity方面错误报告的情况。隐藏了人类可读错误,而是显示了“低级补丁流关闭”。此报告问题将在下一次TeamCity 8.0.6错误修正更新中fixed

目前您可以尝试使用代理端签出git(在版本控制设置下将“VCS签出模式”设置为“自动代理”,并确保在代理计算机上安装了git)。