Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20850

target platform matrix job's install test step fails silently when using incompatible Eclipse version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 4.5.0.AM1
    • 4.3.0.CR1, 4.4.0.Alpha1
    • build, target-platform
    • None

      For some reason, the targetplatforms-matrix job is ignoring this, and still getting blue balls when it can't install the built target platform:

         [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
      

      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

        [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)
      

      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:

      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
      

      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

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: