You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/07/22 21:22:39 UTC
[jira] [Commented] (SLING-3782) Enable the eclipse-based tests on
builds.apache.org
[ https://issues.apache.org/jira/browse/SLING-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070741#comment-14070741 ]
Robert Munteanu commented on SLING-3782:
----------------------------------------
Set up https://builds.apache.org/view/S-Z/view/Sling/job/sling-ide-1.6-ui-tests/ to verify the way UI tests are executed.
The job execution has failed, the underlying error, found in https://builds.apache.org/view/S-Z/view/Sling/job/sling-ide-1.6-ui-tests/ws/eclipse-test/target/work/data/.metadata/.log, is
{noformat}!SESSION 2014-07-22 19:15:27.294 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /home/jenkins/jenkins-slave/workspace/sling-ide-1.6-ui-tests/eclipse-test/target/surefire.properties -nouithread
Command-line arguments: -data /home/jenkins/jenkins-slave/workspace/sling-ide-1.6-ui-tests/eclipse-test/target/work/data -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /home/jenkins/jenkins-slave/workspace/sling-ide-1.6-ui-tests/eclipse-test/target/surefire.properties -nouithread
!ENTRY org.eclipse.osgi 4 0 2014-07-22 19:15:29.669
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/jenkins/jenkins-slave/workspace/sling-ide-1.6-ui-tests/eclipse-test/target/work/configuration/org.eclipse.osgi/bundles/146/1/.cp/libswt-pi-gtk-4335.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
no swt-pi-gtk in java.library.path
Can't load library: /home/jenkins/.swt/lib/linux/x86/libswt-pi-gtk-4335.so
Can't load library: /home/jenkins/.swt/lib/linux/x86/libswt-pi-gtk.so
/home/jenkins/.swt/lib/linux/x86/libswt-pi-gtk-4335.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:45)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:133)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:683)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
{noformat}
> Enable the eclipse-based tests on builds.apache.org
> ---------------------------------------------------
>
> Key: SLING-3782
> URL: https://issues.apache.org/jira/browse/SLING-3782
> Project: Sling
> Issue Type: Test
> Components: IDE, Testing
> Reporter: Robert Munteanu
> Fix For: Sling Eclipse IDE 1.0.4
>
>
> Last time I checked we were unable to run the UI tests on Jenkins since the slaves are headless and we need something like xvnc running.
--
This message was sent by Atlassian JIRA
(v6.2#6252)