[jbosstools-issues] [JBoss JIRA] (JBIDE-23285) integration tests should share runtime downloads so that each test doesn't have to re-download the same runtime zips, and no longer use EOL'd runtimes

Nick Boldt (JIRA) issues at jboss.org
Wed Feb 8 13:38:00 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-23285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13360694#comment-13360694 ] 

Nick Boldt edited comment on JBIDE-23285 at 2/8/17 1:37 PM:
------------------------------------------------------------

{code}
13:17:01 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-4.3.0) @ org.jboss.tools.as.itests ---
13:17:02 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-4.3.0.GA_CP10.zip
13:17:20 [INFO] 
13:17:20 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-5.1.2) @ org.jboss.tools.as.itests ---
13:17:20 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-5.1.2.zip
13:17:25 [INFO] 
13:17:25 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.0.1) @ org.jboss.tools.as.itests ---
13:17:25 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.0.1.zip
13:17:28 [INFO] 
13:17:28 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.1.2) @ org.jboss.tools.as.itests ---
13:17:31 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.1.2.zip
13:17:33 [INFO] 
13:17:33 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.2.4) @ org.jboss.tools.as.itests ---
13:17:36 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.2.4-full-build.zip
13:17:38 [INFO] 
13:17:38 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.3.0) @ org.jboss.tools.as.itests ---
13:17:39 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.3.0.zip
13:17:41 [INFO] 
13:17:41 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-7.0.0) @ org.jboss.tools.as.itests ---
13:17:45 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-7.0.0.zip{code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-server_master/1437/console

So... the cache folder is still being used. Property _download.cache.directory_ is used by http://maven-download-plugin.github.io/maven-download-plugin/docsite/1.2.0/wget-mojo.html 


was (Author: nickboldt):
{code}
13:17:01 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-4.3.0) @ org.jboss.tools.as.itests ---
13:17:02 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-4.3.0.GA_CP10.zip
13:17:20 [INFO] 
13:17:20 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-5.1.2) @ org.jboss.tools.as.itests ---
13:17:20 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-5.1.2.zip
13:17:25 [INFO] 
13:17:25 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.0.1) @ org.jboss.tools.as.itests ---
13:17:25 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.0.1.zip
13:17:28 [INFO] 
13:17:28 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.1.2) @ org.jboss.tools.as.itests ---
13:17:31 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.1.2.zip
13:17:33 [INFO] 
13:17:33 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.2.4) @ org.jboss.tools.as.itests ---
13:17:36 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.2.4-full-build.zip
13:17:38 [INFO] 
13:17:38 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-6.3.0) @ org.jboss.tools.as.itests ---
13:17:39 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-6.3.0.zip
13:17:41 [INFO] 
13:17:41 [INFO] --- download-maven-plugin:1.2.0:wget (install-eap-7.0.0) @ org.jboss.tools.as.itests ---
13:17:45 [INFO] Got from cache: /home/hudson/static_build_env/jbds/download-cache/jboss-eap-7.0.0.zip{code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-server_master/1437/console

So... the cache folder is still being used. 

> integration tests should share runtime downloads so that each test doesn't have to re-download the same runtime zips, and no longer use EOL'd runtimes
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-23285
>                 URL: https://issues.jboss.org/browse/JBIDE-23285
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: integration-tests
>    Affects Versions: 4.4.2.AM1
>            Reporter: Nick Boldt
>            Assignee: Martin Malina
>             Fix For: 4.4.3.Final
>
>
> While running the integration tests today to investigate JBDS-4077, I discovered that:
> * org.jboss.ide.eclipse.as.ui.bot.test requires 11 runtimes, some of which are well past their EOL date [1]:
> {code}jboss-3.2.8.SP1  jboss-4.2.3.GA  jboss-5.1.0.GA     jboss-as-7.0.2.Final  wildfly-10.0.0.CR2   wildfly-9.0.1.Final
> jboss-4.0.5.GA   jboss-5.0.1.GA  jboss-6.1.0.Final  jboss-as-7.1.1.Final  wildfly-8.2.0.Final{code}
> * org.jboss.tools.deltaspike.ui.bot.test requires 1 runtime, wildfly-10.0.0.Final
> [1] https://access.redhat.com/support/policy/updates/jboss_notes/eol vs. https://access.redhat.com/support/policy/updates/jboss_notes/
> So, three problems here:
> a) different tests use different versions of the same runtime (WFLY 10.0.0.CR2 vs. Final)
> b) different tests re-download their runtimes every time you do a clean, instead of fetching runtimes from a cache. So the same 160M of WFLY 10 gets downloaded twice. 
> c) we still test on runtimes that have been EOL'd years ago, such as AS 4.0 and earlier.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list