Incompatible configuration for build agent

Answered

The hardware and OS for my build agent 

OS: Windows 7 Enterprise SP1

CPU: Intel Core i7-6700 @3.4GHz @3.4GHz

System type: 64 bits

Below is the build step setting for a unit test project, I have to specify the target platform as x64 to make sure the tests passed



Then in the Compatible Configurations page of the agent, the unit test project is appear under Assigned incompatible configurations with below error message

Unmet requirements: teamcity.agent.jvm.os.arch matches amd64

Any ideas on how to solve the problem? Thanks in advanced!

0
16 comments

Hello,

It seems that this requirement is generated not by VSTest runner. Do you have any requirements specified on build configuration > Agent Requirements page?

0

Hi Alina

Thanks for your response. The agent requirements settings are as below

Build Steps Requirements

Additional agent requirements imposed by the configured build steps

Parameter Name                   Condition
MSBuildTools12.0_x86_Path                             exists
teamcity.agent.jvm.os.arch                             matches amd64

The os.arch requiremnt is introduced by setting the Target platfrom as x64 in VSTest runner setting page (please see the attched image in my first post). If I change the platform as x86 then the 'matches amd64' condition will be gone

0

Hi Carlos,

What TeamCity version do you use? The VSTest runner plugin was updated and replaced with Visual Studio Tests runner in newer versions. Could you please upgrade to the latest TeamCity version (10.0.3 as of now) and check if the issue is reproduced? 

0

Hi Alina

The TeamCity version is 8.1 build 29879, and is it free to upgrade to v10? Currently ourTeamCity server is located at other campus and it seems impossible to upgrade that? ;-(

Thanks,

Carlos

0

Hi Carlos,

Before upgrade you need to make sure the maintenance period of your licenses is not yet elapsed (use Administration | Licenses TeamCity server web UI page to list your license keys). The licenses are valid only for the versions of TeamCity with the effective release date within the maintenance period. See the effective release date at the page.

If you are not able to upgrade at the moment you can update the plugin: https://youtrack.jetbrains.com/issue/TW-25179#comment=27-749499

0

Hi Alina

Thanks for your information. For the latest plugin, should I replace the files in the TeamCity server machine or just replace the files in the agent machine?

0

Hi Alina

I have downloaded the plugin (from here) and upgrade it as the link you mentioned, but how could I applied the installed vstest plugin in my configuration?

0

Hello,

The plugin should be upgraded automatically on all agent. Do you still see the unmet requirement reported?

0

Hi Alina

The problem still exists.

0

Below is some related log, hope it helps to diagnostic the issue

 

 

[2016-11-23 10:22:01,417] INFO - jetbrains.buildServer.SERVER - Starting TeamCity agent
[2016-11-23 10:22:01,484] INFO - s.buildServer.agent.AgentMain2 -

 

 


[2016-11-23 10:22:01,485] INFO - s.buildServer.agent.AgentMain2 - ===========================================================
[2016-11-23 10:22:01,749] INFO - s.buildServer.agent.AgentMain2 - TeamCity Build Agent 8.1 (build 29879), OS: Windows 7, JRE: 1.7.0_51-b13
[2016-11-23 10:22:01,749] INFO - s.buildServer.agent.AgentMain2 - Starting...
[2016-11-23 10:22:01,861] INFO - s.buildServer.agent.AgentMain2 - Agent home is C:\BuildAgent
[2016-11-23 10:22:02,621] INFO - buildServer.agent.AgentMain2$2 - Refreshing jetbrains.buildServer.agent.AgentMain2$2@1757596: startup date [Wed Nov 23 10:22:02 CST 2016]; root of context hierarchy
[2016-11-23 10:22:05,407] WARN - jetbrains.buildServer.AGENT - Calculating CPU benchmark index...
[2016-11-23 10:22:09,920] WARN - jetbrains.buildServer.AGENT - CPU benchmark index is set to 714
[2016-11-23 10:22:10,084] INFO - dAgentConfigurationInitializer - Loading build agent configuration from ..\conf\buildAgent.properties
[2016-11-23 10:22:10,295] INFO - s.buildServer.agent.AgentMain2 - Working dir: C:\BuildAgent\work
[2016-11-23 10:22:10,295] INFO - s.buildServer.agent.AgentMain2 - Temp dir: C:\BuildAgent\temp
[2016-11-23 10:22:10,459] INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2016-11-23 10:22:10,459] INFO - rver.plugins.PluginManagerImpl - Plugins initialization started...
[2016-11-23 10:22:10,460] INFO - rver.plugins.PluginManagerImpl - Scanning plugins folders
[2016-11-23 10:22:10,465] INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: C:\BuildAgent\plugins
[2016-11-23 10:22:10,746] WARN - .files.AgentPluginsFilesLookup - Failed to parse C:\BuildAgent\plugins\vstest\teamcity-plugin.xml file. Using default values. Failed to parse plugin descriptor. Error on line 5 of document file:/C:/BuildAgent/plugins/vstest/teamcity-plugin.xml: cvc-complex-type.2.4.d: Invalid content was found starting with element 'dependencies'. No child element is expected at this point.
jetbrains.buildServer.plugins.xml.PluginXmlParseException: Failed to parse plugin descriptor. Error on line 5 of document file:/C:/BuildAgent/plugins/vstest/teamcity-plugin.xml: cvc-complex-type.2.4.d: Invalid content was found starting with element 'dependencies'. No child element is expected at this point.
at jetbrains.buildServer.plugins.xml.ValidatingXmlLoader$XmlLoader.parse(ValidatingXmlLoader.java:67)
at jetbrains.buildServer.plugins.xml.ValidatingXmlLoader.parse(ValidatingXmlLoader.java:28)
at jetbrains.buildServer.agent.plugins.xml.AgentPluginXmlParserImpl.parsePluginDescriptor(AgentPluginXmlParserImpl.java:34)
at jetbrains.buildServer.agent.plugins.files.AgentPluginsFilesLookup.parsePluginXml(AgentPluginsFilesLookup.java:90)
at jetbrains.buildServer.agent.plugins.files.AgentPluginsFilesLookup.loadPluginInfo(AgentPluginsFilesLookup.java:80)
at jetbrains.buildServer.plugins.files.JarSearcherBase.processPluginDirectory(JarSearcherBase.java:57)
at jetbrains.buildServer.plugins.files.JarSearcherBase.loadPluginsFrom(JarSearcherBase.java:52)
at jetbrains.buildServer.plugins.files.JarSearcherBase.loadPluginsFrom(JarSearcherBase.java:37)
at jetbrains.buildServer.agent.plugins.files.AgentPluginsFilesLookup.loadPluginsFrom(AgentPluginsFilesLookup.java:73)
at jetbrains.buildServer.plugins.PluginManagerImpl.lookupPlugins(PluginManagerImpl.java:106)
at jetbrains.buildServer.plugins.PluginManagerImpl.loadPlugins(PluginManagerImpl.java:69)
at jetbrains.buildServer.agent.plugins.AgentPluginsLoader.initializePlugins(AgentPluginsLoader.java:63)
at jetbrains.buildServer.agent.AgentMain2.loadPlugins(AgentMain2.java:141)
at jetbrains.buildServer.agent.AgentMain2.main(AgentMain2.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:41)
Caused by: org.jdom.input.JDOMParseException: Error on line 5 of document file:/C:/BuildAgent/plugins/vstest/teamcity-plugin.xml: cvc-complex-type.2.4.d: Invalid content was found starting with element 'dependencies'. No child element is expected at this point.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:501)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
at jetbrains.buildServer.plugins.xml.ValidatingXmlLoader$1.buildDocument(ValidatingXmlLoader.java:35)
at jetbrains.buildServer.plugins.xml.ValidatingXmlLoader$XmlLoader.parse(ValidatingXmlLoader.java:59)
... 18 more
Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/BuildAgent/plugins/vstest/teamcity-plugin.xml; lineNumber: 5; columnNumber: 17; cvc-complex-type.2.4.d: Invalid content was found starting with element 'dependencies'. No child element is expected at this point.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
... 22 more
[2016-11-23 10:22:10,793] INFO - ctories.CleanupRegistryCleaner - Removing files from .old to meet free space requirements.
[2016-11-23 10:22:10,817] INFO - .plugins.files.JarSearcherBase - Scanning plugin folder: C:\BuildAgent\tools
[2016-11-23 10:22:11,029] INFO - rver.plugins.PluginManagerImpl - Found 52 plugins: [agentSystemInfo, amazonEC2, ant, ant-net-tasks, antPlugin, assembly-info-patcher, clearcase-agent, commandLineRunner, coveragePlugin, crashDetector, cvsAgent, dotCover, dotnet-tools, dotnetPlugin, dotNetRunners, duplicatePlugin, environment-fetcher, fxcop, gant, gantPlugin, gradle-runner, idea, inspectionPlugin, iprPlugin, jacoco, java-dowser, jetbrains.git, jps, jps-old, junitPlugin, jvm-update, maven, maven3, maven3_1, mavenPlugin, mercurial, meta-runner, nuget-agent, perfmon, perforce-agent, powershell-agent, rake-runner, remoteAccess, ssh-manager, stacktracesPlugin, svnAgent, swabra, testNGPlugin, tfs-agent, vstest, xcode-runner, xml-report-plugin]
[2016-11-23 10:22:11,029] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\ant
[2016-11-23 10:22:11,044] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\antRun
[2016-11-23 10:22:11,044] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\ant.bat
[2016-11-23 10:22:11,045] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\ant.cmd
[2016-11-23 10:22:11,045] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\antenv.cmd
[2016-11-23 10:22:11,045] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\envset.cmd
[2016-11-23 10:22:11,046] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\lcp.bat
[2016-11-23 10:22:11,046] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\runrc.cmd
[2016-11-23 10:22:11,062] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\antRun.pl
[2016-11-23 10:22:11,062] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\complete-ant-cmd.pl
[2016-11-23 10:22:11,062] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\runant.pl
[2016-11-23 10:22:11,063] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\plugins\ant\bin\runant.py
[2016-11-23 10:22:11,064] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\tools\gant\bin\gant
[2016-11-23 10:22:11,066] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\tools\gant\bin\startGroovy
[2016-11-23 10:22:11,067] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\tools\maven\bin\mvn
[2016-11-23 10:22:11,068] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\tools\maven3\bin\mvn
[2016-11-23 10:22:11,079] INFO - les.ExecutableAttributesSetter - Settings executable attribute for: C:\BuildAgent\tools\maven3_1\bin\mvn
[2016-11-23 10:22:11,137] INFO - rver.plugins.PluginsCollection - Load standalone classloaders for 7 plugins [jvm-update, meta-runner, nuget-agent, perforce-agent, rake-runner, svnAgent, xcode-runner]
[2016-11-23 10:22:11,138] INFO - rver.plugins.PluginsCollection - Load shared classloader for 35 plugins [agentSystemInfo, amazonEC2, ant, antPlugin, assembly-info-patcher, clearcase-agent, commandLineRunner, coveragePlugin, crashDetector, cvsAgent, dotnet-tools, dotnetPlugin, dotNetRunners, duplicatePlugin, environment-fetcher, fxcop, gantPlugin, gradle-runner, inspectionPlugin, iprPlugin, java-dowser, jetbrains.git, junitPlugin, mavenPlugin, mercurial, perfmon, powershell-agent, remoteAccess, ssh-manager, stacktracesPlugin, swabra, testNGPlugin, tfs-agent, vstest, xml-report-plugin]
[2016-11-23 10:22:15,289] ERROR - gins.spring.SpringPluginLoader - Failed to initialize spring context for plugin vstest
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jetbrains.buildServer.dotNet.testRunner.agent.VSTestRunnerServiceFactory#0' defined in plugin: vstest#vstest-agent.jar!/META-INF/build-agent-plugin-vstest.xml: Unsatisfied dependency expressed through constructor argument with index 0 of type [jetbrains.buildServer.agent.DotNetRunnersCompatibility]: : No matching bean of type [jetbrains.buildServer.agent.DotNetRunnersCompatibility] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [jetbrains.buildServer.agent.DotNetRunnersCompatibility] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at jetbrains.buildServer.plugins.spring.SpringPluginLoader.pluginClassesLoaded(SpringPluginLoader.java:72)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:117)
at jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67)
at com.sun.proxy.$Proxy7.pluginClassesLoaded(Unknown Source)
at jetbrains.buildServer.plugins.PluginManagerImpl$2.visitPlugin(PluginManagerImpl.java:122)
at jetbrains.buildServer.plugins.PluginsCollection.foreachLoadedPlugins(PluginsCollection.java:107)
at jetbrains.buildServer.plugins.PluginManagerImpl.firePluginClassesLoaded(PluginManagerImpl.java:120)
at jetbrains.buildServer.plugins.PluginManagerImpl.loadPlugins(PluginManagerImpl.java:80)
at jetbrains.buildServer.agent.plugins.AgentPluginsLoader.initializePlugins(AgentPluginsLoader.java:63)
at jetbrains.buildServer.agent.AgentMain2.loadPlugins(AgentMain2.java:141)
at jetbrains.buildServer.agent.AgentMain2.main(AgentMain2.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:41)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [jetbrains.buildServer.agent.DotNetRunnersCompatibility] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:920)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:789)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
... 31 more
[2016-11-23 10:22:16,147] INFO - rver.plugins.PluginManagerImpl - Plugins initialization completed:
[2016-11-23 10:22:16,148] INFO - rver.plugins.PluginManagerImpl - Loaded 52 plugins: [agentSystemInfo, amazonEC2, ant, ant-net-tasks, antPlugin, assembly-info-patcher, clearcase-agent, commandLineRunner, coveragePlugin, crashDetector, cvsAgent, dotCover, dotnet-tools, dotnetPlugin, dotNetRunners, duplicatePlugin, environment-fetcher, fxcop, gant, gantPlugin, gradle-runner, idea, inspectionPlugin, iprPlugin, jacoco, java-dowser, jetbrains.git, jps, jps-old, junitPlugin, jvm-update, maven, maven3, maven3_1, mavenPlugin, mercurial, meta-runner, nuget-agent, perfmon, perforce-agent, powershell-agent, rake-runner, remoteAccess, ssh-manager, stacktracesPlugin, svnAgent, swabra, testNGPlugin, tfs-agent, vstest, xcode-runner, xml-report-plugin]
[2016-11-23 10:22:16,148] INFO - rver.plugins.PluginManagerImpl - ===========================================================
[2016-11-23 10:22:16,492] INFO - jetbrains.buildServer.AGENT - Build Agent version: 29879, plugins signature: 29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a
[2016-11-23 10:22:18,047] INFO - etFrameworkPropertiesExtension - Found .Net Framework 1.1(1.1.4322) x32 at C:\Windows\Microsoft.NET\Framework\v1.1.4322
[2016-11-23 10:22:18,047] INFO - etFrameworkPropertiesExtension - Found .Net Framework 2.0(2.0.50727) x32 at C:\Windows\Microsoft.NET\Framework\v2.0.50727
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 3.0(3.0.30729.5420) x32 at C:\Windows\Microsoft.NET\Framework\v3.0
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 3.5(3.5.30729.5420) x32 at C:\Windows\Microsoft.NET\Framework\v3.5
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 4.0(4.0.30319) x32 at C:\Windows\Microsoft.NET\Framework\v4.0.30319
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 4.5(4.5.51209) x32 at C:\Windows\Microsoft.NET\Framework\v4.0.30319
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 2.0(2.0.50727) x64 at C:\Windows\Microsoft.NET\Framework64\v2.0.50727
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 3.0(3.0.30729.5420) x64 at C:\Windows\Microsoft.NET\Framework64\v3.0
[2016-11-23 10:22:18,048] INFO - etFrameworkPropertiesExtension - Found .Net Framework 3.5(3.5.30729.5420) x64 at C:\Windows\Microsoft.NET\Framework64\v3.5
[2016-11-23 10:22:18,049] INFO - etFrameworkPropertiesExtension - Found .Net Framework 4.0(4.0.30319) x64 at C:\Windows\Microsoft.NET\Framework64\v4.0.30319
[2016-11-23 10:22:18,049] INFO - etFrameworkPropertiesExtension - Found .Net Framework 4.5(4.5.51209) x64 at C:\Windows\Microsoft.NET\Framework64\v4.0.30319
[2016-11-23 10:22:20,553] INFO - javaDowser.JavaDowserAgentImpl - JavaDowser: Found 3 java installations:
1.7/32 (1.7.0_51) at C:\BuildAgent\bin\..\jre (JRE) [201]
1.8/64 (1.8.0_111) at C:\Program Files\Java\jre1.8.0_111 (JRE) [300]
1.7/32 (1.7.0_111) at C:\Program Files (x86)\Java\jre7 (JRE) [300]
[2016-11-23 10:22:20,606] INFO - ggers.vcs.mercurial.HgDetector - Cannot detect installed mercurial
[2016-11-23 10:22:20,881] INFO - gent.detect.PowerShellDetector - Found: PowerShell v2.0 x86(C:\Windows\SysWOW64\WindowsPowerShell\v1.0)
[2016-11-23 10:22:21,148] INFO - gent.detect.PowerShellDetector - Found: PowerShell v2.0 x64(C:\Windows\System32\WindowsPowerShell\v1.0)
[2016-11-23 10:22:21,205] INFO - dAgentConfigurationInitializer - Loading build agent configuration from ..\conf\buildAgent.properties
[2016-11-23 10:22:21,352] 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. Network is unreachable: connect
[2016-11-23 10:22:21,352] INFO - .agent.AmazonPropertiesUpdater - Fetched AmazonEC2 instance metadata:
[2016-11-23 10:22:21,356] INFO - zon.agent.AmazonMetadataChecks - Amazon EC instance metadata contains no keys
[2016-11-23 10:22:21,356] WARN - .agent.AmazonPropertiesUpdater - Fetched Amazon EC2 instance metadata does not contain required values. Probably this agent was not started inside Amazon EC2. Is proxy server used?
[2016-11-23 10:22:21,412] INFO - r.mono.MonoPropertiesExtension - HKLM\SOFTWARE\Novell\Mono\DefaultCLR wasn't found => no mono
[2016-11-23 10:22:21,524] INFO - cher.DotNetPropertiesExtension - Start Microsoft .NET Framework SDK Search
[2016-11-23 10:22:21,613] INFO - cher.DotNetPropertiesExtension - Finished Microsoft .NET Framework SDK Search
[2016-11-23 10:22:21,613] INFO - cher.DotNetPropertiesExtension - Start Microsoft Visual Studio Search
[2016-11-23 10:22:21,905] INFO - cher.DotNetPropertiesExtension - Found Microsoft Visual Studio 2013 at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
[2016-11-23 10:22:21,905] INFO - cher.DotNetPropertiesExtension - Finished Microsoft Visual Studio Search
[2016-11-23 10:22:21,905] INFO - cher.DotNetPropertiesExtension - Start Microsoft Windows SDK Search
[2016-11-23 10:22:23,219] INFO - cher.DotNetPropertiesExtension - Found Windows SDK v7.1A
[2016-11-23 10:22:23,219] INFO - cher.DotNetPropertiesExtension - Found Windows SDK v8.0
[2016-11-23 10:22:23,219] INFO - cher.DotNetPropertiesExtension - Found Windows SDK v8.0A
[2016-11-23 10:22:23,219] INFO - cher.DotNetPropertiesExtension - Found Windows SDK v8.1
[2016-11-23 10:22:23,219] INFO - cher.DotNetPropertiesExtension - Found Windows SDK v8.1A
[2016-11-23 10:22:23,220] INFO - cher.DotNetPropertiesExtension - Finished Microsoft Windows SDK Search
[2016-11-23 10:22:23,220] INFO - cher.DotNetPropertiesExtension - Start MSBuild Search
[2016-11-23 10:22:23,830] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 12.0 (x86) at C:\Program Files (x86)\MSBuild\12.0\bin
[2016-11-23 10:22:23,830] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 2.0 (x86) at C:\Windows\Microsoft.NET\Framework\v2.0.50727
[2016-11-23 10:22:23,831] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 3.5 (x86) at C:\Windows\Microsoft.NET\Framework\v3.5
[2016-11-23 10:22:23,831] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 4.0 (x86) at C:\windows\Microsoft.NET\Framework\v4.0.30319
[2016-11-23 10:22:23,831] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 12.0 (x64) at C:\Program Files (x86)\MSBuild\12.0\bin\amd64
[2016-11-23 10:22:23,831] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 2.0 (x64) at C:\Windows\Microsoft.NET\Framework64\v2.0.50727
[2016-11-23 10:22:23,831] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 3.5 (x64) at C:\Windows\Microsoft.NET\Framework64\v3.5
[2016-11-23 10:22:23,832] INFO - cher.DotNetPropertiesExtension - Found MSBuild Toolset 4.0 (x64) at C:\windows\Microsoft.NET\Framework64\v4.0.30319
[2016-11-23 10:22:23,832] INFO - cher.DotNetPropertiesExtension - Finished MSBuild Search
[2016-11-23 10:22:23,832] INFO - cher.DotNetPropertiesExtension - Start MSTest Searcher
[2016-11-23 10:22:24,720] INFO - cher.DotNetPropertiesExtension - Found MSTest 12.0
[2016-11-23 10:22:24,720] INFO - cher.DotNetPropertiesExtension - Finished MSTest Searcher
[2016-11-23 10:22:24,720] INFO - cher.DotNetPropertiesExtension - Start VSTest.Console Searcher
[2016-11-23 10:22:24,894] INFO - cher.DotNetPropertiesExtension - Found VSTest 2013 at C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
[2016-11-23 10:22:24,894] INFO - cher.DotNetPropertiesExtension - Finished VSTest.Console Searcher
[2016-11-23 10:22:24,956] INFO - rver.fxcop.agent.FxCopSearcher - .fxcop file association wasn't found in CLASSES_ROOT
[2016-11-23 10:22:24,956] INFO - rver.fxcop.agent.FxCopSearcher - VS2010_Path configuration parameter was not found
[2016-11-23 10:22:24,956] INFO - jetbrains.buildServer.AGENT - Start build agent
[2016-11-23 10:22:25,036] INFO - jetbrains.buildServer.AGENT - Agent Web server started on port 9090
[2016-11-23 10:22:25,038] INFO - agent.impl.AgentDetailsFactory - Build agent ownAddress will be defined by the server. Define 'ownAddress' property in the conf/buildAgent.properties file
[2016-11-23 10:22:25,040] INFO - ctories.CleanupRegistryCleaner - Removing files from .old to meet free space requirements.
[2016-11-23 10:22:25,228] INFO - l.directories.DirectoryMapImpl - Cleaning up old checkout directories. Default lifetime = 192 hour(s)
[2016-11-23 10:22:25,281] INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to C:\BuildAgent\logs\buildAgent.port
[2016-11-23 10:22:25,297] INFO - agent.impl.AgentPortFileWriter - Launcher version is 29879
[2016-11-23 10:22:25,297] INFO - agent.impl.AgentPortFileWriter - Writing agent runtime file to C:\BuildAgent\logs\buildAgent.port :DONE!
[2016-11-23 10:22:25,301] INFO - jetbrains.buildServer.AGENT - Build agent started
[2016-11-23 10:22:26,821] INFO - vcs.tfs.SimpleTfsProcessRunner - TFS command finished. command: C:\BuildAgent\plugins\tfs-agent\bin\tfs-native.exe @@C:\BuildAgent\temp\globalTmp\TC-TFS-10-7745_1\command.params, in file: {/CheckApi}, completed in: 1 second(s)
stdout: TFS Native Verifier v8.0 Copyright (C) 2006-2013 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.34209
INFO -
INFO - Use Team Explorer 2013
INFO -
INFO - Tfs API available.
TfsVersion=12.0
[2016-11-23 10:22:26,885] INFO - se.agent.ClearCaseAgentSupport - ClearCase agent checkout is disabled: Could not find executable: 'cleartool'. Original message: Cannot run program "cleartool" (in directory "."): CreateProcess error=2, The system cannot find the file specified
[2016-11-23 10:22:26,888] INFO - buildServer.AGENT.registration - Registering on server http://svindkaluza, AgentDetails{Name='DTCN3018', AgentId=null, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.211.1, 192.168.20.1, 10.52.133.69], Port=9090, Version='29879', PluginsVersion='29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution, VSTest], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken='f46ccba65047d5a5edcfdd65cdee4d18', PingCode='96bbfjjEFqQqAmV8uuh4uelsrpiDud78'}
[2016-11-23 10:22:29,896] INFO - buildServer.AGENT.registration - Registered: id:36, authorizationToken:f46ccba65047d5a5edcfdd65cdee4d18
[2016-11-23 10:22:29,897] 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.
[2016-11-23 10:52:18,708] INFO - jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='DTCN3018', AgentId=36, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.211.1, 192.168.20.1, 10.52.133.69], Port=9090, Version='29879', PluginsVersion='29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution, VSTest], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken='f46ccba65047d5a5edcfdd65cdee4d18', PingCode='96bbfjjEFqQqAmV8uuh4uelsrpiDud78'}
[2016-11-23 11:22:18,778] INFO - jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='DTCN3018', AgentId=36, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.211.1, 192.168.20.1, 10.52.133.69], Port=9090, Version='29879', PluginsVersion='29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution, VSTest], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken='f46ccba65047d5a5edcfdd65cdee4d18', PingCode='96bbfjjEFqQqAmV8uuh4uelsrpiDud78'}
[2016-11-23 11:52:18,858] INFO - jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='DTCN3018', AgentId=36, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.211.1, 192.168.20.1, 10.52.133.69], Port=9090, Version='29879', PluginsVersion='29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution, VSTest], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken='f46ccba65047d5a5edcfdd65cdee4d18', PingCode='96bbfjjEFqQqAmV8uuh4uelsrpiDud78'}
[2016-11-23 12:22:18,978] INFO - jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='DTCN3018', AgentId=36, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.211.1, 192.168.20.1, 10.52.133.69], Port=9090, Version='29879', PluginsVersion='29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution, VSTest], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken='f46ccba65047d5a5edcfdd65cdee4d18', PingCode='96bbfjjEFqQqAmV8uuh4uelsrpiDud78'}
[2016-11-23 12:52:19,067] INFO - jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='DTCN3018', AgentId=36, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[192.168.211.1, 192.168.20.1, 10.52.133.69], Port=9090, Version='29879', PluginsVersion='29879-md5-530f0c74ffa4dbfab4dd890594ca5c0a', AvailableRunners=[Ant, dotnet-tools-dupfinder, dotnet-tools-inspectcode, Duplicator, FxCop, gradle-runner, Inspection, Ipr, jb.nuget.installer, jb.nuget.pack, jb.nuget.publish, jetbrains.dotNetGenericRunner, jetbrains.mspec, jetbrains_powershell, JPS, Maven2, MSBuild, MSTest, NAnt, NUnit, rake-runner, simpleRunner, sln2003, VS.Solution, VSTest], AvailableVcs=[perforce, mercurial, jetbrains.git, tfs, svn, cvs], AuthorizationToken='f46ccba65047d5a5edcfdd65cdee4d18', PingCode='96bbfjjEFqQqAmV8uuh4uelsrpiDud78'}

0

Hi Carlos,

Please try to install this plugin: 
http://ftp.intellij.net/pub/.teamcity/vstest.console/Gaya-8.1.x/vstest.zip. The plugin that you installed before is compatible only with 8.1.3 and greater versions. There were change between 8.1 and 8.1.3 that makes the plugin incompatible.

Sorry for the inconvenience.

0

Hi Alina

I firstly stop TeamCity server, uninstall the previous vstest plugin, then start TeamCity server. After all the agents were updated completely, then I applied the plugin from your last post, but the problem still exists...

Carlos

0

Hello Carlos,

Thank you for your patience. We investigated the issue. There are several solutions: 

  1. Recommended: Upgrade to the version >= 9.x, preferably latest TeamCity version (10.0.3 as of now).
  2. Log in to the server TEAM_CITY_INSTALL_DIR\webapps\ROOT\WEB-INF\plugins\dotNetRunners\server directory and delete file dotnet-vstest-server.jar. Then istall the plugin http://ftp.intellij.net/pub/.teamcity/vstest.console/Gaya-8.1.x/30169/vstest.zip and restart TeamCity server.
  3. Use command line runner and xml report build feature to report tests results.

If you have any further questions, please feel free to ask.

0

Hi Alina

Thanks for your feedback.

0
Default Agent-1
Unmet requirements:
 
  • docker.server.version exists
0

Please sign in to leave a comment.