Created
September 22, 2016 18:55
-
-
Save alibazlamit/c09d8fc26af8d615bf7f48c710a65254 to your computer and use it in GitHub Desktop.
jClouds ProfitBricks REST API compute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NetBeans: JPDA Listening Start... | |
JPDA Address: DESKTOP-ETHLPD4:4302 | |
Port:4302 | |
cd D:\Work2\stack clouds 2\Real PB\jclouds-labs\profitbricks-rest; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_91" cmd /c "\"\"C:\\Program Files\\NetBeans 8.1\\java\\maven\\bin\\mvn.bat\" -Dtest=org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest -DforkMode=once -Dmaven.surefire.debug=\"-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=4302\" -Djpda.listen=true -Dtest.profitbricks-rest.identity=ali@stackpointcloud.com -Dtest.profitbricks-rest.credential=test123! -Djclouds.regions=US -Djpda.address=4302 -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 surefire:test\"" | |
Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts. | |
Scanning for projects... | |
------------------------------------------------------------------------ | |
Building jclouds ProfitBricks REST api 2.0.0-SNAPSHOT | |
------------------------------------------------------------------------ | |
--- maven-surefire-plugin:2.17:test (default-cli) @ profitbricks-rest --- | |
Surefire report directory: D:\Work2\stack clouds 2\Real PB\jclouds-labs\profitbricks-rest\target\surefire-reports | |
file.encoding cannot be set as system property, use <argLine>-Dfile.encoding=...<argLine> instead | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest | |
Configuring TestNG with: TestNG652Configurator | |
Starting test setServiceDefaults(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test setServiceDefaults(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 1ms | |
Test suite progress: tests succeeded: 1, failed: 0, skipped: 0. | |
Starting test testCompareSizes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Sep 22, 2016 7:57:16 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest doCompareSizes | |
INFO: smallest {id=cpu=1,ram=1024,disk=10.000000, providerId=cpu=1,ram=1024,disk=10.000000, name=cpu=1,ram=1024,disk=10.000000, processors=[{cores=1.0, speed=1.0}], ram=1024, volumes=[{type=LOCAL, size=10.0, bootDevice=true, durable=true}], hypervisor=kvm, supportsImage=ALWAYS_TRUE} | |
Sep 22, 2016 7:57:16 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest doCompareSizes | |
INFO: fastest {id=cpu=48,ram=1024,disk=10.000000, providerId=cpu=48,ram=1024,disk=10.000000, name=cpu=48,ram=1024,disk=10.000000, processors=[{cores=48.0, speed=1.0}], ram=1024, volumes=[{type=LOCAL, size=10.0, bootDevice=true, durable=true}], hypervisor=kvm, supportsImage=ALWAYS_TRUE} | |
Sep 22, 2016 7:57:16 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest doCompareSizes | |
INFO: biggest {id=cpu=48,ram=32768,disk=500.000000, providerId=cpu=48,ram=32768,disk=500.000000, name=cpu=48,ram=32768,disk=500.000000, processors=[{cores=48.0, speed=1.0}], ram=32768, volumes=[{type=LOCAL, size=500.0, bootDevice=true, durable=true}], hypervisor=kvm, supportsImage=ALWAYS_TRUE} | |
[pool-1-thread-1] Test testCompareSizes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 1543ms | |
Test suite progress: tests succeeded: 2, failed: 0, skipped: 0. | |
Starting test testCorrectAuthException(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testCorrectAuthException(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 1108ms | |
Test suite progress: tests succeeded: 3, failed: 0, skipped: 0. | |
Starting test testCorrectExceptionRunningNodesNotFound(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testCorrectExceptionRunningNodesNotFound(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 911ms | |
Test suite progress: tests succeeded: 4, failed: 0, skipped: 0. | |
Starting test testCreateAndRunAService(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Sep 22, 2016 7:59:59 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest createAndRunAServiceInGroup | |
INFO: << available node(53fdc81e-bf10-4911-9629-182009d67d9b/b5676f36-3af8-463d-9103-e733a8328d77) os({family=linux, description=linux, is64Bit=false}) in 160s | |
Sep 22, 2016 8:02:35 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest createAndRunAServiceInGroup | |
INFO: << configured node(53fdc81e-bf10-4911-9629-182009d67d9b/b5676f36-3af8-463d-9103-e733a8328d77) with java full version "1.6.0_40-b40" and jetty jetty-8.1.8.v20121106 in 150s | |
Sep 22, 2016 8:02:44 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest trackAvailabilityOfProcessOnNode | |
INFO: << start jetty on node(53fdc81e-bf10-4911-9629-182009d67d9b/b5676f36-3af8-463d-9103-e733a8328d77)[46.16.78.102:8080] [backgroundProcessMilliseconds=3232, socketOpenMilliseconds=5302] | |
Sep 22, 2016 8:02:52 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest trackAvailabilityOfProcessOnNode | |
INFO: << start jetty on node(53fdc81e-bf10-4911-9629-182009d67d9b/b5676f36-3af8-463d-9103-e733a8328d77)[46.16.78.102:8080] [backgroundProcessMilliseconds=4293, socketOpenMilliseconds=69] | |
[pool-1-thread-1] Test testCreateAndRunAService(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 382458ms | |
Test suite progress: tests succeeded: 5, failed: 0, skipped: 0. | |
Starting test testGetAssignableLocations(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Sep 22, 2016 8:03:40 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest testGetAssignableLocations | |
WARNING: location {scope=REGION, id=US, description=US, parent=profitbricks-rest} | |
Sep 22, 2016 8:03:40 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest testGetAssignableLocations | |
WARNING: location {scope=ZONE, id=de/fkb, description=de/fkb, parent=profitbricks-rest, iso3166Codes=[DE-BW]} | |
Sep 22, 2016 8:03:40 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest testGetAssignableLocations | |
WARNING: location {scope=ZONE, id=de/fra, description=de/fra, parent=profitbricks-rest, iso3166Codes=[DE-HE]} | |
Sep 22, 2016 8:03:40 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest testGetAssignableLocations | |
WARNING: location {scope=ZONE, id=us/las, description=us/las, parent=profitbricks-rest, iso3166Codes=[US-NV]} | |
Sep 22, 2016 8:03:40 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest testGetAssignableLocations | |
WARNING: location {scope=ZONE, id=us/lasdev, description=us/lasdev, parent=profitbricks-rest} | |
[pool-1-thread-1] Test testGetAssignableLocations(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 3ms | |
Test suite progress: tests succeeded: 6, failed: 0, skipped: 0. | |
Starting test testImageById(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testImageById(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 1084ms | |
Test suite progress: tests succeeded: 7, failed: 0, skipped: 0. | |
Starting test testImagesCache(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testImagesCache(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 0ms | |
Test suite progress: tests succeeded: 8, failed: 0, skipped: 0. | |
Starting test testListImages(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testListImages(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 0ms | |
Test suite progress: tests succeeded: 9, failed: 0, skipped: 0. | |
Starting test testListSizes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testListSizes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 3ms | |
Test suite progress: tests succeeded: 10, failed: 0, skipped: 0. | |
Starting test testWeCanCancelTasks(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testWeCanCancelTasks(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 179934ms | |
Test suite progress: tests succeeded: 11, failed: 0, skipped: 0. | |
Starting test testOptionToNotBlock(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-1] Test testOptionToNotBlock(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 0ms | |
Test suite progress: tests succeeded: 12, failed: 0, skipped: 0. | |
Starting test testTemplateMatch(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Starting test testAScriptExecutionAfterBootWithBasicTemplate(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Starting test testConcurrentUseOfComputeServiceToCreateNodes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-4] Test testTemplateMatch(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 657ms | |
Test suite progress: tests succeeded: 13, failed: 0, skipped: 0. | |
Sep 22, 2016 8:10:44 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest$1 call | |
INFO: Started node 53fdc81e-bf10-4911-9629-182009d67d9b/cb24f9d0-750a-4567-8f1c-3a53bea027c8 | |
Sep 22, 2016 8:10:45 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest$1 call | |
INFO: Started node 53fdc81e-bf10-4911-9629-182009d67d9b/99cc34e2-c461-4ba4-b95a-3222f5955935 | |
[pool-1-thread-3] Test testConcurrentUseOfComputeServiceToCreateNodes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 704078ms | |
Test suite progress: tests succeeded: 14, failed: 0, skipped: 0. | |
Starting test testCreateTwoNodesWithRunScript(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
<< problem applying options to node(53fdc81e-bf10-4911-9629-182009d67d9b/2c391578-e4bf-457d-a491-b8bcdf331e0d): | |
org.jclouds.rest.AuthorizationException: (root:pw[5d907853a9617cfd55fb62eae803595b]@46.16.76.213:22) (root:pw[5d907853a9617cfd55fb62eae803595b]@46.16.76.213:22) error acquiring {hostAndPort=46.16.76.213:22, loginUser=root, ssh=null, connectTimeout=300000, sessionTimeout=300000} (out of retries - max 7): Exhausted available authentication methods | |
at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:394) | |
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:205) | |
at org.jclouds.sshj.SshjSshClient.connect(SshjSshClient.java:224) | |
at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:74) | |
at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:63) | |
at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:38) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods | |
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:217) | |
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:193) | |
at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:278) | |
at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:248) | |
at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:232) | |
at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:165) | |
at org.jclouds.sshj.SSHClientConnection.create(SSHClientConnection.java:49) | |
at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:195) | |
... 8 more | |
[pool-1-thread-2] Test testAScriptExecutionAfterBootWithBasicTemplate(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 895207ms | |
Test suite progress: tests succeeded: 15, failed: 0, skipped: 0. | |
[pool-1-thread-5] Test testCreateTwoNodesWithRunScript(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 304254ms | |
Test suite progress: tests succeeded: 16, failed: 0, skipped: 0. | |
Starting test testCreateTwoNodesWithOneSpecifiedName(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-5] Test testCreateTwoNodesWithOneSpecifiedName(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 550933ms | |
Test suite progress: tests succeeded: 17, failed: 0, skipped: 0. | |
Starting test testCreateAnotherNodeWithANewContextToEnsureSharedMemIsntRequired(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Sep 22, 2016 8:32:40 PM org.jclouds.compute.internal.BaseComputeServiceLiveTest testCreateAnotherNodeWithANewContextToEnsureSharedMemIsntRequired | |
INFO: creating another node based on existing nodes' location: {scope=ZONE, id=de/fkb, description=de/fkb, parent=profitbricks-rest, iso3166Codes=[DE-BW]} | |
[pool-1-thread-5] Test testCreateAnotherNodeWithANewContextToEnsureSharedMemIsntRequired(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 215088ms | |
Test suite progress: tests succeeded: 18, failed: 0, skipped: 0. | |
Starting test testGet(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Starting test testCredentialsCache(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-5] Test testCredentialsCache(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 32ms | |
Test suite progress: tests succeeded: 19, failed: 0, skipped: 0. | |
[pool-1-thread-3] Test testGet(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 8397ms | |
Test suite progress: tests succeeded: 20, failed: 0, skipped: 0. | |
Starting test testReboot(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-3] Test testReboot(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 119632ms | |
Test suite progress: tests succeeded: 21, failed: 0, skipped: 0. | |
Starting test testSuspendResume(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-3] Test testSuspendResume(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 334740ms | |
Test suite progress: tests succeeded: 22, failed: 0, skipped: 0. | |
Starting test testListNodesByIds(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Starting test testListNodes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
Starting test testGetNodesWithDetails(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-3] Test testGetNodesWithDetails(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 395983ms | |
Test suite progress: tests succeeded: 23, failed: 0, skipped: 0. | |
[pool-1-thread-5] Test testListNodesByIds(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 398376ms | |
Test suite progress: tests succeeded: 24, failed: 0, skipped: 0. | |
[pool-1-thread-2] Test testListNodes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 400398ms | |
Test suite progress: tests succeeded: 25, failed: 0, skipped: 0. | |
Starting test testDestroyNodes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) | |
[pool-1-thread-2] Test testDestroyNodes(org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest) succeeded: 247197ms | |
Test suite progress: tests succeeded: 26, failed: 0, skipped: 0. | |
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3,484.678 sec - in org.apache.jclouds.profitbricks.rest.compute.ProfitBricksComputeServiceLiveTest | |
Results : | |
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0 | |
------------------------------------------------------------------------ | |
BUILD SUCCESS | |
------------------------------------------------------------------------ | |
Total time: 58:06.262s | |
Finished at: Thu Sep 22 20:55:17 CEST 2016 | |
Final Memory: 9M/245M | |
------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment