Created
May 4, 2011 08:57
-
-
Save davsclaus/954952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building A Camel Route 1.0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] >>> maven-provision-plugin:1.14:provision (default-cli) @ bar >>> | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ bar --- | |
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] Copying 2 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ bar --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ bar --- | |
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] skip non existing resourceDirectory /Users/davsclaus/Documents/workspace/bar/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ bar --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ bar --- | |
[INFO] Surefire report directory: /Users/davsclaus/Documents/workspace/bar/target/surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running foo.bar.CamelContextXmlTest | |
[ main] CamelNamespaceHandler INFO OSGi environment not detected. | |
[ main] AnnotationTypeConverterLoader INFO Found 3 packages with 13 @Converter classes to load | |
[ main] DefaultTypeConverter INFO Loaded 147 type converters in 0.414 seconds | |
[ main] SpringCamelContext INFO Apache Camel 2.6.0-fuse-00-00 (CamelContext: camel-1) is starting | |
[ main] SpringCamelContext INFO JMX enabled. Using ManagedManagementStrategy. | |
[ main] FileEndpoint INFO Endpoint is configured with noop=true so forcing endpoint to be idempotent as well | |
[ main] FileEndpoint INFO Using default memory based idempotent repository with cache max size: 1000 | |
[ main] SpringCamelContext INFO Route: myRoute started and consuming from: Endpoint[file://src/data?noop=true] | |
[ main] SpringCamelContext INFO Total 1 routes, of which 1 is started. | |
[ main] SpringCamelContext INFO Apache Camel 2.6.0-fuse-00-00 (CamelContext: camel-1) started in 0.881 seconds | |
[ main] CamelContextXmlTest INFO ******************************************************************************** | |
[ main] CamelContextXmlTest INFO Testing: (foo.bar.CamelContextXmlTest) | |
[ main] CamelContextXmlTest INFO ******************************************************************************** | |
[ main] SpringCamelContext INFO Route: route1 started and consuming from: Endpoint[file://target/messages/uk] | |
[ main] SpringCamelContext INFO Route: route2 started and consuming from: Endpoint[file://target/messages/others] | |
[ main] MockEndpoint INFO Asserting: Endpoint[mock://output] is satisfied | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='1'>expectedBody1</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='2'>expectedBody2</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='1'>expectedBody1</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='2'>expectedBody2</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='1'>expectedBody1</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='2'>expectedBody2</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='1'>expectedBody1</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='2'>expectedBody2</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='1'>expectedBody1</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='2'>expectedBody2</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='1'>expectedBody1</something>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<something id='2'>expectedBody2</something>] | |
[1) thread #0 - file://src/data] camel WARN UK message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<person user="james"> | |
<firstName>James</firstName> | |
<lastName>Strachan</lastName> | |
<city>London</city> | |
</person>] | |
[1) thread #0 - file://src/data] camel INFO other message received | |
[1) thread #0 - file://src/data] done INFO Exchange[ExchangePattern:InOnly, BodyType:org.apache.camel.component.file.GenericFile, Body:<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<person user="hiram"> | |
<firstName>Hiram</firstName> | |
<lastName>Chirino</lastName> | |
<city>Tampa</city> | |
</person>] | |
[ main] CamelContextXmlTest INFO Testing done: foo.bar.CamelContextXmlTest@5b25d568 | |
[ main] SpringCamelContext INFO Apache Camel 2.6.0-fuse-00-00 (CamelContext:camel-1) is shutting down | |
[ main] DefaultShutdownStrategy INFO Starting to graceful shutdown 3 routes (timeout 10 seconds) | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: route2 suspended and shutdown deferred, was consuming from: Endpoint[file://target/messages/others] | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: route1 suspended and shutdown deferred, was consuming from: Endpoint[file://target/messages/uk] | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: myRoute suspended and shutdown deferred, was consuming from: Endpoint[file://src/data?noop=true] | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: route2 preparing to shutdown complete. | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: route1 preparing to shutdown complete. | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: myRoute preparing to shutdown complete. | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: route2 shutdown complete. | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: route1 shutdown complete. | |
[el-1) thread #3 - ShutdownTask] DefaultShutdownStrategy INFO Route: myRoute shutdown complete. | |
[ main] DefaultShutdownStrategy INFO Graceful shutdown of 3 routes completed in 0 seconds | |
[ main] DefaultInflightRepository INFO Shutting down with no inflight exchanges. | |
[ main] SpringCamelContext INFO Uptime: 11.211 seconds | |
[ main] SpringCamelContext INFO Apache Camel 2.6.0-fuse-00-00 (CamelContext: camel-1) is shutdown in 0.028 seconds | |
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.387 sec <<< FAILURE! | |
Results : | |
Failed tests: | |
testCamelRoute(foo.bar.CamelContextXmlTest) | |
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 16.718s | |
[INFO] Finished at: Wed May 04 10:59:50 CEST 2011 | |
[INFO] Final Memory: 5M/81M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on project bar: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /Users/davsclaus/Documents/workspace/bar/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment