[jbosstools-issues] [JBoss JIRA] (JBIDE-20850) target platform matrix job's install test step fails silently when using incompatible Eclipse version

Nick Boldt (JIRA) issues at jboss.org
Thu Oct 1 10:06:00 EDT 2015


Nick Boldt created JBIDE-20850:
----------------------------------

             Summary: 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


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/jbosstoolstargetplatforms-matrix/460/jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&!ia64&&!rhts,projectName=jbosstools,version=4.60.0.Alpha1-SNAPSHOT/consoleText

{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/jbosstoolstargetplatforms-matrix/460/jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&!ia64&&!rhts,projectName=jbosstools,version=4.50.0.Final/consoleText

And yet the build is successful here:

http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstoolstargetplatforms-matrix/460/jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&!ia64&&!rhts,projectName=jbosstools,version=4.51.1.CR1-SNAPSHOT/consoleText

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




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list