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

integration tests do not fetch their required runtimes if not present in the cache folder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 4.3.0.Alpha2
    • 4.2.3.Beta1, 4.3.0.Alpha1
    • arquillian, build, server
    • None

    Description

      There's a problem w/ integration tests not properly bootstrapping (downloading) their runtimes if not present in the cache folder (see jbosstools-dev thread: http://lists.jboss.org/pipermail/jbosstools-dev/2015-February/009770.html )

      Looks like default maven lifecycle causes the pre-integration-test phase to fire, which is fine when we plan to run tests.

      There are a number of such phase bindings in this test:

      https://github.com/jbosstools/jbosstools-server/blob/jbosstools-4.2.x/as/tests/org.jboss.tools.as.test.core/pom.xml#L52

      And I think this step can be skipped w/ -DskipTests.

      But the bigger problem is... why won't Jenkins fetch missing deps when they're not in the cache folder?

      Here are some console log snipped from builds 119 - 123:

          11:38:04 [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:maven-download-plugin:1.1.0:wget (install-eap-6.1.0) on project org.jboss.tools.as.test.core: IO Error: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.1.1.zip (No such file or directory) -> [Help 1]
      
          13:29:23 [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:maven-download-plugin:1.1.0:wget (install-wildfly-8.0.0.Beta1) on project org.jboss.tools.as.test.core: IO Error: /home/hudson/static_build_env/jbds/download-cache/wildfly-8.0.0.Beta1.zip (No such file or directory) -> [Help 1]
      
          16:15:15 [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:maven-download-plugin:1.1.0:wget (install-tomcat6) on project org.jboss.tools.wtp.runtimes.tomcat.tests: IO Error: /home/hudson/static_build_env/jbds/download-cache/apache-tomcat-6.0.39.zip (No such file or directory) -> [Help 1]
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-server_4.2.luna/

      Attachments

        Activity

          People

            mistria@redhat.com Mickael Istria
            nickboldt Nick Boldt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: