[switchyard-dev] Build failed in Jenkins: SwitchYard-Components #1020

ci-builds at redhat.com ci-builds at redhat.com
Mon Jan 21 14:40:13 EST 2013


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

------------------------------------------
[...truncated 3145 lines...]
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @ switchyard-component-rules ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-component-rules ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-component-rules ---
[INFO] Compiling 15 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-component-rules ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ switchyard-component-rules ---
[INFO] Compiling 3 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ switchyard-component-rules ---
[INFO] Surefire report directory: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.switchyard.component.rules.config.model.RulesModelTests
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.569 sec

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ switchyard-component-rules ---
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/switchyard-component-rules-0.8.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-source-plugin:2.1.1:jar-no-fork (attach-sources) @ switchyard-component-rules ---
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/switchyard-component-rules-0.8.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ switchyard-component-rules ---
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/switchyard-component-rules-0.8.0-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/switchyard/components/switchyard-component-rules/0.8.0-SNAPSHOT/switchyard-component-rules-0.8.0-SNAPSHOT.jar
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/pom.xml> to /home/hudson/.m2/repository/org/switchyard/components/switchyard-component-rules/0.8.0-SNAPSHOT/switchyard-component-rules-0.8.0-SNAPSHOT.pom
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/switchyard-component-rules-0.8.0-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/switchyard/components/switchyard-component-rules/0.8.0-SNAPSHOT/switchyard-component-rules-0.8.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.8:checkstyle (default-cli) @ switchyard-component-rules ---
[INFO] 
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] 
[INFO] --- findbugs-maven-plugin:2.3.2:findbugs (default-cli) @ switchyard-component-rules ---
[INFO] ****** FindBugsMojo execute *******
[INFO] canGenerate is true
[INFO] ****** FindBugsMojo executeFindbugs *******
[INFO] Temp File is <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/rules/target/findbugsTemp.xml>
[INFO] Fork Value is true
     [java] Warnings generated: 2
[INFO] xmlOutput is true
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SwitchYard: RESTEasy Component 0.8.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ switchyard-component-resteasy ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @ switchyard-component-resteasy ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @ switchyard-component-resteasy ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-component-resteasy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-component-resteasy ---
[INFO] Compiling 20 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/resteasy/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-component-resteasy ---
[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-component-resteasy ---
[INFO] Compiling 6 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/resteasy/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ switchyard-component-resteasy ---
[INFO] Surefire report directory: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/resteasy/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.switchyard.component.resteasy.RESTEasyGatewayTest
14:40:02,310 WARN  [camel.SwitchYardCamelContext] CDI environment not detected, disabling Camel CDI integration
14:40:02,408 INFO  [camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) is starting
14:40:02,609 INFO  [management.ManagementStrategyFactory] JMX enabled.
14:40:02,615 INFO  [management.DefaultManagementLifecycleStrategy] StatisticsLevel at All so enabling load performance statistics
14:40:03,554 INFO  [converter.DefaultTypeConverter] Loaded 185 type converters
14:40:03,679 INFO  [camel.SwitchYardCamelContext] Total 0 routes, of which 0 is started.
14:40:03,685 INFO  [camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) started in 1.273 seconds
14:40:06,013 INFO  [camel.SwitchYardCamelContext] Route: direct:{urn:resteasy:test:1.0}SampleRESTEasyProviderService started and consuming from: Endpoint[direct://%7Burn:resteasy:test:1.0%7DSampleRESTEasyProviderService]
14:40:06,671 INFO  [camel.SwitchYardCamelContext] Route: direct:{urn:resteasy:test:1.0}SampleRESTEasyConsumerService started and consuming from: Endpoint[direct://%7Burn:resteasy:test:1.0%7DSampleRESTEasyConsumerService]
14:40:07,063 ERROR [resource.StandaloneResourcePublisher] Unable to launch standalone http server
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind(Native Method)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
	at sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:65)
	at sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:32)
	at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:17)
	at com.sun.net.httpserver.HttpServer.create(HttpServer.java:111)
	at org.switchyard.component.resteasy.resource.StandaloneResourcePublisher.<clinit>(StandaloneResourcePublisher.java:45)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:356)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:428)
	at org.switchyard.component.resteasy.resource.ResourcePublisherFactory.<clinit>(ResourcePublisherFactory.java:49)
	at org.switchyard.component.resteasy.InboundHandler.start(InboundHandler.java:80)
	at org.switchyard.component.resteasy.RESTEasyGatewayTest.setUp(RESTEasyGatewayTest.java:93)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	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.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)
14:40:07,101 WARN  [camel.SwitchYardCamelContext] CDI environment not detected, disabling Camel CDI integration
14:40:07,105 INFO  [camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-2) is starting
14:40:07,106 INFO  [management.ManagementStrategyFactory] JMX enabled.
14:40:07,106 INFO  [management.DefaultManagementLifecycleStrategy] StatisticsLevel at All so enabling load performance statistics
14:40:07,369 INFO  [converter.DefaultTypeConverter] Loaded 185 type converters
14:40:07,389 INFO  [camel.SwitchYardCamelContext] Total 0 routes, of which 0 is started.
14:40:07,390 INFO  [camel.SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-2) started in 0.288 seconds
14:40:08,648 INFO  [camel.SwitchYardCamelContext] Route: direct:{urn:resteasy:test:1.0}SampleRESTEasyProviderService started and consuming from: Endpoint[direct://%7Burn:resteasy:test:1.0%7DSampleRESTEasyProviderService]
14:40:09,045 INFO  [camel.SwitchYardCamelContext] Route: direct:{urn:resteasy:test:1.0}SampleRESTEasyConsumerService started and consuming from: Endpoint[direct://%7Burn:resteasy:test:1.0%7DSampleRESTEasyConsumerService]
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 7.971 sec <<< FAILURE!
Running org.switchyard.component.resteasy.util.ClassUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.switchyard.component.resteasy.config.model.RESTEasyConfigModelTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.671 sec

Results :

Tests in error: 
  restGatewayServiceTest(org.switchyard.component.resteasy.RESTEasyGatewayTest)
  restGatewayServiceTest(org.switchyard.component.resteasy.RESTEasyGatewayTest)
  restGatewayReferenceTest(org.switchyard.component.resteasy.RESTEasyGatewayTest)
  restGatewayReferenceTest(org.switchyard.component.resteasy.RESTEasyGatewayTest)

Tests run: 6, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] SwitchYard: Components ............................ SUCCESS [34.830s]
[INFO] SwitchYard: Common Component Libraries Parent ..... SUCCESS [1.853s]
[INFO] SwitchYard: Common Component Library .............. SUCCESS [44.822s]
[INFO] SwitchYard: Component Test Parent ................. SUCCESS [0.639s]
[INFO] SwitchYard: Naming Test MixIn ..................... SUCCESS [27.421s]
[INFO] SwitchYard: CDI Test MixIn ........................ SUCCESS [32.928s]
[INFO] SwitchYard: Bean Component ........................ SUCCESS [1:47.081s]
[INFO] SwitchYard: Camel Component Common Library ........ SUCCESS [1:04.486s]
[INFO] SwitchYard: Knowledge Common Component Library .... SUCCESS [51.326s]
[INFO] SwitchYard: JAX-RS Common Component Library ....... SUCCESS [36.595s]
[INFO] SwitchYard: AMQP MixIn ............................ SUCCESS [32.313s]
[INFO] SwitchYard: BPM Component ......................... SUCCESS [1:13.311s]
[INFO] SwitchYard: BPM MixIn ............................. SUCCESS [26.345s]
[INFO] SwitchYard: HornetQ Test MixIn .................... SUCCESS [28.411s]
[INFO] SwitchYard: HTTP Test MixIn ....................... SUCCESS [28.308s]
[INFO] SwitchYard: JCA Test MixIn ........................ SUCCESS [50.235s]
[INFO] SwitchYard: Smooks Test MixIn ..................... SUCCESS [27.534s]
[INFO] SwitchYard: Remote Component ...................... SUCCESS [35.018s]
[INFO] SwitchYard: Rules Component ....................... SUCCESS [45.791s]
[INFO] SwitchYard: RESTEasy Component .................... FAILURE [19.689s]
[INFO] SwitchYard: SOAP Component ........................ SKIPPED
[INFO] SwitchYard: BPEL Component ........................ SKIPPED
[INFO] SwitchYard: Component Camel Parent ................ SKIPPED
[INFO] SwitchYard: Camel Component :: Camel Component .... SKIPPED
[INFO] SwitchYard: Camel Component :: Binding Test framework  SKIPPED
[INFO] SwitchYard: Camel Component :: Core Binding ....... SKIPPED
[INFO] SwitchYard: Camel Component :: SwitchYard component  SKIPPED
[INFO] SwitchYard: Camel Component :: JMS Binding ........ SKIPPED
[INFO] SwitchYard: Camel Component :: AMQP Binding ....... SKIPPED
[INFO] SwitchYard: Camel Component :: Atom Binding ....... SKIPPED
[INFO] SwitchYard: Camel Component :: File Binding ....... SKIPPED
[INFO] SwitchYard: Camel Component :: FTP Binding ........ SKIPPED
[INFO] SwitchYard: Camel Component :: JPA Binding ........ SKIPPED
[INFO] SwitchYard: Camel Component :: Mail Binding ....... SKIPPED
[INFO] SwitchYard: Camel Component :: Netty Binding ...... SKIPPED
[INFO] SwitchYard: Camel Component :: Quartz Binding ..... SKIPPED
[INFO] SwitchYard: Camel Component :: SQL Binding ........ SKIPPED
[INFO] SwitchYard: Clojure Component ..................... SKIPPED
[INFO] SwitchYard: HornetQ Component ..................... SKIPPED
[INFO] SwitchYard: HTTP Component ........................ SKIPPED
[INFO] SwitchYard: JCA Component ......................... SKIPPED
[INFO] SwitchYard: Components Forge Plugin ............... SKIPPED
[INFO] SwitchYard: Bean Component Forge Plugin ........... SKIPPED
[INFO] SwitchYard: Component Common Forge Plugin ......... SKIPPED
[INFO] SwitchYard: Camel Component Forge Plugin .......... SKIPPED
[INFO] SwitchYard: Clojure Component Forge Plugin ........ SKIPPED
[INFO] SwitchYard: SOAP Gateway Forge Plugin ............. SKIPPED
[INFO] SwitchYard: RESTEasy Gateway Forge Plugin ......... SKIPPED
[INFO] SwitchYard: Rules Component Forge Plugin .......... SKIPPED
[INFO] SwitchYard: BPM Component Forge Plugin ............ SKIPPED
[INFO] SwitchYard: HTTP Gateway Forge Plugin ............. SKIPPED
[INFO] SwitchYard: JCA Gateway Forge Plugin .............. SKIPPED
[INFO] SwitchYard: HornetQ Gateway Forge Plugin .......... SKIPPED
[INFO] SwitchYard: Remote Gateway Forge Plugin ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:03.065s
[INFO] Finished at: Mon Jan 21 14:40:11 EST 2013
[INFO] Final Memory: 173M/586M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on project switchyard-component-resteasy: There are test failures.
[ERROR] 
[ERROR] Please refer to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/SwitchYard-Components/ws/resteasy/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-component-resteasy
Build step 'Invoke top-level Maven targets' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE



More information about the switchyard-dev mailing list