[switchyard-dev] Build failed in Jenkins: SwitchYard-Quickstarts #1496

ci-builds at redhat.com ci-builds at redhat.com
Thu Jan 24 10:33:04 EST 2013


See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/1496/>

------------------------------------------
[...truncated 2008 lines...]
Downloading: http://snapshots.jboss.org/maven2/org/switchyard/switchyard-serial-jackson/0.8.0-SNAPSHOT/maven-metadata.xml
Downloading: http://snapshots.repository.codehaus.org/org/switchyard/switchyard-serial-jackson/0.8.0-SNAPSHOT/maven-metadata.xml
                  
1003 B            
1003 B   1003 B   
1003 B   1003 B   1003 B   
                           
Downloaded: https://repository.jboss.org/nexus/content/groups/public/org/switchyard/switchyard-serial-jackson/0.8.0-SNAPSHOT/maven-metadata.xml (1003 B at 3.4 KB/sec)
                           
Downloaded: https://repository.jboss.org/nexus/content/groups/developer/org/switchyard/switchyard-serial-jackson/0.8.0-SNAPSHOT/maven-metadata.xml (1003 B at 3.1 KB/sec)
                           
Downloaded: http://snapshots.jboss.org/maven2/org/switchyard/switchyard-serial-jackson/0.8.0-SNAPSHOT/maven-metadata.xml (1003 B at 2.9 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ switchyard-quickstart-bpm-service ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @ switchyard-quickstart-bpm-service ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @ switchyard-quickstart-bpm-service ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-quickstart-bpm-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-quickstart-bpm-service ---
[INFO] Compiling 10 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/target/classes>
[INFO] 
[INFO] --- maven-source-plugin:2.1.1:jar-no-fork (attach-sources) @ switchyard-quickstart-bpm-service ---
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/target/switchyard-quickstart-bpm-service-sources.jar>
[INFO] 
[INFO] --- switchyard-plugin:0.8.0-SNAPSHOT:configure (default) @ switchyard-quickstart-bpm-service ---
[INFO] SwitchYard plugin scanning: [<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/target/classes/]>
[INFO] Outputting SwitchYard configuration model to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/target/classes/META-INF/switchyard.xml>
[INFO] Validating SwitchYard configuration model...
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-quickstart-bpm-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ switchyard-quickstart-bpm-service ---
[INFO] Compiling 6 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ switchyard-quickstart-bpm-service ---
[INFO] Surefire report directory: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.switchyard.quickstarts.bpm.service.WebServiceTest
10:32:53,344 INFO  [org.jboss.weld.Version] WELD-000900 1.1.5 (AS71)
10:32:56,852 INFO  [org.apache.camel.management.ManagementStrategyFactory] JMX enabled.
10:32:57,100 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) is starting
10:32:57,104 INFO  [org.apache.camel.management.DefaultManagementLifecycleStrategy] StatisticsLevel at All so enabling load performance statistics
10:32:57,775 INFO  [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 185 type converters
10:32:57,885 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Total 0 routes, of which 0 is started.
10:32:57,888 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) started in 0.786 seconds
10:33:01,111 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Route: direct:{urn:switchyard-quickstart:bpm-service:1.0}Inventory started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpm-service:1.0%7DInventory]
10:33:01,640 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Route: direct:{urn:switchyard-quickstart:bpm-service:1.0}Shipping started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpm-service:1.0%7DShipping]
10:33:02,067 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Route: direct:{urn:switchyard-quickstart:bpm-service:1.0}BackOrder started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpm-service:1.0%7DBackOrder]
10:33:02,090 ERROR [org.switchyard.test.SwitchYardRunner] Error while test kit startup
java.lang.NoClassDefFoundError: org/switchyard/component/bpm/exchange/BPMExchangeHandler
	at org.switchyard.component.bpm.deploy.BPMActivator.activateService(BPMActivator.java:58)
	at org.switchyard.deploy.internal.Deployment.deployImplementations(Deployment.java:460)
	at org.switchyard.deploy.internal.Deployment.start(Deployment.java:140)
	at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:277)
	at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:180)
	at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:65)
	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:90)
	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.bpm.exchange.BPMExchangeHandler
	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
10:33:02,156 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) is shutting down
10:33:02,157 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 3 routes (timeout 300 seconds)
10:33:02,166 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:{urn:switchyard-quickstart:bpm-service:1.0}BackOrder shutdown complete, was consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpm-service:1.0%7DBackOrder]
10:33:02,168 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:{urn:switchyard-quickstart:bpm-service:1.0}Shipping shutdown complete, was consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpm-service:1.0%7DShipping]
10:33:02,168 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:{urn:switchyard-quickstart:bpm-service:1.0}Inventory shutdown complete, was consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:bpm-service:1.0%7DInventory]
10:33:02,169 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 3 routes completed in 0 seconds
10:33:02,180 INFO  [org.apache.camel.impl.converter.DefaultTypeConverter] TypeConverterRegistry utilization[attempts=0, hits=0, misses=0, failures=0] mappings[total=185, misses=0]
10:33:02,184 INFO  [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) is shutdown in 0.028 seconds. Uptime 5.085 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:209)
	at org.switchyard.test.SwitchYardTestKit.cleanupMixIns(SwitchYardTestKit.java:733)
	at org.switchyard.test.SwitchYardTestKit.cleanup(SwitchYardTestKit.java:201)
	at org.switchyard.test.SwitchYardRunner$TestLifecycleListener.testFinished(SwitchYardRunner.java:100)
	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:90)
	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: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 13.871 sec <<< FAILURE!
Running org.switchyard.quickstarts.bpm.service.ProcessOrderTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.03 sec <<< FAILURE!
Running org.switchyard.quickstarts.bpm.service.ShippingTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
Running org.switchyard.quickstarts.bpm.service.BackOrderTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.013 sec <<< FAILURE!
Running org.switchyard.quickstarts.bpm.service.InventoryTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.038 sec <<< FAILURE!

Results :

Tests in error: 
  webServiceShipped(org.switchyard.quickstarts.bpm.service.WebServiceTest)
  orderShipped(org.switchyard.quickstarts.bpm.service.ProcessOrderTest)
  Test mechanism
  orderOnHold(org.switchyard.quickstarts.bpm.service.ProcessOrderTest)
  testShip(org.switchyard.quickstarts.bpm.service.ShippingTest)
  Test mechanism
  sendMessage(org.switchyard.quickstarts.bpm.service.BackOrderTest)
  Test mechanism
  weGotIt(org.switchyard.quickstarts.bpm.service.InventoryTest)
  Test mechanism
  weDontGotIt(org.switchyard.quickstarts.bpm.service.InventoryTest)

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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] SwitchYard: Quickstarts ........................... SUCCESS [4.548s]
[INFO] Quickstart : Bean Service ......................... SUCCESS [1:14.552s]
[INFO] Quickstart : BPEL Service ......................... SUCCESS [11.877s]
[INFO] Quickstart : BPEL Service : Say Hello ............. SUCCESS [48.281s]
[INFO] Quickstart : BPEL Service : JMS Binding ........... SUCCESS [49.440s]
[INFO] Quickstart : BPEL Service : Loan Approval ......... SUCCESS [59.822s]
[INFO] Quickstart : BPEL Service : Simple Correlation .... SUCCESS [46.042s]
[INFO] Quickstart : BPEL Service : XTS Subordinate WSBA .. SUCCESS [0.899s]
[INFO] Quickstart : BPEL Service : XTS Subordinate WSBA : Business Travel Process  SUCCESS [2.464s]
[INFO] Quickstart : BPEL Service : XTS Subordinate WSBA : Airport Web Service  SUCCESS [8.075s]
[INFO] Quickstart : BPEL Service : XTS WSAT .............. SUCCESS [1.012s]
[INFO] Quickstart : BPEL Service : XTS WSAT : Business Travel Process  SUCCESS [4.635s]
[INFO] Quickstart : BPEL Service : XTS WSAT : Airport Web Service  SUCCESS [7.255s]
[INFO] Quickstart : BPM Service .......................... FAILURE [32.931s]
[INFO] Quickstart : Camel Binding ........................ SKIPPED
[INFO] Quickstart : Camel AMQP Binding ................... SKIPPED
[INFO] Quickstart : Camel FTP Binding .................... SKIPPED
[INFO] Quickstart : Camel JMS Binding .................... SKIPPED
[INFO] Quickstart : Camel Netty Binding .................. SKIPPED
[INFO] Quickstart : Camel Quartz Binding ................. SKIPPED
[INFO] Quickstart : Camel JPA Binding .................... SKIPPED
[INFO] Quickstart : Camel SQL Binding .................... SKIPPED
[INFO] Quickstart : Camel Mail Binding ................... SKIPPED
[INFO] Quickstart : Camel Service ........................ SKIPPED
[INFO] Quickstart : Camel SOAP Proxy ..................... SKIPPED
[INFO] Quickstart : Camel Exchange Bus CDI ............... SKIPPED
[INFO] Quickstart : HornetQ Binding ...................... SKIPPED
[INFO] Quickstart : HTTP Binding ......................... SKIPPED
[INFO] Quickstart : RESTEasy Binding ..................... SKIPPED
[INFO] Quickstart : Rules+Camel Content-Based Router ..... SKIPPED
[INFO] Quickstart : Rules Interview ...................... SKIPPED
[INFO] Quickstart : Rules Interview Container ............ SKIPPED
[INFO] Quickstart : JCA Inflow Binding for HornetQ ....... SKIPPED
[INFO] Quickstart : JCA Outbound Binding for HornetQ ..... SKIPPED
[INFO] Quickstart : JAXB Transformation .................. SKIPPED
[INFO] Quickstart : JSON Transformation .................. SKIPPED
[INFO] Quickstart : Smooks Transformation ................ SKIPPED
[INFO] Quickstart : XSLT Transformation .................. SKIPPED
[INFO] Quickstart : XML Message Validation ............... SKIPPED
[INFO] Quickstart Demo : Help Desk ....................... SKIPPED
[INFO] Quickstart Demo : Help Desk - Web App ............. SKIPPED
[INFO] Quickstart Demo : Orders .......................... SKIPPED
[INFO] Quickstart Demo : JEE Webapp Deployment ........... 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: Multiple Applications ............ SKIPPED
[INFO] Quickstart Demo : Security Policy : Basic Authentication (+SSL)  SKIPPED
[INFO] Quickstart Demo : Security Policy : Certificate Authentication (+SSL)  SKIPPED
[INFO] Quickstart Demo : Security Policy : SAML Assertion (+SSL)  SKIPPED
[INFO] Quickstart Demo : Transaction Policy .............. SKIPPED
[INFO] SwitchYard : Quickstarts Distribution Assembly .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:03.383s
[INFO] Finished at: Thu Jan 24 10:33:02 EST 2013
[INFO] Final Memory: 141M/369M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project switchyard-quickstart-bpm-service: There are test failures.
[ERROR] 
[ERROR] Please refer to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Quickstarts/ws/bpm-service/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 :switchyard-quickstart-bpm-service
Build step 'Invoke top-level Maven targets' marked build as failure


More information about the switchyard-dev mailing list