How to disable automatic collecting changes?

Hi

We have parameterized VCS root
svn://subversion/ab/JF/tags/%env.VER%
and TeamCity of course fails when trying to get changes from it

so is the subject possible?

(TeamCity Enterprise 6.5 EAP (build 17521))

3 comments
Comment actions Permalink

Hi Dmitry

The change collection cannot be disabled.
But there may be other ways to solve your issue. Could tou tell more about the scenario - what kind of build do you need to setup, and how are you going to use it?

Thanks
Michael

0
Comment actions Permalink

the scenario is pretty simple - to use single build configuration to build different svn tags
svn tag is specified with the env.VER parameter
default value for the env.VER has been set incorrectly: "env.VER-must-be-set-to-the-correct-tag-name"
it was done specially in order to be able to run only parameterized builds with correct env.VER

so TeamCity fails when trying to collect changes

even more - TC fails from time to time even when build is run with correct env.VER
and I suspect the reason may be the same - collecting changes error

this is an "overview" tab of such failed build (i.e. /viewLog.html?buildId=302&buildTypeId=bt20&tab=buildResultsDiv)

---------------------------------------------------------------------------------------------------
Logo

    Projects

    My Changes

    Agents (2)

    Build Queue (0)

Welcome, dbolshakov

Administration
Run custom build
Build Actions
Edit Configuration Settings

    AB32
    Build-Tag-Whole-AB-Multistep
    #19 (24 Jun 11 05:57)

    Overview

    Changes (0)

    Build Log

    Build Parameters

« #18     

    All history    

Last recorded build
Result:     Unable to collect changes     Agent:     Us-tc-ab32-ba1
Time:     24 Jun 11 05:57:47 - 05:57:48 (< 1s)     Triggered by:     you on 24 Jun 11 05:57
Build errors

[05:57:48]: Unable to collect changes java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'AB32 :: Build-Tag-Whole-AB-Multistep' : Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
     at java.util.concurrent.FutureTask.get(Unknown Source)
     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(Unknown Source)
     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
     at java.util.concurrent.FutureTask.run(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'AB32 :: Build-Tag-Whole-AB-Multistep' : Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.reThrowProblemException(BuildChangesLoaderContext.java:41)
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.access$1100(BuildChangesLoaderContext.java:38)
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkNoProblemsInMyBuildTypes(BuildChangesLoaderContext.java:135)
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkingForChangesFinished(BuildChangesLoaderContext.java:42)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:7)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:3)
         ... 5 more
Caused by: jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection$AddChangesProcessor.getEntries(SvnConnection.java:1220)
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection$AddChangesProcessor.collect(SvnConnection.java:986)
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.addChanges(SvnConnection.java:205)
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.collectChanges(SvnSupport.java:526)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader$1.collectBuildChanges(VcsChangesLoader.java:1)
     at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:54)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesByIncludeRules(VcsChangesLoader.java:155)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:159)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:152)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForCheckoutRules(VcsChangesLoader.java:105)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:88)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader._loadChangesForRoot(VcsChangesLoader.java:137)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:12)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:112)
     at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:108)
     at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:10)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:2)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:1)
         ... 5 more
         
[05:57:48]: java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'AB32 :: Build-Tag-Whole-AB-Multistep' : Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'AB32 :: Build-Tag-Whole-AB-Multistep' : Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
     at java.util.concurrent.FutureTask.get(Unknown Source)
     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(Unknown Source)
     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
     at java.util.concurrent.FutureTask.run(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'AB32 :: Build-Tag-Whole-AB-Multistep' : Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.reThrowProblemException(BuildChangesLoaderContext.java:41)
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext$BuildTypeCollectorResult.access$1100(BuildChangesLoaderContext.java:38)
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkNoProblemsInMyBuildTypes(BuildChangesLoaderContext.java:135)
     at jetbrains.buildServer.vcs.impl.BuildChangesLoaderContext.checkingForChangesFinished(BuildChangesLoaderContext.java:42)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:7)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$1.call(VcsChangesCollectorImpl.java:3)
         ... 5 more
Caused by: jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root 'svn://subversion/ab/dotnetrt/tags/%env.VER%'
Checkout rule: +:.=>dotnetrt
Path is invalid: '/ab/dotnetrt/tags/env.VER-must-be-set-to-the-correct-tag-name'
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection$AddChangesProcessor.getEntries(SvnConnection.java:1220)
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection$AddChangesProcessor.collect(SvnConnection.java:986)
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnConnection.addChanges(SvnConnection.java:205)
     at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSupport$SvnIncludeRuleChangeCollector.collectChanges(SvnSupport.java:526)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader$1.collectBuildChanges(VcsChangesLoader.java:1)
     at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:54)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesByIncludeRules(VcsChangesLoader.java:155)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:159)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:152)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForCheckoutRules(VcsChangesLoader.java:105)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:88)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader._loadChangesForRoot(VcsChangesLoader.java:137)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:12)
     at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:112)
     at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:108)
     at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:10)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:2)
     at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:1)
         ... 5 more
         
Help Feedback
TeamCity Professional 6.5 (build 17795) Get new version!
License agreement
---------------------------------------------------------------------------------------------------






and this is the "parameters" tab (/viewLog.html?buildId=302&buildTypeId=bt20&tab=buildParameters)
it can be seen env.VER was changed from default value, but into the VCS root the default value was inserted
---------------------------------------------------------------------------------------------------
Logo

    Projects

    My Changes

    Agents (2)

    Build Queue (0)

Welcome, dbolshakov

Administration
Run custom build
Build Actions
Edit Configuration Settings

    AB32
    Build-Tag-Whole-AB-Multistep
    #19 (24 Jun 11 05:57)

    Overview

    Changes (0)

    Build Log

    Build Parameters
    
« #18     

    All history    

Last recorded build
User Defined Parameters

Environment variables
Name     Value passed to build
env.OOCG_TOOLS_PATH     %teamcity.build.workingDir%\OOCG_TOOLS
env.VER     temp-test-tag

Help Feedback
TeamCity Professional 6.5 (build 17795) Get new version!
License agreement
---------------------------------------------------------------------------------------------------




may be post a bug ?

0
Comment actions Permalink

Dmitry

We've created issue TW-17464 for this problem, please watch for updates.

Thanks

0

Please sign in to leave a comment.