Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357107

Summary: [tests] Test failures in nightly builds
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: Meng Xin Zhu <kane.zhu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kane.mx, kane.zhu, tjwatson
Version: 3.7   
Target Milestone: Juno M2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description DJ Houghton CLA 2011-09-08 11:12:05 EDT
In the last couple of nightly builds, there have been test failures in the p2 tests. 

Is the following commit related?

http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=df0e3ecefa5df573f6b51a49155442d83fdb2a5f


Rerun org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest2
org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest2
testRetryMirrorAfterTimeout(org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest2)
java.lang.IllegalStateException: Unable to start bundle org.eclipse.equinox.http
	at org.eclipse.equinox.p2.tests.testserver.helper.TestServerController.oneTimeSetUp(TestServerController.java:91)
	at org.eclipse.equinox.p2.tests.testserver.helper.TestServerController.checkSetUp(TestServerController.java:118)
	at org.eclipse.equinox.p2.tests.testserver.helper.AbstractTestServerClientCase.oneTimeSetUp(AbstractTestServerClientCase.java:53)
	at org.eclipse.equinox.p2.tests.testserver.helper.AbstractTestServerClientCase$ProtectedRunner.protect(AbstractTestServerClientCase.java:78)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at org.eclipse.equinox.p2.tests.testserver.helper.AbstractTestServerClientCase.run(AbstractTestServerClientCase.java:32)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)


testTimeoutForgivableAfterTimeout(org.eclipse.equinox.p2.tests.artifact.repository.MirrorRequestTest2)
java.lang.IllegalStateException: Unable to start bundle org.eclipse.equinox.http
	at org.eclipse.equinox.p2.tests.testserver.helper.TestServerController.oneTimeSetUp(TestServerController.java:91)
	at org.eclipse.equinox.p2.tests.testserver.helper.TestServerController.checkSetUp(TestServerController.java:118)
	at org.eclipse.equinox.p2.tests.testserver.helper.AbstractTestServerClientCase.oneTimeSetUp(AbstractTestServerClientCase.java:53)
	at org.eclipse.equinox.p2.tests.testserver.helper.AbstractTestServerClientCase$ProtectedRunner.protect(AbstractTestServerClientCase.java:78)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at org.eclipse.equinox.p2.tests.testserver.helper.AbstractTestServerClientCase.run(AbstractTestServerClientCase.java:32)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
Comment 1 Meng Xin Zhu CLA 2011-09-09 02:55:08 EDT
It's my mistake. I'll have a look.
Comment 2 Meng Xin Zhu CLA 2011-09-10 00:22:58 EDT
Remove test case 'MirrorRequest2' from nightly test suite.

SDK doesn't have bundle 'org.eclipse.equinox.http', so can't run the cases on Hudson that would start testserver.