Build "cancelled"

Hi guys!
I just installed a new TeamCity 9.1. and cerated 3 build agents, named ba001, ba002, ba003, on ports 10091, 10092 and 1093.
I created a new project(just to test), which is  GIT, and is a c/c++ style project.

Added GIT, https, as VCS, and master as the place to build from.
Added a few simple steps to build it, mainly configure, make, make install, saved averything and try to make a build. TeamCity always stops with the following message:

[Collecting changes in 1 VCS root] VCS Root details
VCS Root details] "FSGIT" {instance id=9, parent internal id=3, parent id=CloudVoiceServer_CloudVoiceVPBX_Fsgit, description: "https://freeswitch.org/stash/scm/fs/freeswitch.git#master";}
Build canceled

Can somebody help to find ut whats wrong?

312 [2015-07-24 15:42:30,652]   INFO - dDirectoryBasedCleanupRegistry - Removing files from /opt/BuildTools/ba001/work/.old
313 [2015-07-24 15:42:30,652]   INFO - l.directories.DirectoryMapImpl - Cleaning up old checkout directories. Default lifetime = 192 hour(s)
314 [2015-07-24 15:42:30,666]   INFO - dDirectoryBasedCleanupRegistry - Removing files from /opt/BuildTools/ba001/temp/.old
315 [2015-07-24 15:44:50,693]   WARN -    jetbrains.buildServer.AGENT - Failed to start build on agent. com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does no     t have a no-args constructor : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
316 ---- Debugging information ----
317 message             : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
318 cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
319 cause-message       : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
320 class               : jetbrains.buildServer.agentServer.AgentBuild
321 required-type       : jetbrains.buildServer.agentServer.AgentBuild
322 converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
323 path                : /AgentBuild
324 line number         : 1
325 version             : null
326 -------------------------------
327 com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it d     oes not have a no-args constructor
328 ---- Debugging information ----
329 message             : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
330 cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
331 cause-message       : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
332 class               : jetbrains.buildServer.agentServer.AgentBuild
333 required-type       : jetbrains.buildServer.agentServer.AgentBuild
334 converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
335 path                : /AgentBuild
336 line number         : 1
337 version             : null
338 -------------------------------
339   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
340   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
341   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
342   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
343   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
344   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
345   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1035)
346   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1019)
347   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:895)
348   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:886)
349   at jetbrains.buildServer.xstream.XStreamWrapper.fromXML(XStreamWrapper.java:113)
350   at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObjectInternal(XStreamWrapper.java:258)
351   at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObject(XStreamWrapper.java:234)
352   at jetbrains.buildServer.agentServer.AgentBuild.deserialize(AgentBuild.java:371)
353   at jetbrains.buildServer.agent.impl.BuildAgentImpl.runBuild(BuildAgentImpl.java:201)
354   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
355   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
356   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
357   at java.lang.reflect.Method.invoke(Method.java:497)
358   at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
359   at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
360   at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
361   at org.apache.xmlrpc.TCXmlRpcServer$TCXmlRpcWorker.execute(TCXmlRpcServer.java:48)
362   at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
363   at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
364   at org.apache.xmlrpc.WebServer2$Connection.run(WebServer2.java:773)
365   at org.apache.xmlrpc.WebServer2$Runner.run(WebServer2.java:644)
366   at java.lang.Thread.run(Thread.java:745)
367 Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
368   at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
369   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:424)
370   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:229)
371   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
372   ... 27 more

373 [2015-07-24 15:44:57,487]   WARN -    jetbrains.buildServer.AGENT - Failed to start build on agent. com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does no     t have a no-args constructor : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
374 ---- Debugging information ----
375 message             : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
376 cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
377 cause-message       : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
378 class               : jetbrains.buildServer.agentServer.AgentBuild
379 required-type       : jetbrains.buildServer.agentServer.AgentBuild
380 converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
381 path                : /AgentBuild
382 line number         : 1
383 version             : null
384 -------------------------------
385 com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it d     oes not have a no-args constructor
386 ---- Debugging information ----
387 message             : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
388 cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
389 cause-message       : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
390 class               : jetbrains.buildServer.agentServer.AgentBuild
391 required-type       : jetbrains.buildServer.agentServer.AgentBuild
392 converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
393 path                : /AgentBuild
394 line number         : 1
395 version             : null
396 -------------------------------
397   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
398   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
399   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
400   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
401   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
402   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
403   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1035)
404   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1019)
405   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:895)
406   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:886)
407   at jetbrains.buildServer.xstream.XStreamWrapper.fromXML(XStreamWrapper.java:113)
408   at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObjectInternal(XStreamWrapper.java:258)
409   at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObject(XStreamWrapper.java:234)
410   at jetbrains.buildServer.agentServer.AgentBuild.deserialize(AgentBuild.java:371)
411   at jetbrains.buildServer.agent.impl.BuildAgentImpl.runBuild(BuildAgentImpl.java:201)
412   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
413   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
414   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
415   at java.lang.reflect.Method.invoke(Method.java:497)
416   at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
417   at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
418   at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
419   at org.apache.xmlrpc.TCXmlRpcServer$TCXmlRpcWorker.execute(TCXmlRpcServer.java:48)
420   at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
421   at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
422   at org.apache.xmlrpc.WebServer2$Connection.run(WebServer2.java:773)
423   at org.apache.xmlrpc.WebServer2$Runner.run(WebServer2.java:644)
424   at java.lang.Thread.run(Thread.java:745)
425 Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
426   at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
427   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:424)
428   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:229)
429   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
430   ... 27 more
431 [2015-07-24 15:47:27,535]   INFO -    jetbrains.buildServer.AGENT - Updating agent parameters on the server: AgentDetails{Name='ba001', AgentId=2, BuildId=null, AgentOwnAddress='null', AlternativeAddresses=[10.0.1.160], Port=10091,      Version='36973', PluginsVersion='36973-md5-54b96ffdd9a1f4605b48fcdc08bab17b', AvailableRunners=[Ant, Duplicator, gradle-runner, Inspection, Ipr, JPS, Maven2, rake-runner, SBT, simpleRunner], AvailableVcs=[cvs, jetbrains.git, mercuri     al, svn, perforce], AuthorizationToken='304d60ba8bf6ff5165a03a940c4e03bf', PingCode='RmiHhjFTA1onr9q1INdT8ls7svn5Vm4O'}

432 [2015-07-24 15:47:30,654]   INFO - r.artifacts.impl.HttpDiskCache - Cleaning up items with life time in cache greater than 172800 seconds
433 [2015-07-24 15:47:30,654]   INFO - r.artifacts.impl.HttpDiskCache - Finished cleaning up expired items, 0 items removed
434 [2015-07-24 15:47:30,655]   INFO - dDirectoryBasedCleanupRegistry - Removing files from /opt/BuildTools/ba001/work/.old
435 [2015-07-24 15:47:30,655]   INFO - l.directories.DirectoryMapImpl - Cleaning up old checkout directories. Default lifetime = 192 hour(s)
436 [2015-07-24 15:47:30,668]   INFO - dDirectoryBasedCleanupRegistry - Removing files from /opt/BuildTools/ba001/temp/.old
437 [2015-07-24 15:48:04,350]   WARN -    jetbrains.buildServer.AGENT - Failed to start build on agent. com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does no     t have a no-args constructor : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
438 ---- Debugging information ----
439 message             : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
440 cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
441 cause-message       : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
442 class               : jetbrains.buildServer.agentServer.AgentBuild
443 required-type       : jetbrains.buildServer.agentServer.AgentBuild
444 converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
445 path                : /AgentBuild
446 line number         : 1
447 version             : null
448 -------------------------------
449 com.thoughtworks.xstream.converters.ConversionException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it d     oes not have a no-args constructor
450 ---- Debugging information ----
451 message             : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
452 cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
453 cause-message       : Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor
454 class               : jetbrains.buildServer.agentServer.AgentBuild
455 required-type       : jetbrains.buildServer.agentServer.AgentBuild
456 converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
457 path                : /AgentBuild
458 line number         : 1
459 version             : null
460 -------------------------------
461   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
462   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
463   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
464   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
465   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
466   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
467   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1035)
468   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1019)
469   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:895)
470   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:886)
471   at jetbrains.buildServer.xstream.XStreamWrapper.fromXML(XStreamWrapper.java:113)
472   at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObjectInternal(XStreamWrapper.java:258)
473   at jetbrains.buildServer.xstream.XStreamWrapper.deserializeObject(XStreamWrapper.java:234)
474   at jetbrains.buildServer.agentServer.AgentBuild.deserialize(AgentBuild.java:371)
475   at jetbrains.buildServer.agent.impl.BuildAgentImpl.runBuild(BuildAgentImpl.java:201)
476   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
477   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
478   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
479   at java.lang.reflect.Method.invoke(Method.java:497)
480   at org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
481   at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
482   at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
483   at org.apache.xmlrpc.TCXmlRpcServer$TCXmlRpcWorker.execute(TCXmlRpcServer.java:48)
484   at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
485   at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:125)
486   at org.apache.xmlrpc.WebServer2$Connection.run(WebServer2.java:773)
487   at org.apache.xmlrpc.WebServer2$Runner.run(WebServer2.java:644)
488   at java.lang.Thread.run(Thread.java:745)
489 Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot construct jetbrains.buildServer.agentServer.AgentBuild as it does not have a no-args constructor

0
1 comment

Hi Victor,

Sorry for delay. Could you please attach all zipped logs from the agent machine? Also please point out what java version is used by agent?

0

Please sign in to leave a comment.