Claus Ibsen created CAMEL-5520:
----------------------------------
Summary: CI server - OSGi tests cannot run
Key: CAMEL-5520
URL: https://issues.apache.org/jira/browse/CAMEL-5520
Project: Camel
Issue Type: Test
Components: osgi, tests
Reporter: Claus Ibsen
Priority: Minor
Fix For: Future
The osgi tests cannot / do not / run on our Apache CI servers
The camel-itest-osgi can not run due plugins not ready for parallel run
{code}
projectStarted org.apache.camel:camel-itest-osgi:2.11-SNAPSHOT
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Integration Tests :: OSGi 2.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
mojoSucceeded
org.apache.maven.plugins:maven-compiler-plugin:2.5.1(default-testCompile)
mojoStarted org.apache.maven.plugins:maven-surefire-plugin:2.8(default-test)
[INFO]
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ camel-itest ---
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project *
[WARNING] * contains the following plugin(s) that are not marked as *
[WARNING] * @threadSafe to support parallel building. *
[WARNING] * While this /may/ work fine, please look for plugin updates *
[WARNING] * and/or request plugins be made thread-safe. *
[WARNING] * If reporting an issue, report it against the plugin in *
[WARNING] * question, not against maven-core *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in Camel ::
Integration Tests :: OSGi:
[WARNING] org.apache.servicemix.tooling:depends-maven-plugin:1.2
[WARNING] org.apache.maven.plugins:maven-site-plugin:3.0
[WARNING] org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1
[WARNING] org.apache.openjpa:openjpa-maven-plugin:2.2.0
[WARNING] *****************************************************************
[INFO] Surefire report directory:
/home/jenkins/jenkins-slave/workspace/Camel.trunk.fulltest/camel-trunk/tests/camel-itest/target/surefire-reports
{code}
And the camel-itest-karaf profile is in the osgi.test profile which is skipped.
IMHO we should maybe setup a new CI project that *only* does osgi tests. And it
may rely on another build project to complete successfully. If this is possible.
An alternative would be something in the osgi tests to disable parallel test
from Maven (if that is possible)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira