Bamboo builds keep getting hung on same issue
---------------------------------------------

                 Key: AMDATU-262
                 URL: http://jira.amdatu.org/jira/browse/AMDATU-262
             Project: Amdatu
          Issue Type: Bug
          Components: Integration Tests
            Reporter: Bram de Kruijff


On a regular basis the bamboo builds hang on the fact that pax is shutting down 
a container that has not yet fully started. The workaround is adding service 
deps in the test that fails, but it woul dbe nice to have a structural 
solution. Thangs that come to mind:

1) Ad a fixed "do no shutdown before x ms"in the itest base
2) Add a general service dep that only registers after full framework startup

Typical stack related to issue looks like:

INFO: ServiceEvent REGISTERED [org.amdatu.semanticweb.sesame]
13-Jan-2011 15:09:52    
13-Jan-2011 15:09:52    INFO: BundleEvent STOPPED [org.apache.felix.framework]
13-Jan-2011 15:09:52    Stopping Sesame application bundle...
13-Jan-2011 15:09:52    INFO: BundleEvent STOPPED [osgi.core]
13-Jan-2011 15:09:52    WARNING: Invocation of 'init' failed. 
[org.amdatu.semanticweb.sesame]
13-Jan-2011 15:09:52    Can only register services while bundle is active or 
activating.
13-Jan-2011 15:09:52    java.lang.IllegalStateException: Can only register 
services while bundle is active or activating.
13-Jan-2011 15:09:52            at 
org.apache.felix.framework.Felix.registerService(Felix.java:2832)
13-Jan-2011 15:09:52            at 
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to