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

Krzysztof Sobkowiak edited comment on SM-2404 at 1/10/15 1:48 PM:
------------------------------------------------------------------

I had to downgrade surefire to 2.16. With 2.17 and 2.18 I has a problem after 
upgrade to Pax Logging 1.8.1. 

With 2.18 I get following error:

{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project itests: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: 
java.lang.RuntimeException: org.apache.maven.surefire.report.ReporterException: 
When writing xml report stdout/stderr: /tmp/stdout6895153416845835860deferred 
(No such file or directory) -> [Help 1]
{code}

It seems to be something related to the fix done by 
https://jira.codehaus.org/browse/SUREFIRE-1031. I have also seen in log the 
error occurs while stopping of {{org.ops4j.pax.logging.pax-logging-service}} 
bundle -- this is the last entry in log 

{code}
2015-01-10 13:14:37,081 | DEBUG | FelixStartLevel  | pax-logging-api            
      | 4 - org.ops4j.pax.logging.pax-logging-api - 1.8.1 | BundleEvent STOPPED 
- org.ops4j.pax.logging.pax-logging-api
2015-01-10 13:14:37,081 | DEBUG | FelixStartLevel  | pax-logging-service        
      | 3 - org.ops4j.pax.logging.pax-logging-service - 1.8.1 | BundleEvent 
STOPPING - org.ops4j.pax.logging.pax-logging-service
{code}

With 2.17 the tests end with following error

{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project itests: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: 
java.lang.RuntimeException: java.io.IOException: Stream Closed -> [Help 1]
{code}

In this case the error occurs while starting the ActiveMQ sample tests. The 
last entry in log

{code}
2015-01-10 14:46:19,362 [main           ] INFO  ReactorManager                 
- suite finished
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.236 sec - in 
org.apache.servicemix.itests.DefaultAssemblyTest
Running org.apache.servicemix.itests.ActiveMQExamplesTest
{code}


was (Author: sobkowiak):
I had to downgrade surefire to 2.16. With 2.17 and 2.18 I has a problem after 
upgrade to Pax Logging 1.8.1. 

With 2.18 I get following error:

{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project itests: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: 
java.lang.RuntimeException: org.apache.maven.surefire.report.ReporterException: 
When writing xml report stdout/stderr: /tmp/stdout6895153416845835860deferred 
(No such file or directory) -> [Help 1]
{code}

It seems to be something related to the fix done by 
https://jira.codehaus.org/browse/SUREFIRE-1031. I have also seen in log the 
error occurs while stopping of {{org.ops4j.pax.logging.pax-logging-service}} 
bundle -- this is the last entry in log 

{code}
2015-01-10 13:14:37,081 | DEBUG | FelixStartLevel  | pax-logging-api            
      | 4 - org.ops4j.pax.logging.pax-logging-api - 1.8.1 | BundleEvent STOPPED 
- org.ops4j.pax.logging.pax-logging-api
2015-01-10 13:14:37,081 | DEBUG | FelixStartLevel  | pax-logging-service        
      | 3 - org.ops4j.pax.logging.pax-logging-service - 1.8.1 | BundleEvent 
STOPPING - org.ops4j.pax.logging.pax-logging-service

{code}

> Upgrade to Karaf 2.4.1
> ----------------------
>
>                 Key: SM-2404
>                 URL: https://issues.apache.org/jira/browse/SM-2404
>             Project: ServiceMix
>          Issue Type: Task
>          Components: assemblies
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 5.3.1, 5.4.0
>
>         Attachments: WagonProblem.txt
>
>




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

Reply via email to