Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 484768

Summary: Thym HIPP seems to miss GTK3
Product: Community Reporter: Mickael Istria <mistria>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: denis.roy, gorkem.ercan, mikael.barbero, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Mickael Istria CLA 2015-12-21 10:28:46 EST
on Thym HIPP, we get the following error in log when trying to run UI tests:

java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	/jobs/genie.thym/Thym-2.0.0-branch/workspace/tests/org.eclipse.thym.ui.importer.test/target/work/configuration/org.eclipse.osgi/97/0/.cp/libswt-pi-gtk-4611.so: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
	no swt-pi-gtk in java.library.path
	/opt/public/hipp/homes/genie.thym/.swt/lib/linux/x86/libswt-pi-gtk-4611.so: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
	Can't load library: /opt/public/hipp/homes/genie.thym/.swt/lib/linux/x86/libswt-pi-gtk.so


I believe this is caused because the version of GTK required by newer Eclipse version is higher than the one available on this HIPP. Can you please upgrade GTK version?
Comment 1 Denis Roy CLA 2015-12-21 15:57:54 EST
Looks like it's looking into your HIPP home directory.  Can we compile this and put it on /shared?
Comment 2 Denis Roy CLA 2015-12-21 15:59:17 EST
FWIW, we won't change the system packages from what's provided by our Entreprise Linux distro.  If you need newer libraries, you may need to supply and connect a newer slave to your HIPP.
Comment 3 Mickael Istria CLA 2015-12-22 03:31:08 EST
Many other HIPP have UI (such as Platform) have UI tests working with Neon milestones. Is it possible to get a similar setup?
Comment 4 Mikaƫl Barbero CLA 2015-12-22 05:08:41 EST
Your issue was most probably due to the fact that the "jdk-1.8.0-latest" installation was configured to use "/shared/common/jdk1.8.0-latest" (32bits) instead of "/shared/common/jdk1.8.0_x64-latest" (64bits). 

As your build was running on a 32 bits JRE, it was trying to load /opt/public/hipp/homes/genie.thym/.swt/lib/linux/x86/libswt-pi-gtk.so, which is not loadable on the 64 bits HIPP system.

I've changed that the jdk configuration.
Comment 5 Mickael Istria CLA 2015-12-22 05:53:30 EST
Thank you Mikael, it's now working well.