Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357107 - [tests] Test failures in nightly builds
Summary: [tests] Test failures in nightly builds
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M2   Edit
Assignee: Meng Xin Zhu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 11:12 EDT by DJ Houghton CLA
Modified: 2013-11-10 22:32 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.