Skip to content

Test failure #8

Description

@cmoulliard

maven install executed from a fresh git clone installation generates this error

[org.springframework.test.context.junit4.SpringJUnit4ClassRunner] : SpringJUnit4ClassRunner constructor called with [class org.fusesource.camel.test.FilePollerUnitTest].
[org.springframework.test.context.support.AbstractDelegatingSmartContextLoader] : Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@d2cc05a declaringClass = 'org.fusesource.camel.test.FilePollerUnitTest', classes = '{}', locations = '{classpath:/META-INF/spring/camel-context.xml, classpath:/META-INF/spring/test-camel-context.xml}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
[org.springframework.test.context.ContextLoaderUtils] : Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [org.fusesource.camel.test.FilePollerUnitTest]
[org.springframework.test.context.TestContextManager] : @TestExecutionListeners is not present for class [org.fusesource.camel.test.FilePollerUnitTest]: using defaults.
[org.springframework.test.context.TestContextManager] : Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/web/context/request/RequestAttributes]

Full stack trace

mvn clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Rider Auto OSGi Example
[INFO] Rider Auto OSGi Example :: Common
[INFO] Rider Auto OSGi Example :: File Poller
[INFO] Rider Auto OSGi Example :: Web Service
[INFO] Rider Auto OSGi Example :: Normalizer
[INFO] Rider Auto OSGi Example :: Backend
[INFO] Rider Auto OSGi Example :: OpenShift Installer
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Rider Auto OSGi Example 5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ rider-auto-osgi ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ rider-auto-osgi ---
[INFO] Installing /Users/chmoulli/Temp/rider-auto-openshift/pom.xml to /Users/chmoulli/.m2/repository/org/fusesource/examples/rider-auto-osgi/5.0-SNAPSHOT/rider-auto-osgi-5.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Rider Auto OSGi Example :: Common 5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml (715 B at 1.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (623 B at 1.1 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (709 B at 1.2 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ rider-auto-common ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ rider-auto-common ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ rider-auto-common ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-common/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ rider-auto-common ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-common/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ rider-auto-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ rider-auto-common ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-bundle-plugin:3.0.1:bundle (default-bundle) @ rider-auto-common ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.10:attach-artifact (attach-features-xml) @ rider-auto-common ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ rider-auto-common ---
[INFO] Installing /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-common/target/rider-auto-common-5.0-SNAPSHOT.jar to /Users/chmoulli/.m2/repository/org/fusesource/examples/rider-auto-common/5.0-SNAPSHOT/rider-auto-common-5.0-SNAPSHOT.jar
[INFO] Installing /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-common/pom.xml to /Users/chmoulli/.m2/repository/org/fusesource/examples/rider-auto-common/5.0-SNAPSHOT/rider-auto-common-5.0-SNAPSHOT.pom
[INFO] Installing /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-common/target/classes/features.xml to /Users/chmoulli/.m2/repository/org/fusesource/examples/rider-auto-common/5.0-SNAPSHOT/rider-auto-common-5.0-SNAPSHOT-features.xml
[INFO]
[INFO] --- maven-bundle-plugin:3.0.1:install (default-install) @ rider-auto-common ---
[INFO] Installing org/fusesource/examples/rider-auto-common/5.0-SNAPSHOT/rider-auto-common-5.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Rider Auto OSGi Example :: File Poller 5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084.pom (4 KB at 9.4 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/features/2.4.0.redhat-621084/features-2.4.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/features/2.4.0.redhat-621084/features-2.4.0.redhat-621084.pom (2 KB at 4.7 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084.pom (5 KB at 10.8 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084.pom (4 KB at 9.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084.pom (7 KB at 14.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-http/5.11.0.redhat-621084/activemq-http-5.11.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-http/5.11.0.redhat-621084/activemq-http-5.11.0.redhat-621084.pom (8 KB at 19.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-stomp/5.11.0.redhat-621084/activemq-stomp-5.11.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-stomp/5.11.0.redhat-621084/activemq-stomp-5.11.0.redhat-621084.pom (8 KB at 21.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-mqtt/5.11.0.redhat-621084/activemq-mqtt-5.11.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-mqtt/5.11.0.redhat-621084/activemq-mqtt-5.11.0.redhat-621084.pom (10 KB at 23.5 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-log4j-appender/5.11.0.redhat-621084/activemq-log4j-appender-5.11.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-log4j-appender/5.11.0.redhat-621084/activemq-log4j-appender-5.11.0.redhat-621084.pom (4 KB at 9.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-console/5.11.0.redhat-621084/activemq-console-5.11.0.redhat-621084.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-console/5.11.0.redhat-621084/activemq-console-5.11.0.redhat-621084.pom (9 KB at 21.5 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/camel-amq/2.2.0.redhat-079/camel-amq-2.2.0.redhat-079.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/camel-amq/2.2.0.redhat-079/camel-amq-2.2.0.redhat-079.pom (6 KB at 13.5 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/mq/2.2.0.redhat-079/mq-2.2.0.redhat-079.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/mq/2.2.0.redhat-079/mq-2.2.0.redhat-079.pom (2 KB at 3.5 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/mq-client/2.2.0.redhat-079/mq-client-2.2.0.redhat-079.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/mq-client/2.2.0.redhat-079/mq-client-2.2.0.redhat-079.pom (4 KB at 9.9 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/kubernetes-generator/2.2.0.redhat-079/kubernetes-generator-2.2.0.redhat-079.pom
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/kubernetes-generator/2.2.0.redhat-079/kubernetes-generator-2.2.0.redhat-079.pom (3 KB at 5.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-http/5.11.0.redhat-621084/activemq-http-5.11.0.redhat-621084.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-stomp/5.11.0.redhat-621084/activemq-stomp-5.11.0.redhat-621084.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-mqtt/5.11.0.redhat-621084/activemq-mqtt-5.11.0.redhat-621084.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-log4j-appender/5.11.0.redhat-621084/activemq-log4j-appender-5.11.0.redhat-621084.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-console/5.11.0.redhat-621084/activemq-console-5.11.0.redhat-621084.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-log4j-appender/5.11.0.redhat-621084/activemq-log4j-appender-5.11.0.redhat-621084.jar (10 KB at 17.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/camel-amq/2.2.0.redhat-079/camel-amq-2.2.0.redhat-079.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-http/5.11.0.redhat-621084/activemq-http-5.11.0.redhat-621084.jar (86 KB at 78.1 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/mq-client/2.2.0.redhat-079/mq-client-2.2.0.redhat-079.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/camel-amq/2.2.0.redhat-079/camel-amq-2.2.0.redhat-079.jar (9 KB at 23.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/kubernetes-generator/2.2.0.redhat-079/kubernetes-generator-2.2.0.redhat-079.jar
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-mqtt/5.11.0.redhat-621084/activemq-mqtt-5.11.0.redhat-621084.jar (93 KB at 86.6 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-stomp/5.11.0.redhat-621084/activemq-stomp-5.11.0.redhat-621084.jar (98 KB at 76.3 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/mq/mq-client/2.2.0.redhat-079/mq-client-2.2.0.redhat-079.jar (6 KB at 16.2 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/activemq/activemq-console/5.11.0.redhat-621084/activemq-console-5.11.0.redhat-621084.jar (186 KB at 128.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-public/io/fabric8/kubernetes-generator/2.2.0.redhat-079/kubernetes-generator-2.2.0.redhat-079.jar (21 KB at 37.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/groups/ea/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/ea/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/ea/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/ea/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/ea/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: http://repo1.maven.org/maven2/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: http://repo1.maven.org/maven2/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: http://repo1.maven.org/maven2/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: http://maven.repository.redhat.com/techpreview/all/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
Downloaded: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/repositories/fs-releases/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml (0 B at 0.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/features/standard/2.4.0.redhat-621084/standard-2.4.0.redhat-621084-features.xml
Downloading: https://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/features/enterprise/2.4.0.redhat-621084/enterprise-2.4.0.redhat-621084-features.xml
Downloading: https://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/features/pax-cdi-features/2.4.0.redhat-621084/pax-cdi-features-2.4.0.redhat-621084-features.xml
Downloading: https://repo.maven.apache.org/maven2/org/apache/activemq/activemq-karaf/5.11.0.redhat-621084/activemq-karaf-5.11.0.redhat-621084-features.xml
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ rider-auto-file ---
[INFO]
[INFO] --- fabric8-maven-plugin:2.2.0.redhat-079:json (json) @ rider-auto-file ---
[INFO] Configured with file: /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-file/target/classes/kubernetes.json
2016-03-07 12:37:58 INFO  Version:17 - HV000001: Hibernate Validator 5.2.2.Final
[INFO] Generated env mappings: {}
[INFO] Generated port mappings: {jolokia=ContainerPort(containerPort=8778, hostIP=null, hostPort=null, name=jolokia, protocol=null, additionalProperties={})}
[INFO] Removed 'version' label from service selector for service `rider-auto-file`
[INFO] Generated ports: []
[INFO] Icon URL: https://cdn.rawgit.com/fabric8io/fabric8/master/fabric8-maven-plugin/src/main/resources/icons/camel.svg
[INFO] Added environment annotations:
[INFO]     Service rider-auto-file selector: {container=java, project=rider-auto-file, component=rider-auto-file, provider=fabric8, group=rider-auto} ports: 1
[INFO]     ReplicationController rider-auto-file replicas: 1, image: fabric8/rider-auto-file:5.0-SNAPSHOT
[INFO] Template is now:
[INFO]     Service rider-auto-file selector: {container=java, project=rider-auto-file, component=rider-auto-file, provider=fabric8, group=rider-auto} ports: 1
[INFO]     ReplicationController rider-auto-file replicas: 1, image: fabric8/rider-auto-file:5.0-SNAPSHOT
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ rider-auto-file ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ rider-auto-file ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-file/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ rider-auto-file ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ rider-auto-file ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-file/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ rider-auto-file ---
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/maven/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.pom (2 KB at 3.4 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/junit/junit/4.0/junit-4.0.pom
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/junit/junit/4.0/junit-4.0.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/junit/junit/4.0/junit-4.0.pom (210 B at 0.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/org/apache/maven/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.jar
Downloading: http://repository.jboss.org/nexus/content/repositories/fs-public/junit/junit/4.0/junit-4.0.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/junit/junit/4.0/junit-4.0.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.jar (12 KB at 20.0 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public-jboss/junit/junit/4.0/junit-4.0.jar (104 KB at 94.8 KB/sec)
[INFO] Surefire report directory: /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-file/target/surefire-reports
[org.springframework.test.context.junit4.SpringJUnit4ClassRunner] : SpringJUnit4ClassRunner constructor called with [class org.fusesource.camel.test.FilePollerUnitTest].
[org.springframework.test.context.support.AbstractDelegatingSmartContextLoader] : Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@d2cc05a declaringClass = 'org.fusesource.camel.test.FilePollerUnitTest', classes = '{}', locations = '{classpath:/META-INF/spring/camel-context.xml, classpath:/META-INF/spring/test-camel-context.xml}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
[org.springframework.test.context.ContextLoaderUtils] : Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [org.fusesource.camel.test.FilePollerUnitTest]
[org.springframework.test.context.TestContextManager] : @TestExecutionListeners is not present for class [org.fusesource.camel.test.FilePollerUnitTest]: using defaults.
[org.springframework.test.context.TestContextManager] : Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/web/context/request/RequestAttributes]

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.fusesource.camel.test.FilePollerUnitTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.023 sec <<< FAILURE!

Results :

Tests in error:
  initializationError(org.fusesource.camel.test.FilePollerUnitTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Rider Auto OSGi Example ............................ SUCCESS [  0.118 s]
[INFO] Rider Auto OSGi Example :: Common .................. SUCCESS [  6.817 s]
[INFO] Rider Auto OSGi Example :: File Poller ............. FAILURE [ 20.287 s]
[INFO] Rider Auto OSGi Example :: Web Service ............. SKIPPED
[INFO] Rider Auto OSGi Example :: Normalizer .............. SKIPPED
[INFO] Rider Auto OSGi Example :: Backend ................. SKIPPED
[INFO] Rider Auto OSGi Example :: OpenShift Installer ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.357 s
[INFO] Finished at: 2016-03-07T12:38:06+01:00
[INFO] Final Memory: 85M/795M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project rider-auto-file: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/chmoulli/Temp/rider-auto-openshift/rider-auto-file/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :rider-auto-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions