You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/07/22 21:24:39 UTC

[jira] [Created] (INFRA-8075) Unable to run SWT-based tests on Jenkins

Robert Munteanu created INFRA-8075:
--------------------------------------

             Summary: Unable to run SWT-based tests on Jenkins
                 Key: INFRA-8075
                 URL: https://issues.apache.org/jira/browse/INFRA-8075
             Project: Infrastructure
          Issue Type: Task
          Components: Jenkins
            Reporter: Robert Munteanu


For the Sling project we have an IDE component based on Eclipse. Trying to run these tests on Jenkins fails.

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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)