karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-2099) Another instance where some bundles of cellar failed to startup from time to time
Date Mon, 23 Jun 2014 14:15:26 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-2099.
-----------------------------------------

    Resolution: Cannot Reproduce

I'm not able to reproduce this issue with the upgrade to Pax Exam 3.4.0.

> Another instance where some bundles of cellar failed to startup from time to time
> ---------------------------------------------------------------------------------
>
>                 Key: KARAF-2099
>                 URL: https://issues.apache.org/jira/browse/KARAF-2099
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-bundle
>    Affects Versions: cellar-3.0.0
>         Environment: Windows 8 64 bit
>            Reporter: Ryan Moquin
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0
>
>
> Initially cloned this to make it obvious that it is similar to the original issue.  I'm
trying to learn how to create cellar integration tests for some development work I want to
do with it. I copied a couple of the integration tests I was interested in to start with into
a new project.  I ran into a lot of problems getting Apache Karaf to resolve in the tests
(I ran the integration tests in itests head and see to have the same problem).  I was able
to get past that problem and Karaf now comes up, but I can't get cellar to install, this happens
every time.  I think the only changes I made in my poms were to get pax-exam upgraded to 2.6
and upgraded the pax-url-aether and pax-url-mvn which allowed me to get past the karaf resolution
issues.
> Running org.apache.karaf.cellar.itests.CellarChildNodesTest
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/d:/m2repo/org/ops4j/pax/logging/pax-logging-api/1.7.0/pax-logging-api-1.7.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/d:/m2repo/org/slf4j/slf4j-simple/1.6.4/slf4j-simple-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.ops4j.pax.logging.slf4j.Slf4jLoggerFactory]
> [org.ops4j.pax.exam.spi.DefaultExamSystem] : Pax Exam System (Version: 2.6.0) created.
> [org.ops4j.store.intern.TemporaryStore] : Storage Area is C:\Users\rmoquin\AppData\Local\Temp\1357476394742-0
> [org.apache.karaf.tooling.exam.container.internal.RMIRegistry] : Created Registry on
21413
> [org.apache.karaf.tooling.exam.container.internal.RMIRegistry] : Currently 1 out of 98
ports are in use. Port range is from 21413 up to 21511
> [org.apache.karaf.tooling.exam.container.internal.RMIRegistry] : Created Registry on
21414
> [org.apache.karaf.tooling.exam.container.internal.RMIRegistry] : Currently 2 out of 98
ports are in use. Port range is from 21413 up to 21511
> [org.ops4j.pax.exam.spi.PaxExamRuntime] : Found TestContainerFactory: org.apache.karaf.tooling.exam.container.internal.KarafTestContainerFactory
> [org.ops4j.pax.exam.junit.JUnit4TestRunner] : User defined probe hook found: probeConfiguration
> [org.ops4j.pax.exam.spi.intern.DefaultTestAddress] : NEW ADDRESS= PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3
parent=null root=[TestAddress:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3 root:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3]
args=[Ljava.lang.Object;@48bef44a
> [org.ops4j.store.intern.TemporaryStore] : Storage Area is C:\Users\rmoquin\AppData\Local\Temp\tb
> [org.ops4j.pax.exam.spi.intern.TestProbeBuilderImpl] : Top level dir . has been verified.
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : make()
> [org.ops4j.store.intern.TemporaryStore] : Enter store()
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Creating manifest from added headers.
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : DynamicImport-Package = *,org.apache.felix.service.*;status=provisional
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Ignore-Package = 
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : PaxExam-Executable = PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3,
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3
= org.apache.karaf.cellar.itests.CellarChildNodesTest;testClusterWithChildNodes
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Bundle-SymbolicName = PAXEXAM-PROBE-7c1f2959-8daa-450e-98ca-35611a0bf5b3
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarSampleCamelHazelcastTest.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarSampleDosgiGreeterTest.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarTestSupport.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarTestSupport$2.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarEventTest.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarChildNodesTest.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarTestSupport$1.class
> [org.ops4j.pax.tinybundles.core.intern.RawBuilder] : Copying resource org/apache/karaf/cellar/itests/CellarGroupsTest.class
> [org.ops4j.store.intern.TemporaryStore] : Exit store(): b80fb48e137d3d1fbf990e549c1d8e46fdf3ca96
> [org.ops4j.pax.exam.spi.DefaultExamReactor] : Staging reactor with probes: 1 using strategy:
org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory@42a2bf0f
> [org.ops4j.store.intern.TemporaryStore] : Storage Area is C:\Users\rmoquin\AppData\Local\Temp\1357476397524-0
> [org.ops4j.pax.exam.spi.intern.DefaultTestAddress] : NEW ADDRESS= PaxExam-b516ac38-d2f8-4da8-8595-85c0581b1f71
parent=[TestAddress:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3 root:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3]
root=[TestAddress:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3 root:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3]
args=[Ljava.lang.Object;@156fb054
> [org.ops4j.pax.exam.junit.JUnit4TestRunner] : Invoke testClusterWithChildNodes:CellarChildNodesTest.testClusterWithChildNodes:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/3.0.0-SNAPSHOT/zip}
@ [TestAddress:PaxExam-b516ac38-d2f8-4da8-8595-85c0581b1f71 root:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3]
Arguments: [Ljava.lang.Object;@48bef44a
> [org.ops4j.store.intern.TemporaryStore] : Storage Area is C:\Users\rmoquin\AppData\Local\Temp\1357476397555-0
> [org.apache.karaf.tooling.exam.container.internal.KarafTestContainer] : Test Container
started in 0 millis
> [org.apache.karaf.tooling.exam.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 21414 name: a4649efe-c8ba-4e37-9cb0-de76bfbb4fb7 timout: [ RelativeTimeout value
= 180000 ]
>         __ __                  ____      
>        / //_/____ __________ _/ __/      
>       / ,<  / __ `/ ___/ __ `/ /_        
>      / /| |/ /_/ / /  / /_/ / __/        
>     /_/ |_|\__,_/_/   \__,_/_/         
>   Apache Karaf (3.0.0-SNAPSHOT)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
> karaf@root()> [org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Remote bundle
context found after 42283 millis
> [org.ops4j.pax.exam.container.remote.RBCRemoteTarget] : Preparing and Installing bundle
(from stream )..
> [org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Packing probe into memory
for true RMI. Hopefully things will fill in..
> [org.ops4j.pax.exam.container.remote.RBCRemoteTarget] : Installed bundle (from stream)
as ID: 94
> [org.ops4j.pax.exam.container.remote.RBCRemoteTarget] : call [[TestAddress:PaxExam-b516ac38-d2f8-4da8-8595-85c0581b1f71
root:PaxExam-8df6615b-21be-4119-9c5c-72bbd1ba2cb3]]
> feature:repo-add mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0-SNAPSHOT/xml/features
> Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0-SNAPSHOT/xml/features
> feature:repo-list
> Repository                  | URL                                                   
                                                               
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> karaf-cellar-3.0.0-SNAPSHOT | mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0-SNAPSHOT/xml/features
                                          
> standard-3.0.0-SNAPSHOT     | mvn:org.apache.karaf.features/standard/3.0.0-SNAPSHOT/xml/features
                                                   
> enterprise-3.0.0-SNAPSHOT   | mvn:org.apache.karaf.features/enterprise/3.0.0-SNAPSHOT/xml/features
                                                 
> spring-3.0.0-SNAPSHOT       | mvn:org.apache.karaf.features/spring/3.0.0-SNAPSHOT/xml/features
                                                     
> pax-exam-features-2.6.0     | file:D:/projects/GitHub/rmoquin/storm-osgi/itests/target/paxexam/f3996094-4e71-4857-98ed-cf918f5a73fa/examfeatures.xml
> feature:list
> Name                          | Version         | Installed | Repository            
     | Description                                                         
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
> hazelcast                     | 2.0.2           |           | karaf-cellar-3.0.0-SNAPSHOT
| In memory data grid                                                 
> hazelcast-monitor             | 2.0.2           |           | karaf-cellar-3.0.0-SNAPSHOT
| Hazelcast console                                                   
> cellar                        | 3.0.0-SNAPSHOT  |           | karaf-cellar-3.0.0-SNAPSHOT
| Karaf clustering                                                    
> cellar-obr                    | 3.0.0-SNAPSHOT  |           | karaf-cellar-3.0.0-SNAPSHOT
| OBR support in Cellar clusters                                      
> cellar-event                  | 3.0.0-SNAPSHOT  |           | karaf-cellar-3.0.0-SNAPSHOT
| OSGi events broadcasting in Cellar clusters                         
> cellar-cloud                  | 3.0.0-SNAPSHOT  |           | karaf-cellar-3.0.0-SNAPSHOT
| Cloud blobstore support in Cellar clusters                          
> cellar-webconsole             | 3.0.0-SNAPSHOT  |           | karaf-cellar-3.0.0-SNAPSHOT
| Karaf WebConsole plug for Cellar                                    
> standard                      | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Karaf standard feature                                              
> aries-annotation              | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Aries Annotations                                                   
> wrapper                       | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide OS integration                                              
> obr                           | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide OSGi Bundle Repository (OBR) support                        
> config                        | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide OSGi ConfigAdmin support                                    
> region                        | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide Region Support                                              
> jetty                         | 8.1.8.v20121106 |           | standard-3.0.0-SNAPSHOT
    | Provide Jetty engine support                                        
> package                       | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Package commands and mbeans                                         
> http                          | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Implementation of the OSGI HTTP Service                             
> http-whiteboard               | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide HTTP Whiteboard pattern support                             
> war                           | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Turn Karaf as a full WebContainer                                   
> kar                           | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide KAR (KARaf archive) support                                 
> webconsole                    | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Base support of the Karaf WebConsole                                
> ssh                           | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide a SSHd server on Karaf                                      
> management                    | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide a JMX MBeanServer and a set of MBeans in Karaf              
> scheduler                     | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Provide a scheduler service in Karaf to fire events                 
> eventadmin                    | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | OSGi Event Admin service specification for event-based communication
> jasypt-encryption             | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Advanced encryption support for Karaf security                      
> scr                           | 3.0.0-SNAPSHOT  |           | standard-3.0.0-SNAPSHOT
    | Declarative Service support                                         
> transaction                   | 1.0.1           |           | enterprise-3.0.0-SNAPSHOT
  | OSGi Transaction Manager                                            
> jpa                           | 1.0.1           |           | enterprise-3.0.0-SNAPSHOT
  | OSGi Persistence Container                                          
> jndi                          | 1.0.0           |           | enterprise-3.0.0-SNAPSHOT
  | OSGi Service Registry JNDI access                                   
> application-without-isolation | 1.0.0           |           | enterprise-3.0.0-SNAPSHOT
  | Provide EBA archive support                                         
> spring                        | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring support                                                      
> spring-aspects                | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring AOP support                                                  
> spring-dm                     | 1.2.1           |           | spring-3.0.0-SNAPSHOT 
     | Spring DM support                                                   
> spring-dm-web                 | 1.2.1           |           | spring-3.0.0-SNAPSHOT 
     | Spring DM Web support                                               
> spring-instrument             | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring Instrument support                                           
> spring-jdbc                   | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring JDBC support                                                 
> spring-jms                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring JMS support                                                  
> spring-struts                 | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring Struts support                                               
> spring-test                   | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring Test support                                                 
> spring-orm                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring ORM support                                                  
> spring-oxm                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring OXM support                                                  
> spring-tx                     | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring Transaction (TX) support                                     
> spring-web                    | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring Web support                                                  
> spring-web-portlet            | 3.1.3.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Spring Web Portlet support                                          
> gemini-blueprint              | 1.0.0.RELEASE   |           | spring-3.0.0-SNAPSHOT 
     | Gemini Blueprint Extender                                           
> exam                          | 2.6.0           |           | pax-exam-features-2.6.0
    |                                                                     
> feature:install cellar
> java.util.concurrent.TimeoutException
> 	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
> 	at java.util.concurrent.FutureTask.get(FutureTask.java:119)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport.executeCommand(CellarTestSupport.java:219)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport.executeCommand(CellarTestSupport.java:183)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport.installCellar(CellarTestSupport.java:96)
> 	at org.apache.karaf.cellar.itests.CellarChildNodesTest.testClusterWithChildNodes(CellarChildNodesTest.java:35)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> 	at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:70)
> 	at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
> 	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
> 	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:94)
> 	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:77)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:86)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:177)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:174)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> instance:create --featureURL mvn:org.apache.karaf.cellar/apache-karaf-cellar/3.0.0-SNAPSHOT/xml/features
--feature cellar  child1
> instance:start child1
> Waiting for child1 to start ...Started!
> cluster:node-list
> org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found: cluster:node-list
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport$1.call(CellarTestSupport.java:208)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport$1.call(CellarTestSupport.java:202)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> instance:connect child1 feature:uninstall cellar
> org.apache.karaf.shell.commands.CommandException: Undefined option: -p
> 	at org.apache.karaf.shell.commands.basic.DefaultActionPreparator.prepare(DefaultActionPreparator.java:102)
> 	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:32)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
> 	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
> 	at org.apache.karaf.shell.console.commands.$BlueprintCommand2078468944.execute(Unknown
Source)
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> 	at org.apache.karaf.instance.command.ConnectCommand.doExecute(ConnectCommand.java:56)
> 	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
> 	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
> 	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
> 	at org.apache.karaf.shell.console.commands.$BlueprintCommand2078468944.execute(Unknown
Source)
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport$1.call(CellarTestSupport.java:208)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport$1.call(CellarTestSupport.java:202)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> instance:stop child1
> java.util.concurrent.TimeoutException
> 	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
> 	at java.util.concurrent.FutureTask.get(FutureTask.java:119)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport.executeCommand(CellarTestSupport.java:219)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport.executeCommand(CellarTestSupport.java:183)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport.destroyCellarChild(CellarTestSupport.java:145)
> 	at org.apache.karaf.cellar.itests.CellarChildNodesTest.tearDown(CellarChildNodesTest.java:50)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36)
> 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> 	at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:70)
> 	at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
> 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
> 	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
> 	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
> 	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:94)
> 	at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:77)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:86)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:177)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:174)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> SHELL COMMAND TIMED OUT: 
> feature:uninstall cellar
> java.lang.Exception: Feature named 'cellar' is not installed
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.uninstallFeature(FeaturesServiceImpl.java:624)
> 	at Proxy2d2aeb3c_3a0a_4b3d_843b_cd317c024256.uninstallFeature(Unknown Source)
> 	at org.apache.karaf.features.command.UninstallFeatureCommand.doExecute(UninstallFeatureCommand.java:43)
> 	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
> 	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
> 	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
> 	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
> 	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
> 	at org.apache.karaf.shell.console.commands.$BlueprintCommand2078468944.execute(Unknown
Source)
> 	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
> 	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport$1.call(CellarTestSupport.java:208)
> 	at org.apache.karaf.cellar.itests.CellarTestSupport$1.call(CellarTestSupport.java:202)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message