Starting TeamCity Build Agent Launcher...
Agent home directory is C:\BuildAgent
Lock file: C:\BuildAgent\logs\buildAgent.properties.lock
Using no lock
Deleting C:\BuildAgent\update
Deleting C:\BuildAgent\update
Update folder deleted
Deleting C:\BuildAgent\backup
Tue Jun 11 14:50:08 CDT 2019 ==> Start launch
Agent Java runtime version is 1.8
Launching agent with command:  C:\BuildAgent\jre\bin\java.exe -ea -Xmx384m -Dlog
4j.configuration=file:../conf/teamcity-agent-log4j.xml -Dteamcity_logs=../logs/
-classpath C:\BuildAgent\lib\agent-configurator.jar;C:\BuildAgent\lib\agent-inst
aller-ui.jar;C:\BuildAgent\lib\agent-launcher.jar;C:\BuildAgent\lib\agent-openap
i.jar;C:\BuildAgent\lib\agent-upgrade.jar;C:\BuildAgent\lib\agent.jar;C:\BuildAg
ent\lib\annotations.jar;C:\BuildAgent\lib\app-wrapper.jar;C:\BuildAgent\lib\buil
dAgent-updates-applying.jar;C:\BuildAgent\lib\cloud-shared.jar;C:\BuildAgent\lib
\common-impl.jar;C:\BuildAgent\lib\common-runtime.jar;C:\BuildAgent\lib\common.j
ar;C:\BuildAgent\lib\commons-beanutils-core.jar;C:\BuildAgent\lib\commons-codec.
jar;C:\BuildAgent\lib\commons-collections-3.2.2.jar;C:\BuildAgent\lib\commons-co
mpress-1.9.jar;C:\BuildAgent\lib\commons-httpclient-3.1.jar;C:\BuildAgent\lib\co
mmons-io-1.3.2.jar;C:\BuildAgent\lib\commons-logging.jar;C:\BuildAgent\lib\cover
age-agent-common.jar;C:\BuildAgent\lib\coverage-report.jar;C:\BuildAgent\lib\dup
licator-util.jar;C:\BuildAgent\lib\ehcache-1.6.0-patch.jar;C:\BuildAgent\lib\ehc
ache-1.7.2.jar;C:\BuildAgent\lib\freemarker.jar;C:\BuildAgent\lib\gson.jar;C:\Bu
ildAgent\lib\idea-settings.jar;C:\BuildAgent\lib\inspections-util.jar;C:\BuildAg
ent\lib\jaxen-1.1.1.jar;C:\BuildAgent\lib\jdk-searcher.jar;C:\BuildAgent\lib\jdo
m.jar;C:\BuildAgent\lib\joda-time.jar;C:\BuildAgent\lib\launcher-api.jar;C:\Buil
dAgent\lib\launcher.jar;C:\BuildAgent\lib\log4j-1.2.12-json-layout.jar;C:\BuildA
gent\lib\log4j-1.2.12.jar;C:\BuildAgent\lib\messages.jar;C:\BuildAgent\lib\nuget
-utils.jar;C:\BuildAgent\lib\openapi.jar;C:\BuildAgent\lib\patches-impl.jar;C:\B
uildAgent\lib\patches.jar;C:\BuildAgent\lib\processesTerminator.jar;C:\BuildAgen
t\lib\resources_en.jar;C:\BuildAgent\lib\runtime-util.jar;C:\BuildAgent\lib\serv
er-logging.jar;C:\BuildAgent\lib\serviceMessages.jar;C:\BuildAgent\lib\slf4j-api
-1.7.5.jar;C:\BuildAgent\lib\slf4j-log4j12-1.7.5.jar;C:\BuildAgent\lib\spring-sc
ripting\spring-scripting-bsh.jar;C:\BuildAgent\lib\spring-scripting\spring-scrip
ting-groovy.jar;C:\BuildAgent\lib\spring-scripting\spring-scripting-jruby.jar;C:
\BuildAgent\lib\spring.jar;C:\BuildAgent\lib\trove-3.0.3.jar;C:\BuildAgent\lib\t
rove4j.jar;C:\BuildAgent\lib\util.jar;C:\BuildAgent\lib\xercesImpl.jar;C:\BuildA
gent\lib\xml-rpc-wrapper.jar;C:\BuildAgent\lib\xmlrpc-2.0.1.jar;C:\BuildAgent\li
b\xpp3-1.1.4c.jar;C:\BuildAgent\lib\xstream-1.4.10-custom.jar;C:\BuildAgent\lib\
xz-1.5.jar jetbrains.buildServer.agent.AgentMain -file ..\conf\buildAgent.proper
ties -launcher.version 65998
Using logs directory "C:\BuildAgent\logs"
Log4J configuration file C:\BuildAgent\bin\..\conf\teamcity-agent-log4j.xml will
 be monitored with interval 10 seconds.
[2019-06-11 14:50:43,627]   WARN -      jetbrains.buildServer.VCS - '[C:\BuildAg
ent\temp] hg version --quiet' command failed.
[2019-06-11 14:50:43,797]   WARN -      jetbrains.buildServer.VCS - 'git.exe ver
sion' command failed.
exit code: -1
exception: com.intellij.execution.process.ProcessNotCreatedException: Cannot run
 program "git.exe" (in directory "."): CreateProcess error=2, The system cannot
find the file specified
[2019-06-11 14:50:54,510]   WARN - Server.powershell.agent.DETECT - Failed to ru
n PowerShell detection script [C:\BuildAgent\system\powershell-runner\detect_156
0282644006.ps1] with executable [C:\Windows\System32\WindowsPowerShell\v1.0\powe
rshell.exe]: com.intellij.execution.ExecutionException: You cannot call a method
 on a null-valued expression.
At C:\BuildAgent\system\powershell-runner\detect_1560282644006.ps1:1 char:1
+ Write-Output $PSVersionTable.PSVersion.toString() $PSVersionTable.PSEdition.to
St ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

 (enable debug to see stacktrace)
[2019-06-11 14:51:07,591]   INFO - buildServer.AGENT.registration - Registering
on server via URL "http://localhost:8080": AgentDetails{Name='BuildAgent2', Agen
tId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[10.4.19.11
7, 10.4.19.118], Port=9091, Version='65998', PluginsVersion='65998-md5-db1d00977
6febf64d524d535c5c7f27f', AvailableRunners=[Ant, cargo-deploy-runner, dotnet-too
ls-dupfinder, dotnet-tools-inspectcode, dotnet.cli, Duplicator, ftp-deploy-runne
r, 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], Authorizati
onToken='7eada5148ed6997798ba4ee81d7b255b', PingCode='xxjuTldAuttnyWdTQj2R9NBmdp
dLbDWi'}
[2019-06-11 14:51:07,994]   INFO - buildServer.AGENT.registration - Server suppo
rts the following communication protocols: [polling]
[2019-06-11 14:51:07,994]   INFO - buildServer.AGENT.registration - Trying to re
gister on server using 'polling' protocol.
[2019-06-11 14:51:08,050]   INFO - buildServer.AGENT.registration - Registered o
n server with id 6 and authorization token '7eada5148ed6997798ba4ee81d7b255b'
[2019-06-11 14:51:08,050]   INFO - buildServer.AGENT.registration - If this is t
he first time this agent registered on the server make sure it is authorized by
administrator in the server web UI.
[2019-06-11 14:52:34,755]   WARN - ldServer.AGENT.PollingProtocol - Command "run
Build" {id = 1} confirmation was delivered to the server by POST http://localhos
t:8080/app/agents/v1/commands/result, but server returns error: InvalidCommandId
: Server doesn't have any pending command. Will continue polling.
[2019-06-11 14:52:48,003]   WARN - mlReportPlugin.XmlReportPlugin - No reports f
ound for paths:
[2019-06-11 14:52:48,003]   WARN - mlReportPlugin.XmlReportPlugin - "C:\TASB\TFS
\Test Automation\Enterprise Smoke Test Suite\Results\*.xml"
[2019-06-11 14:52:49,192]   WARN -    jetbrains.buildServer.AGENT - jetbrains.bu
ildServer.xmlrpc.RemoteCallException: Call 'http://localhost:8080/RPC2', method
'buildServer.log' failed: org.apache.xmlrpc.XmlRpcException: jetbrains.buildServ
er.InvalidRunningBuildException: Running build with id 13429 does not exist anym
ore
[2019-06-11 14:52:49,192]   WARN - r.agent.impl.AgentLogProxyImpl - Stopping bui
ld on the agent and on the server because of invalid running build
[2019-06-11 14:52:50,027]   WARN - r.agent.impl.AgentLogProxyImpl - Remote comma
nd for build id:13429 ignored. Command: '1 log messages'
[2019-06-11 14:52:50,027]   WARN - r.agent.impl.AgentLogProxyImpl - Remote comma
nd for build id:13429 ignored. Command: 'buildInterrupted'
[2019-06-11 14:52:50,027]   WARN - r.agent.impl.AgentLogProxyImpl - Remote comma
nd for build id:13429 ignored. Command: 'buildFinished'
[2019-06-11 14:55:42,644]   WARN - ldServer.AGENT.PollingProtocol - Command "run
Build" {id = 2} confirmation was delivered to the server by POST http://localhos
t:8080/app/agents/v1/commands/result, but server returns error: InvalidCommandId
: Server doesn't have any pending command. Will continue polling.
[2019-06-11 14:55:56,645]   WARN - mlReportPlugin.XmlReportPlugin - No reports f
ound for paths:
[2019-06-11 14:55:56,645]   WARN - mlReportPlugin.XmlReportPlugin - "C:\TASB\TFS
\Test Automation\Enterprise Smoke Test Suite\Results\*.xml"
