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

Karaf EnterpriseFeaturesTest.testWeldFeature fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Karaf
    • None
    • % %

      This test is failing with the error below. It started failing after this change:
      https://github.com/jboss-fuse/karaf/commit/f64be8339e4399c0facdb6f62a0857c2cef5bd49

      I will add an @Ignore to the test for now, please remove it once this is fixed.

      org.apache.karaf.itests.EnterpriseFeaturesTest.testWeldFeature
      
      Failing for the past 3 builds (Since #169 )
      Took 8.1 sec.
      add description
      Error Message
      
      Unresolved constraint in bundle org.jboss.weld.osgi-bundle [92]: Unable to resolve 92.0: missing requirement [92.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=11.0.0))
      Stacktrace
      
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.jboss.weld.osgi-bundle [92]: Unable to resolve 92.0: missing requirement [92.0] osgi.wiring.package; (&(osgi.wiring.package=com.google.common.base)(version>=11.0.0))
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:546)
      	at org.apache.karaf.features.internal.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:432)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Standard Output
      
      [org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer] : Wait for test container to finish its initialization [ RelativeTimeout value = 180000 ]
      [org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Waiting for remote bundle context.. on 21000 name: b6c85800-d7ef-4616-bb8a-b3389468cbbe timout: [ RelativeTimeout value = 180000 ]
              __ __                  ____      
             / //_/____ __________ _/ __/      
            / ,<  / __ `/ ___/ __ `/ /_        
           / /| |/ /_/ / /  / /_/ / __/        
          /_/ |_|\__,_/_/   \__,_/_/         
      
        Apache Karaf (2.4.0.redhat-SNAPSHOT)
      
      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      Hit '<ctrl-d>' or type 'osgi:shutdown' or 'logout' to shutdown Karaf.
      
      karaf@root> 
      ===== TESTING WELD FEATURE =====
      

              astefanu@redhat.com Antonin Stefanutti
              kearls@redhat.com Kevin Earls (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: