MSBUILD Error - exit code 2147010893

Completed

Hi all,

 

Been tearing my hair out over this all day but can't seem to resolve. Came back to work from vacation to our build server being unable to build any of its configurations. The server that the installation is on was upgraded to Windows 2012 R2 recently ( not sure if that impacts anything ). I have a number of projects which run multiple build configuration steps but all are now failing with the same code -2147010893. The build log doesn't tell me anything besides that code

Build Log

Step 1/13: Test (Visual Studio (sln))
[Step 1/13] Starting: D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\MSBuild.exe"
[Step 1/13] in directory: D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon
[Step 1/13] Process exited with code -2147010893
[Step 1/13] Process exited with code -2147010893 (Step: Test (Visual Studio (sln)))
[Step 1/13] Step Test (Visual Studio (sln)) failed
 
The server used to only have the build tools on but I installed VS 2019 community as well in an attempt to track down any missing DLLs or SDKs ( which is what someone referred to in a post could be the issue ). I've drilled down to the build-agent log and it gives the same detail, no extent of googling can seem to tell me exactly what the code means. If I run MSBuild manually in the agent's directories, I can build the various projects as well as opening the projects and building with the local vs community edition as well so it doesn't seem to be environmental to the machine. Other build steps such as the Nuget package retrievers etc all work fine so the team city flows seem fine.
 
Anyone got any ideas or hints to a more detailed log?
 
10 comments
Comment actions Permalink

Sorry for your frustration. Typically, you can find the definition of these error codes in the Visual Studio Command Prompt using the errlook.exe. It looks like you can also download it as a stand-alone application from Microsoft. When I enter `-2147010893` into this tool, it returns a generic `The referenced assembly is not installed on your system.`. This would seem to match up with your experience and the question would become which assembly is triggering the error? Are there any references to a specific assembly in your teamcity-agent.log?

0
Comment actions Permalink

Hi Eric,

Nothing in either the teamcity-agent log or teamcity-build.However if I run msbuild manually in the work directory using the respective solutions, it builds and I don't have an issue. Is there anywhere I can see the actual command that is executed by the agent? I can then try run that manually with a verbosity diagnostic to a log file.

Snippet from agent log


[2020-01-08 09:24:22,532] INFO - ildStages.RunnerStagesExecutor - Call stage jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage
[2020-01-08 09:24:22,541] INFO - erStages.start.CallRunnerStage - ----------------------------------------- [ Step 1/13: 'Test (Visual Studio (sln))' (VS.Solution), Build "TritonWebAPI / TritonWebAPI" #644.2020-01-08T09:24+0200 {id=2509, buildTypeId='TritonWebAPI_TritonWebAPIBuild'} ] -----------------------------------------
[2020-01-08 09:24:22,554] INFO - GenericCommandLineBuildProcess - Starting "D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\MSBuild.exe"" in directory "D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon"
[2020-01-08 09:24:22,585] INFO - nner2.OsProcessHandlerListener - D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\MSBuild.exe"
[2020-01-08 09:24:22,610] INFO - nner2.OsProcessHandlerListener - Process exited with code -2147010893. Command line: D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\MSBuild.exe"
[2020-01-08 09:24:22,612] INFO - ges.RunnerFinishStagesExecutor - Call finish stage jetbrains.buildServer.agent.impl.buildStages.runnerStages.finish.UnsubscribePropertiesFileUpdaterRunnedFStage
[2020-01-08 09:24:22,613] INFO - ges.RunnerFinishStagesExecutor - Call finish stage jetbrains.buildServer.agent.impl.buildStages.runnerStages.finish.FlushBuildLogRunnerFStage
[2020-01-08 09:24:22,645] INFO - ges.RunnerFinishStagesExecutor - Call finish stage jetbrains.buildServer.agent.impl.buildStages.runnerStages.finish.FireRunnerFinishedFStage
[2020-01-08 09:24:22,656] INFO - mpl$TeamCitySpringSubContainer - Closing SubContext: Step 1/13: 'Test (Visual Studio (sln))' (VS.Solution), Build "TritonWebAPI / TritonWebAPI" #644.2020-01-08T09:24+0200 {id=2509, buildTypeId='TritonWebAPI_TritonWebAPIBuild'}: startup date [Wed Jan 08 09:24:22 CAT 2020]; parent: SubContext: running build context id=2509
[2020-01-08 09:24:22,664] INFO - Stages.steps.RunnerStageLogger - Build step is skipped (ignored, the previous step has failed): Step 2/13: 'Visual Studio (sln)' (VS.Solution)

Snippet Agent Build Log

[2020-01-08 09:24:22,541] INFO - ----------------------------------------- [ Step 1/13: 'Test (Visual Studio (sln))' (VS.Solution), Build "TritonWebAPI / TritonWebAPI" #644.2020-01-08T09:24+0200 {id=2509, buildTypeId='TritonWebAPI_TritonWebAPIBuild'} ] -----------------------------------------
[2020-01-08 09:24:22,554] INFO - Starting "D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\MSBuild.exe"" in directory "D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon"
[2020-01-08 09:24:22,610] WARN - Process exited with code -2147010893

 

 

I'm not sure if this would help but this snippet from the agent log shows all the reference locations. The only problem that I see here are lines stating that they are trying to set some bit in the h files for the runners?

 

 

Agent Load Snippet

[2020-01-08 09:22:37,935] INFO - s.buildServer.agent.AgentMain2 - Agent home is D:\TeamCity\buildAgent
[2020-01-08 09:22:38,025] INFO - jetbrains.buildServer.SERVER - Starting TeamCity agent
[2020-01-08 09:22:38,025] INFO - s.buildServer.agent.AgentMain2 -

[2020-01-08 09:22:38,026] INFO - s.buildServer.agent.AgentMain2 - ===========================================================
[2020-01-08 09:22:38,041] INFO - s.buildServer.agent.AgentMain2 - TeamCity Build Agent 2019.2 (build 71499)
[2020-01-08 09:22:38,051] INFO - s.buildServer.agent.AgentMain2 - OS: Windows Server 2012 R2, version 6.3, amd64, Current user: BEAST$, Time zone: CAT (UTC+02:00)
[2020-01-08 09:22:38,052] INFO - s.buildServer.agent.AgentMain2 - Java: 1.8.0_232, OpenJDK 64-Bit Server VM (25.232-b09, mixed mode), OpenJDK Runtime Environment (1.8.0_232-b09), Amazon.com Inc.; JVM parameters: -ea -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Xrs -Dlog4j.configuration=file:../conf/teamcity-agent-log4j.xml -Dteamcity_logs=../logs/
[2020-01-08 09:22:38,052] INFO - s.buildServer.agent.AgentMain2 - Starting...
[2020-01-08 09:22:38,269] INFO - buildServer.agent.AgentMain2$3 - Refreshing jetbrains.buildServer.agent.AgentMain2$3@731a74c: startup date [Wed Jan 08 09:22:38 CAT 2020]; root of context hierarchy
[2020-01-08 09:22:40,416] INFO - jetbrains.buildServer.AGENT - Calculating CPU benchmark index...
[2020-01-08 09:22:40,484] INFO - jetbrains.buildServer.AGENT - Agent tools download temp directory created on path D:\TeamCity\buildAgent\temp\tools
[2020-01-08 09:22:40,689] INFO - dAgentConfigurationInitializer - Loading build agent configuration from D:\TeamCity\buildAgent\conf\buildAgent.properties
[2020-01-08 09:22:40,754] INFO - s.buildServer.agent.AgentMain2 - Working dir: D:\TeamCity\buildAgent\work
[2020-01-08 09:22:40,754] INFO - s.buildServer.agent.AgentMain2 - Temp dir: D:\TeamCity\buildAgent\temp
[2020-01-08 09:22:40,782] INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2020-01-08 09:22:40,782] INFO - rver.plugins.PluginManagerImpl - Plugins initialization started...
[2020-01-08 09:22:40,782] INFO - rver.plugins.PluginManagerImpl - Scanning plugins folders
[2020-01-08 09:22:40,784] INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: D:\TeamCity\buildAgent\plugins
[2020-01-08 09:22:41,123] INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: D:\TeamCity\buildAgent\tools
[2020-01-08 09:22:41,225] INFO - rver.plugins.PluginManagerImpl - Found 53 non bundled plugins: [agentSystemInfo, amazonEC2, ant, ant-net-tasks, antPlugin, cloud-vmware-agent, commandLineRunner, coveragePlugin, crashDetector, cvsAgent, deploy-runner-agent, docker-support, dotnet-tools, dotnet.cli, dotnetPlugin, dotNetRunners, duplicatePlugin, environment-fetcher, file-content-replacer, fxcop, gant, gantPlugin, golang-agent, gradle-runner, idea-runner, inspectionPlugin, java-dowser, JetBrains.dotCover.CommandLineTools.bundled, jetbrains.git, jps, junitPlugin, jvm-update, mavenPlugin, mercurial, meta-runner, nuget-agent, NuGet.CommandLine.3.4.4, perfmon-agent, perforce-agent, powershell-agent, rake-runner, remoteAccess, s3-artifact-storage-agent, sbt-runner-agent, ssh-manager, stacktracesPlugin, svnAgent, swabra, testNGPlugin, tfs-agent, visualstudiotest, xcode-runner, xml-report-plugin]
[2020-01-08 09:22:41,225] INFO - rver.plugins.PluginManagerImpl - Found 0 bundled plugins: []
[2020-01-08 09:22:41,232] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\ant
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\antRun
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\ant.bat
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\ant.cmd
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\antenv.cmd
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\envset.cmd
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\lcp.bat
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\runrc.cmd
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\antRun.pl
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\complete-ant-cmd.pl
[2020-01-08 09:22:41,238] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\runant.pl
[2020-01-08 09:22:41,239] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\plugins\ant\bin\runant.py
[2020-01-08 09:22:41,239] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\gant\bin\gant
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\gant\bin\startGroovy
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\runtime.sh
[2020-01-08 09:22:41,240] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\runtime.sh
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\dotCover.sh
[2020-01-08 09:22:41,240] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\dotCover.sh
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\linux-x64\JetBrains.Profiler.PdbServer
[2020-01-08 09:22:41,240] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\linux-x64\JetBrains.Profiler.PdbServer
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\linux-x64\mono\bin\mono-sgen
[2020-01-08 09:22:41,240] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\linux-x64\mono\bin\mono-sgen
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\macos-x64\JetBrains.Profiler.PdbServer
[2020-01-08 09:22:41,240] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\macos-x64\JetBrains.Profiler.PdbServer
[2020-01-08 09:22:41,240] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\macos-x64\mono\bin\mono-sgen
[2020-01-08 09:22:41,241] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\macos-x64\mono\bin\mono-sgen
[2020-01-08 09:22:41,241] INFO - les.ExecutableAttributesSetter - Setting executable bit for: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\macos-x64\mono\bin\env-wrapper
[2020-01-08 09:22:41,241] WARN - les.ExecutableAttributesSetter - Can't set executable bit: file does not exist or is not a valid file: D:\TeamCity\buildAgent\tools\JetBrains.dotCover.CommandLineTools.bundled\macos-x64\mono\bin\env-wrapper
[2020-01-08 09:22:41,241] INFO - rver.plugins.PluginsCollection - Load shared classloader for 21 plugins [agentSystemInfo, amazonEC2, ant, commandLineRunner, crashDetector, cvsAgent, dotnet-tools, dotnetPlugin, dotNetRunners, environment-fetcher, file-content-replacer, fxcop, gradle-runner, java-dowser, jetbrains.git, mercurial, remoteAccess, ssh-manager, stacktracesPlugin, swabra, xml-report-plugin]
[2020-01-08 09:22:41,291] INFO - rver.plugins.PluginsCollection - Load standalone classloaders for 27 plugins [antPlugin, cloud-vmware-agent, coveragePlugin, deploy-runner-agent, docker-support, dotnet.cli, duplicatePlugin, gantPlugin, golang-agent, idea-runner, inspectionPlugin, junitPlugin, jvm-update, mavenPlugin, meta-runner, nuget-agent, perfmon-agent, perforce-agent, powershell-agent, rake-runner, s3-artifact-storage-agent, sbt-runner-agent, svnAgent, testNGPlugin, tfs-agent, visualstudiotest, xcode-runner]
[2020-01-08 09:22:45,457] INFO - t.golang.BuildMessagesListener - Init the Golang plugin
[2020-01-08 09:22:47,506] INFO - .vmware.VMWarePropertiesReader - VSphere plugin initializing...
[2020-01-08 09:22:47,506] INFO - .vmware.VMWarePropertiesReader - Detected vmware-tools or open-vm-tools. Found required vmware-rpctool at C:\Program Files\VMware\VMware Tools\rpctool.exe. Will attempt to authorize agent as VMWare cloud agent.
[2020-01-08 09:22:48,579] INFO - jetbrains.buildServer.AGENT - CPU benchmark index is set to 447
[2020-01-08 09:22:49,325] INFO - rver.plugins.PluginManagerImpl - Plugins initialization completed (53 plugins loaded): [agentSystemInfo, amazonEC2, ant, ant-net-tasks, antPlugin, cloud-vmware-agent, commandLineRunner, coveragePlugin, crashDetector, cvsAgent, deploy-runner-agent, docker-support, dotnet-tools, dotnet.cli, dotnetPlugin, dotNetRunners, duplicatePlugin, environment-fetcher, file-content-replacer, fxcop, gant, gantPlugin, golang-agent, gradle-runner, idea-runner, inspectionPlugin, java-dowser, JetBrains.dotCover.CommandLineTools.bundled, jetbrains.git, jps, junitPlugin, jvm-update, mavenPlugin, mercurial, meta-runner, nuget-agent, NuGet.CommandLine.3.4.4, perfmon-agent, perforce-agent, powershell-agent, rake-runner, remoteAccess, s3-artifact-storage-agent, sbt-runner-agent, ssh-manager, stacktracesPlugin, svnAgent, swabra, testNGPlugin, tfs-agent, visualstudiotest, xcode-runner, xml-report-plugin]
[2020-01-08 09:22:49,326] INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2020-01-08 09:22:49,368] INFO - jetbrains.buildServer.AGENT - Build Agent version: 71499, plugins signature: 71499-md5-3ca67e1436499dfdea5f617b05091db5
[2020-01-08 09:22:50,072] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 2.0(2.0.50727) x32 at C:\Windows\Microsoft.NET\Framework\v2.0.50727
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 3.0(3.0.30729.4926) x32 at C:\Windows\Microsoft.NET\Framework\v3.0
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 3.5(3.5.30729.4926) x32 at C:\Windows\Microsoft.NET\Framework\v3.5
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 4.8(4.8) x32 at C:\Windows\Microsoft.NET\Framework\v4.0.30319
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 2.0(2.0.50727) x64 at C:\Windows\Microsoft.NET\Framework64\v2.0.50727
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 3.0(3.0.30729.4926) x64 at C:\Windows\Microsoft.NET\Framework64\v3.0
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 3.5(3.5.30729.4926) x64 at C:\Windows\Microsoft.NET\Framework64\v3.5
[2020-01-08 09:22:50,073] INFO - etFrameworkPropertiesExtension - Found .Net Framework runtime 4.8(4.8) x64 at C:\Windows\Microsoft.NET\Framework64\v4.0.30319
[2020-01-08 09:22:56,036] INFO - javaDowser.JavaDowserAgentImpl - JavaDowser: Found 2 java installations:
1.8/64 (1.8.0_181) at C:\Program Files\Java\jdk1.8.0_181 (JDK) [200]
1.8/64 (1.8.0_231) at C:\Program Files\Java\jre1.8.0_231 (JRE) [300]
[2020-01-08 09:22:56,054] INFO - ggers.vcs.mercurial.HgDetector - Cannot detect installed mercurial
[2020-01-08 09:22:56,067] INFO - .dotnet.DotnetSdksProviderImpl - Try getting the list of .NET SDK from directory <C:\Program Files\dotnet\sdk>.
[2020-01-08 09:22:56,080] INFO - tnet.DotnetPropertiesExtension - .NET CLI BeforeAgentConfigurationLoadedEvent(agent=jetbrains.buildServer.agent.impl.BuildAgentImpl@408b87aa) found at "C:\Program Files\dotnet\dotnet.exe"
[2020-01-08 09:22:56,080] INFO - tnet.DotnetVersionProviderImpl - Try getting the dotnet CLI version for directory "Path(path=D:\TeamCity\buildAgent\work)".
[2020-01-08 09:22:56,082] INFO - .agent.CommandLineExecutorImpl - Execute command line: "C:\Program Files\dotnet\dotnet.exe" --version
[2020-01-08 09:23:00,297] INFO - .agent.CommandLineExecutorImpl - Exits with code: 0
[2020-01-08 09:23:00,297] INFO - .dotnet.DotnetSdksProviderImpl - Try getting the list of .NET SDK from directory <C:\Program Files\dotnet\sdk>.
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.0 found at "C:\Program Files\dotnet\sdk\1.0.3"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.0.0 found at "C:\Program Files\dotnet\sdk\1.0.0"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.0.2 found at "C:\Program Files\dotnet\sdk\1.0.2"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.0.3 found at "C:\Program Files\dotnet\sdk\1.0.3"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.1 found at "C:\Program Files\dotnet\sdk\1.1.14"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.1.10 found at "C:\Program Files\dotnet\sdk\1.1.10"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.1.11 found at "C:\Program Files\dotnet\sdk\1.1.11"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 1.1.14 found at "C:\Program Files\dotnet\sdk\1.1.14"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 2.1 found at "C:\Program Files\dotnet\sdk\2.1.509"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 2.1.202 found at "C:\Program Files\dotnet\sdk\2.1.202"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 2.1.500 found at "C:\Program Files\dotnet\sdk\2.1.500"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 2.1.509 found at "C:\Program Files\dotnet\sdk\2.1.509"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 2.2 found at "C:\Program Files\dotnet\sdk\2.2.207"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 2.2.207 found at "C:\Program Files\dotnet\sdk\2.2.207"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 3.1 found at "C:\Program Files\dotnet\sdk\3.1.100"
[2020-01-08 09:23:00,305] INFO - tnet.DotnetPropertiesExtension - .NET Core SDK 3.1.100 found at "C:\Program Files\dotnet\sdk\3.1.100"
[2020-01-08 09:23:00,573] INFO - r.mono.MonoPropertiesExtension - Mono not found
[2020-01-08 09:23:00,866] INFO - dAgentConfigurationInitializer - Loading build agent configuration from D:\TeamCity\buildAgent\conf\buildAgent.properties
[2020-01-08 09:23:07,941] INFO - n.AmazonInstanceMetadataReader - Amazon is not available. Amazon EC2 integration is not active: Failed to connect to http://169.254.169.254/2016-04-19. The host did not accept the connection within timeout of 7000 ms
[2020-01-08 09:23:07,980] INFO - rains.buildServer.AGENT.DOCKER - Docker client is not available. Check whether it has been installed and PATH environment variable contains path to it.
[2020-01-08 09:23:08,012] INFO - rains.buildServer.AGENT.DOCKER - Docker server info is not available. Check whether docker service exists and it was configured to start before TeamCity build agent.
[2020-01-08 09:23:08,035] INFO - rains.buildServer.AGENT.DOCKER - Docker-compose is not available. Check whether it has been installed and PATH environment variable contains path to it.
[2020-01-08 09:23:08,094] INFO - .vmware.VMWarePropertiesReader - Unable to read property guestinfo.tcServerUrl. VMWare integration is disabled
[2020-01-08 09:23:08,095] INFO - Server.powershell.agent.DETECT - Detecting PowerShell using RegistryPowerShellDetector
[2020-01-08 09:23:08,165] INFO - Server.powershell.agent.DETECT - Found: PowerShell Desktop Edition v4.0 32-bit(C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe)
[2020-01-08 09:23:08,236] INFO - Server.powershell.agent.DETECT - Found: PowerShell Desktop Edition v4.0 64-bit(C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe)
[2020-01-08 09:23:08,237] INFO - Server.powershell.agent.DETECT - Detecting PowerShell using CommandLinePowerShellDetector
[2020-01-08 09:23:08,912] INFO - .agent.AgentStartupGitDetector - Detect git at C:\Program Files\Git\bin\git.exe
[2020-01-08 09:23:08,938] INFO - r.mono.MonoPropertiesExtension - HKLM\Software\Novell\Mono\DefaultCLR wasn't found => no mono
[2020-01-08 09:23:08,962] INFO - r.mono.MonoPropertiesExtension - HKLM\Software\Mono\DefaultCLR wasn't found => no mono
[2020-01-08 09:23:09,560] INFO - jetbrains.buildServer.AGENT - Detected native SVN client 1.10.6
[2020-01-08 09:23:10,091] INFO - .agent.impl.OsArchBitsDetector - Detecting via "wmic computersystem get systemtype", exit code: 0, output: SystemType x64-based PC
[2020-01-08 09:23:10,091] INFO - .agent.impl.OsArchBitsDetector - "teamcity.agent.os.arch.bits" detected as "64"
[2020-01-08 09:23:10,102] INFO - cher.DotNetPropertiesExtension - Start Microsoft .NET Framework SDK Search
[2020-01-08 09:23:10,160] INFO - cher.DotNetPropertiesExtension - Finished Microsoft .NET Framework SDK Search
[2020-01-08 09:23:10,160] INFO - cher.DotNetPropertiesExtension - Start Microsoft Visual Studio Search
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Found Microsoft Visual Studio 2015 at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE, reporting parameters: {VS2015=14.0.25420.1, VS2015_Path=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE}
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Found Microsoft Visual Studio 2010 at C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE, reporting parameters: {VS2010=10.0.40219.1, VS2010_Path=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE}
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Found Microsoft Visual Studio 2008 at C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE, reporting parameters: {VS2008_Path=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE, VS2008=9.0.30729.1}
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Found Microsoft Visual Studio 2019, reporting parameters: {VS2019=16.4.2, VS2019_Path=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE}
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Found Microsoft Visual Studio 2017, reporting parameters: {VS2017=15.9.17, VS2017_Path=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE}
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Finished Microsoft Visual Studio Search
[2020-01-08 09:23:10,841] INFO - cher.DotNetPropertiesExtension - Start Microsoft Windows SDK Search
[2020-01-08 09:23:10,979] INFO - earcher.sdk.WindowsSDKSearcher - Windows SDK found: 8.1.51641,8.0,10
[2020-01-08 09:23:10,980] INFO - cher.DotNetPropertiesExtension - Found Windows SDK v8.1A, reporting parameters: {WindowsSDKv8.1A_Path=C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A, WindowsSDKv8.1A=8.1.51641}
[2020-01-08 09:23:10,980] INFO - cher.DotNetPropertiesExtension - Found Windows SDK 10, reporting parameters: {WindowsSDK10_Path=C:\Program Files (x86)\Windows Kits\10, WindowsSDK10=10}
[2020-01-08 09:23:10,980] INFO - cher.DotNetPropertiesExtension - Found Windows SDK 8.0, reporting parameters: {WindowsSDK8.0_Path=C:\Program Files (x86)\Windows Kits\8.0, WindowsSDK8.0=8.0}
[2020-01-08 09:23:10,980] INFO - cher.DotNetPropertiesExtension - Finished Microsoft Windows SDK Search
[2020-01-08 09:23:10,980] INFO - cher.DotNetPropertiesExtension - Start MSBuild Search
[2020-01-08 09:23:11,563] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 14.0 (x64) at C:\Program Files (x86)\MSBuild\14.0\bin\amd64, reporting parameters: {MSBuildTools14.0_x64_Path=C:\Program Files (x86)\MSBuild\14.0\bin\amd64}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 2.0 (x64) at C:\Windows\Microsoft.NET\Framework64\v2.0.50727, reporting parameters: {MSBuildTools2.0_x64_Path=C:\Windows\Microsoft.NET\Framework64\v2.0.50727}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 3.5 (x64) at C:\Windows\Microsoft.NET\Framework64\v3.5, reporting parameters: {MSBuildTools3.5_x64_Path=C:\Windows\Microsoft.NET\Framework64\v3.5}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 4.0 (x64) at C:\Windows\Microsoft.NET\Framework64\v4.0.30319, reporting parameters: {MSBuildTools4.0_x64_Path=C:\Windows\Microsoft.NET\Framework64\v4.0.30319}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 14.0 (x86) at C:\Program Files (x86)\MSBuild\14.0\bin, reporting parameters: {MSBuildTools14.0_x86_Path=C:\Program Files (x86)\MSBuild\14.0\bin}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 2.0 (x86) at C:\Windows\Microsoft.NET\Framework\v2.0.50727, reporting parameters: {MSBuildTools2.0_x86_Path=C:\Windows\Microsoft.NET\Framework\v2.0.50727}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 3.5 (x86) at C:\Windows\Microsoft.NET\Framework\v3.5, reporting parameters: {MSBuildTools3.5_x86_Path=C:\Windows\Microsoft.NET\Framework\v3.5}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 4.0 (x86) at C:\Windows\Microsoft.NET\Framework\v4.0.30319, reporting parameters: {MSBuildTools4.0_x86_Path=C:\Windows\Microsoft.NET\Framework\v4.0.30319}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Found MSBuild, reporting parameters: {MSBuildTools16.0_x64_Path=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\amd64, MSBuildTools15.0_x86_Path=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin, MSBuildTools15.0_x64_Path=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\amd64, MSBuildTools16.0_x86_Path=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin}
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Finished MSBuild Search
[2020-01-08 09:23:11,564] INFO - cher.DotNetPropertiesExtension - Start MSTest Searcher
[2020-01-08 09:23:12,292] INFO - cher.DotNetPropertiesExtension - Found MSTest 14.0, reporting parameters: {teamcity.dotnet.mstest.14.0=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe}
[2020-01-08 09:23:12,293] INFO - cher.DotNetPropertiesExtension - Found MSTest 10.0, reporting parameters: {teamcity.dotnet.mstest.10.0=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe}
[2020-01-08 09:23:12,293] INFO - cher.DotNetPropertiesExtension - Found MSTest, reporting parameters: {teamcity.dotnet.mstest.16.0=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\MSTest.exe, teamcity.dotnet.mstest.15.0=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\MSTest.exe}
[2020-01-08 09:23:12,293] INFO - cher.DotNetPropertiesExtension - Finished MSTest Searcher
[2020-01-08 09:23:12,293] INFO - cher.DotNetPropertiesExtension - Start Microsoft .NET Framework Target Packs Search
[2020-01-08 09:23:12,388] INFO - NetFrameworkTargetPackDetector - .NET Framework Target Pack found: .NET Framework Target Pack 4.5.1,.NET Framework Target Pack 4.5.2,.NET Framework Target Pack 4.6.1,.NET Framework Target Pack 4.6.2,.NET Framework Target Pack 4.7.1,.NET Framework Target Pack 4.7.2,.NET Framework Target Pack 2.0,.NET Framework Target Pack 4.0,.NET Framework Target Pack 3.5,.NET Framework Target Pack 4.5,.NET Framework Target Pack 4.6,.NET Framework Target Pack 4.7,.NET Framework Target Pack 4.8,.NET Framework Target Pack 4.X
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.5.1, reporting parameters: {DotNetFrameworkTargetingPack4.5.1_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.5.2, reporting parameters: {DotNetFrameworkTargetingPack4.5.2_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.6.1, reporting parameters: {DotNetFrameworkTargetingPack4.6.1_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.6.2, reporting parameters: {DotNetFrameworkTargetingPack4.6.2_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.7.1, reporting parameters: {DotNetFrameworkTargetingPack4.7.1_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.1}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.7.2, reporting parameters: {DotNetFrameworkTargetingPack4.7.2_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 2.0, reporting parameters: {DotNetFrameworkTargetingPack2.0_Path=C:\Windows\Microsoft.NET\Framework\v2.0.50727}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.0, reporting parameters: {DotNetFrameworkTargetingPack4.0_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 3.5, reporting parameters: {DotNetFrameworkTargetingPack3.5_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.5, reporting parameters: {DotNetFrameworkTargetingPack4.5_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.6, reporting parameters: {DotNetFrameworkTargetingPack4.6_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.7, reporting parameters: {DotNetFrameworkTargetingPack4.7_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.8, reporting parameters: {DotNetFrameworkTargetingPack4.8_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8}
[2020-01-08 09:23:12,388] INFO - cher.DotNetPropertiesExtension - Found .NET Framework Target Pack 4.X, reporting parameters: {DotNetFrameworkTargetingPack4.X_Path=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.X}
[2020-01-08 09:23:12,389] INFO - cher.DotNetPropertiesExtension - Finished Microsoft .NET Framework Target Packs Search
[2020-01-08 09:23:12,389] INFO - cher.DotNetPropertiesExtension - Start VSTest.Console Searcher
[2020-01-08 09:23:12,859] INFO - cher.DotNetPropertiesExtension - Found VSTest 2015 at C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow, reporting parameters: {teamcity.dotnet.vstest.14.0=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe}
[2020-01-08 09:23:12,859] INFO - cher.DotNetPropertiesExtension - Found VSTest, reporting parameters: {teamcity.dotnet.vstest.15.0=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe, teamcity.dotnet.vstest.16.0=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe}
[2020-01-08 09:23:12,859] INFO - cher.DotNetPropertiesExtension - Finished VSTest.Console Searcher
[2020-01-08 09:23:12,966] INFO - rver.fxcop.agent.FxCopSearcher - Found FxCop 16.0.29512.175 in "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Static Analysis Tools\FxCop"
[2020-01-08 09:23:12,967] INFO - jetbrains.buildServer.AGENT - Start build agent
[2020-01-08 09:23:13,013] INFO - jetbrains.buildServer.AGENT - Agent Web server started on port 9090
[2020-01-08 09:23:13,018] INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to D:\TeamCity\buildAgent\logs\buildAgent.xmlRpcPort
[2020-01-08 09:23:13,020] INFO - agent.impl.AgentPortFileWriter - Launcher version is 71499
[2020-01-08 09:23:13,049] INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to D:\TeamCity\buildAgent\logs\buildAgent.xmlRpcPort :DONE!
[2020-01-08 09:23:13,097] INFO - jetbrains.buildServer.AGENT - Build agent started
[2020-01-08 09:23:13,115] INFO - buildServer.AGENT.registration - Registering on server via URL "http://localhost:8096": AgentDetails{Name='Beast-1', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[10.31.2.104], Port=9090, Version='71499', PluginsVersion='71499-md5-3ca67e1436499dfdea5f617b05091db5', AvailableRunners=[Ant, cargo-deploy-runner, dotnet-tools-dupfinder, dotnet-tools-inspectcode, dotnet.cli, Duplicator, ftp-deploy-runner, FxCop, gradle-runner, Inspection, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, NAnt, NUnit, rake-runner, SBT, simpleRunner, sln2003, smb-deploy-runner, ssh-deploy-runner, ssh-exec-runner, VisualStudioTest, VS.Solution], AvailableVcs=[tfs, cvs, jetbrains.git, mercurial, svn, perforce], AuthorizationToken='1111efa31b05072f06aca786191cecfe', PingCode='oNb0HTPu68KWrk36DiCyA4WnDBPvbhJj'}
[2020-01-08 09:23:13,279] INFO - buildServer.AGENT.registration - Server supports the following communication protocols: [polling]
[2020-01-08 09:23:13,279] INFO - buildServer.AGENT.registration - Trying to register on server using 'polling' protocol.
[2020-01-08 09:23:13,322] INFO - ldServer.AGENT.PollingProtocol - Start polling server for commands
[2020-01-08 09:23:13,324] INFO - buildServer.AGENT.registration - Registered on server with id 2 and authorization token 'xxx'
[2020-01-08 09:23:13,324] INFO - buildServer.AGENT.registration - If this is the first time this agent registered on the server make sure it is authorized by administrator in the server web UI.
[2020-01-08 09:23:13,518] INFO - r.artifacts.impl.HttpDiskCache - Cleaning up items with life time in cache greater than 172800 seconds
[2020-01-08 09:23:13,519] INFO - r.artifacts.impl.HttpDiskCache - Finished cleaning up expired items, 0 items removed
[2020-01-08 09:23:13,520] INFO - dDirectoryBasedCleanupRegistry - Removing files from D:\TeamCity\buildAgent\work\.old
[2020-01-08 09:23:13,564] INFO - l.directories.DirectoryMapImpl - Cleaning up old checkout directories. Default lifetime = 192 hour(s)
[2020-01-08 09:23:13,602] INFO - dDirectoryBasedCleanupRegistry - Removing files from D:\TeamCity\buildAgent\temp\.old
[2020-01-08 09:23:15,353] INFO - jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='Beast-1', AgentId=2, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[10.31.2.104], Port=9090, Version='71499', PluginsVersion='71499-md5-3ca67e1436499dfdea5f617b05091db5', AvailableRunners=[Ant, cargo-deploy-runner, dotnet-tools-dupfinder, dotnet-tools-inspectcode, dotnet.cli, Duplicator, ftp-deploy-runner, FxCop, gradle-runner, Inspection, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, NAnt, NUnit, rake-runner, SBT, simpleRunner, sln2003, smb-deploy-runner, ssh-deploy-runner, ssh-exec-runner, VisualStudioTest, VS.Solution], AvailableVcs=[tfs, cvs, jetbrains.git, mercurial, svn, perforce], AuthorizationToken='xxx', PingCode='oNb0HTPu68KWrk36DiCyA4WnDBPvbhJj'}

 

0
Comment actions Permalink

The command that is resulting in the error is listed in the log entry here:

[2020-01-08 09:24:22,610] INFO - nner2.OsProcessHandlerListener - Process exited with code -2147010893.
Command line: D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:D:\TeamCity\buildAgent\work\c4a3fcc2497bd135\TritonCommon "/msbuildPath:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\MSBuild.exe"

It would be worth trying to run that manually from your agent server to see if it turns anything up. As far as the warnings in the agent startup portion of the log go, it seems a bit off to me to see so many files not found. I'm going to bounce that one off our developers to hopefully get a better answer for you.

0
Comment actions Permalink

If I understand correctly how team city functions, the snippet above utilizes a utility to fire off the MSBuild, not the actual MSBuild call itself. If I fire the same command in a command prompt, nothing appears in the console.From what I've read in other posts in this forum, those are not meant to be called directly from a command prompt but executed by the agent.

This did, however, make a thought cross my mind: what if it's not the build call that's failing but the runner? I mentioned that we recently upgraded the server and I did have issues with some of the vc++ components and the winsxs directory. Could you confirm what the prereqs are or dependencies for the JetBrains.BuildServer.MSBuildBootstrap.exe executable?

I did attempt a re-install but I get the feeling it treated it like an upgrade and didn't do a full re-install as it kept all the old settings even without restoring from a backup. I'll attempt a clean install this morning, fully wipe the directory and see if maybe that helps.

0
Comment actions Permalink

I think I may have found the issue and it seems to be pointing to what I was referring to above, the actual runner being the issue, not the build. Have a look at the x64 lines in the below snippet

 

INFO - nt.win32.DumpDotNetProcessList - Found .NET .NET v2.0 x86 processes: []
[2020-01-09 10:24:50,630] INFO - nt.win32.DumpDotNetProcessList - Enumerating .NET processes. Runtime: .NET v2.0 x64
[2020-01-09 10:24:50,630] INFO - nt.win32.DumpDotNetProcessList - Starting Injector: D:\TeamCity\buildAgent\plugins\stacktracesPlugin\bin\x64\JetBrains.TeamCity.Injector.DotNet.x64.exe /processes
[2020-01-09 10:24:50,655] WARN - nt.win32.DumpDotNetProcessList - Injector exited with code: -2147010893
[2020-01-09 10:24:50,655] INFO - nt.win32.DumpDotNetProcessList - Found .NET .NET v2.0 x64 processes: []
[2020-01-09 10:24:50,655] INFO - nt.win32.DumpDotNetProcessList - Enumerating .NET processes. Runtime: .NET v4.0 x86
[2020-01-09 10:24:50,655] INFO - nt.win32.DumpDotNetProcessList - Starting Injector: D:\TeamCity\buildAgent\plugins\stacktracesPlugin\bin\x86\JetBrains.TeamCity.Injector.DotNet4.x86.exe /processes
[2020-01-09 10:24:50,959] INFO - nt.win32.DumpDotNetProcessList - Found .NET .NET v4.0 x86 processes: [2420, 5876, 6224, 6872]
[2020-01-09 10:24:50,959] INFO - nt.win32.DumpDotNetProcessList - Enumerating .NET processes. Runtime: .NET v4.0 x64
[2020-01-09 10:24:50,959] INFO - nt.win32.DumpDotNetProcessList - Starting Injector: D:\TeamCity\buildAgent\plugins\stacktracesPlugin\bin\x64\JetBrains.TeamCity.Injector.DotNet4.x64.exe /processes
[2020-01-09 10:24:50,984] WARN - nt.win32.DumpDotNetProcessList - Injector exited with code: -2147010893
[2020-01-09 10:24:50,984] INFO - nt.win32.DumpDotNetProcessList - Found .NET .NET v4.0 x64 processes: []

If I read that correctly, the agent is looking for running processes. It finds the relevant x86 but when starting its injector on the x64, the injector exits with the code, The weird thing is, this is on a windows server 2012 r2 machine, which to my knowledge doesn't run 32bit dlls so its kind of weird that its complaining about finding 32bit processes but not the 64bit?

0
Comment actions Permalink

Just a note, I'd still like to find out what went wrong with this installation but I created a new installation on our dev server that runs Youtrack, UpSource and Hub and imported the projects from a backup of the other server. Besides needing to install the frameworks ( there is no visual studio installed ), the build chains are working again without any changes to code or build configurations so it would appear that something went properly wrong during the server upgrade and the environment refuses to work with TeamCity.

0
Comment actions Permalink

This is interesting! I was just typing up a response to your previous comments, but I'm glad to hear your build chains are working again. I am also genuinely curious about what happened after the Server 2012 r2 upgrade.

What version of Windows Server did you upgrade from and do you know how it was performed? 

0
Comment actions Permalink

The server upgrade was an in-place upgrade from windows 2008 r2 but the server is also pretty "old" relatively. The image ( its a VM ) has been around since '09 and the OS has just been upgraded/patched as it aged including all the dev tools from vs2005 to current and MSSQL2005 to 2014r2. It currently hosts our test applications, databases and source repository and was the build server with TeamCity. 

The other server I spoke about is a clean VM of 2012 R2 which we are using as our helpdesk, code review ( YouTrack, Upsource and Hub ) and knowledge base.

During the in-place upgrade, I encountered an issue with the VC++ extensions and the SQL installation wouldn't start correctly That required some "jimmying" of the winsxs files as it appeared that the SQL server was referencing and old component that was incompatible with 2014. Deleting the component forced the installation to utilize a newer library. I don't know if its the same concern with the MSBuildBootstrapper, which is why I asked if you knew the prereqs or base dlls it needed to run.

From my research into the issue, the winsxs whole purpose of existence is to allow parallel installations of reference dlls. I think due to the age of the VM, some installations used dlls that are not compatible with the new windows version and the upgrade process was not able to update those references. Also as the software has a previous installation, there is some remnant still looking for those "classic" dlls ( reg key maybe? ). I did attempt a full clean install ( deleting both the installation folder and program data folders ) but the problem persisted on that server even when building a totally new project and build configuration.

0
Comment actions Permalink

Thanks for the detailed description of the upgrade process. I was discussing your case internally and one of our developers has suggested re-installing the .NET 3.5 Framework. It seems something may have happened during the upgrade that could have caused this framework installation to become corrupt. 

0
Comment actions Permalink

Hmmm, I tried downloading and installing the 3.5fx pack but the install doesn't start which is strange but for 2012r2 there is the ability to add the features of both 3.5 and 4.x, I re-installed via that method but still nothing.

Strange that I get no message with the 3.5pack though. I would have thought the server would tell me to install via another method or the installer would throw an onscreen error but it just dies, even when run as administrator.

This was the version I tried to install separately -> https://dotnet.microsoft.com/download/dotnet-framework/net35-sp1 

*Later Edit*

So to make the situation weirder, I tried a number of ways to re-install the 3.5 frameworks. The server is now in such a state that it claims that the 3.5 Framework has been removed ( through the server configuration wizard ) and it actually won't allow me to re-enable the features or re-install it to an active state. HOWEVER ....  the builds are now working again and yet IIS websites running on the old framework are not having an issue so the 3.5 installations must still exist and be active somewhere on the server but the 2012r2 OS is not recognizing it's location. I assume then that the cause of the fault was somehow a parallel installation that conflicted when ran. The installer of the 3.5fx pack now also gives me the message that it must be installed by the server management whereas it just crashed before.

Out of interest, the error code on the system configuration is 

DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0922

and drilling into the CBS log I get the below:

Error CSI 0000041f (F) Done with generic command 20 (0x00000014); CreateProcess returned 0, CPAW returned S_OK
Process exit code 255 (0x000000ff) resulted in success? FALSE
Process output: [l:0 ][gle=0x80004005]

 

Succesful builds as below now.

I'm going to leave it at that as the issue obviously points to a bad upgrade. I would suggest though that maybe if there was more clarity in the logs around that type of error code? One that is thrown by the runner that executes the build command vs the build command itself. My only suggestion to anyone else who encounters a similar problem based on this error is to uninstall the default 3.5 that comes with 2012r2 and force a re-install, through both local and remote repositories if one doesn't work. 

Thanks for the assist Eric, to you and the team, great support.

0

Please sign in to leave a comment.