]
Nick Boldt updated JBIDE-20850:
-------------------------------
Sprint: devex #114 May 2017 (was: devex #113 April 2016)
target platform matrix job's install test step fails silently
when using incompatible Eclipse version
-----------------------------------------------------------------------------------------------------
Key: JBIDE-20850
URL:
https://issues.jboss.org/browse/JBIDE-20850
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build, target-platform
Affects Versions: 4.3.0.CR1, 4.4.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Priority: Critical
Fix For: 4.4.0.Alpha2
For some reason, the targetplatforms-matrix job is ignoring this, and still getting blue
balls when it can't install the built target platform:
{code}
[p2.dir] !MESSAGE Software being installed: Eclipse IDE UI 3.11.100.v20150808-0755
(org.eclipse.ui.ide 3.11.100.v20150808-0755)
[p2.dir] !MESSAGE Software currently installed: Eclipse IDE for Java EE Developers
4.5.1.20150910-0554 (epp.package.jee 4.5.1.20150910-0554)
[p2.dir] !MESSAGE Only one of the following can be installed at once:
[p2.dir] !MESSAGE Eclipse IDE UI 3.11.100.v20150808-0755 (org.eclipse.ui.ide
3.11.100.v20150808-0755)
[p2.dir] !MESSAGE Eclipse IDE UI 3.11.0.v20150825-2158 (org.eclipse.ui.ide
3.11.0.v20150825-2158)
BUILD FAILED
/mnt/hudson_workspace/workspace/jbosstoolstargetplatforms-matrix/85031d6f/director.xml:62:
exec returned: 13
{code} --
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstoolstargetplatf...
{code}
[p2.dir] !MESSAGE Only one of the following can be installed at once:
[p2.dir] !MESSAGE Refactoring Core 3.6.201.v20150819-1034
(org.eclipse.ltk.core.refactoring 3.6.201.v20150819-1034)
[p2.dir] !MESSAGE Refactoring Core 3.6.200.v20140826-0859
(org.eclipse.ltk.core.refactoring 3.6.200.v20140826-0859)
{code} --
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstoolstargetplatf...
And yet the build is successful here:
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstoolstargetplatf...
This is most likely because all three configs are set to use the same Eclipse JEE
bundle:
{code}downloadURL=http://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-linux-gtk.tar.gz
{code}
So... I guess there are two things we need here:
a) ensure that the TP and Eclipse versions are compatible (4.50 == mars-R, 4.51 ==
mars-1, 4.60 == neon-M1) in the job config, rather than trying to install the 4.50 or 4.60
TPs onto Eclipse Mars.1
b) ensure that the log is checked for the string "BUILD FAILED" or
"director.xml .* exec returned: 13" and if found, fail the build