Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6751

Possible wiring chain issue with multiple jackson versions

XMLWordPrintable

    • % %

      This commit introduced second jackson version into camel features.
      It's there since GA.

      I'm not sure what changed but I started to see wiring chain issue in R3 patch - features:install test.
      I couldn't find exact mix of features to reproduce manually.

      14:22:01 [ERROR] [FeaturesInstallTest:122]  Failed to install feature 'Feature camel-kubernetes':
      14:22:01 Error executing command: Could not start bundle mvn:io.fabric8/openshift-client/1.3.74/jar/bundle in feature(s) camel-kubernetes-2.17.0.redhat-630261: Uses constraint violation. Unable to resolve bundle revision io.fabric8.openshift-client [944.0] because it is exposed to package 'com.fasterxml.jackson.core' from bundle revisions com.fasterxml.jackson.core.jackson-core [947.0] and com.fasterxml.jackson.core.jackson-core [122.0] via two dependency chains.
      14:22:01 
      14:22:01 Chain 1:
      14:22:01   io.fabric8.openshift-client [944.0]
      14:22:01     import: (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.7.0)(!(version>=3.0.0)))
      14:22:01      |
      14:22:01     export: osgi.wiring.package=com.fasterxml.jackson.core
      14:22:01   com.fasterxml.jackson.core.jackson-core [947.0]
      14:22:01 
      14:22:01 Chain 2:
      14:22:01   io.fabric8.openshift-client [944.0]
      14:22:01     import: (osgi.wiring.package=io.fabric8.kubernetes.client)
      14:22:01      |
      14:22:01     export: osgi.wiring.package=io.fabric8.kubernetes.client; uses:=io.fabric8.kubernetes.api.model
      14:22:01   io.fabric8.kubernetes-client [948.0]
      14:22:01     import: (&(osgi.wiring.package=io.fabric8.kubernetes.api.model)(version>=1.0.0)(!(version>=2.0.0)))
      14:22:01      |
      14:22:01     export: osgi.wiring.package=io.fabric8.kubernetes.api.model; uses:=com.fasterxml.jackson.core
      14:22:01   io.fabric8.kubernetes-model [943.0]
      14:22:01     import: (&(osgi.wiring.package=com.fasterxml.jackson.core)(version>=2.6.0)(!(version>=3.0.0)))
      14:22:01      |
      14:22:01     export: osgi.wiring.package=com.fasterxml.jackson.core
      14:22:01   com.fasterxml.jackson.core.jackson-core [122.0]
      14:22:01 [INFO ] [FeaturesInstallTest:127]  Found 5 bundles causing error in installing camel-kubernetes.
      14:22:01 [ERROR] [FeaturesInstallTest:130]  Fetching related bundle with cmd: osgi:list -t 0 -l | grep --color never '(122|943|944|947|948)'
      14:22:01 [INFO ] [FuseSSHClient:47]  Executing command: osgi:list -t 0 -l | grep --color never '(122|943|944|947|948)'
      14:22:01 [DEBUG] [Executor:95]  Response: [ 122] [Active     ] [            ] [       ] [   35] mvn:com.fasterxml.jackson.core/jackson-core/2.6.3
      14:22:01 [ERROR] [FeaturesInstallTest:132]  Related bundles are:
      14:22:01 [ 122] [Active     ] [            ] [       ] [   35] mvn:com.fasterxml.jackson.core/jackson-core/2.6.3
      

              acosenti Andrea Cosentino
              jludvice Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: