cancel
Showing results for 
Search instead for 
Did you mean: 

Integration with TeamCity - TeamCity waiting on a condition.

DaveCreer
Occasional Contributor

Integration with TeamCity - TeamCity waiting on a condition.

Hi all,

 

I am trying to integrate SoapUI into TeamCity using the following guide http://www.agiledrivendevelopment.net/2011/09/running-soap-ui-tests-in-teamcity-using.html.

 

I have a working MSBuild file, but when running the build in TeamCity it hangs and the thread dump for Java returns the a message stating that it is waiting on a condition. When running the MSBuild file outside of teamcity there are no errors that would seem to be problematic (ouput attached).

 

TeamCity Professional 9.1.3

 

SoapUI 5.2.1

 

Many thanks in advance,

 

David

 

TC error:

"VM Periodic Task Thread" prio=10 tid=0x0000000006f3e800 nid=0x2e28 waiting on condition 

 

8 REPLIES 8
nmrao
Community Hero

Re: Integration with TeamCity - TeamCity waiting on a condition.

No idea about Team City.
Would you please add the soapUI Open Source editon version and Team city version as that may help to some who may want to help you?


Regards,
Rao.
DaveCreer
Occasional Contributor

Re: Integration with TeamCity - TeamCity waiting on a condition.

Thanks . I have added it to the original message.

DaveCreer
Occasional Contributor

Re: Integration with TeamCity - TeamCity waiting on a condition.

Bump Robot tongue

nmrao
Community Hero

Re: Integration with TeamCity - TeamCity waiting on a condition.

This question does not seem to be problem in soapUI, and off topic here. Does it? Have you tried searching on internet?


Regards,
Rao.
DaveCreer
Occasional Contributor

Re: Integration with TeamCity - TeamCity waiting on a condition.

Hi Rao,

 

Thanks for your reply.

 

As I was not sure where the issue lay (we have never had any previous isssues configuring an MSBuild with TC) I posted on here and on the TC website (hoping that some soapUI users may be able to help).

 

I have searched on the internet, but unfortunately there was nothing that helped with this situation.

 

DaveCreer
Occasional Contributor

Re: Integration with TeamCity - TeamCity waiting on a condition.

Realised that I had added the wrong URL (to my original post) I have uipdated it

joevandebilt
Frequent Visitor

Re: Integration with TeamCity - TeamCity waiting on a condition.

Hi Dave,

 

I had a similar issue and found that when I was running the testrunner.bat through my CI server it was hanging at at the "All Plugins Loaded" screen, however when running through the command line I had no issues.

 

I realised the only difference was that when running in the command line a message box would appear asking if I wanted to send Usage Statistics. This was consistent every time I ran the testrunner, and if i failed to accept the message the runner would wait for me to accept.

 

I resolved this by opening the UI and accepting the message once again, I don't believe that the testrunner is capable of creating the settings, or at least my instance didn't have the permissions. 

 

If you aren't able to run the UI, it might just allow you to create a blank xml file at 

C:\Users\<username>\soapui-settings.xml - I've attached my freshly generated.

 

EDIT: You may need to change the value for key "WSISettings@location" to point to your own install directory

 

This resolved the issue for me, however you might be dealing with a seperate issue. 

 

Good luck 🙂

DaveCreer
Occasional Contributor

Re: Integration with TeamCity - TeamCity waiting on a condition.

Hey Joe,

 

Thanks for your response. I did not have that error message (I only get it if I delete the settings file and let it auto-repopulate), I did however try and use your settings (thanks for providing them 🙂 ), but unfortunately I still got the same error.

 

I have pasted below the thread dump from TC in case it helps.

 

Many thanks in advance for any help on this matter

 

2016-01-27 12:14:31
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode):

"Thread-4" prio=6 tid=0x000000000a4c6800 nid=0xbc0 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"AWT-EventQueue-0" prio=6 tid=0x0000000009e31000 nid=0x26b8 waiting on condition [0x000000000be0e000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  &lt;0x00000000eb2535d8&gt; (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(Unknown Source)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
	at java.awt.EventQueue.getNextEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

"Image Fetcher 0" daemon prio=8 tid=0x0000000009e40000 nid=0x25ac in Object.wait() [0x000000000bf2f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000eb2618c8&gt; (a java.util.Vector)
	at sun.awt.image.ImageFetcher.nextImage(Unknown Source)
	- locked &lt;0x00000000eb2618c8&gt; (a java.util.Vector)
	at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
	at sun.awt.image.ImageFetcher.run(Unknown Source)

"AWT-Windows" daemon prio=6 tid=0x0000000009e3f000 nid=0x2b10 runnable [0x000000000bd0f000]
   java.lang.Thread.State: RUNNABLE
	at sun.awt.windows.WToolkit.eventLoop(Native Method)
	at sun.awt.windows.WToolkit.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

"AWT-Shutdown" prio=6 tid=0x000000000a6bf800 nid=0x282c in Object.wait() [0x000000000bc0f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000eb25fe78&gt; (a java.lang.Object)
	at java.lang.Object.wait(Object.java:503)
	at sun.awt.AWTAutoShutdown.run(Unknown Source)
	- locked &lt;0x00000000eb25fe78&gt; (a java.lang.Object)
	at java.lang.Thread.run(Unknown Source)

"Java2D Disposer" daemon prio=10 tid=0x0000000009bcd000 nid=0x2b94 in Object.wait() [0x000000000bb0f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000eb25f810&gt; (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	- locked &lt;0x00000000eb25f810&gt; (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	at sun.java2d.Disposer.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

"ForkJoinPool-1-worker-1" daemon prio=6 tid=0x00000000099da800 nid=0x2990 waiting on condition [0x000000000b65f000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  &lt;0x00000000ed080560&gt; (a java.util.concurrent.ForkJoinPool)
	at java.util.concurrent.locks.LockSupport.park(Unknown Source)
	at java.util.concurrent.ForkJoinPool.tryAwaitWork(Unknown Source)
	at java.util.concurrent.ForkJoinPool.work(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

"Thread-1" prio=6 tid=0x000000000a20d000 nid=0x4ec in Object.wait() [0x000000000b20f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000ed088ff8&gt; (a com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread)
	at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread.run(SoapUIMultiThreadedHttpConnectionManager.java:105)
	- locked &lt;0x00000000ed088ff8&gt; (a com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$IdleConnectionMonitorThread)

"Timer-0" prio=6 tid=0x00000000099e0000 nid=0x9fc in Object.wait() [0x000000000a13e000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000ed098070&gt; (a java.util.TaskQueue)
	at java.lang.Object.wait(Object.java:503)
	at java.util.TimerThread.mainLoop(Unknown Source)
	- locked &lt;0x00000000ed098070&gt; (a java.util.TaskQueue)
	at java.util.TimerThread.run(Unknown Source)

"Service Thread" daemon prio=6 tid=0x00000000077bc000 nid=0xf08 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x00000000077b5800 nid=0x24f8 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x00000000077ab000 nid=0xbe0 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x00000000077aa000 nid=0x1d38 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00000000077a7000 nid=0x2684 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x000000000189c000 nid=0x2850 in Object.wait() [0x0000000008b4f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000ed098300&gt; (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	- locked &lt;0x00000000ed098300&gt; (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(Unknown Source)
	at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

"Reference Handler" daemon prio=10 tid=0x0000000007784000 nid=0x2208 in Object.wait() [0x0000000008a4f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000ed090788&gt; (a java.lang.ref.Reference$Lock)
	at java.lang.Object.wait(Object.java:503)
	at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
	- locked &lt;0x00000000ed090788&gt; (a java.lang.ref.Reference$Lock)

"main" prio=6 tid=0x00000000017b5800 nid=0x20c4 in Object.wait() [0x000000000176e000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on &lt;0x00000000eb24e858&gt; (a java.awt.Component$AWTTreeLock)
	at java.lang.Object.wait(Object.java:503)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	- locked &lt;0x00000000eb24e858&gt; (a java.awt.Component$AWTTreeLock)
	at java.awt.Dialog.show(Unknown Source)
	at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
	at javax.swing.JOptionPane.showConfirmDialog(Unknown Source)
	at javax.swing.JOptionPane.showConfirmDialog(Unknown Source)
	at javax.swing.JOptionPane.showConfirmDialog(Unknown Source)
	at com.eviware.soapui.analytics.providers.StatisticsCollectionConfirmationDialog.showDialog(StatisticsCollectionConfirmationDialog.java:12)
	at com.eviware.soapui.analytics.AnalyticsHelper.analyticsDisabled(AnalyticsHelper.java:26)
	at com.eviware.soapui.analytics.AnalyticsHelper.InitializeAnalytics(AnalyticsHelper.java:42)
	at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:118)

"VM Thread" prio=10 tid=0x0000000007782800 nid=0x2650 runnable 

"GC task thread#0 (ParallelGC)" prio=6 tid=0x00000000017cb800 nid=0x1bdc runnable 

"GC task thread#1 (ParallelGC)" prio=6 tid=0x00000000017cd000 nid=0xf9c runnable 

"GC task thread#2 (ParallelGC)" prio=6 tid=0x00000000017cf000 nid=0x754 runnable 

"GC task thread#3 (ParallelGC)" prio=6 tid=0x00000000017d1000 nid=0x1bec runnable 

"VM Periodic Task Thread" prio=10 tid=0x00000000077f7000 nid=0x2260 waiting on condition 

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors