ClearCase enhancement
Hi,
sometimes I encounter situations where a Clearcase View has a 'hanging' update when TeamCity tries to do an update.
This looks like this:
java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'BSP JBoss51 Portierung :: JBoss51 Port jarBuilder' : Error collecting changes for VCS root 'JBoss51 Port jarBuilder' java.io.IOException: cleartool: Warning: An update is already in progress for view "/users/tmx1221/user1/viewsto/jboss51Port/g_bsp_tmx1221_jarBuilder". Started by 'g_bsp@tmx1221' (process 8649) on 06/10/2011 03:09:54 PM Continue, terminating the previous update session? [no] at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:7) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:45) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:20) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:1) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java:1) at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:12) at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:27) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:71) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:43) at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:42) at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChangesForBuild(BuildChangesCollector.java:15) at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:4) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
In this situation I manual issue an update to the view and terminate the hanging update.
Could you add the 'terminate hanging update' functionality to TeamCity?
Thx and best regards
Mark
Please sign in to leave a comment.
Hi Mark
What version do you use?
We fixed some related issues in 6.5.
Michael
Hi,
sorry for replying late, I was on holiday...
This problem occurs with TC 6.5, and the server doesn't finish to collect changes from VCS, so I had to go back to TC 6.0.3.
Now I wouldn't call it an enhancement, it ius rather a bug in TemCity 6.5.
How can we proceed here?
Best regards
Mark
Hi Michael,
did you change the Clearcase update behaviour of TeamCity from Version 5.1.x to 6.0.x ???
I'm encountering trouble when I try to set a config spec during a TC-build. In Version 6.0.3 it tells me that an update is already in progress for this view..
[15:41:34]: [groovy] cleartool: Error: Unable to set config spec.
[15:41:34]: [groovy] cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem.
Best regards
Mark