You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Giridharan Kesavan (JIRA)" <ji...@apache.org> on 2014/09/29 19:01:34 UTC

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

    [ https://issues.apache.org/jira/browse/INFRA-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151894#comment-14151894 ] 

Giridharan Kesavan edited comment on INFRA-8075 at 9/29/14 5:01 PM:
--------------------------------------------------------------------

[~rombert]
Fixed this issue long time ago.. 
are you still seeing issues? 
{noformat}
[gkesavan@HW11151 ~/work/toolchain (master)]$ git show d271a84f
commit d271a84f6fff3e3b3ab99ff7115fe62accb5556b
Author: Giridharan Kesavan <gk...@apache.org>
Date:   Thu Aug 21 14:23:40 2014 -0700

    add more dev libs
{noformat}


was (Author: gkesavan):
[~rombert]
Fixed this issue long time ago.. 
are you still seeing issues? 
{code}
[gkesavan@HW11151 ~/work/toolchain (master)]$ git show d271a84f
commit d271a84f6fff3e3b3ab99ff7115fe62accb5556b
Author: Giridharan Kesavan <gk...@apache.org>
Date:   Thu Aug 21 14:23:40 2014 -0700

    add more dev libs
{code}

> 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
>            Assignee: Giridharan Kesavan
>
> 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.3.4#6332)