Community
Participate
Working Groups
When we switched targets to Eclipse 3.6 (bug 412743) browser tests started crashing. For now they have been excluded from the AllCommonsTestSuite but we should investigate a fix or dynamic way to exclude them only when running in incompatible environments (the crashes don't happen when running integration tests for instance). pre.. Running org.eclipse.mylyn.commons.tests.AllCommonsTests System: Linux 2.6.32.59-0.7-xen (amd64) / linux-x86_64-gtk / Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM 1.6.0_21 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f158edab9e0, pid=24634, tid=139731756320512 # # JRE version: 6.0_21-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 ) # Problematic frame: # C [libxul.so+0xab59e0] # # An error report file with more information is saved as: # /opt/users/hudsonbuild/workspace/mylyn-commons-nightly/org.eclipse.mylyn.commons.tests/hs_err_pid24634.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
The same happens for Gerrit tests: https://hudson.eclipse.org/sandbox/job/mylyn-reviews-gerrit/971/console and the last 5 builds.
Review disabling the troublesome test in Gerrit: https://git.eclipse.org/r/#/c/16720/
Steffen, I have to admit I'm kinda clueless here. In https://git.eclipse.org/r/#/c/16720/ I tried various ways to cause the same JVM crash, but failed. Any chance for attaching the log file here? Maybe that would shed some light on this issue. (In reply to Steffen Pingel from comment #0) > ... the crashes don't happen when running integration tests for instance What makes them different? Are they not running against Eclipse 3.6?
(In reply to comment #3) > Steffen, I have to admit I'm kinda clueless here. In > https://git.eclipse.org/r/#/c/16720/ I tried various ways to cause the same JVM > crash, but failed. Any chance for attaching the log file here? Maybe that would > shed some light on this issue. We would have to grab them from the workspace of the build machine. Not sure that would provide anymore information though since the crashes typically happen somewhere in native code. Have you tried setting "org.eclipse.swt.browser.UseWebKitGTK" to "true"? I don't know if webkit is installed on the test machines but it might be more stable. > (In reply to Steffen Pingel from comment #0) > > ... the crashes don't happen when running integration tests for instance > > What makes them different? Are they not running against Eclipse 3.6? The run against a number of targets: http://ci.mylyn.org/job/mylyn-3.10.x/ More importantly though they run on different infrastructure. I suspect that the xulrunner installed on mylyn.org is more recent (or at least a more compatible version) than what we have on hudson.eclipse.org.
(In reply to comment #4) > Have you tried setting "org.eclipse.swt.browser.UseWebKitGTK" to "true"? I don't > know if webkit is installed on the test machines but it might be more stable. Yes, I tried in one of the patches from https://git.eclipse.org/r/#/c/16720/, it didn't work so I guess WebKitGTK is not available (or properly installed). This is not my highest priority item at the moment, but definitely #1 on my Mylyn list. I'm going to revisit it later this week and investigate further. In the meantime, if you have any other ideas, please share them here.
Tomek, can we exclude the failing test for now (using a check or if that's more trouble, just disabling it like you proposed originally)?
I've been trying to figure out what's wrong with the Hudson Sandbox setup, but none of the sysouts I applied gave me a clue. Inspecting a created browser instance: * webBrowser=Mozilla * XPCOMInitWasGlued=true * XPCOMWasGlued=true * IsPre_1_9=false * IsPre_1_8=false * Initialized=true * XULRunnerPath=/usr/lib64/xulrunner-1.9.0.19 * XULRunnerInitialized=true The 1.9.0 is supposed to work just fine -- http://www.eclipse.org/swt/faq.php#browserplatforms So in https://git.eclipse.org/r/16989 I added a dummy check that disables the test on Linux running Java 1.6 or lower (integration tests run on IBM JVM 1.7). Leaving this bug open to improve the check in the future.
It might just be the sandbox: https://hudson.eclipse.org/sandbox/job/mylyn-context-gerrit/144/console Running org.eclipse.mylyn.cdt.tests.AllCdtTests [2013-10-03T10-56-30] Status ERROR: org.eclipse.mylyn.tasks.core code=0 Failed to find unmatched container for repository "http://mylyn.org" null, # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f825104dcf1, pid=9747, tid=140198734083856 # # JRE version: 6.0_21-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 ) # Problematic frame: # C [libpangoft2-1.0.so.0+0x18cf1] # # An error report file with more information is saved as: # /opt/users/hudsonbuild/.hudson/jobs/mylyn-context-gerrit/workspace/org.eclipse.mylyn.cdt.tests/hs_err_pid9747.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # How about we move trigger jobs to the new HIPP instance (bug 416743).
(In reply to Steffen Pingel from comment #8) > How about we move trigger jobs to the new HIPP instance (bug 416743). That gives some hope, I will try to look at it next week. Unless you have plan to work on it, hm?
I'll setup one job and you can do the other ones :).
This doesn't appear to happen on the HIPP instance: https://hudson.eclipse.org/mylyn/job/gerrit-mylyn-reviews/1/
The failing test in Commons [1] got back to normal on the HIPP as well [2], but the build failed with a different error [3]. That however, should be investigated as part of bug 416743. [1] https://git.eclipse.org/r/#/c/17024/ [2] https://hudson.eclipse.org/mylyn/job/gerrit-mylyn-commons/1/testReport/org.eclipse.mylyn.commons.tests.workbench.browser/BrowserUtilTest/ [3] https://hudson.eclipse.org/mylyn/job/gerrit-mylyn-commons/1/testReport/org.eclipse.mylyn.commons.repositories.http.tests/CommonHttpClientTest/testCertificateAuthenticationCertificate/
The test was re-enabled and the crashes are no longer happening on the HIPP instance. If this comes up again we can reopen. Thanks for investigating this, Tomek!
I'm afraid it's back, see last builds on mylyn-reviews-nightly e.g. https://hudson.eclipse.org/hudson/job/mylyn-reviews-nightly/2570/
Args. Let's add a system property for skipping browser tests. We can set that through the pom in the build.
(In reply to comment #15) > Args. Let's add a system property for skipping browser tests. https://git.eclipse.org/r/#/c/17531/ > We can set that through the pom in the build. Through the pom or in the failing build configuration?
https://hudson.eclipse.org/hudson/job/mylyn-reviews-nightly/2572/ is blue again
(In reply to comment #16) > Through the pom or in the failing build configuration? Both :). We would have to set a property in the Maven build and make sure it is passed along to the test execution.
Just a note that we should add the system property to http://wiki.eclipse.org/Mylyn/FAQ#System_Properties once the change is merged.
Pushed a patch for Mylyn Commons: https://git.eclipse.org/r/#/c/17658/ The browser tests can be disabled by adding a user VM arg, eg. @mvn clean install -Dtest.uservmargs=-Dmylyn.test.skipBrowserTests=true@ It's not perfect, but I wanted to avoid adding yet another test.*.skip property to the parent pom.xml https://git.eclipse.org/r/#/c/17531/ in Mylyn Reviews now depends on the change in Commons.
(In reply to comment #19) > Just a note that we should add the system property to > http://wiki.eclipse.org/Mylyn/FAQ#System_Properties once the change is merged. Done.
(In reply to comment #20) > The browser tests can be disabled by adding a user VM arg, eg. @mvn clean > install -Dtest.uservmargs=-Dmylyn.test.skipBrowserTests=true@ Did that for both mylyn-commons-nightly and mylyn-reviews-nightly.
Thanks very much! Feel free to resolve if the builds are working now.
Will do, but Hudson @ eclipse.org seems to be super slow today, so I'm not able to verify if that actually helped at the moment. I will check it out later.
(In reply to comment #24) > Hudson @ eclipse.org seems to be super slow today http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg09993.html
The troublesome tests were skipped on: * https://hudson.eclipse.org/hudson/job/mylyn-commons-nightly/295/consoleFull * https://hudson.eclipse.org/hudson/job/mylyn-reviews-nightly/2583/consoleFull The former failed from a different reason.