You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2016/01/24 23:33:39 UTC

[jira] [Commented] (SM-2823) ActivitiExamplesTest fails accidentally

    [ https://issues.apache.org/jira/browse/SM-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114581#comment-15114581 ] 

Krzysztof Sobkowiak commented on SM-2823:
-----------------------------------------

Installation of the {{activiti}} feature performs the re-installation of transaction bundles

{code}
2016-01-24 23:09:52,883 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 10 - org.apache.karaf.features.core - 4.0.4 |     Bundles to uninstall:
2016-01-24 23:09:52,883 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 10 - org.apache.karaf.features.core - 4.0.4 |       org.apache.aries.transaction.manager/1.1.1
2016-01-24 23:09:52,883 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 10 - org.apache.karaf.features.core - 4.0.4 |     Bundles to install:
....
2016-01-24 23:09:52,892 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 10 - org.apache.karaf.features.core - 4.0.4 |       mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/1.1.1
2016-01-24 23:09:52,892 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 10 - org.apache.karaf.features.core - 4.0.4 |       mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/2.1.0
2016-01-24 23:09:52,892 | INFO  | pool-47-thread-1 | FeaturesServiceImpl              | 10 - org.apache.karaf.features.core - 4.0.4 |       mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.3.0
{code}

It looks like the re-installtion of the bundles causes the problem. Separate installation of the {{transaction}} bundle seems to fix the problem.

> ActivitiExamplesTest fails accidentally 
> ----------------------------------------
>
>                 Key: SM-2823
>                 URL: https://issues.apache.org/jira/browse/SM-2823
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: activiti, itests, samples
>            Reporter: Krzysztof Sobkowiak
>             Fix For: 7.0.0.M1, 7.0.0
>
>         Attachments: org.apache.servicemix.itests.ActivitiExamplesTest-output.txt
>
>
> The Activiti itests fail accidentally with following error
> {code}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.379 sec <<< FAILURE! - in org.apache.servicemix.itests.ActivitiExamplesTest
> testActivitiCamelExample(org.apache.servicemix.itests.ActivitiExamplesTest)  Time elapsed: 5.77 sec  <<< ERROR!
> org.apache.karaf.features.internal.util.MultiException: Error restarting bundles
> 	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:848)
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)
> 	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)
> Results :
> Tests in error: 
>   ActivitiExamplesTest.testActivitiCamelExample ยป Multi Error restarting bundles
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)