[ 
http://jira.amdatu.org/jira/browse/AMDATU-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10742#comment-10742
 ] 

Ivo Ladage - van Doorn commented on AMDATU-262:
-----------------------------------------------

The cause of failure for 
http://bamboo.amdatu.org/bamboo/browse/AMDATU-TRUNK-JOB1-448/log 
seems to be http://jira.amdatu.org/jira/browse/AMDATU-270

http://bamboo.amdatu.org/bamboo/browse/AMDATU-TRUNK-451 
means that a previous process failed proper shutdown, the next time Pax Exam 
starts the port under test by the http service is already in use and so it will 
fail

The error above is indeed caused usually by a framework shutdown while bundles 
are still starting and should be fixed by defining proper service dependencies 
in the test.
So I don't know what to do more with this issue. Tests are succeeding now on 
Bamboo.

> 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
>            Assignee: Ivo Ladage - van Doorn
>            Priority: Blocker
>
> 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