[jira] [Commented] (CLOUDSTACK-7626) SAMLUtilsTest failing inconsistently during build
[ 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.NativeMethodAccesso
[jira] [Commented] (CLOUDSTACK-7626) SAMLUtilsTest failing inconsistently during build
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169653#comment-14169653 ] Rohit Yadav commented on CLOUDSTACK-7626: - Sure [~ke4qqq] Rayees, can you check again from the logs SAMLUtilsTest passed: Running org.apache.cloudstack.utils.auth.SAMLUtilsTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.245 sec But, it's the ConstantTimeBackoffTest that is failing (from logs): 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! On my system it did not fail, I'll try again with a clean env tomorrow morning. > 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:5
[jira] [Commented] (CLOUDSTACK-7626) SAMLUtilsTest failing inconsistently during build
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169284#comment-14169284 ] David Nalley commented on CLOUDSTACK-7626: -- [~bhaisaab] Can you take a look at this? > 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