Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368953 - fix hanging tests on build server
Summary: fix hanging tests on build server
Status: RESOLVED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: tooling (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5.0.RELEASE   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 368890
  Show dependency tree
 
Reported: 2012-01-18 07:48 EST by Steffen Pingel CLA
Modified: 2012-01-19 14:05 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2012-01-18 07:48:42 EST
Tests currently hang due to the UAA prompt.

"main" prio=10 tid=0x09d47c00 nid=0x54bd runnable [0xb74ee000]
   java.lang.Thread.State: RUNNABLE
	at org.eclipse.swt.internal.gtk.OS.Call(Native Method)
	at org.eclipse.swt.widgets.Display.sleep(Display.java:4021)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.springframework.ide.eclipse.uaa.UaaPlugin$2.runInUIThread(UaaPlugin.java:114)
  at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	- locked <0x5a3c48d0> (a org.eclipse.swt.widgets.RunnableLock)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
	at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2606)
	at org.eclipse.virgo.ide.export.tests.BundleExportTestCase.testExportOperation(BundleExportTestCase.java:51)
	...
Comment 1 Steffen Pingel CLA 2012-01-19 08:19:04 EST
I added code to configure Uaa before tests are executed. We should remove this again when bug 341910 is resolved. Leo, please reopen if tests are still hanging.
Comment 2 Steffen Pingel CLA 2012-01-19 08:20:49 EST
Marking resolved.
Comment 3 Leo Dos Santos CLA 2012-01-19 12:59:58 EST
Thanks Steffen. Was going to take this one today, but now you've saved me the trouble!
Comment 4 Steffen Pingel CLA 2012-01-19 14:05:55 EST
I only did the easy part... now we need to actually fix the tests. I'll leave that to you :).