You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by je...@cloudstack.org on 2015/02/17 15:40:20 UTC

Build failed in Jenkins: build-4.5 #344

See <http://jenkins.buildacloud.org/job/build-4.5/344/>

------------------------------------------
[...truncated 664 lines...]
	at com.cloud.utils.rest.RESTServiceConnectorTest.testExecuteMethodWithLogin(RESTServiceConnectorTest.java:161)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
2015-02-17 14:35:36,055 ERROR [utils.rest.RESTServiceConnector] (main:) Failed to retrieve object : null
2015-02-17 14:35:36,065 ERROR [utils.rest.RESTServiceConnector] (main:) IOException caught while trying to connect to the REST Service
java.io.IOException
	at com.cloud.utils.rest.RESTValidationStrategy.executeMethod(RESTValidationStrategy.java:106)
	at com.cloud.utils.rest.RESTServiceConnector.executeMethod(RESTServiceConnector.java:280)
	at com.cloud.utils.rest.RESTServiceConnector.executeUpdateObject(RESTServiceConnector.java:186)
	at com.cloud.utils.rest.RESTServiceConnectorTest.testExecuteUpdateObjectException(RESTServiceConnectorTest.java:273)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.277 sec
Running com.cloud.utils.StringUtilsTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running com.cloud.utils.ReflectUtilTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running org.apache.cloudstack.utils.auth.SAMLUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.37 sec

Results :

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

[INFO]                                                                         
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework - Event Notification 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework - Event Notification 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework - Spring Module 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Console Proxy - RDP Client 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-events ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/events/target> (includes = [**/*], excludes = [])
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-spring-module ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/spring/module/target> (includes = [**/*], excludes = [])
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack-service-console-proxy-rdpclient ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/services/console-proxy-rdp/rdpconsole/target> (includes = [**/*], excludes = [])
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/events> (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-framework-events ---
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-db ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/db/target> (includes = [**/*], excludes = [])
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-framework-events ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/db> (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-framework-db ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/services/console-proxy-rdp/rdpconsole> (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloudstack-service-console-proxy-rdpclient ---
[INFO] Deleting <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/spring/module> (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-framework-spring-module ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-framework-events ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/events/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-framework-events ---
[INFO] Compiling 5 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/events/target/classes>
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-framework-spring-module ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-framework-db ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-framework-spring-module ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-framework-spring-module ---
[INFO] Compiling 14 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/spring/module/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-framework-db ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-framework-db ---
[INFO] Compiling 43 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/db/target/classes>
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloudstack-service-console-proxy-rdpclient ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-framework-events ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/events/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-framework-events ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-events ---
[INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/events/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloudstack-service-console-proxy-rdpclient ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloudstack-service-console-proxy-rdpclient ---
[INFO] Compiling 146 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/services/console-proxy-rdp/rdpconsole/target/classes>

Results :

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

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-framework-spring-module ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-framework-spring-module ---
[INFO] Compiling 4 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/spring/module/target/test-classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-framework-db ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-spring-module ---
[INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/spring/module/target/surefire-reports>
[INFO] Copying 1 resource

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloud-framework-db ---
[INFO] Compiling 15 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/db/target/test-classes>
Running org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionTest
log4j:WARN No appenders could be found for logger (org.springframework.core.io.support.PathMatchingResourcePatternResolver).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.932 sec
Running org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactoryTest
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloudstack-service-console-proxy-rdpclient ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://jenkins.buildacloud.org/job/build-4.5/ws/services/console-proxy-rdp/rdpconsole/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cloudstack-service-console-proxy-rdpclient ---
[INFO] Compiling 4 source files to <http://jenkins.buildacloud.org/job/build-4.5/ws/services/console-proxy-rdp/rdpconsole/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-db ---
[INFO] Surefire report directory: <http://jenkins.buildacloud.org/job/build-4.5/ws/framework/db/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.cloud.utils.DbUtilTest
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results