Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11839

camel-itest-karaf - CamelBoxTest fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.20.0
    • 2.20.0
    • camel-box, karaf, tests
    • None
    • Unknown

    Description

      $ ./run-tests.sh CamelBoxTest
      ...
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.242 sec <<< FAILURE! - in org.apache.camel.itest.karaf.CamelBoxTest
      test(org.apache.camel.itest.karaf.CamelBoxTest)  Time elapsed: 10.097 sec  <<< ERROR!
      org.ops4j.pax.exam.WrappedTestContainerException: [test(org.apache.camel.itest.karaf.CamelBoxTest): Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-box; type=karaf.feature; version="[2.20.0.SNAPSHOT,2.20.0.SNAPSHOT]"; filter:="(&(osgi.identity=camel-box)(type=karaf.feature)(version>=2.20.0.SNAPSHOT)(version<=2.20.0.SNAPSHOT))" [caused by: Unable to resolve camel-box/2.20.0.SNAPSHOT: missing requirement [camel-box/2.20.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.camel.camel-box; type=osgi.bundle; version="[2.20.0.SNAPSHOT,2.20.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-box/2.20.0.SNAPSHOT: missing requirement [org.apache.camel.camel-box/2.20.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=com.gargoylesoftware.htmlunit.util)" [caused by: Unable to resolve org.apache.servicemix.bundles.htmlunit/2.24.0.1: missing requirement [org.apache.servicemix.bundles.htmlunit/2.24.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.jetty.websocket.client)(version>=9.2.0)(!(version>=10.0.0)))" [caused by: Unable to resolve org.eclipse.jetty.websocket.client/9.3.14.v20161028: missing requirement [org.eclipse.jetty.websocket.client/9.3.14.v20161028] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.eclipse.jetty.websocket.api.extensions)(version>=9.3.14)(!(version>=9.3.15)))" [caused by: Unable to resolve org.eclipse.jetty.websocket.api/9.3.14.v20161028: missing requirement [org.eclipse.jetty.websocket.api/9.3.14.v20161028] osgi.identity; osgi.identity=pax-jetty-condition-pax_http_whiteboard; type=karaf.feature; version="[9.3.14.v20161028,9.3.14.v20161028]"; resolution:=mandatory [caused by: Unable to resolve pax-jetty-condition-pax_http_whiteboard/9.3.14.v20161028: missing requirement [pax-jetty-condition-pax_http_whiteboard/9.3.14.v20161028] osgi.identity; osgi.identity=pax-http-whiteboard; type=karaf.feature; condition:=true]]]]]]]
      	at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
      	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389)
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347)
      	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218)
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:291)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1233)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:748)
      
      
      Results :
      
      Tests in error: 
        CamelBoxTest.test ยป WrappedTestContainer [test(org.apache.camel.itest.karaf.Ca...
      
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 15.446 s
      [INFO] Finished at: 2017-09-26T09:48:27+09:00
      [INFO] Final Memory: 41M/2875M
      [INFO] ------------------------------------------------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              tadayosi Tadayoshi Sato
              tadayosi Tadayoshi Sato
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: