See <http://jenkins.buildacloud.org/job/build-master-simulator/1660/changes>

Changes:

[Rohit Yadav] DeployVmCmd: Fix NPE case

------------------------------------------
[...truncated 482 lines...]
2015-02-06 10:05:02,075 DEBUG [utils.script.Script] (main:) Classpath resource: 
null
2015-02-06 10:05:02,075 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c echo 'hello world!' 
2015-02-06 10:05:02,079 DEBUG [utils.script.Script] (main:) Execution is 
successful.
2015-02-06 10:05:02,079 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:219)
        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:283)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
2015-02-06 10:05:02,081 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c /not/existing/scripts/1423213502081 
2015-02-06 10:05:02,084 DEBUG [utils.script.Script] (main:) Exit value is 127
2015-02-06 10:05:02,085 DEBUG [utils.script.Script] (main:) /bin/bash: 
/not/existing/scripts/1423213502081: No such file or directory
2015-02-06 10:05:02,085 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c echo 'hello world!' 
2015-02-06 10:05:02,088 DEBUG [utils.script.Script] (main:) Execution is 
successful.
2015-02-06 10:05:02,089 DEBUG [utils.script.Script] (main:) Executing: 
/bin/bash -c echo 'hello world!' 
2015-02-06 10:05:02,093 DEBUG [utils.script.Script] (main:) Execution is 
successful.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.043 sec - in 
com.cloud.utils.ScriptTest
Running com.cloud.utils.StringUtilsTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec - in 
com.cloud.utils.StringUtilsTest
Running org.apache.cloudstack.utils.auth.SAMLUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.656 sec - in 
org.apache.cloudstack.utils.auth.SAMLUtilsTest

Results :

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

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework 4.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack-framework 
---
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/target> 
(includes = [**/*], excludes = [])
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-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.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-db ---
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/db/target>
 (includes = [**/*], excludes = [])
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-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:3.2:compile (default-compile) @ 
cloud-framework-db ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 43 source files to 
<http://jenkins.buildacloud.org/job/build-master-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:3.2:testCompile (default-testCompile) @ 
cloud-framework-db ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/db/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
cloud-framework-db ---
[INFO] Surefire report directory: 
<http://jenkins.buildacloud.org/job/build-master-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.516 sec - in 
com.cloud.utils.DbUtilTest

Results :

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

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Framework - Configuration 4.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-framework-config ---
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/config/target>
 (includes = [**/*], excludes = [])
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/config> 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-framework-config ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-config ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-config ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-framework-config ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/config/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-config ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/config/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-framework-config ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/config/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
cloud-framework-config ---
[INFO] Surefire report directory: 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/framework/config/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cloudstack.framework.config.impl.ConfigDepotAdminTest
log4j:WARN No appenders could be found for logger 
(org.apache.cloudstack.framework.config.impl.ConfigDepotImpl).
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: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.381 sec - in 
org.apache.cloudstack.framework.config.impl.ConfigDepotAdminTest

Results :

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

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack API 4.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-api ---
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/api/target> 
(includes = [**/*], excludes = [])
[INFO] Deleting 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/api> (includes = 
[target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-api ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-api 
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ cloud-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 941 source files to 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/api/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java>:[304,39]
 error: cannot find symbol
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[0.711s]
[INFO] Apache CloudStack ................................. SUCCESS [0.606s]
[INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.030s]
[INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [2.802s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [24.048s]
[INFO] Apache CloudStack Framework ....................... SUCCESS [0.043s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [6.227s]
[INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [3.965s]
[INFO] Apache CloudStack API ............................. FAILURE [8.384s]
[INFO] Apache CloudStack Framework - REST ................ SKIPPED
[INFO] Apache CloudStack Framework - IPC ................. SKIPPED
[INFO] Apache CloudStack Cloud Engine .................... SKIPPED
[INFO] Apache CloudStack Cloud Engine API ................ SKIPPED
[INFO] Apache CloudStack Framework - Security ............ SKIPPED
[INFO] Apache CloudStack Core ............................ SKIPPED
[INFO] Apache CloudStack Agents .......................... SKIPPED
[INFO] Apache CloudStack Framework - Clustering .......... SKIPPED
[INFO] Apache CloudStack Framework - Event Notification .. SKIPPED
[INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED
[INFO] Apache CloudStack Framework - Jobs ................ SKIPPED
[INFO] Apache CloudStack Cloud Engine Internal Components API  SKIPPED
[INFO] Apache CloudStack Server .......................... SKIPPED
[INFO] Apache CloudStack Cloud Services .................. SKIPPED
[INFO] Apache CloudStack Secondary Storage ............... SKIPPED
[INFO] Apache CloudStack Secondary Storage Service ....... SKIPPED
[INFO] Apache CloudStack Engine Storage Component ........ SKIPPED
[INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED
[INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED
[INFO] Apache CloudStack Engine Storage Snapshot Component  SKIPPED
[INFO] Apache CloudStack Plugin POM ...................... SKIPPED
[INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.576s
[INFO] Finished at: Fri Feb 06 10:05:33 CET 2015
[INFO] Final Memory: 51M/331M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on 
project cloud-api: Compilation failure
[ERROR] 
<http://jenkins.buildacloud.org/job/build-master-simulator/ws/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java>:[304,39]
 error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-api
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Reply via email to