cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Animesh Chaturvedi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7626) SAMLUtilsTest failing inconsistently during build
Date Thu, 30 Oct 2014 17:29:34 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190426#comment-14190426
] 

Animesh Chaturvedi commented on CLOUDSTACK-7626:
------------------------------------------------

[~rayeesn] is this still happening? 

> SAMLUtilsTest failing inconsistently during build  
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-7626
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7626
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.5.0
>         Environment: 4.5 
>            Reporter: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.5.0
>
>
> 4.5 build failing inconsistently while running unit test, unning org.apache.cloudstack.utils.auth.SAMLUtilsTest
> I have seen this issue multiple times, after the some merge happened 2 week ago, 
>  
> Build fails with below error 
> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-utils ---
> [INFO] Surefire report directory: /root/jenkins/build/workspace/CloudPlatform-4.x-rhel63_Simulator/internal-cloudstack/dist/rpmbuild/BUILD/cloudstack-4.5.0-SNAPSHOT/utils/target/surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.cloudstack.utils.auth.SAMLUtilsTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.245 sec
> Running com.cloud.utils.TestProfiler
> Configure log4j with default properties
> 2014-09-24 03:38:16,415 INFO  [cloud.utils.TestProfiler] (main:) testProfiler() started
> 2014-09-24 03:38:17,417 INFO  [cloud.utils.TestProfiler] (main:) Duration : 1000
> 2014-09-24 03:38:17,419 INFO  [cloud.utils.TestProfiler] (main:) testProfiler() stopped
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.012 sec
> Running com.cloud.utils.ScriptTest
> 2014-09-24 03:38:17,526 DEBUG [utils.script.Script] (main:) Executing: /bin/echo bar

> 2014-09-24 03:38:17,537 DEBUG [utils.script.Script] (main:) Execution is successful.
> 2014-09-24 03:38:17,545 DEBUG [utils.script.Script] (main:) Looking for pwd in the classpath
> 2014-09-24 03:38:17,545 DEBUG [utils.script.Script] (main:) System resource: null
> 2014-09-24 03:38:17,546 DEBUG [utils.script.Script] (main:) Classpath resource: null
> 2014-09-24 03:38:17,549 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c echo
'hello world!' 
> 2014-09-24 03:38:17,551 DEBUG [utils.script.Script] (main:) Execution is successful.
> 2014-09-24 03:38:17,551 WARN  [utils.script.Script] (main:) Exception: /bin/bash -c echo
'hello world!' 
> java.lang.IllegalArgumentException
> 	at com.cloud.utils.ScriptTest$1.interpret(ScriptTest.java:107)
> 	at com.cloud.utils.script.Script.execute(Script.java:220)
> 	at com.cloud.utils.ScriptTest.executeWithOutputInterpreter(ScriptTest.java:103)
> 	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.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)
> 2014-09-24 03:38:17,558 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c /not/existing/scripts/1411555097557

> 2014-09-24 03:38:17,559 DEBUG [utils.script.Script] (main:) Exit value is 127
> 2014-09-24 03:38:17,563 DEBUG [utils.script.Script] (main:) /bin/bash: /not/existing/scripts/1411555097557:
No such file or directory
> 2014-09-24 03:38:17,563 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c echo
'hello world!' 
> 2014-09-24 03:38:17,566 DEBUG [utils.script.Script] (main:) Execution is successful.
> 2014-09-24 03:38:17,570 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c echo
'hello world!' 
> 2014-09-24 03:38:17,572 DEBUG [utils.script.Script] (main:) Execution is successful.
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.368 sec
> Running com.cloud.utils.ReflectUtilTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
> Running com.cloud.utils.UriUtilsTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
> Running com.cloud.utils.ProcessUtilTest
> 2014-09-24 03:38:19,983 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash -c ps
-p 123456 
> 2014-09-24 03:38:19,999 DEBUG [cloud.utils.ProcessUtil] (main:) Exit value is 1
> 2014-09-24 03:38:20,000 DEBUG [cloud.utils.ProcessUtil] (main:)   PID TTY          TIME
CMD
> 2014-09-24 03:38:20,000 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash -c echo
$PPID 
> 2014-09-24 03:38:20,002 DEBUG [cloud.utils.ProcessUtil] (main:) Execution is successful.
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec
> Running com.cloud.utils.rest.RESTServiceConnectorTest
> 2014-09-24 03:38:21,920 ERROR [utils.rest.RESTServiceConnector] (main:) Failed to create
object : null
> 2014-09-24 03:38:22,009 ERROR [utils.rest.RESTServiceConnector] (main:) HttpException
caught while trying to connect to the REST Service
> org.apache.commons.httpclient.HttpException
> 	at com.cloud.utils.rest.RESTValidationStrategy.executeMethod(RESTValidationStrategy.java:106)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeMethod(RESTServiceConnector.java:277)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeRetrieveObject(RESTServiceConnector.java:254)
> 	at com.cloud.utils.rest.RESTServiceConnectorTest.testExecuteRetrieveObjectException(RESTServiceConnectorTest.java:350)
> 	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)
> 2014-09-24 03:38:24,502 ERROR [utils.rest.RESTServiceConnector] (main:) Failed to delete
object : null
> 2014-09-24 03:38:24,513 ERROR [utils.rest.RESTServiceConnector] (main:) Failed to update
object : null
> 2014-09-24 03:38:24,527 ERROR [utils.rest.RESTServiceConnector] (main:) HttpException
caught while trying to connect to the REST Service
> org.apache.commons.httpclient.HttpException
> 	at com.cloud.utils.rest.RESTValidationStrategy.executeMethod(RESTValidationStrategy.java:106)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeMethod(RESTServiceConnector.java:277)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeDeleteObject(RESTServiceConnector.java:231)
> 	at com.cloud.utils.rest.RESTServiceConnectorTest.testExecuteDeleteObjectException(RESTServiceConnectorTest.java:310)
> 	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)
> 2014-09-24 03:38:24,538 ERROR [utils.rest.RESTServiceConnector] (main:) HttpException
caught while trying to connect to the REST Service
> org.apache.commons.httpclient.HttpException
> 	at com.cloud.utils.rest.RESTValidationStrategy.executeMethod(RESTValidationStrategy.java:106)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeMethod(RESTServiceConnector.java:277)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeCreateObject(RESTServiceConnector.java:206)
> 	at com.cloud.utils.rest.RESTServiceConnectorTest.testExecuteCreateObjectException(RESTServiceConnectorTest.java:233)
> 	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)
> 2014-09-24 03:38:24,588 ERROR [utils.rest.RESTServiceConnector] (main:) HttpException
caught while trying to connect to the REST Service
> org.apache.commons.httpclient.HttpException
> 	at com.cloud.utils.rest.RESTValidationStrategy.executeMethod(RESTValidationStrategy.java:106)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeMethod(RESTServiceConnector.java:277)
> 	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)
> 2014-09-24 03:38:24,616 ERROR [utils.rest.RESTServiceConnector] (main:) Failed to retrieve
object : null
> 2014-09-24 03:38:24,638 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:277)
> 	at com.cloud.utils.rest.RESTServiceConnector.executeUpdateObject(RESTServiceConnector.java:183)
> 	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: 4.641 sec
> Running com.cloud.utils.NumbersUtilTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
> 2014-09-24 03:38:25,036 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-1:) Thread Thread-1
interrupted while waiting for retry
> 2014-09-24 03:38:30,699 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) thread started
> 2014-09-24 03:38:30,700 DEBUG [backoff.impl.ConstantTimeBackoffTest] (Thread-2:) before
> 2014-09-24 03:38:30,799 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) testing
wakeup
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.034 sec <<<
FAILURE!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message