Bug 412743 - nightly tests fail to obtain fixture configuration
Summary: nightly tests fail to obtain fixture configuration
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.10   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 417262
  Show dependency tree
 
Reported: 2013-07-11 06:42 EDT by Steffen Pingel CLA
Modified: 2013-09-14 11:09 EDT (History)
2 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 2013-07-11 06:42:05 EDT
Various nightly builds have failed due to problems related to obtaining the fixture configuration. We have also seen this with Gerrit trigger builds. The failures don't appear to happen consistently and maybe related to the slave executing the build or other environment settings (e.g. missing proxy settings).

Example: https://hudson.eclipse.org/hudson/job/mylyn-builds-nightly/718/

Test Results for Build 718
org.eclipse.mylyn.hudson.tests.AllHudsonTests
initializationError(org.eclipse.mylyn.hudson.tests.AllHudsonTests)
java.lang.RuntimeException: Failed to discover any fixtures for kind jenkins with defaultOnly=true
	at org.eclipse.mylyn.commons.sdk.util.TestConfiguration.discover(TestConfiguration.java:138)
	at org.eclipse.mylyn.commons.sdk.util.TestConfiguration.discover(TestConfiguration.java:103)
	at org.eclipse.mylyn.hudson.tests.AllHudsonTests.addTests(AllHudsonTests.java:53)
	at org.eclipse.mylyn.hudson.tests.AllHudsonTests.suite(AllHudsonTests.java:36)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:34)
	at org.junit.internal.runners.SuiteMethod.<init>(SuiteMethod.java:23)
	at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:14)
Comment 1 Steffen Pingel CLA 2013-07-12 05:20:20 EDT
It looks like this is related to proxy settings not being picked up in Eclipse 3.5 based builds. We could add the usual work-around to test suites that required network access but it may actually be easier to change the base target to 3.6 instead.

https://git.eclipse.org/r/#/c/14325/4/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java
Comment 2 Steffen Pingel CLA 2013-07-13 06:48:25 EDT
I pushed a few reviews to update the base target to 3.6:

14526: 412743: update target for tasks to 3.6 [I5b5690d9]
https://git.eclipse.org/r/#/c/14526/

14527: 412743: update target for commons to Eclipse 3.6 [I9887fcbb]
https://git.eclipse.org/r/#/c/14527/

14528: 412743: change base target to Eclipse 3.6 [I3d1ea660]
https://git.eclipse.org/r/#/c/14528/
Comment 3 Steffen Pingel CLA 2013-07-17 15:10:06 EDT
I have published the changes. Trigger and nightly build now default to Eclipse 3.6 as a target.

Please note that this change revealed a problem with browser tests on Eclipse.org which is tracked on bug 413191: [jvm][e3.6][linux] browser tests crash when run on Eclipse 3.6.