See <http://jenkins.buildacloud.org/job/build-master-simulator/1794/changes>
Changes: [Rohit Yadav] scripts: add ip set interface up because in CentOS7 the interface will not auto up [Rohit Yadav] CLOUDSTACK-8299: Adding additional test case to test ingress rules with two security groups together ------------------------------------------ [...truncated 410 lines...] 2015-03-10 05:58:54,934 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash -c ps -p 123456 2015-03-10 05:58:54,949 DEBUG [cloud.utils.ProcessUtil] (main:) Exit value is 1 2015-03-10 05:58:54,949 DEBUG [cloud.utils.ProcessUtil] (main:) PID TTY TIME CMD 2015-03-10 05:58:54,950 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash -c echo $PPID 2015-03-10 05:58:54,961 DEBUG [cloud.utils.ProcessUtil] (main:) Execution is successful. 2015-03-10 05:58:54,963 DEBUG [cloud.utils.ProcessUtil] (main:) environment.properties could not be opened Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec - in com.cloud.utils.ProcessUtilTest Running com.cloud.utils.encoding.UrlEncoderTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.cloud.utils.encoding.UrlEncoderTest Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest 2015-03-10 05:58:54,970 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) Encryption Type: null 2015-03-10 05:58:54,971 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) Encryption Type: file Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest Running com.cloud.utils.crypto.RSAHelperTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec - in com.cloud.utils.crypto.RSAHelperTest Running com.cloud.utils.PasswordGeneratorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.cloud.utils.PasswordGeneratorTest 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 - in com.cloud.utils.net.MacAddressTest Running com.cloud.utils.net.NetUtilsTest 2015-03-10 05:58:55,215 INFO [utils.net.NetUtils] (main:) Invalid value of cidr 10.3.6.5/50 2015-03-10 05:58:55,227 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::2 2015-03-10 05:58:55,229 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::2 2015-03-10 05:58:55,230 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::1 2015-03-10 05:58:55,231 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::1 2015-03-10 05:58:55,233 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::2 2015-03-10 05:58:55,234 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::7c80:7107:42b0:4ced 2015-03-10 05:58:55,239 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::3bd8:ad14:f8b9:a2e5 2015-03-10 05:58:55,241 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::ed8d:82e6:4795:fd7a 2015-03-10 05:58:55,242 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::a0d8:db82:3b4c:d89c 2015-03-10 05:58:55,244 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::3cd4:6ba0:a48f:9c98 2015-03-10 05:58:55,246 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::9f6e:1c0:7bca:bd64 2015-03-10 05:58:55,247 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::2d1:eb6:4fb6:13b 2015-03-10 05:58:55,249 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::569d:e401:54b3:5d9f 2015-03-10 05:58:55,252 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::6e83:bf82:db7d:5c7e 2015-03-10 05:58:55,254 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::3458:ea64:3024:f84f 2015-03-10 05:58:55,279 ERROR [utils.net.NetUtils] (main:) Failed to convert a string to an IPv6 address java.lang.IllegalArgumentException: can not parse [] at com.googlecode.ipv6.IPv6Address.tryParseStringArrayIntoLongArray(IPv6Address.java:94) at com.googlecode.ipv6.IPv6Address.fromString(IPv6Address.java:80) at com.cloud.utils.net.NetUtils.countIp6InRange(NetUtils.java:1292) at com.cloud.utils.net.NetUtilsTest.testCountIp6InRangeWithNullStart(NetUtilsTest.java:152) 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) Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec - in com.cloud.utils.net.NetUtilsTest Running com.cloud.utils.net.IpTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in com.cloud.utils.net.IpTest Running com.cloud.utils.ScriptTest 2015-03-10 05:58:55,287 DEBUG [utils.script.Script] (main:) Executing: /bin/echo bar 2015-03-10 05:58:55,290 DEBUG [utils.script.Script] (main:) Execution is successful. 2015-03-10 05:58:55,291 DEBUG [utils.script.Script] (main:) Looking for pwd in the classpath 2015-03-10 05:58:55,292 DEBUG [utils.script.Script] (main:) System resource: null 2015-03-10 05:58:55,292 DEBUG [utils.script.Script] (main:) Classpath resource: null 2015-03-10 05:58:55,293 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c echo 'hello world!' 2015-03-10 05:58:55,297 DEBUG [utils.script.Script] (main:) Execution is successful. 2015-03-10 05:58:55,297 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-03-10 05:58:55,299 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c /not/existing/scripts/1425963535299 2015-03-10 05:58:55,309 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c echo 'hello world!' 2015-03-10 05:58:55,313 DEBUG [utils.script.Script] (main:) Execution is successful. 2015-03-10 05:58:55,314 DEBUG [utils.script.Script] (main:) Executing: /bin/bash -c echo 'hello world!' 2015-03-10 05:58:55,314 WARN [utils.script.Script] (main:) Exception: /bin/bash -c echo 'hello world!' java.io.IOException: Cannot run program "/bin/bash": error=11, Resource temporarily unavailable at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at com.cloud.utils.script.Script.execute(Script.java:194) at com.cloud.utils.script.Script.runSimpleBashScript(Script.java:470) at com.cloud.utils.ScriptTest.testRunSimpleBashScriptWithTimeout(ScriptTest.java:125) 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) Caused by: java.io.IOException: error=11, Resource temporarily unavailable at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:135) at java.lang.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ... 27 more Tests run: 10, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.051 sec <<< FAILURE! - in com.cloud.utils.ScriptTest runSimpleBashScriptNotExisting(com.cloud.utils.ScriptTest) Time elapsed: 0.011 sec <<< ERROR! java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:693) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1590) at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:333) at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:546) at com.cloud.utils.script.Script.execute(Script.java:205) at com.cloud.utils.script.Script.runSimpleBashScript(Script.java:470) at com.cloud.utils.script.Script.runSimpleBashScript(Script.java:460) at com.cloud.utils.ScriptTest.runSimpleBashScriptNotExisting(ScriptTest.java:117) testRunSimpleBashScriptWithTimeout(com.cloud.utils.ScriptTest) Time elapsed: 0.001 sec <<< FAILURE! java.lang.AssertionError: expected:<hello world!> but was:<null> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:144) at com.cloud.utils.ScriptTest.testRunSimpleBashScriptWithTimeout(ScriptTest.java:125) Running com.cloud.utils.StringUtilsTest Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in com.cloud.utils.StringUtilsTest Running org.apache.cloudstack.utils.auth.SAMLUtilsTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.088 sec - in org.apache.cloudstack.utils.auth.SAMLUtilsTest java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:693) at org.apache.maven.surefire.booter.ForkedBooter.launchLastDitchDaemonShutdownThread(ForkedBooter.java:184) at org.apache.maven.surefire.booter.ForkedBooter.exit(ForkedBooter.java:143) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:127) Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:693) at org.apache.maven.surefire.booter.ForkedBooter.launchLastDitchDaemonShutdownThread(ForkedBooter.java:184) at org.apache.maven.surefire.booter.ForkedBooter.exit(ForkedBooter.java:143) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:135) Build timed out (after 7 minutes). Marking the build as failed. Build was aborted Recording test results Results : Failed tests: ScriptTest.testRunSimpleBashScriptWithTimeout:125 expected:<hello world!> but was:<null> Tests in error: ScriptTest.runSimpleBashScriptNotExisting:117 ยป OutOfMemory unable to create n... Tests run: 140, Failures: 1, Errors: 1, Skipped: 1 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS [0.683s] [INFO] Apache CloudStack ................................. SUCCESS [0.585s] [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [1.026s] [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [2.773s] [INFO] Apache CloudStack Utils ........................... FAILURE [7:02.837s] [INFO] Apache CloudStack Framework ....................... SKIPPED [INFO] Apache CloudStack Framework - Event Notification .. SKIPPED [INFO] Apache CloudStack Framework - Configuration ....... SKIPPED [INFO] Apache CloudStack API ............................. SKIPPED [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: 7:09.850s [INFO] Finished at: Tue Mar 10 06:05:46 CET 2015 [INFO] Final Memory: 50M/306M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project cloud-utils: Error occurred in starting fork, check output in log -> [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-utils