You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notification@tuscany.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/06/20 20:54:34 UTC

Build failed in Jenkins: Tuscany-2x #1737

See <https://builds.apache.org/job/Tuscany-2x/1737/>

------------------------------------------
[...truncated 25351 lines...]
Jun 20, 2015 6:53:55 PM org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint
INFO: Remove endpoint - binding.rest - http://localhost:8085/EchoService/json/
Jun 20, 2015 6:53:55 PM org.apache.tuscany.sca.http.jetty.JettyServer removeServletMapping
INFO: Removed Servlet mapping: /EchoService/json/*
Jun 20, 2015 6:53:55 PM org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint
INFO: Remove endpoint - binding.rest - http://localhost:8085/EchoService/xml/
Jun 20, 2015 6:53:55 PM org.apache.tuscany.sca.http.jetty.JettyServer removeServletMapping
INFO: Removed Servlet mapping: /EchoService/xml/*
Jun 20, 2015 6:53:55 PM org.apache.tuscany.sca.http.jetty.JettyLogger info
INFO: Stopped SelectChannelConnector@localhost:8085
Running org.apache.tuscany.sca.binding.rest.rpc.EchoServiceTestCase
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.apache.tuscany.sca.binding.rest.RESTBindingCacheTestCase
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.tuscany.sca.binding.rest.wireformat.json.CatalogServiceTestCase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tuscany.sca.binding.rest.RESTReferenceTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE!
testInvokeReference(org.apache.tuscany.sca.binding.rest.RESTReferenceTestCase)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.reflect.UndeclaredThrowableException
	at $Proxy39.echo(Unknown Source)
	at org.apache.tuscany.sca.binding.rest.RESTReferenceTestCase.testInvokeReference(RESTReferenceTestCase.java:61)
	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:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:24)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.runJunitCore(JUnitCoreTestSet.java:180)
	at org.apache.maven.surefire.junitcore.JUnitCoreTestSet.execute(JUnitCoreTestSet.java:86)
	at org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite.execute(JUnitCoreDirectoryTestSuite.java:58)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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: org.apache.tuscany.sca.core.scope.TargetResolutionException: scope container not running, lifecycleState=0
	at org.apache.tuscany.sca.core.scope.impl.StatelessScopeContainer.getWrapper(StatelessScopeContainer.java:42)
	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:122)
	at org.apache.tuscany.sca.binding.local.LocalSCABindingInvocationInterceptor.invoke(LocalSCABindingInvocationInterceptor.java:48)
	at org.apache.tuscany.sca.core.invocation.InterceptorAsyncImpl.invoke(InterceptorAsyncImpl.java:58)
	at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invoke(JDKInvocationHandler.java:351)
	at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invoke(JDKInvocationHandler.java:294)
	at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invoke(JDKInvocationHandler.java:125)
	at org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler.doInvokeSync(AsyncJDKInvocationHandler.java:238)
	at org.apache.tuscany.sca.core.invocation.impl.AsyncJDKInvocationHandler.invoke(AsyncJDKInvocationHandler.java:157)
	... 41 more

Running org.apache.tuscany.sca.binding.rest.wireformat.binary.BinaryServiceTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tuscany.sca.binding.rest.RESTBindingTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tuscany.sca.binding.rest.wireformat.xml.CustomerServiceTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

Tests in error: 
  testInvokeReference(org.apache.tuscany.sca.binding.rest.RESTReferenceTestCase)

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

[ERROR] There are test failures.

Please refer to <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rest-runtime/target/surefire-reports> for the individual test results.
[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rest-runtime/target/tuscany-binding-rest-runtime-2.5-SNAPSHOT.jar>
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rest-runtime/target/tuscany-binding-rest-runtime-2.5-SNAPSHOT-sources.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rest-runtime/target/tuscany-binding-rest-runtime-2.5-SNAPSHOT.jar> to <https://builds.apache.org/job/Tuscany-2x/ws/.repository/org/apache/tuscany/sca/tuscany-binding-rest-runtime/2.5-SNAPSHOT/tuscany-binding-rest-runtime-2.5-SNAPSHOT.jar>
[INFO] Installing <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rest-runtime/target/tuscany-binding-rest-runtime-2.5-SNAPSHOT-sources.jar> to <https://builds.apache.org/job/Tuscany-2x/ws/.repository/org/apache/tuscany/sca/tuscany-binding-rest-runtime/2.5-SNAPSHOT/tuscany-binding-rest-runtime-2.5-SNAPSHOT-sources.jar>
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA RMI Host Extension Point
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 8 source files to <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/src/test/resources>
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tuscany.sca.host.rmi.RMIHostImplTestCase
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService
INFO: RMI service registered: rmi://localhost:9996/foo1
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService
INFO: RMI service unregistered: rmi://localhost:9996/foo1
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService
INFO: RMI service registered: rmi://localhost:9995/foo1
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService
INFO: RMI service registered: rmi://localhost:9995/foo2
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService
INFO: RMI service unregistered: rmi://localhost:9995/foo1
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService
INFO: RMI service unregistered: rmi://localhost:9995/foo2
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService
INFO: RMI service registered: rmi://localhost:9999/bar1
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService
INFO: RMI service unregistered: rmi://localhost:9999/bar1
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService
INFO: RMI service registered: rmi://localhost:9997/bar2
Jun 20, 2015 6:53:58 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService
INFO: RMI service unregistered: rmi://localhost:9997/bar2
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.376 sec

Results :

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

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/tuscany-host-rmi-2.5-SNAPSHOT.jar>
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/tuscany-host-rmi-2.5-SNAPSHOT-sources.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/tuscany-host-rmi-2.5-SNAPSHOT.jar> to <https://builds.apache.org/job/Tuscany-2x/ws/.repository/org/apache/tuscany/sca/tuscany-host-rmi/2.5-SNAPSHOT/tuscany-host-rmi-2.5-SNAPSHOT.jar>
[INFO] Installing <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/host-rmi/target/tuscany-host-rmi-2.5-SNAPSHOT-sources.jar> to <https://builds.apache.org/job/Tuscany-2x/ws/.repository/org/apache/tuscany/sca/tuscany-host-rmi/2.5-SNAPSHOT/tuscany-host-rmi-2.5-SNAPSHOT-sources.jar>
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA RMI Binding Extension
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 6 source files to <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/test-classes>
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tuscany.sca.binding.rmi.BindingTestCase
Jun 20, 2015 6:54:01 PM org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 domain: default
Jun 20, 2015 6:54:01 PM org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions
INFO: Loading contribution: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/test-classes/>
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost registerService
INFO: RMI service registered: rmi://localhost:8099/HelloWorldRemoteService
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint
INFO: Add endpoint - binding.rmi - rmi://localhost:8099/HelloWorldRemoteService
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl addEndpoint
INFO: Add endpoint - binding.sca - HelloWorldRmiServiceComponent/HelloWorldRmiService
Hello from the RMI Service to - Tuscany World! thro the RMI Reference
Hi from Apache World in RMI Service to - Tuscany World! thro the RMI Reference
Expected exception :helloworld.HelloException
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: http://tuscany.apache.org/sca/1.1/nodes/default0
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint
INFO: Remove endpoint - binding.rmi - rmi://localhost:8099/HelloWorldRemoteService
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.host.rmi.DefaultRMIHost unregisterService
INFO: RMI service unregistered: rmi://localhost:8099/HelloWorldRemoteService
Jun 20, 2015 6:54:02 PM org.apache.tuscany.sca.core.assembly.impl.DomainRegistryImpl removeEndpoint
INFO: Remove endpoint - binding.sca - HelloWorldRmiServiceComponent/HelloWorldRmiService
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.323 sec

Results :

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

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/tuscany-binding-rmi-runtime-2.5-SNAPSHOT.jar>
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar: <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/tuscany-binding-rmi-runtime-2.5-SNAPSHOT-sources.jar>
[INFO] [install:install {execution: default-install}]
[INFO] Installing <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/tuscany-binding-rmi-runtime-2.5-SNAPSHOT.jar> to <https://builds.apache.org/job/Tuscany-2x/ws/.repository/org/apache/tuscany/sca/tuscany-binding-rmi-runtime/2.5-SNAPSHOT/tuscany-binding-rmi-runtime-2.5-SNAPSHOT.jar>
[INFO] Installing <https://builds.apache.org/job/Tuscany-2x/ws/sca-2x/modules/binding-rmi-runtime/target/tuscany-binding-rmi-runtime-2.5-SNAPSHOT-sources.jar> to <https://builds.apache.org/job/Tuscany-2x/ws/.repository/org/apache/tuscany/sca/tuscany-binding-rmi-runtime/2.5-SNAPSHOT/tuscany-binding-rmi-runtime-2.5-SNAPSHOT-sources.jar>
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA Websocket Binding Extension
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.eclipse.jetty:jetty-project:pom:8.0.1.v20110908

Reason: Cannot find parent: org.eclipse.jetty:jetty-parent for project: org.eclipse.jetty:jetty-project:pom:8.0.1.v20110908 for project org.eclipse.jetty:jetty-project:pom:8.0.1.v20110908


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 26 seconds
[INFO] Finished at: Sat Jun 20 18:54:03 UTC 2015
[INFO] Final Memory: 273M/1144M
[INFO] ------------------------------------------------------------------------
channel stopped