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

Job jbosstools-livereload_master is Red

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.11.0.AM1
    • 4.11.0.AM1
    • build, livereload
    • None

      Livereload build on jenkins started failing in middle of December 2018:
      https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-livereload_master/

      with errors like:

      !SESSION 2019-01-02 02:58:25.265 -----------------------------------------------
      eclipse.buildId=unknown
      java.version=1.8.0_191
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /mnt/hudson_workspace/workspace/jbosstools-livereload_master/sources/tests/org.jboss.tools.livereload.test/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.platform.ide
      Command-line arguments:  -data /mnt/hudson_workspace/workspace/jbosstools-livereload_master/sources/tests/org.jboss.tools.livereload.test/target/work/data -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /mnt/hudson_workspace/workspace/jbosstools-livereload_master/sources/tests/org.jboss.tools.livereload.test/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.platform.ide
      
      !ENTRY org.jboss.tools.livereload.core 4 0 2019-01-02 02:58:41.425
      !MESSAGE FrameworkEvent ERROR
      !STACK 0
      org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.livereload.core [286]
        Unresolved requirement: Require-Bundle: org.apache.aries.spifly.dynamic.bundle; bundle-version="1.0.10"
          -> Bundle-SymbolicName: org.apache.aries.spifly.dynamic.bundle; bundle-version="1.0.10"
             org.apache.aries.spifly.dynamic.bundle [16]
               Unresolved requirement: Import-Package: org.objectweb.asm.commons; version="[5.0.0,7.0.0)"
                 -> Export-Package: org.objectweb.asm.commons; bundle-symbolic-name="org.objectweb.asm.commons"; bundle-version="6.2.1.v20180823-1831"; version="6.2.1"; uses:="org.objectweb.asm,org.objectweb.asm.signature,org.objectweb.asm.tree"
                    org.objectweb.asm.commons [18]
                      No resolution report for the bundle.  Bundle was not resolved because of a uses constraint violation.
        org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.apache.aries.spifly.dynamic.bundle [osgi.identity; osgi.identity="org.apache.aries.spifly.dynamic.bundle"; type="osgi.bundle"; version:Version="1.0.10"] because it is exposed to package 'org.objectweb.asm' from resources org.objectweb.asm [osgi.identity; osgi.identity="org.objectweb.asm"; type="osgi.bundle"; version:Version="6.2.1.v20180823-1831"] and org.objectweb.asm [osgi.identity; osgi.identity="org.objectweb.asm"; type="osgi.bundle"; version:Version="7.0.0.v20181030-2244"] via two dependency chains.
      
      Chain 1:
        org.apache.aries.spifly.dynamic.bundle [osgi.identity; osgi.identity="org.apache.aries.spifly.dynamic.bundle"; type="osgi.bundle"; version:Version="1.0.10"]
          import: (&(osgi.wiring.package=org.objectweb.asm)(&(version>=5.0.0)(!(version>=7.0.0))))
           |
          export: osgi.wiring.package: org.objectweb.asm
        org.objectweb.asm [osgi.identity; osgi.identity="org.objectweb.asm"; type="osgi.bundle"; version:Version="6.2.1.v20180823-1831"]
      
      Chain 2:
        org.apache.aries.spifly.dynamic.bundle [osgi.identity; osgi.identity="org.apache.aries.spifly.dynamic.bundle"; type="osgi.bundle"; version:Version="1.0.10"]
          import: (&(osgi.wiring.package=org.objectweb.asm.commons)(&(version>=5.0.0)(!(version>=7.0.0))))
           |
          export: osgi.wiring.package=org.objectweb.asm.commons; uses:=org.objectweb.asm
        org.objectweb.asm.commons [osgi.identity; osgi.identity="org.objectweb.asm.commons"; type="osgi.bundle"; version:Version="6.2.1.v20180823-1831"]
          import: (&(osgi.wiring.package=org.objectweb.asm)(version>=6.2.1))
           |
          export: osgi.wiring.package: org.objectweb.asm
        org.objectweb.asm [osgi.identity; osgi.identity="org.objectweb.asm"; type="osgi.bundle"; version:Version="7.0.0.v20181030-2244"]
      	at org.eclipse.osgi.container.Module.start(Module.java:451)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1749)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1728)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1691)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1622)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
      	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)
      

      Similar issues are in:
      https://issues.jboss.org/browse/JBIDE-26027

            jmaury@redhat.com Jeff MAURY
            jkopriva@redhat.com Josef Kopriva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: