Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3275

Investigate the OSGI wiring issue

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Spring 4 2023 Feb 21, Spring 5 2023 Mar 6, Spring 6 2023 Mar 20, Spring 7 2023 Apr 10

      Description

      Situation: After updating the OSGI annotations and removing bnd IGB can be built but when attempting to run the jar we are seeing the error below.

      Task: Investigate the cause of the below error. Some additional context can be found in the comments of IGBF-3142

      09:44:48.140 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve annotation-tab [2](R 2.0): missing requirement [annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0))) [caused by: Unable to resolve genometry [30](R 30.0): missing requirement [genometry [30](R 30.0)] osgi.wiring.package; (osgi.wiring.package=com.apple.laf)] Unresolved requirements: [[annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0)))]
      org.osgi.framework.BundleException: Unable to resolve annotation-tab [2](R 2.0): missing requirement [annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0))) [caused by: Unable to resolve genometry [30](R 30.0): missing requirement [genometry [30](R 30.0)] osgi.wiring.package; (osgi.wiring.package=com.apple.laf)] Unresolved requirements: [[annotation-tab [2](R 2.0)] osgi.wiring.package; (&(osgi.wiring.package=com.affymetrix.genometry.parsers)(version>=9.1.0)(!(version>=10.0.0)))]
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992)
      	at com.affymetrix.main.OSGiHandler.loadBundles(OSGiHandler.java:83)
      	at com.affymetrix.main.OSGiHandler.startOSGi(OSGiHandler.java:63)
      	at com.affymetrix.main.Main.main(Main.java:30)
      

        Attachments

          Issue Links

            Activity

            Hide
            nfreese Nowlan Freese added a comment - - edited

            guava: Guava was updated in the pom to Bundle-Version: 31.1.0.jre. However, Guava is unable to be resolved. The package com.google.common.util.concurrent.internal is in every error line that also mentions Guava. The com.google.common.util.concurrent.internal package is set as an Import-Package in the Guava manifest.

            14:49:00.226 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve com.google.guava [35](R 35.0): missing requirement [com.google.guava [35](R 35.0)] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.util.concurrent.internal)(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: [[com.google.guava [35](R 35.0)] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.util.concurrent.internal)(version>=1.0.0)(!(version>=2.0.0)))]
            

            Created ticket IGBF-3310 to address this error.

            Show
            nfreese Nowlan Freese added a comment - - edited guava: Guava was updated in the pom to Bundle-Version: 31.1.0.jre. However, Guava is unable to be resolved. The package com.google.common.util.concurrent.internal is in every error line that also mentions Guava. The com.google.common.util.concurrent.internal package is set as an Import-Package in the Guava manifest. 14:49:00.226 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve com.google.guava [35](R 35.0): missing requirement [com.google.guava [35](R 35.0)] osgi.wiring. package ; (&(osgi.wiring. package =com.google.common.util.concurrent.internal)(version>=1.0.0)(!(version>=2.0.0))) Unresolved requirements: [[com.google.guava [35](R 35.0)] osgi.wiring. package ; (&(osgi.wiring. package =com.google.common.util.concurrent.internal)(version>=1.0.0)(!(version>=2.0.0)))] Created ticket IGBF-3310 to address this error.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            osgi.cmpn: This is interesting as the osgi.cmpn artifact version 6.0.0 was added for this branch (to match the osgi.core version 6.0.0 that replaced bndlib). The osgi.cmpn artifact is included in the master branch of IGB, but in a previous version with the artifact id org.osgi.compendium. Unclear why it is not working, but the "must.not.resolve=*" appears in every error that mentions the osgi.cmpn artifact.

            14:49:00.362 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve osgi.cmpn [74](R 74.0): missing requirement [osgi.cmpn [74](R 74.0)] osgi.compile.time.only; (&(must.not.resolve=*)(!(must.not.resolve=*))) Unresolved requirements: [[osgi.cmpn [74](R 74.0)] osgi.compile.time.only; (&(must.not.resolve=*)(!(must.not.resolve=*)))]
            

            Created ticket IGBF-3309 to address this error.

            Show
            nfreese Nowlan Freese added a comment - - edited osgi.cmpn: This is interesting as the osgi.cmpn artifact version 6.0.0 was added for this branch (to match the osgi.core version 6.0.0 that replaced bndlib). The osgi.cmpn artifact is included in the master branch of IGB, but in a previous version with the artifact id org.osgi.compendium. Unclear why it is not working, but the "must.not.resolve=*" appears in every error that mentions the osgi.cmpn artifact. 14:49:00.362 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve osgi.cmpn [74](R 74.0): missing requirement [osgi.cmpn [74](R 74.0)] osgi.compile.time.only; (&(must.not.resolve=*)(!(must.not.resolve=*))) Unresolved requirements: [[osgi.cmpn [74](R 74.0)] osgi.compile.time.only; (&(must.not.resolve=*)(!(must.not.resolve=*)))] Created ticket IGBF-3309 to address this error.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            org.apache.felix.scr: The only other bundle affected by org.apache.felix.scr is the graphTab bundle. Both bundles state that they are missing the required org.osgi.service.component.

            14:49:00.346 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve org.apache.felix.scr [64](R 64.0): missing requirement [org.apache.felix.scr [64](R 64.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.5.0)(!(version>=1.6.0))) Unresolved requirements: [[org.apache.felix.scr [64](R 64.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.component)(version>=1.5.0)(!(version>=1.6.0)))]
            

            Created ticket IGBF-3308 to address this error.

            Show
            nfreese Nowlan Freese added a comment - - edited org.apache.felix.scr: The only other bundle affected by org.apache.felix.scr is the graphTab bundle. Both bundles state that they are missing the required org.osgi.service.component. 14:49:00.346 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve org.apache.felix.scr [64](R 64.0): missing requirement [org.apache.felix.scr [64](R 64.0)] osgi.wiring. package ; (&(osgi.wiring. package =org.osgi.service.component)(version>=1.5.0)(!(version>=1.6.0))) Unresolved requirements: [[org.apache.felix.scr [64](R 64.0)] osgi.wiring. package ; (&(osgi.wiring. package =org.osgi.service.component)(version>=1.5.0)(!(version>=1.6.0)))] Created ticket IGBF-3308 to address this error.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            org.apache.felix.dm: The only remaining errors (errors are all in org.lorainelab.igb.remote.services) all have the same thing in common, a missing requirement for org.apache.felix.dm. The pom does include a dependency for org.apache.felix.dependencymanager, which seems similar. The dependencymanager dependency was updated to the most recent version.

            14:49:00.356 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve org.lorainelab.igb.remote.services.discovery.provider.configured [70](R 70.0): missing requirement [org.lorainelab.igb.remote.services.discovery.provider.configured [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.felix.dm)(version>=3.0.0)(!(version>=4.0.0))) Unresolved requirements: [[org.lorainelab.igb.remote.services.discovery.provider.configured [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.felix.dm)(version>=3.0.0)(!(version>=4.0.0)))]
            

            Created ticket IGBF-3307 to address this error.

            Show
            nfreese Nowlan Freese added a comment - - edited org.apache.felix.dm: The only remaining errors (errors are all in org.lorainelab.igb.remote.services) all have the same thing in common, a missing requirement for org.apache.felix.dm. The pom does include a dependency for org.apache.felix.dependencymanager, which seems similar. The dependencymanager dependency was updated to the most recent version. 14:49:00.356 [main] ERROR com.affymetrix.main.OSGiHandler - Unable to resolve org.lorainelab.igb.remote.services.discovery.provider.configured [70](R 70.0): missing requirement [org.lorainelab.igb.remote.services.discovery.provider.configured [70](R 70.0)] osgi.wiring. package ; (&(osgi.wiring. package =org.apache.felix.dm)(version>=3.0.0)(!(version>=4.0.0))) Unresolved requirements: [[org.lorainelab.igb.remote.services.discovery.provider.configured [70](R 70.0)] osgi.wiring. package ; (&(osgi.wiring. package =org.apache.felix.dm)(version>=3.0.0)(!(version>=4.0.0)))] Created ticket IGBF-3307 to address this error.
            Hide
            nfreese Nowlan Freese added a comment -

            We have created tickets for each error we are seeing in the attached output.txt file: IGBF-3302, IGBF-3305, IGBF-3307, IGBF-3308, IGBF-3309, IGBF-3310, IGBF-3311.

            Closing ticket.

            Show
            nfreese Nowlan Freese added a comment - We have created tickets for each error we are seeing in the attached output.txt file: IGBF-3302, IGBF-3305 , IGBF-3307 , IGBF-3308 , IGBF-3309 , IGBF-3310 , IGBF-3311 . Closing ticket.

              People

              • Assignee:
                nfreese Nowlan Freese
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: