Git submodules trouble

hi
I have problem, last build of TeamCity 6.0 fail while collection change for git repo which has submodules. So TeamCity say something like this :

java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'liinc :: build-debug' : Error collecting changes for VCS root 'liinc' Collecting changes failed:  org.eclipse.jgit.errors.MissingObjectException: Missing tree c6f580105d8699a222cf4a3099336616135d4fc7 java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'liinc :: build-debug' : Error collecting changes for VCS root 'liinc' Collecting changes failed:  org.eclipse.jgit.errors.MissingObjectException: Missing tree c6f580105d8699a222cf4a3099336616135d4fc7      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)      at java.util.concurrent.FutureTask.get(FutureTask.java:111)      at jetbrains.buildServer.serverSide.impl.CancelableTaskHolder.waitForTaskToComplete(CancelableTaskHolder.java:7)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.doCollectChanges(TopBuildDependencyGraphImpl.java:89)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.access$000(TopBuildDependencyGraphImpl.java:62)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java:2)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$3.run(TopBuildDependencyGraphImpl.java)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl$4.run(TopBuildDependencyGraphImpl.java)      at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAs(SecurityContextImpl.java:24)      at jetbrains.buildServer.serverSide.impl.auth.SecurityContextImpl.runAsSystem(SecurityContextImpl.java:27)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.runAsSystem(TopBuildDependencyGraphImpl.java:46)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:72)      at jetbrains.buildServer.serverSide.impl.dependency.TopBuildDependencyGraphImpl.collectChangesForGraph(TopBuildDependencyGraphImpl.java:50)      at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChangesForBuild(BuildChangesCollector.java:4)      at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:31)      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)      at java.util.concurrent.FutureTask.run(FutureTask.java:166)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)      at java.lang.Thread.run(Thread.java:636)


I'm looking for that "missing tree" and find it in submodule. So it's looks like TeamCity trying to find it in main repo and certainly can't find it there.
ps I'm find it on TeamCity server clone of repo, so it's pull all last changes from repos and actually "has" that tree


Is it possible do disable recursive collecting change in submodules? imho that features makes more problems that solve. I thing if teamCity will show than submodule change without information about what files were changed will be enough ( like when submodules ignored in VCS Root)

1 comment

Hello Oleksiy,

it might be this problem, and it is fixed in last EAP (build 15673).
If a problem is still there, please provide a teamcity-vcs logs.

Thanks!

0

Please sign in to leave a comment.