Compilation failed: cannot load VCBuild.exe

Hi,
I have just started using TeamCity (version 5.0.3) which seems great, but I'm having some difficulties running my first project.
I'm using runner sln2008 for this project.
I have installed Windows SDK and .Net framework 3.5 to see this runner in the list of runners.
Still, I get an error message when compiling:
"Cannot load component VCBuild.exe, if it is not installed
1) install Windows SDK and .net framework
or
2) install visual studio 2008"

I saw a similar error in the forum (http://www.jetbrains.net/devnet/message/5229230#5229230) that suggested to change the user running the service, which I did, but still I can't make it work.
VCBuild needs and environment to run, it is set by a batch file when you run the SDK command line.
I guess I need to run the compilation with this environment, but can't see how.

Thanks for your help,
Philippe

8 comments

Philippe,

Sorry for the delay in replying.

You can try to run agent via "agent.bat start" command and not as a service (please make sure you stop the service beforehand).

As to defining the environment for the process, you can follow one of the links mentioned in the linked thread (e.g. Defining Properties) and edd "env." properties to the build configuration or the agent so that the environment variable go into the build.

0

Hi Yegor,

Thanks for your answer.
I tried running the agent with the command you gave me, but it does not change anything.

As for environment variables, I saw that it was possible to specify them in TeamCity, but Visual Studio defines a lot of variables and a whole environment that would be difficult to reproduce.
When you want to use the Visual Studio environment, you can launch a batch file that regroups the whole environment.
Even simpler, Visual Studio SDK installer provides you with a customised Command Shell shortcut with the following arguments:
C:\WINDOWS\system32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd"

In the agent's configuration page, under the tab "environment variables", I can see a line defining the command shell path.
I thought I could modify this parameters to specify the same arguments as above, but can't see where I can do so.
Is it possible to do such a thing?

Thanks,
Philippe

0

You may add all those veriables to build agent instance. For this do the following:
- start cmd.exe
- run SetEnv.cmd from SDK
- run agent.bat start
- exit shell

This make build agent process to inherit all environment variables.

Please vote for http://youtrack.jetbrains.net/issue/TW-6774

Thanks!

0

Thanks for you answer Eugene, I didn't think of doing it that way.
Still, I am having the same errors.
When looking at the logs, I can see other things unusual, like a registration problem, or missing "Microsoft Team Explorer"
I am copy-pasting the logs, maybe you can help me identify the issue here:

[2010-06-23 09:04:40,333]   INFO -    jetbrains.buildServer.AGENT - Starting TeamCity agent
[2010-06-23 09:04:43,926]   INFO -    jetbrains.buildServer.AGENT - Calculating plugins signature for possible upgrade
[2010-06-23 09:04:44,926]   INFO -    jetbrains.buildServer.AGENT - Build Agent version: 10821, plugins signature: af493b8c
[2010-06-23 09:04:44,989]   WARN -    jetbrains.buildServer.AGENT - Calculating CPU benchmark index...
[2010-06-23 09:04:57,098]   WARN -    jetbrains.buildServer.AGENT - CPU benchmark index is set to 257
[2010-06-23 09:04:57,145]   INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2010-06-23 09:04:57,145]   INFO - rver.plugins.PluginManagerImpl - Scanning plugin folder: D:\www\TeamCity\buildAgent\plugins
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin amazonEC2
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin ant
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin antPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin coveragePlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin crashDetector
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin cvsAgent
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin dotnet-dupfinder
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin dotnetPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin duplicatePlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin fxcop
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin gantPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin inspectionPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin iprPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin junitPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin mavenPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin mercurial
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin META-INF
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin rake-runner
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin remoteAccess
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin stacktracesPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin svnAgent
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin testNGPlugin
[2010-06-23 09:04:57,161]   INFO - rver.plugins.PluginsCollection - Found plugin tfs-agent
[2010-06-23 09:04:57,176]   INFO - rver.plugins.PluginsCollection - Found plugin xml-report-plugin
[2010-06-23 09:04:57,176]   INFO - rver.plugins.PluginManagerImpl - Found 24 plugins: [amazonEC2, ant, antPlugin, coveragePlugin, crashDetector, cvsAgent, dotnet-dupfinder, dotnetPlugin, duplicatePlugin, fxcop, gantPlugin, inspectionPlugin, iprPlugin, junitPlugin, mavenPlugin, mercurial, META-INF, rake-runner, remoteAccess, stacktracesPlugin, svnAgent, testNGPlugin, tfs-agent, xml-report-plugin]
[2010-06-23 09:04:57,176]   INFO - rver.plugins.PluginManagerImpl - Start intializing plugins...
[2010-06-23 09:04:57,176]   INFO - rver.plugins.PluginsCollection - No plugins were loaded with standalone classloaders
[2010-06-23 09:04:57,176]   INFO - rver.plugins.PluginsCollection - Load shared classloader for 24 plugins [amazonEC2, ant, antPlugin, coveragePlugin, crashDetector, cvsAgent, dotnet-dupfinder, dotnetPlugin, duplicatePlugin, fxcop, gantPlugin, inspectionPlugin, iprPlugin, junitPlugin, mavenPlugin, mercurial, META-INF, rake-runner, remoteAccess, stacktracesPlugin, svnAgent, testNGPlugin, tfs-agent, xml-report-plugin]
[2010-06-23 09:05:07,770]   INFO - rver.plugins.PluginManagerImpl - Loaded 24 plugins: [amazonEC2, ant, antPlugin, coveragePlugin, crashDetector, cvsAgent, dotnet-dupfinder, dotnetPlugin, duplicatePlugin, fxcop, gantPlugin, inspectionPlugin, iprPlugin, junitPlugin, mavenPlugin, mercurial, META-INF, rake-runner, remoteAccess, stacktracesPlugin, svnAgent, testNGPlugin, tfs-agent, xml-report-plugin]
[2010-06-23 09:05:07,770]   INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2010-06-23 09:05:07,864]   INFO - gent.DotNetPropertiesExtension - HKLM\SOFTWARE\Novell\Mono\DefaultCLR wasn't found => no mono
[2010-06-23 09:05:07,864]   INFO - agent.FxCopPropertiesExtension - .fxcop file association wasn't found in CLASSES_ROOT
[2010-06-23 09:05:08,942]   INFO - t.AmazonInstanceMetadataReader - Amazon is not available. Amazon EC2 integration is not active: Failed to connect to http://169.254.169.254/2009-04-04. The host did not accept the connection within timeout of 1000 msThe host did not accept the connection within timeout of 1000 ms
[2010-06-23 09:05:08,942]   INFO - .amazon.agent.AmazonProperties - Fetched AmazonEC2 instance metadata:  
[2010-06-23 09:05:08,942]   INFO - .amazon.agent.AmazonProperties - Failed to fetch TeamCity custom instance metadata. Was agent started by TeamCity?
[2010-06-23 09:05:08,958]   INFO - rectories.DirectoryCleanerImpl - Cannot locate .old for path 'D:\www\TeamCity\buildAgent\temp\cache'. Deleting files in place.
[2010-06-23 09:05:08,958]   INFO - gent.DotNetPropertiesExtension - Start Microsoft .NET Framework Search
[2010-06-23 09:05:08,958]   INFO - eworks.DotNetFrameworkSearcher - Looking for frameworks in path C:\WINDOWS\Microsoft.NET\Framework
[2010-06-23 09:05:08,958]   INFO - .dotNetFrameworks.SearcherBase - Checking directory: C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705
[2010-06-23 09:05:08,958]   INFO - .dotNetFrameworks.SearcherBase - File csc.exe was not found in path
[2010-06-23 09:05:08,958]   INFO - .dotNetFrameworks.SearcherBase - Checking directory: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
[2010-06-23 09:05:08,958]   INFO - eworks.DotNetFrameworkSearcher - Found .NET framework folder C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
[2010-06-23 09:05:08,958]   INFO - .dotNetFrameworks.SearcherBase - Checking directory: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
[2010-06-23 09:05:08,958]   INFO - eworks.DotNetFrameworkSearcher - Found .NET framework folder C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
[2010-06-23 09:05:08,958]   INFO - .dotNetFrameworks.SearcherBase - Checking directory: C:\WINDOWS\Microsoft.NET\Framework\v3.0
[2010-06-23 09:05:08,973]   INFO - eworks.DotNetFrameworkSearcher - Found .NET framework folder C:\WINDOWS\Microsoft.NET\Framework\v3.0
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Checking directory: C:\WINDOWS\Microsoft.NET\Framework\v3.5
[2010-06-23 09:05:08,973]   INFO - eworks.DotNetFrameworkSearcher - Found .NET framework folder C:\WINDOWS\Microsoft.NET\Framework\v3.5
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Found Microsoft .NET Framework v1.1.4322 32 bit
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Found Microsoft .NET Framework v2.0.50727 32 bit
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Found Microsoft .NET Framework v3.0 32 bit
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Found Microsoft .NET Framework v3.5 32 bit
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - finish Microsoft .NET Framework Search
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Start Microsoft .NET Framework SDK Search
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - finish Microsoft .NET Framework SDK Search
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Start Microsoft Visual Studio Search
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - finish Microsoft Visual Studio Search
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - Start Microsoft Windows SDK Search
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - .dotNetFrameworks.SearcherBase - Directory is null or not a direcotry: <null>
[2010-06-23 09:05:08,973]   INFO - gent.DotNetPropertiesExtension - finish Microsoft Windows SDK Search
[2010-06-23 09:05:08,973]   INFO -    jetbrains.buildServer.AGENT - Start build agent
[2010-06-23 09:05:09,004]   WARN -    jetbrains.buildServer.AGENT - Starting agent Web server on port 9192
[2010-06-23 09:05:09,020]   INFO -    jetbrains.buildServer.AGENT - Agent Web server started
[2010-06-23 09:05:09,020]   INFO - agent.impl.AgentDetailsFactory - Build agent ownAddress will be defined by the server. Define 'ownAddress' property in the conf/buildAgent.properties file
[2010-06-23 09:05:09,036]   INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to D:\www\TeamCity\buildAgent\logs\buildAgent.port
[2010-06-23 09:05:09,036]   INFO - agent.impl.AgentPortFileWriter - Launcher version is 10821
[2010-06-23 09:05:09,036]   INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to D:\www\TeamCity\buildAgent\logs\buildAgent.port :DONE!
[2010-06-23 09:05:09,036]   INFO -    jetbrains.buildServer.AGENT - Build agent started
[2010-06-23 09:05:09,739]   INFO - impl.vcs.AgentVcsManagerExImpl - Failed to check tfs. TFS execution error:
Stdout:
TFS Native Verifier v4.0 Copyright (C) 2006-2010 JetBrains s.r.o.
ERROR - No TFS assemblies were found on the system. Please make sure you have Microsoft Team Explorer 8.0 or 9.0 installed

Stderr:

Exception:
null
Exit code: -1jetbrains.buildServer.vcs.VcsException: TFS execution error:
Stdout:
TFS Native Verifier v4.0 Copyright (C) 2006-2010 JetBrains s.r.o.
ERROR - No TFS assemblies were found on the system. Please make sure you have Microsoft Team Explorer 8.0 or 9.0 installed

Stderr:

Exception:
null
Exit code: -1
[2010-06-23 09:05:09,739]   WARN - impl.vcs.AgentVcsManagerExImpl - Failed to use TFS checkout on agent. Failed to locate TFS libraries. Please make sure Microsoft Team Explorer is installed.
[2010-06-23 09:05:09,739]   INFO - buildServer.AGENT.registration - Registering on server: [name: methode, ownAddress: null, altAddresses: [192.168.1.120, 192.168.159.1, 192.168.121.1], ownPort: 9192, buildId: <not running build>, availableRunners: [Ant, dotnet-dupfinder, Duplicator, FxCop, Inspection, Ipr, Maven2, MSBuild, NAnt, rake-runner, simpleRunner, sln2003, sln2005, sln2008], availableVcs: [cvs, mercurial, svn], osName: Windows 2003, version 5.2, version: 10821, pluginsVersion: af493b8c]
[2010-06-23 09:05:09,895]   WARN - buildServer.AGENT.registration - My id is null. Agent with name "methode" is already registered on server. Please check you do not have two agents with same name.
[2010-06-23 09:05:09,895]   WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log for details (unless you're using custom logging).
[2010-06-23 09:05:12,895]   WARN - buildServer.AGENT.registration - Connection to TeamCity server has been restored
[2010-06-23 09:05:41,114]   INFO -    jetbrains.buildServer.AGENT -


[2010-06-23 09:05:41,114]   INFO -    jetbrains.buildServer.AGENT - Found runner sln2008 for 15
[2010-06-23 09:05:41,129]   INFO - mpl$TeamCitySpringSubConatiner - Refreshing jetbrains.buildServer.spring.SpringSubContainerFactroyImpl$TeamCitySpringSubConatiner@12cd8d4: display name [SubContext: running build context id=jetbrains.buildServer.agent.impl.AgentRunningBuildImpl@1092447]; startup date [Wed Jun 23 09:05:41 CEST 2010]; parent: org.springframework.context.support.ClassPathXmlApplicationContext@1cac6db
[2010-06-23 09:05:41,161]   INFO - mpl$TeamCitySpringSubConatiner - Bean factory for application context [jetbrains.buildServer.spring.SpringSubContainerFactroyImpl$TeamCitySpringSubConatiner@12cd8d4]: org.springframework.beans.factory.support.DefaultListableBeanFactory@c3d062
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.ClearExpiredBuildWorkingDirectoriesStage
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.FireBuildStartedStage
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CleanBuildCheckoutDirectoryIfNeededStage
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CleanBuildTempDirectoryStage
[2010-06-23 09:05:41,176]   INFO - s.CleanBuildTempDirectoryStage - Clearing temporary directory: D:\www\TeamCity\buildAgent\temp\buildTmp
[2010-06-23 09:05:41,176]   INFO - rectories.DirectoryCleanerImpl - Move directory D:\www\TeamCity\buildAgent\temp\buildTmp to D:\www\TeamCity\buildAgent\temp\.old\buildTmp_0 for cleaning
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CleanAgentTempDirectoryStage
[2010-06-23 09:05:41,176]   INFO - rectories.DirectoryCleanerImpl - Move directory D:\www\TeamCity\buildAgent\temp\agentTmp to D:\www\TeamCity\buildAgent\temp\.old\agentTmp_0 for cleaning
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CreateAgentTempDirectoryStage
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CreateCheckoutDirectoryStage
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CreateBuildTempDirectoryStage
[2010-06-23 09:05:41,176]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.DirectoryCleanerForceClean
[2010-06-23 09:05:41,208]   INFO - ges.DirectoryCleanerForceClean - Free space under build checkout directory is 8Gb, required 3Gb
[2010-06-23 09:05:41,208]   INFO - ges.DirectoryCleanerForceClean - Free space under temp directory is 8Gb, required 3Gb
[2010-06-23 09:05:41,208]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CleanGeneratedFilesStage
[2010-06-23 09:05:41,208]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.LogCheckoutDirectoryStage
[2010-06-23 09:05:41,208]   INFO -    jetbrains.buildServer.AGENT - Checkout directory: D:\www\TeamCity\buildAgent\work\635c1efa11e77e2c
[2010-06-23 09:05:41,208]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromAgent
[2010-06-23 09:05:41,208]   INFO - ch.UpdateSourcesBuildStageBase - Updating sources: Agent side checkout...
[2010-06-23 09:05:41,208]   INFO - ch.UpdateSourcesBuildStageBase - Sources updated for < 1s
[2010-06-23 09:05:41,208]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer
[2010-06-23 09:05:41,208]   INFO - ch.UpdateSourcesBuildStageBase - Updating sources: server side checkout...
[2010-06-23 09:05:41,208]   INFO - .patch.UpdateSourcesFromServer - Requesting patch from server, full checkout - false
[2010-06-23 09:05:41,208]   INFO - .patch.UpdateSourcesFromServer - Copying patch to temp file...
[2010-06-23 09:05:41,223]   INFO - gent.impl.patch.PatchTempFiles - Patch downloaded
[2010-06-23 09:05:41,223]   INFO - impl.patch.PatchDownloaderImpl - Checking the patch is correct...
[2010-06-23 09:05:41,223]   INFO - impl.patch.PatchDownloaderImpl - Patch checking finished
[2010-06-23 09:05:41,223]   INFO -    jetbrains.buildServer.AGENT - Patch downloaded for build 15
[2010-06-23 09:05:41,223]   INFO - .patch.UpdateSourcesFromServer - Applying patch to checkout directory...
[2010-06-23 09:05:41,223]   INFO - .patch.UpdateSourcesFromServer - Patch is applied to checkout directory
[2010-06-23 09:05:41,223]   INFO -    jetbrains.buildServer.AGENT - Patch applied for build 15
[2010-06-23 09:05:41,223]   INFO - .patch.UpdateSourcesFromServer - Patch applied successfully
[2010-06-23 09:05:41,223]   INFO - ch.UpdateSourcesBuildStageBase - Sources updated for < 1s
[2010-06-23 09:05:41,223]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromPersonal
[2010-06-23 09:05:41,223]   INFO - ch.UpdateSourcesBuildStageBase - Updating sources: personal build patch...
[2010-06-23 09:05:41,223]   INFO - ch.UpdateSourcesBuildStageBase - Sources updated for < 1s
[2010-06-23 09:05:41,223]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.AppendBuildParametersFromFileStage
[2010-06-23 09:05:41,239]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.ReplaceReferencesInAtrifactDependenciesStage
[2010-06-23 09:05:41,239]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.DownloadDependenciesStage
[2010-06-23 09:05:41,239]   INFO -    jetbrains.buildServer.AGENT - Finished resolving artifacts
[2010-06-23 09:05:41,239]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.SavePropertiesToFilesStage
[2010-06-23 09:05:41,270]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CreateBuildWorkingDirectoryStage
[2010-06-23 09:05:41,270]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.FireBeforeRunnerStartedStage
[2010-06-23 09:05:41,270]   INFO - gent.impl.BuildRunTimeoutTimer - Build execution timeout is set to: 0
[2010-06-23 09:05:41,270]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.UpdateDirectoryMapStage
[2010-06-23 09:05:41,270]   INFO - ectories.DirectoryMapStructure - Remove expired build checkout directory for Test::TestBuild (bt3) at 635c1efa11e77e2c
[2010-06-23 09:05:41,270]   INFO - rver.agent.impl.BuildRunAction - Call stage jetbrains.buildServer.agent.impl.runStages.CallRunnerStage
[2010-06-23 09:05:41,270]   INFO - impl.runStages.CallRunnerStage - Start actual runner for build 15 sln2008
[2010-06-23 09:05:41,270]   INFO - impl.runStages.CallRunnerStage - ----------------------------------------- [ Test::TestBuild #13 (buildId = 15) ] -----------------------------------------
[2010-06-23 09:05:41,348]   INFO - nt.runner.GenericProgramRunner - D:\www\TeamCity\buildAgent\bin\..\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe @xml D:\www\TeamCity\buildAgent\temp\agentTmp\msbuild22122.teamcity.bootstrap.properties
[2010-06-23 09:05:45,239]   INFO - nt.runner.GenericProgramRunner -  
[2010-06-23 09:05:45,254]   INFO -    jetbrains.buildServer.AGENT - Publishing artifacts 'teamcity-info.xml' to root artifacts directory
[2010-06-23 09:05:45,254]   INFO -    jetbrains.buildServer.AGENT - Artifacts path teamcity-info.xml not found
[2010-06-23 09:05:45,254]   INFO -    jetbrains.buildServer.AGENT - Done publishing artifacts teamcity-info.xml, total files published: 0
[2010-06-23 09:05:45,254]   INFO -    jetbrains.buildServer.AGENT - Build finished: 15
[2010-06-23 09:05:45,254]   INFO - mpl$TeamCitySpringSubConatiner - Closing jetbrains.buildServer.spring.SpringSubContainerFactroyImpl$TeamCitySpringSubConatiner@12cd8d4: display name [SubContext: running build context id=jetbrains.buildServer.agent.impl.AgentRunningBuildImpl@1092447]; startup date [Wed Jun 23 09:05:41 CEST 2010]; parent: org.springframework.context.support.ClassPathXmlApplicationContext@1cac6db
[2010-06-23 09:05:45,254]   INFO - ctories.CleanupRegistryCleaner - Start deleting files from D:\www\TeamCity\buildAgent\temp\.old
[2010-06-23 09:05:45,286]   INFO - ctories.CleanupRegistryCleaner - Stop deleting files from D:\www\TeamCity\buildAgent\temp\.old. 9 file(s) were deleted.  
[2010-06-23 09:06:09,926]   INFO - buildServer.AGENT.registration - Registering on server: [name: methode, ownAddress: null, altAddresses: [192.168.1.120, 192.168.159.1, 192.168.121.1], ownPort: 9192, buildId: <not running build>, availableRunners: [Ant, dotnet-dupfinder, Duplicator, FxCop, Inspection, Ipr, Maven2, MSBuild, NAnt, rake-runner, simpleRunner, sln2003, sln2005, sln2008], availableVcs: [cvs, mercurial, svn], osName: Windows 2003, version 5.2, version: 10821, pluginsVersion: af493b8c]
[2010-06-23 09:06:09,926]   WARN - buildServer.AGENT.registration - My id is null. Agent with name "methode" is already registered on server. Please check you do not have two agents with same name.
[2010-06-23 09:06:09,926]   WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log for details (unless you're using custom logging).
[2010-06-23 09:06:12,926]   WARN - buildServer.AGENT.registration - Connection to TeamCity server has been restored
[2010-06-23 09:07:09,942]   INFO - buildServer.AGENT.registration - Registering on server: [name: methode, ownAddress: null, altAddresses: [192.168.1.120, 192.168.159.1, 192.168.121.1], ownPort: 9192, buildId: <not running build>, availableRunners: [Ant, dotnet-dupfinder, Duplicator, FxCop, Inspection, Ipr, Maven2, MSBuild, NAnt, rake-runner, simpleRunner, sln2003, sln2005, sln2008], availableVcs: [cvs, mercurial, svn], osName: Windows 2003, version 5.2, version: 10821, pluginsVersion: af493b8c]
[2010-06-23 09:07:09,973]   WARN - buildServer.AGENT.registration - My id is null. Agent with name "methode" is already registered on server. Please check you do not have two agents with same name.
[2010-06-23 09:07:09,973]   WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log for details (unless you're using custom logging).
[2010-06-23 09:07:12,973]   WARN - buildServer.AGENT.registration - Connection to TeamCity server has been restored
[2010-06-23 09:08:09,989]   INFO - buildServer.AGENT.registration - Registering on server: [name: methode, ownAddress: null, altAddresses: [192.168.1.120, 192.168.159.1, 192.168.121.1], ownPort: 9192, buildId: <not running build>, availableRunners: [Ant, dotnet-dupfinder, Duplicator, FxCop, Inspection, Ipr, Maven2, MSBuild, NAnt, rake-runner, simpleRunner, sln2003, sln2005, sln2008], availableVcs: [cvs, mercurial, svn], osName: Windows 2003, version 5.2, version: 10821, pluginsVersion: af493b8c]
[2010-06-23 09:08:10,004]   WARN - buildServer.AGENT.registration - My id is null. Agent with name "methode" is already registered on server. Please check you do not have two agents with same name.
[2010-06-23 09:08:10,004]   WARN - buildServer.AGENT.registration - Connection to TeamCity server is probably lost. Will be trying to restore it. Take a look at logs/teamcity-agent.log for details (unless you're using custom logging).
[2010-06-23 09:08:13,004]   WARN - buildServer.AGENT.registration - Connection to TeamCity server has been restored


Thanks.

0

Thankyou. We have improved TFS error messages. This only means that build agent is not capable of checking out sources from TFS when 'checkout on agent' option is selected. This issue does not affect build agent.

0

I'm not sure I understand what you are saying: you are saying that the TFS errors are not related to my problem, is that it?
Because I'm using SVN and my checkout mode is set to "automatically on server" :)


Could it be related to the fact that it is not able to locate "Microsoft Visual Studio" and "Microsoft Windows SDK"?

0

No, it is not related to miss of SDK,
please feel free to post an issue to our issue tracker for that at http://youtrack.jetbrains.net

0

Please sign in to leave a comment.