See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstart...
Changes:
[kbabo] [SWITCHYARD-1934] - Fixed JBDS issue
------------------------------------------
[...truncated 1017 lines...]
13:42:59,819 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class
'javax.ejb.PostActivate' not found, interception based on it is not enabled
13:42:59,819 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class
'javax.ejb.PrePassivate' not found, interception based on it is not enabled
13:43:01,186 INFO [org.apache.camel.management.ManagementStrategyFactory] JMX enabled.
13:43:01,285 INFO [org.switchyard.security] SWITCHYARD014201: Using SecurityProvider
implementation: org.switchyard.security.provider.JaasSecurityProvider
13:43:01,294 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-1) is starting
13:43:01,810 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 187 type
converters
Jan 20, 2014 1:43:01 PM org.apache.deltaspike.core.util.ProjectStageProducer
initProjectStage
INFO: Computed the following DeltaSpike ProjectStage: Production
13:43:01,894 INFO [org.apache.camel.management.DefaultManagementLifecycleStrategy]
StatisticsLevel at All so enabling load performance statistics
13:43:01,931 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Total 0 routes, of
which 0 is started.
13:43:01,933 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-1) started in 0.638 seconds
13:43:03,318 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:{urn:switchyard-quickstart:bean-service:0.1.0}OrderService/InventoryService started
and consuming from:
Endpoint[direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DOrderService/InventoryService]
13:43:03,901 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:{urn:switchyard-quickstart:bean-service:0.1.0}OrderService started and consuming
from: Endpoint[direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DOrderService]
13:43:03,911 ERROR [org.switchyard.test.SwitchYardRunner] Error while test kit startup
java.lang.NoClassDefFoundError: org/switchyard/component/common/composer/BindingData
at
org.switchyard.component.soap.deploy.SOAPActivator.activateBinding(SOAPActivator.java:49)
at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:618)
at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757)
at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177)
at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:60)
at
org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:236)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:233)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.lang.ClassNotFoundException:
org.switchyard.component.common.composer.BindingData
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 28 more
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:31)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:459)
at java.util.zip.ZipFile$1.fill(ZipFile.java:242)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
at sun.misc.Resource.getBytes(Resource.java:108)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
... 33 more
13:43:03,921 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-1) is shutting down
13:43:03,923 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful
shutdown 2 routes (timeout 30 seconds)
13:43:03,931 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:{urn:switchyard-quickstart:bean-service:0.1.0}OrderService shutdown complete, was
consuming from:
Endpoint[direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DOrderService]
13:43:03,932 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:{urn:switchyard-quickstart:bean-service:0.1.0}OrderService/InventoryService
shutdown complete, was consuming from:
Endpoint[direct://%7Burn:switchyard-quickstart:bean-service:0.1.0%7DOrderService/InventoryService]
13:43:03,933 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2
routes completed in 0 seconds
13:43:03,961 INFO [org.apache.camel.impl.converter.DefaultTypeConverter]
TypeConverterRegistry utilization[attempts=0, hits=0, misses=0, failures=0]
mappings[total=187, misses=0]
13:43:03,965 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-1) is shutdown in 0.044 seconds. Uptime 2.672 seconds.
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 8.396 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.TypeTransformationTest
13:43:04,843 INFO [org.apache.camel.management.ManagementStrategyFactory] JMX enabled.
13:43:04,849 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-2) is starting
13:43:05,110 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 187 type
converters
13:43:05,140 INFO [org.apache.camel.management.DefaultManagementLifecycleStrategy]
StatisticsLevel at All so enabling load performance statistics
13:43:05,151 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Total 0 routes, of
which 0 is started.
13:43:05,152 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-2) started in 0.303 seconds
13:43:05,222 INFO [org.apache.camel.management.ManagementStrategyFactory] JMX enabled.
13:43:05,226 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-3) is starting
13:43:05,395 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 187 type
converters
13:43:05,412 INFO [org.apache.camel.management.DefaultManagementLifecycleStrategy]
StatisticsLevel at All so enabling load performance statistics
13:43:05,418 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Total 0 routes, of
which 0 is started.
13:43:05,419 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-3) started in 0.193 seconds
13:43:06,027 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:OrderService started and consuming from: Endpoint[direct://OrderService]
13:43:06,329 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:InventoryService started and consuming from: Endpoint[direct://InventoryService]
13:43:06,347 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route
direct:OrderService
13:43:06,348 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful
shutdown 1 routes (timeout 30 seconds)
13:43:06,349 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:OrderService shutdown complete, was consuming from:
Endpoint[direct://OrderService]
13:43:06,349 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1
routes completed in 0 seconds
13:43:06,356 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService]
13:43:06,363 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:OrderService is shutdown and removed, was consuming from:
Endpoint[direct://OrderService]
13:43:06,767 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route:
direct:OrderService started and consuming from: Endpoint[direct://OrderService]
13:43:06,867 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-2) is shutting down
13:43:06,867 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful
shutdown 2 routes (timeout 30 seconds)
13:43:06,868 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:OrderService shutdown complete, was consuming from:
Endpoint[direct://OrderService]
13:43:06,868 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route:
direct:InventoryService shutdown complete, was consuming from:
Endpoint[direct://InventoryService]
13:43:06,870 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2
routes completed in 0 seconds
13:43:06,894 INFO [org.apache.camel.impl.converter.DefaultTypeConverter]
TypeConverterRegistry utilization[attempts=3, hits=1, misses=2, failures=0]
mappings[total=187, misses=1]
13:43:06,898 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel
2.10.3 (CamelContext: camel-2) is shutdown in 0.031 seconds. Uptime 2.050 seconds.
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1249)
at org.switchyard.component.test.mixins.cdi.CDIMixIn.uninitialize(CDIMixIn.java:245)
at org.switchyard.test.SwitchYardTestKit.cleanupMixIns(SwitchYardTestKit.java:810)
at org.switchyard.test.SwitchYardTestKit.cleanup(SwitchYardTestKit.java:186)
at
org.switchyard.test.SwitchYardRunner$TestLifecycleListener.testFinished(SwitchYardRunner.java:95)
at org.junit.runner.notification.RunNotifier$7.notifyListener(RunNotifier.java:145)
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41)
at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:142)
at
org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:41)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:269)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.671 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.OrderServiceTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.013 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.InventoryServiceTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.018 sec <<<
FAILURE!
Results :
Tests in error:
invokeOrderWebService(org.switchyard.quickstarts.bean.service.WebServiceTest)
Test mechanism
testTransformXMLtoJava(org.switchyard.quickstarts.bean.service.TypeTransformationTest)
testTransformJavaToXML(org.switchyard.quickstarts.bean.service.TypeTransformationTest)
testOrderAccepted(org.switchyard.quickstarts.bean.service.OrderServiceTest)
Test mechanism
testItemLookupExists(org.switchyard.quickstarts.bean.service.InventoryServiceTest)
Test mechanism
testItemLookupNonexistent(org.switchyard.quickstarts.bean.service.InventoryServiceTest)
Tests run: 9, Failures: 0, Errors: 9, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard Quickstart: quickstarts ................ SUCCESS [7.833s]
[INFO] SwitchYard Quickstart: bean-service ............... FAILURE [1:20.156s]
[INFO] SwitchYard Quickstart: bpel-jms-binding ........... SKIPPED
[INFO] SwitchYard Quickstart: bpel-loan-approval ......... SKIPPED
[INFO] SwitchYard Quickstart: bpel-say-hello ............. SKIPPED
[INFO] SwitchYard Quickstart: bpel-simple-correlation .... SKIPPED
[INFO] SwitchYard Quickstart: bpel-xts-subordinate-wsba .. SKIPPED
[INFO] SwitchYard Quickstart: bpel-xts-subordinate-wsba - bpel SKIPPED
[INFO] SwitchYard Quickstart: bpel-xts-subordinate-wsba - ws SKIPPED
[INFO] SwitchYard Quickstart: bpel-xts-wsat .............. SKIPPED
[INFO] SwitchYard Quickstart: bpel-xts-wsat - bpel ....... SKIPPED
[INFO] SwitchYard Quickstart: bpel-xts-wsat - ws ......... SKIPPED
[INFO] SwitchYard Quickstart: bpm-service ................ SKIPPED
[INFO] SwitchYard Quickstart: camel-binding .............. SKIPPED
[INFO] SwitchYard Quickstart: camel-jaxb ................. SKIPPED
[INFO] SwitchYard Quickstart: camel-amqp-binding ......... SKIPPED
[INFO] SwitchYard Quickstart: camel-ftp-binding .......... SKIPPED
[INFO] SwitchYard Quickstart: camel-jms-binding .......... SKIPPED
[INFO] SwitchYard Quickstart: camel-netty-binding ........ SKIPPED
[INFO] SwitchYard Quickstart: camel-quartz-binding ....... SKIPPED
[INFO] SwitchYard Quickstart: camel-jpa-binding .......... SKIPPED
[INFO] SwitchYard Quickstart: camel-sql-binding .......... SKIPPED
[INFO] SwitchYard Quickstart: camel-mail-binding ......... SKIPPED
[INFO] SwitchYard Quickstart: camel-service .............. SKIPPED
[INFO] SwitchYard Quickstart: camel-soap-proxy ........... SKIPPED
[INFO] SwitchYard Quickstart: camel-bus-cdi .............. SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment ............. SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - artifacts . SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - order-service SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - order-consumer SKIPPED
[INFO] SwitchYard Quickstart: ear-deployment - ear-assembly SKIPPED
[INFO] SwitchYard Quickstart: http-binding ............... SKIPPED
[INFO] SwitchYard Quickstart: remote-invoker ............. SKIPPED
[INFO] SwitchYard Quickstart: rest-binding ............... SKIPPED
[INFO] SwitchYard Quickstart: rules-camel-cbr ............ SKIPPED
[INFO] SwitchYard Quickstart: rules-interview ............ SKIPPED
[INFO] SwitchYard Quickstart: rules-interview-container .. SKIPPED
[INFO] SwitchYard Quickstart: rules-interview-dtable ..... SKIPPED
[INFO] SwitchYard Quickstart: soap-addressing ............ SKIPPED
[INFO] SwitchYard Quickstart: soap-attachment ............ SKIPPED
[INFO] SwitchYard Quickstart: soap-binding-rpc ........... SKIPPED
[INFO] SwitchYard Quickstart: soap-mtom .................. SKIPPED
[INFO] SwitchYard Quickstart: jca-inflow-hornetq ......... SKIPPED
[INFO] SwitchYard Quickstart: jca-outbound-hornetq ....... SKIPPED
[INFO] SwitchYard Quickstart: jca-inflow-activemq ........ SKIPPED
[INFO] SwitchYard Quickstart: jca-outbound-activemq ...... SKIPPED
[INFO] SwitchYard Quickstart: transform-jaxb ............. SKIPPED
[INFO] SwitchYard Quickstart: transform-json ............. SKIPPED
[INFO] SwitchYard Quickstart: transform-smooks ........... SKIPPED
[INFO] SwitchYard Quickstart: transform-xslt ............. SKIPPED
[INFO] SwitchYard Quickstart: validate-xml ............... SKIPPED
[INFO] Quickstart Demo : Help Desk ....................... SKIPPED
[INFO] Quickstart Demo : Orders .......................... SKIPPED
[INFO] Quickstart Demo : JEE Webapp Deployment ........... SKIPPED
[INFO] Quickstart Demo: Multiple Applications ............ SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Service Artifacts SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Service SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Consumer SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Web App .. SKIPPED
[INFO] Quickstart Demo : Security Policy : Basic Authentication (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : Basic Authentication (+SSL) with Propagation
SKIPPED
[INFO] Quickstart Demo : Security Policy : Certificate Authentication (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : SAML Assertion (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : WSS Signature+Encryption (+SSL) SKIPPED
[INFO] Quickstart Demo : Security Policy : WSS Username (+SSL) SKIPPED
[INFO] Quickstart Demo : Transaction Policy .............. SKIPPED
[INFO] Quickstart Demo: Cluster - Client ................. SKIPPED
[INFO] Quickstart Demo: Cluster - Credit Service ......... SKIPPED
[INFO] Quickstart Demo: Cluster - Dealer Service ......... SKIPPED
[INFO] Quickstart Demo: Cluster .......................... SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation - Client SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation - Credit Service SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation - Dealer Service SKIPPED
[INFO] Quickstart Demo: Remote Transaction Propagation ... SKIPPED
[INFO] SwitchYard : Quickstarts Distribution Assembly .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:39.666s
[INFO] Finished at: Mon Jan 20 13:43:07 EST 2014
[INFO] Final Memory: 85M/311M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test
(default-test) on project switchyard-bean-service: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstart...
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 :switchyard-bean-service
Build step 'Invoke top-level Maven targets' marked build as failure