See <http://jenkins.buildacloud.org/job/build-4.5-simulator/99/changes>
Changes:
[min.chen] CLOUDSTACK-5949: remove unused vnc_password from user_vm_view view
to avoid decryption bottleneck.
------------------------------------------
[...truncated 356 lines...]
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-12-04 00:10:57,574 ERROR [utils.rest.RESTServiceConnector] (main:) Failed
to retrieve object : null
2014-12-04 00:10:57,578 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: 0.912 sec
Running com.cloud.utils.TestProfiler
Configure log4j with default properties
2014-12-04 00:10:57,594 INFO [cloud.utils.TestProfiler] (main:) testProfiler()
started
2014-12-04 00:10:58,595 INFO [cloud.utils.TestProfiler] (main:) Duration : 1001
2014-12-04 00:10:58,595 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.PropertiesUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running com.cloud.utils.UriUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
2014-12-04 00:10:58,759 INFO [backoff.impl.ConstantTimeBackoff] (Thread-1:)
Thread Thread-1 interrupted while waiting for retry
2014-12-04 00:10:58,861 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:)
thread started
2014-12-04 00:10:58,861 DEBUG [backoff.impl.ConstantTimeBackoffTest]
(Thread-2:) before
2014-12-04 00:10:58,961 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:)
testing wakeup
2014-12-04 00:10:58,962 INFO [backoff.impl.ConstantTimeBackoff] (Thread-2:)
Thread Thread-2 interrupted while waiting for retry
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.314 sec
2014-12-04 00:10:58,962 DEBUG [backoff.impl.ConstantTimeBackoffTest]
(Thread-2:) after
Running com.cloud.utils.NumbersUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running com.cloud.utils.ReflectUtilTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running com.cloud.utils.UuidUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running com.cloud.utils.ProcessUtilTest
2014-12-04 00:10:59,033 DEBUG [cloud.utils.ProcessUtil] (main:)
environment.properties could not be opened
2014-12-04 00:10:59,037 DEBUG [cloud.utils.ProcessUtil] (main:)
environment.properties could not be opened
2014-12-04 00:10:59,043 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash
-c ps -p 123456
2014-12-04 00:10:59,063 DEBUG [cloud.utils.ProcessUtil] (main:) Exit value is 1
2014-12-04 00:10:59,064 DEBUG [cloud.utils.ProcessUtil] (main:) PID TTY
TIME CMD
2014-12-04 00:10:59,064 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash
-c echo $PPID
2014-12-04 00:10:59,069 DEBUG [cloud.utils.ProcessUtil] (main:) Execution is
successful.
2014-12-04 00:10:59,072 DEBUG [cloud.utils.ProcessUtil] (main:)
environment.properties could not be opened
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running com.cloud.utils.encoding.UrlEncoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
2014-12-04 00:10:59,078 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:)
Encryption Type: null
2014-12-04 00:10:59,079 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:)
Encryption Type: file
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running com.cloud.utils.crypto.RSAHelperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec
Running com.cloud.utils.PasswordGeneratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running com.cloud.utils.net.MacAddressTest
ff:ff:ff:ff:ff:ff
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running com.cloud.utils.net.NetUtilsTest
2014-12-04 00:10:59,342 INFO [utils.net.NetUtils] (main:) Invalid value of
cidr 10.3.6.5/50
2014-12-04 00:10:59,354 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::2
2014-12-04 00:10:59,356 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::2
2014-12-04 00:10:59,357 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1
2014-12-04 00:10:59,359 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::2
2014-12-04 00:10:59,360 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::2
2014-12-04 00:10:59,362 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::a9ea:385e:5b60:22f4
2014-12-04 00:10:59,367 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::b084:6258:d131:cc5f
2014-12-04 00:10:59,369 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::229c:a2e7:3ff1:54ab
2014-12-04 00:10:59,371 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::da59:22cc:2188:9f0f
2014-12-04 00:10:59,372 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::1378:9aaf:a53c:122b
2014-12-04 00:10:59,374 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::489d:11f5:3be6:426f
2014-12-04 00:10:59,376 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::c553:78f9:76df:f1a8
2014-12-04 00:10:59,378 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::cc2f:a97d:1c45:96cc
2014-12-04 00:10:59,380 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::820c:b201:5c4b:6681
2014-12-04 00:10:59,381 INFO [utils.net.NetUtilsTest] (main:) IP is
1234:5678::fe27:5b2e:816d:29b
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
Running com.cloud.utils.net.IpTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running com.cloud.utils.ScriptTest
2014-12-04 00:10:59,417 DEBUG [utils.script.Script] (main:) Executing:
/bin/echo bar
2014-12-04 00:10:59,421 DEBUG [utils.script.Script] (main:) Execution is
successful.
2014-12-04 00:10:59,422 DEBUG [utils.script.Script] (main:) Looking for pwd in
the classpath
2014-12-04 00:10:59,423 DEBUG [utils.script.Script] (main:) System resource:
null
2014-12-04 00:10:59,423 DEBUG [utils.script.Script] (main:) Classpath resource:
null
2014-12-04 00:10:59,424 DEBUG [utils.script.Script] (main:) Executing:
/bin/bash -c echo 'hello world!'
2014-12-04 00:10:59,428 DEBUG [utils.script.Script] (main:) Execution is
successful.
2014-12-04 00:10:59,428 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-12-04 00:10:59,430 DEBUG [utils.script.Script] (main:) Executing:
/bin/bash -c /not/existing/scripts/1417648259430
2014-12-04 00:10:59,435 DEBUG [utils.script.Script] (main:) Exit value is 127
2014-12-04 00:10:59,436 DEBUG [utils.script.Script] (main:) /bin/bash:
/not/existing/scripts/1417648259430: No such file or directory
2014-12-04 00:10:59,436 DEBUG [utils.script.Script] (main:) Executing:
/bin/bash -c echo 'hello world!'
2014-12-04 00:10:59,441 DEBUG [utils.script.Script] (main:) Execution is
successful.
2014-12-04 00:10:59,441 DEBUG [utils.script.Script] (main:) Executing:
/bin/bash -c echo 'hello world!'
2014-12-04 00:10:59,445 DEBUG [utils.script.Script] (main:) Execution is
successful.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.06 sec
Running com.cloud.utils.StringUtilsTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.apache.cloudstack.utils.auth.SAMLUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.963 sec
Results :
Tests run: 133, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack-framework
---
[INFO] Deleting
<http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/target>
(includes = [**/*], excludes = [])
[INFO] Deleting
<http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework> (includes
= [target, dist], excludes = [])
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloudstack-framework ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework - Event Notification 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-db ---
[INFO] Deleting
<http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/db/target>
(includes = [**/*], excludes = [])
[INFO] Deleting
<http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/db>
(includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
cloud-framework-db ---
[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-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-simulator/ws/framework/db/target/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] Copying 1 resource
[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-simulator/ws/framework/db/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-simulator/ws/framework/db/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.cloud.utils.DbUtilTest
log4j:WARN No appenders could be found for logger
(com.cloud.utils.crypt.EncryptionSecretKeyChecker).
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: 15, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.788 sec
Results :
Tests run: 15, Failures: 0, Errors: 0, Skipped: 2
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework - Configuration 4.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
cloud-framework-config ---
[INFO] Deleting
<http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/config/target>
(includes = [**/*], excludes = [])
[INFO] Deleting
<http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/config>
(includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
cloud-fram