[jbosstools-issues] [JBoss JIRA] (JBIDE-20747) install-grinder returns a blue ball but fails to install 5 plugins due to missing capability &/or package

Nick Boldt (JIRA) issues at jboss.org
Mon Sep 21 15:07:00 EDT 2015


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

Nick Boldt commented on JBIDE-20747:
------------------------------------

Yeah, install grinder is pretty weak in terms of what it logs, which is why I set up p2 director install tests too.

Re: knowing what's installed, here's a piece of what the p2director job logs (there's more for the JBT or JBDS BYOE install step too -- this is just the log of IUs installed from Central):

{code:title=http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-install-p2director.install-tests.matrix_4.3.mars/87/PROJECT=devstudio,SET=earlyaccess,jdk=jdk1.8,label_exp=%28RHEL7||beaker||jboss-prod%29&&!ia64&&!ppc64&&!rhts/console}
23:48:20    [p2.dir] Installing com.android.ide.eclipse.adt.feature.feature.group 23.0.7.2120684.
23:48:20    [p2.dir] Installing com.android.ide.eclipse.ddms.feature.feature.group 23.0.7.2120684.
23:48:20    [p2.dir] Installing com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.7.2120684.
23:48:20    [p2.dir] Installing com.android.ide.eclipse.hierarchyviewer.feature.feature.group 23.0.7.2120684.
23:48:20    [p2.dir] Installing com.android.ide.eclipse.traceview.feature.feature.group 23.0.7.2120684.
23:48:20    [p2.dir] Installing com.atlassian.connector.eclipse.feature.group 3.2.5.v20150427.
23:48:20    [p2.dir] Installing com.atlassian.connector.eclipse.jira.feature.group 3.2.5.v20150427.
23:48:20    [p2.dir] Installing com.atlassian.connector.eclipse.monitor.feature.group 3.2.5.v20150427.
23:48:20    [p2.dir] Installing com.collabnet.subversion.merge.feature.feature.group 4.1.0.
23:48:20    [p2.dir] Installing com.github.sevntu.checkstyle.checks.feature.feature.group 1.13.5.
23:48:20    [p2.dir] Installing edu.umd.cs.findbugs.plugin.eclipse.feature.group 3.0.1.20150306-5afe4d1.
23:48:20    [p2.dir] Installing net.java.dev.jna.feature.group 4.1.0.v20140626_1915.
23:48:20    [p2.dir] Installing net.sf.eclipsecs.feature.group 6.5.0.201504121610.
23:48:20    [p2.dir] Installing net.sourceforge.pmd.eclipse.feature.group 4.0.7.v20150522-1709.
23:48:20    [p2.dir] Installing org.eclipse.egit.feature.group 4.0.2.201509141540-r.
23:48:20    [p2.dir] Installing org.eclipse.egit.mylyn.feature.group 4.0.1.201506240215-r.
23:48:20    [p2.dir] Installing org.eclipse.jgit.feature.group 4.0.2.201509141540-r.
23:48:20    [p2.dir] Installing org.eclipse.jst.server_adapters.feature.feature.group 3.2.400.v201503102136.
23:48:20    [p2.dir] Installing org.eclipse.jst.server_core.feature.feature.group 3.4.200.v201503102136.
23:48:20    [p2.dir] Installing org.eclipse.jst.server_ui.feature.feature.group 3.4.200.v201503102136.
23:48:20    [p2.dir] Installing org.eclipse.jst.server_userdoc.feature.feature.group 3.3.300.v201503102136.
23:48:20    [p2.dir] Installing org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002.
23:48:20    [p2.dir] Installing org.eclipse.m2e.wtp.feature.feature.group 1.2.1.20150819-2220.
23:48:20    [p2.dir] Installing org.eclipse.m2e.wtp.jaxrs.feature.feature.group 1.2.1.20150819-2220.
23:48:20    [p2.dir] Installing org.eclipse.m2e.wtp.jpa.feature.feature.group 1.2.1.20150819-2224.
23:48:20    [p2.dir] Installing org.eclipse.m2e.wtp.jsf.feature.feature.group 1.2.1.20150819-2220.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.bugzilla_feature.feature.group 3.17.0.v20150828-2026.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.commons.feature.group 3.17.0.v20150828-2041.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.context_feature.feature.group 3.17.0.v20150625-2044.
23:48:20    [p2.dir] Installing org.eclipse.mylyn_feature.feature.group 3.17.0.v20150909-1822.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.git.feature.group 1.9.0.v20150908-1643.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.github.feature.feature.group 4.0.1.201506240215-r.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.hudson.feature.group 1.9.0.v20150908-1655.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.ide_feature.feature.group 3.17.0.v20150625-2044.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.java_feature.feature.group 3.17.0.v20150828-2014.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.pde_feature.feature.group 3.17.0.v20150625-2044.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.team_feature.feature.group 3.17.0.v20150625-2044.
23:48:20    [p2.dir] Installing org.eclipse.mylyn.versions.feature.group 1.9.0.v20150908-1643.
23:48:20    [p2.dir] Installing org.jboss.ide.eclipse.as.feature.feature.group 3.1.0.CR1-v20150917-2320-B41.
23:48:20    [p2.dir] Installing org.jboss.tools.aerogear.easymport.feature.feature.group 1.3.0.CR1-v20150917-1236-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.aerogear.thym.feature.feature.group 1.3.0.CR1-v20150917-1236-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.browsersim.feature.feature.group 3.7.0.CR1-v20150917-1324-B32.
23:48:20    [p2.dir] Installing org.jboss.tools.common.mylyn.feature.feature.group 3.7.0.CR1-v20150915-2036-B30.
23:48:20    [p2.dir] Installing org.jboss.tools.cordovasim.feature.feature.group 3.7.0.CR1-v20150917-1236-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.feedhenry.feature.group 1.1.0.CR1-v20150917-1236-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.forge.feature.feature.group 2.0.0.CR1-v20150917-2037-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.forge.m2e.feature.feature.group 2.0.0.CR1-v20150917-2037-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.jst.angularjs.feature.feature.group 3.7.0.CR1-v20150917-1903-B37.
23:48:20    [p2.dir] Installing org.jboss.tools.livereload.feature.feature.group 1.3.0.CR1-v20150917-1330-B33.
23:48:20    [p2.dir] Installing org.jboss.tools.m2e.wro4j.feature.feature.group 1.1.0.201406251020.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.apt.feature.feature.group 1.1.1.201411262015.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.cdi.feature.feature.group 1.7.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.feature.feature.group 1.7.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.hibernate.feature.feature.group 1.7.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.jbosspackaging.feature.feature.group 1.7.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.portlet.feature.feature.group 1.7.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.maven.seam.feature.feature.group 1.7.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.openshift.egit.integration.feature.feature.group 3.0.0.CR1-v20150917-2200-B45.
23:48:20    [p2.dir] Installing org.jboss.tools.openshift.express.feature.feature.group 3.0.0.CR1-v20150917-2200-B45.
23:48:20    [p2.dir] Installing org.jboss.tools.openshift.feature.feature.group 3.0.0.CR1-v20150917-2200-B45.
23:48:20    [p2.dir] Installing org.jboss.tools.portlet.feature.feature.group 1.6.0.Final-v20141209-0339-B20.
23:48:20    [p2.dir] Installing org.jboss.tools.project.examples.seam.feature.feature.group 3.0.0.CR1-v20150916-0301-B35.
23:48:20    [p2.dir] Installing org.jboss.tools.runtime.seam.detector.feature.feature.group 3.7.0.CR1-v20150917-2003-B26.
23:48:20    [p2.dir] Installing org.jboss.tools.seam.feature.feature.group 3.7.0.CR1-v20150917-2003-B26.
23:48:20    [p2.dir] Installing org.sonatype.m2e.egit.feature.feature.group 0.14.0.201504071521.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.ajdt.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.aop.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.autowire.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.batch.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.data.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.integration.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.maven.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.mylyn.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.osgi.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.security.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springframework.ide.eclipse.webflow.feature.feature.group 3.7.0.201506251244-RELEASE.
23:48:20    [p2.dir] Installing org.springsource.ide.eclipse.commons.feature.group 3.7.0.201506251212-RELEASE.
23:48:20    [p2.dir] Installing org.testng.eclipse.feature.group 6.9.5.201506120235.
23:48:20    [p2.dir] Installing org.tigris.subversion.clientadapter.feature.feature.group 1.10.3.
23:48:20    [p2.dir] Installing org.tigris.subversion.clientadapter.svnkit.feature.feature.group 1.8.9.
23:48:20    [p2.dir] Installing org.tigris.subversion.subclipse.feature.group 1.10.9.
23:48:20    [p2.dir] Installing org.tigris.subversion.subclipse.graph.feature.feature.group 1.1.1.
23:48:20    [p2.dir] Installing org.tigris.subversion.subclipse.mylyn.feature.group 3.0.0.
23:48:20    [p2.dir] Installing org.tmatesoft.svnkit.feature.group 1.8.10.r10446_v20150526_1454.
23:48:20    [p2.dir] Installing org.zeroturnaround.eclipse.feature.feature.group 6.2.4.RELEASE-201509091324.
23:48:20    [p2.dir] Installing org.zeroturnaround.eclipse.m2e.feature.feature.group 6.2.4.RELEASE-201509091324.
23:48:20    [p2.dir] Installing org.zeroturnaround.eclipse.wtp.feature.feature.group 6.2.4.RELEASE-201509091324.
23:48:50    [p2.dir] Operation completed in 53844 ms.{code}

And here's what the install-grinder logs:

{code:title=http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-install-grinder.install-tests.matrix_4.3.mars/72/PROJECT=devstudio,jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&%28x86||x86_64%29&&!beaker&&!qa03-rhel6-x86_64/testReport/org.jboss.tools.tests.installation/InstallFromCentralTest/testInstall/}
Passed: org.jboss.tools.tests.installation.InstallFromCentralTest.testInstall; Took 3 min 7 sec.
{code}


As to the above failure re: missing Capability / Packages, I googled a bit and found that maybe (?) we need to ensure that org.apache.aries.spifly.dynamic.bundle	1.0.2 is installed?

* https://www.google.ca/search?q=osgi.serviceloader.registrar&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=7UoAVpjAHMuFqQWzo7nACA
* https://www.eclipse.org/forums/index.php/t/474446/
* http://aries.apache.org/modules/spi-fly.html
* http://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html



> install-grinder returns a blue ball but fails to install 5 plugins due to missing capability &/or package
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-20747
>                 URL: https://issues.jboss.org/browse/JBIDE-20747
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.0.CR1
>            Reporter: Nick Boldt
>
> This happened in http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-install-grinder.install-tests.matrix_master/3369/PROJECT=jbosstools,jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&%28x86||x86_64%29&&!beaker&&!qa03-rhel6-x86_64/consoleText
> {code}
> org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.browsersim.eclipse [1120]
>   Unresolved requirement: Require-Bundle: org.jboss.tools.browsersim.ui; bundle-version="3.7.0"
>     -> Bundle-SymbolicName: org.jboss.tools.browsersim.ui; bundle-version="3.7.0.CR1-v20150901-2111-B229"; singleton:="true"
>        org.jboss.tools.browsersim.ui [1122]
>          Unresolved requirement: Require-Bundle: org.eclipse.jetty.websocket.server; bundle-version="[9.0.0,10.0.0)"
>            -> Bundle-SymbolicName: org.eclipse.jetty.websocket.server; bundle-version="9.2.13.v20150730"
>               org.eclipse.jetty.websocket.server [555]
>                 Unresolved requirement: Require-Capability: osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"
>                 Unresolved requirement: Import-Package: org.eclipse.jetty.websocket.servlet; version="[9.0.0,10.0.0)"
>                   -> Export-Package: org.eclipse.jetty.websocket.servlet; bundle-symbolic-name="org.eclipse.jetty.websocket.servlet"; bundle-version="9.2.13.v20150730"; version="9.2.13"
>                      org.eclipse.jetty.websocket.servlet [556]
>                        Unresolved requirement: Require-Capability: osgi.serviceloader; filter:="(osgi.serviceloader=org.eclipse.jetty.websocket.servlet.WebSocketServletFactory)"; cardinality:="multiple"
>                          -> Provide-Capability: osgi.serviceloader; osgi.serviceloader="org.eclipse.jetty.websocket.servlet.WebSocketServletFactory"
> {code}
> -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-install-grinder.install-tests.matrix_master/3369/PROJECT=jbosstools,jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&%28x86||x86_64%29&&!beaker&&!qa03-rhel6-x86_64/artifact/eclipse/workspace/.metadata/.log
> Similar problems for other IUs:
> {code}
> org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.cordovasim.eclipse [1163]
> org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.feedhenry.ui [1166]
> org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.livereload.core [1221]
> org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.livereload.ui [1222]
> {code}
> But the job was successful!
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-install-grinder.install-tests.matrix_master/3369/PROJECT=jbosstools,jdk=jdk1.8,label_exp=%28RHEL6||RHEL7||jboss-prod%29&&%28x86||x86_64%29&&!beaker&&!qa03-rhel6-x86_64/



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


More information about the jbosstools-issues mailing list