Created a fix for the azure failure below at https://github.com/jclouds/jclouds-labs/pull/399 <https://github.com/jclouds/jclouds-labs/pull/399>.
Occurs when trying to delete a security group which is already deleted. Svet. > On 4.07.2017 г., at 15:19, Ignasi Barrera <n...@apache.org> wrote: > > These are the results of the live tests I've run: > > chef: Tests run: 66, Failures: 0, Errors: 0, Skipped: 0 > packet: Tests run: 53, Failures: 0, Errors: 0, Skipped: 0 > azurecompute-arm; Tests run: 147, Failures: 1, Errors: 0, Skipped: 2 > google-compute-engine: Tests run: 175, Failures: 3, Errors: 0, Skipped: 9 > digitalocean2: Tests run: 67, Failures: 1, Errors: 0, Skipped: 10 (The > test failure is due to a wrong manual selection of the hardware to be > used for the image used to create a Droplet. An issue in the test > setup itself; not a jclouds related issue). > > > ** Test stacktraces: ** > > ================== > azurecompute-arm: > > testSecurityGroupCacheInvalidatedWhenDeletedExternally(org.jclouds.azurecompute.arm.compute.extensions.AzureComputeSecurityGroupExtensionLiveTest) > Time elapsed: 2.928 sec <<< FAILURE! > java.lang.NullPointerException: uri cannot be null > at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) > at > org.jclouds.azurecompute.arm.compute.config.AzureComputeServiceContextModule$ActionDonePredicate.apply(AzureComputeServiceContextModule.java:230) > at > org.jclouds.azurecompute.arm.compute.config.AzureComputeServiceContextModule$ActionDonePredicate.apply(AzureComputeServiceContextModule.java:219) > at org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:117) > at > org.jclouds.azurecompute.arm.compute.extensions.AzureComputeSecurityGroupExtension.removeSecurityGroup(AzureComputeSecurityGroupExtension.java:193) > at > org.jclouds.compute.extensions.internal.BaseSecurityGroupExtensionLiveTest.testSecurityGroupCacheInvalidatedWhenDeletedExternally(BaseSecurityGroupExtensionLiveTest.java:417) > 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) > at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) > at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) > at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) > at > org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) > at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) > at org.testng.TestRunner.privateRun(TestRunner.java:767) > at org.testng.TestRunner.run(TestRunner.java:617) > at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) > at org.testng.SuiteRunner.access$000(SuiteRunner.java:38) > at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382) > at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > ================== > > ================== > google-compute-engine: > > Tests run: 175, Failures: 3, Errors: 0, Skipped: 9, Time elapsed: > 5,294.768 sec <<< FAILURE! - in TestSuite > testCreateAndRunAService(org.jclouds.googlecomputeengine.compute.GoogleComputeEngineServiceLiveTest) > Time elapsed: 984.517 sec <<< FAILURE! > java.util.NoSuchElementException: could not connect to any ip address > port 8080 on node > {id=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engines-3e2, > providerId=3749653068987663766, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engines-3e2, > name=google-compute-engines-3e2, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engines-3e2, > location={scope=ZONE, id=us-central1-a, > description=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a, > parent=us-central1}, group=google-compute-engines, > imageId=https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/debian-7-wheezy-v20160531, > status=RUNNING, loginPort=22, hostname=google-compute-engines-3e2, > privateAddresses=[10.240.0.2], publicAddresses=[35.184.29.69], > hardware={id=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/machineTypes/n1-standard-1, > providerId=3001, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/machineTypes/n1-standard-1, > name=n1-standard-1, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/machineTypes/n1-standard-1, > location={scope=ZONE, id=us-central1-a, > description=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a, > parent=us-central1}, processors=[{cores=1.0, speed=1.0}], ram=3840, > hypervisor=kvm, supportsImage=ALWAYS_TRUE}, loginUser=jclouds, > tags=[google-compute-engines, jclouds-google-compute-engines-1af571], > userMetadata={test=google-compute-engines, > jclouds-group=google-compute-engines, sshKeys=jclouds:ssh-rsa > AAAAB3NzaC1yc2EAAAADAQABAAABAQDNRSNg3gu3lYOAZme1oGKvtfSeP75TLnzgofnXe1LXeCiybvA/7Ay0aCsWvDcCeUC1lHBYHwmYrSHOMsD+veiE0OcTsUBafzwz8B5LflrDspGo+oNfoc6zt8ZZKRvC9sJKWV54AzQ7S2UBK72sRxHO6d9c1h5NiabelAV93ONmoCUNOQQPgkRay+bn4P0h270uCD3T02g+/pUHvkic/VrHi3I3jJjrYLersuGO59bADpubohOydlAALzO8e8IDi/VrdIO3O391O+P456uWobG5P+bCKluDztGdV0qWW0tG2JKP3bCrB0RAgwTl7wCCUy3J4OGk9kW5dTOnpnKa7H3p > jclouds@localhost}} > Starting Jetty: STARTED Jetty Tue Jul 4 06:58:38 UTC 2017 > 2017-07-04 06:58:39.054:INFO::Redirecting stderr/stdout to > /usr/local/jetty/logs/2017_07_04.stderrout.log > at > org.jclouds.compute.internal.BaseComputeServiceLiveTest.trackAvailabilityOfProcessOnNode(BaseComputeServiceLiveTest.java:725) > at > org.jclouds.compute.internal.BaseComputeServiceLiveTest.createAndRunAServiceInGroup(BaseComputeServiceLiveTest.java:786) > at > org.jclouds.compute.internal.BaseComputeServiceLiveTest.testCreateAndRunAService(BaseComputeServiceLiveTest.java:745) > 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) > at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) > at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) > at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) > at > org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) > at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) > at org.testng.TestRunner.privateRun(TestRunner.java:767) > at org.testng.TestRunner.run(TestRunner.java:617) > at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) > at org.testng.SuiteRunner.access$000(SuiteRunner.java:38) > at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382) > at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > testCreateAnotherNodeWithANewContextToEnsureSharedMemIsntRequired(org.jclouds.googlecomputeengine.compute.GoogleComputeEngineServiceLiveTest) > Time elapsed: 619.161 sec <<< FAILURE! > org.jclouds.compute.RunNodesException: error running 1 node > group(google-compute-engine) location(us-central1-a) > image(6712003501832250312) size(3001) options({scriptPresent=true}) > Execution failures: > > 0 error[s] > Node failures: > > 1) NoSuchElementException on node > https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engine-d92: > java.util.NoSuchElementException: could not connect to any ip address > port 22 on node > {id=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engine-d92, > providerId=8809313174344366575, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engine-d92, > name=google-compute-engine-d92, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/instances/google-compute-engine-d92, > location={scope=ZONE, id=us-central1-a, > description=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a, > parent=us-central1}, group=google-compute-engine, > imageId=https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/debian-7-wheezy-v20160531, > status=RUNNING, loginPort=22, hostname=google-compute-engine-d92, > privateAddresses=[10.240.0.4], publicAddresses=[35.188.34.176], > hardware={id=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/machineTypes/n1-standard-1, > providerId=3001, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/machineTypes/n1-standard-1, > name=n1-standard-1, > uri=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a/machineTypes/n1-standard-1, > location={scope=ZONE, id=us-central1-a, > description=https://www.googleapis.com/compute/v1/projects/jclouds-dev/zones/us-central1-a, > parent=us-central1}, processors=[{cores=1.0, speed=1.0}], ram=3840, > hypervisor=kvm, supportsImage=ALWAYS_TRUE}, loginUser=jclouds, > userMetadata={jclouds-group=google-compute-engine, > sshKeys=jclouds:ssh-rsa > AAAAB3NzaC1yc2EAAAADAQABAAABAQC4AgmGsd6PyMGqge4EXvyDtf/zB8GrlDy0mcDQBKVhKMzfir2zb0pICTzmaqejWv4EZah5XOMJHtVoAzZ3doHBRUfs29iVpKxiJWi3QD8R+7nyFwAfXqwgBOVSPgfHsUHBYk6s3X1RK8SK+hoa1n3FSZ5IpXhLdQCKxYDMNqqLi3NVb2IO0CdgK+iwraQblL57ZAy5cGN5SYPFwTD003M6bDKVRQC+WmZ7X0z7FUQqIt+a0ICROgNXv4lnYpTV694MsxkZcJ2DTwzqInW1pr2JTqjGg2wokv4EW9E3e3bxpPrygLm2ifESQnGB3Z+y02hDCciC031Q4mXbgopBTT1R > jclouds@localhost}} > at > org.jclouds.compute.util.ConcurrentOpenSocketFinder.findOpenSocketOnNode(ConcurrentOpenSocketFinder.java:107) > at > org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:66) > at > org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:40) > at > org.jclouds.compute.callables.SudoAwareInitManager.init(SudoAwareInitManager.java:67) > at > org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh.init(RunScriptOnNodeAsInitScriptUsingSsh.java:64) > at > org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.init(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:77) > at > org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.init(RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete.java:38) > at > org.jclouds.compute.strategy.InitializeRunScriptOnNodeOrPlaceInBadMap.call(InitializeRunScriptOnNodeOrPlaceInBadMap.java:61) > at > org.jclouds.compute.strategy.InitializeRunScriptOnNodeOrPlaceInBadMap.call(InitializeRunScriptOnNodeOrPlaceInBadMap.java:34) > at > org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:121) > at > org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:144) > at > org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:50) > at com.google.common.util.concurrent.Futures$1.apply(Futures.java:713) > at > com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:861) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > > 1 error[s] > at > org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:229) > at > org.jclouds.compute.internal.BaseComputeServiceLiveTest.testCreateAnotherNodeWithANewContextToEnsureSharedMemIsntRequired(BaseComputeServiceLiveTest.java:461) > 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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) > at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) > at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) > at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) > at > org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) > at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) > at org.testng.TestRunner.privateRun(TestRunner.java:767) > at org.testng.TestRunner.run(TestRunner.java:617) > at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) > at org.testng.SuiteRunner.access$000(SuiteRunner.java:38) > at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382) > at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > testGetSerialPortOutput4(org.jclouds.googlecomputeengine.features.InstanceApiWindowsLiveTest) > Time elapsed: 607.012 sec <<< FAILURE! > java.lang.IllegalStateException: encryptedPassword shouldn't be null: null > at > org.jclouds.googlecomputeengine.compute.functions.ResetWindowsPassword.apply(ResetWindowsPassword.java:156) > at > org.jclouds.googlecomputeengine.compute.functions.ResetWindowsPassword.apply(ResetWindowsPassword.java:79) > at > org.jclouds.googlecomputeengine.features.InstanceApiWindowsLiveTest.testGetSerialPortOutput4(InstanceApiWindowsLiveTest.java:117) > ================== > > ================== > digitalocean2: > > Tests run: 67, Failures: 1, Errors: 0, Skipped: 10, Time elapsed: > 1,118.713 sec <<< FAILURE! - in TestSuite > testCreate(org.jclouds.digitalocean2.features.DropletApiLiveTest) Time > elapsed: 0.117 sec <<< FAILURE! > org.jclouds.http.HttpResponseException: command: POST > https://api.digitalocean.com/v2/droplets HTTP/1.1 failed with > response: HTTP/1.1 422 Unprocessable Entity; content: > [{"id":"unprocessable_entity","message":"Cannot create a droplet with > a smaller disk (20GB) than the image (30GB)."}] > at > org.jclouds.digitalocean2.handlers.DigitalOcean2ErrorHandler.handleError(DigitalOcean2ErrorHandler.java:43) > at > org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65) > at > org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:140) > at > org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:109) > at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90) > at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73) > at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44) > at > org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) > at > com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87) > at com.sun.proxy.$Proxy77.create(Unknown Source) > at > org.jclouds.digitalocean2.features.DropletApiLiveTest.testCreate(DropletApiLiveTest.java:75) > ================== > > On 30 June 2017 at 11:15, Geoff Macartney <geoff.macart...@cloudsoft.io> > wrote: >> Thanks Ignasi, >> >> JIRAs added. >> >> G >> >> On Thu, 29 Jun 2017 at 21:18 Ignasi Barrera <ignasi.barr...@gmail.com> >> wrote: >> >>> It is OK to reply here :) >>> >>> If the code is in 2.0.x (it is, IIRC) please open the JIRA and set the fix >>> versions as appropriate. The release notes will be published once 2.0.2 is >>> released, and we're still on time to amend them. >>> >>> On Jun 29, 2017 15:59, "Geoff Macartney" <geoff.macart...@cloudsoft.io> >>> wrote: >>> >>> Oops sorry, I replied to the "This thread is for discussion..." email but I >>> have maybe got the thread wrong.. >>> >>> On Thu, 29 Jun 2017 at 14:53 Geoff Macartney <geoff.macart...@cloudsoft.io >>>> >>> wrote: >>> >>>> Would it be worth including the InternetGatewayApi [1] and RouteTableApi >>>> [2], and maybe the ModifySubnetAttribute operation [3] in the SubnetApi, >>> to >>>> the release notes under New Features? I didn't create a JIRA for them >>>> that could be referenced in the notes, but maybe that could still be >>> done? >>>> >>>> Geoff >>>> >>>> [1] >>>> https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h= >>> cff2f87e113307a304fe10b1d6d850f1df91bc53 >>> <https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h=cff2f87e113307a304fe10b1d6d850f1df91bc53> >>>> [2] >>>> https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h= >>> b3d21f965288b44cadc750ff1dde2ec7ac45fff6 >>> <https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h=b3d21f965288b44cadc750ff1dde2ec7ac45fff6> >>>> [3] >>>> https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h= >>> ce0a0ad213a331cec53fae6309b32d73388adf7e >>> <https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=commit;h=ce0a0ad213a331cec53fae6309b32d73388adf7e> >>>> >>>> On Thu, 29 Jun 2017 at 13:58 Ignasi Barrera <n...@apache.org> wrote: >>>> >>>>> This thread is for discussion of the first release candidate for >>>>> Apache jclouds 2.0.2. Please use this thread for discussion of issues >>>>> uncovered in the RC, questions you may have about the RC, etc. >>>>> >>>>> Thank you! >>>>> >>>> >>>