[GitHub] [jclouds] nacx commented on issue #21: Adds methods listAll and listByLocation to VirtualMachineAPI

2019-05-14 Thread GitBox
nacx commented on issue #21: Adds methods listAll and listByLocation to 
VirtualMachineAPI
URL: https://github.com/apache/jclouds/pull/21#issuecomment-492505274
 
 
   >  after several tests, the case sensitivity problem will not affect the 
jclouds provider
   
   Then I understand adding the changes to the abstraction is not a big deal, 
right? Look forward to seeing that added to this PR.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] nacx commented on a change in pull request #30: Checks provisioning state in Rule resource instead of Group

2019-05-14 Thread GitBox
nacx commented on a change in pull request #30: Checks provisioning state in 
Rule resource instead of Group
URL: https://github.com/apache/jclouds/pull/30#discussion_r284087500
 
 

 ##
 File path: 
providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/extensions/AzureComputeSecurityGroupExtension.java
 ##
 @@ -295,9 +295,10 @@ public boolean apply(NetworkSecurityRule input) {
   for (NetworkSecurityRule matchingRule : rules) {
  logger.debug(">> deleting network security rule %s from %s...", 
matchingRule.name(), group.getName());
  ruleApi.delete(matchingRule.name());
- checkState(
-   
securityGroupAvailable.create(resourceGroupAndName.resourceGroup()).apply(networkSecurityGroup.name()),
-   "Security group was not updated in the configured timeout");
+ URI uri = 
api.getNetworkSecurityRuleApi(resourceGroupAndName.resourceGroup(), 
networkSecurityGroup.name()).delete(resourceGroupAndName.name());
 
 Review comment:
   This looks wrong:
   * The rule is already being deleted in line 297.
   * You are passing the security group name to the delete method, not the rule 
name.
   
   Remove this line, capture the URL in line 297 and check on that.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] nacx commented on a change in pull request #30: Checks provisioning state in Rule resource instead of Group

2019-05-14 Thread GitBox
nacx commented on a change in pull request #30: Checks provisioning state in 
Rule resource instead of Group
URL: https://github.com/apache/jclouds/pull/30#discussion_r284087752
 
 

 ##
 File path: 
providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/extensions/AzureComputeSecurityGroupExtension.java
 ##
 @@ -295,9 +295,10 @@ public boolean apply(NetworkSecurityRule input) {
   for (NetworkSecurityRule matchingRule : rules) {
  logger.debug(">> deleting network security rule %s from %s...", 
matchingRule.name(), group.getName());
  ruleApi.delete(matchingRule.name());
- checkState(
-   
securityGroupAvailable.create(resourceGroupAndName.resourceGroup()).apply(networkSecurityGroup.name()),
-   "Security group was not updated in the configured timeout");
+ URI uri = 
api.getNetworkSecurityRuleApi(resourceGroupAndName.resourceGroup(), 
networkSecurityGroup.name()).delete(resourceGroupAndName.name());
+ if (uri != null) {
+resourceDeleted.apply(uri);
 
 Review comment:
   Let's capture the result and verify with `checkState` to keep the current 
behavior and feedback.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] danielestevez opened a new pull request #30: Checks provisioning state in Rule resource instead of Group

2019-05-14 Thread GitBox
danielestevez opened a new pull request #30: Checks provisioning state in Rule 
resource instead of Group
URL: https://github.com/apache/jclouds/pull/30
 
 
   * We were checking the provisioningState security group resource. When 
updating rules concurrently this check returns OK (the security group is ok) 
but the actual rules are still being updated (created/deleted) causing random 
problems.
   
   * PR implements provisioningState in `NetworkSecurityRuleProperties` to do 
this check properly 
(https://docs.microsoft.com/en-us/rest/api/virtualnetwork/securityrules/get#securityrule)
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] nacx commented on a change in pull request #21: Adds methods listAll and listByLocation to VirtualMachineAPI

2019-05-14 Thread GitBox
nacx commented on a change in pull request #21: Adds methods listAll and 
listByLocation to VirtualMachineAPI
URL: https://github.com/apache/jclouds/pull/21#discussion_r283922598
 
 

 ##
 File path: 
providers/azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceLiveTest.java
 ##
 @@ -67,6 +75,30 @@ public void initializeContext() {
   }, Names.named(TIMEOUT_RESOURCE_DELETED)));
}
 
+   @Test(dependsOnMethods = "testSuspendResume")
+   @Override
+   public void testListNodesByIds() {
+  final Set nodeIds = copyOf(transform(nodes, new 
Function() {
+
+ @Override
+ public String apply(NodeMetadata from) {
+return from.getId();
+ }
+
+  }));
+
+  final Set listedNodes = 
client.listNodesByIds(nodeIds);
+
+  assertEquals(listedNodes.size(), nodes.size());
+
+  for (ComputeMetadata listedNode : listedNodes) {
 
 Review comment:
   This is an Azure particular behavior and I see no point in modifying a test 
that works consistently across providers just for the Azure case-insensitive 
stuff. Let's override and add a proper comment.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] danielestevez commented on a change in pull request #21: Adds methods listAll and listByLocation to VirtualMachineAPI

2019-05-14 Thread GitBox
danielestevez commented on a change in pull request #21: Adds methods listAll 
and listByLocation to VirtualMachineAPI
URL: https://github.com/apache/jclouds/pull/21#discussion_r283888904
 
 

 ##
 File path: 
providers/azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceLiveTest.java
 ##
 @@ -67,6 +75,30 @@ public void initializeContext() {
   }, Names.named(TIMEOUT_RESOURCE_DELETED)));
}
 
+   @Test(dependsOnMethods = "testSuspendResume")
+   @Override
+   public void testListNodesByIds() {
+  final Set nodeIds = copyOf(transform(nodes, new 
Function() {
+
+ @Override
+ public String apply(NodeMetadata from) {
+return from.getId();
+ }
+
+  }));
+
+  final Set listedNodes = 
client.listNodesByIds(nodeIds);
+
+  assertEquals(listedNodes.size(), nodes.size());
+
+  for (ComputeMetadata listedNode : listedNodes) {
 
 Review comment:
   Sorry, i just added the commits but was writing the explanation:
   * First, after several tests, the case sensitivity problem will not affect 
the jclouds provider
   * The only problem is this test, which uses the `Iterables.elementsEqual` 
method to compare the node list. This one makes really strict validations 
(entered in this 
[commit](https://github.com/apache/jclouds/commit/c566418d87e7b9337e57efed03a6a5e5524e690b#diff-7f014b2e6f9ed5629b02d2b1085e32f7R578)
 ) like the order and case sensitivity. In Azure we could have some fields (as 
`providerId`) changing case. (Note also than other tests like `testListNodes`, 
`testGet` or `testGetNodesWithDetails` actually do a much more relaxed 
validation)
   * I'd really prefer to change the original method but i don't understand why 
it has all of those validations. IMHO the base method should make lesser 
validations and the overrode methods could add more validations if needed. 

   To be discussed! We could
   
   1. Override this one and add a comment
   2. Change the base method


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


Jenkins build is back to normal : jclouds-with-credentials » jclouds-compute-delete-all #37

2019-05-14 Thread Apache Jenkins Server
See 




Build failed in Jenkins: jclouds-with-credentials » jclouds-compute-delete-all #36

2019-05-14 Thread Apache Jenkins Server
See 


--
[...truncated 201.87 KB...]
[INFO] Copying artifact: org.apache.jclouds.labs:cloudsigma2:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.labs:cloudsigma2-sjc:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.apache.jclouds.provider:aws-s3:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.apache.jclouds.labs:cloudsigma2:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.apache.jclouds.api:docker:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.apache.jclouds:jclouds-blobstore:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.common:openstack-common:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.api:openstack-nova-ec2:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:elastichosts-lon-p:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:rackspace-cloudservers-uk:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.yaml:snakeyaml:jar:1.17
[INFO] Copying artifact: org.apache.jclouds.api:byon:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.ow2.asm:asm-all:jar:5.0.4
[INFO] Copying artifact: org.apache.aries:org.apache.aries.util:jar:1.1.1
[INFO] Copying artifact: 
org.apache.aries.proxy:org.apache.aries.proxy.api:jar:1.0.1
[INFO] Copying artifact: 
org.apache.aries.proxy:org.apache.aries.proxy.impl:jar:1.0.5
[INFO] Copying artifact: 
org.apache.jclouds.api:rackspace-cloudidentity:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: javax.ws.rs:javax.ws.rs-api:jar:2.0.1
[INFO] Copying artifact: com.google.guava:guava:jar:18.0
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.oauth-commons:jar:20100527_1
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.jersey-core:jar:1.11_1
[INFO] Copying artifact: com.google.code.gson:gson:jar:2.5
[INFO] Copying artifact: org.apache.jclouds:jclouds-core:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:azureblob:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:digitalocean2:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.ops4j.pax.url:pax-url-wrap:jar:uber:2.5.2
[INFO] Copying artifact: 
org.apache.jclouds:jclouds-scriptbuilder:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.karaf.log:org.apache.karaf.log.core:jar:4.0.9
[INFO] Copying artifact: org.apache.jclouds.provider:aws-ec2:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.driver:jclouds-slf4j:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.apache.jclouds.karaf.chef:cache:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.karaf.chef:services:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.karaf.chef:commands:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.aries.blueprint:org.apache.aries.blueprint.api:jar:1.0.1
[INFO] Copying artifact: 
org.apache.aries.blueprint:org.apache.aries.blueprint.cm:jar:1.0.9
[INFO] Copying artifact: 
org.apache.aries.blueprint:org.apache.aries.blueprint.core.compatibility:jar:1.0.0
[INFO] Copying artifact: 
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.7.1
[INFO] Copying artifact: 
org.apache.karaf.bundle:org.apache.karaf.bundle.blueprintstate:jar:4.0.9
[INFO] Copying artifact: org.apache.jclouds.api:elasticstack:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:rackspace-cloudservers-us:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: org.apache.jclouds.labs:cloudsigma2:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.labs:cloudsigma2-lvs:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:softlayer:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.api:rackspace-cloudfiles:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.java-xmlbuilder:jar:1.1_1
[INFO] Copying artifact: org.apache.jclouds.api:s3:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.common:googlecloud:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.jclouds.provider:google-cloud-storage:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.javax-inject:jar:1_1
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.aopalliance:jar:1.0_5
[INFO] Copying artifact: com.google.inject:guice:jar:3.0
[INFO] Copying artifact: 
com.google.inject.extensions:guice-assistedinject:jar:3.0
[INFO] Copying artifact: 
com.google.inject.extensions:guice-multibindings:jar:3.0
[INFO] Copying artifact: org.apache.jclouds.api:oauth:jar:2.2.0-SNAPSHOT
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.okio:jar:1.2.0_1
[INFO] Copying artifact: 
org.apache.servicemix.bundles:org.apache.servicemix.bundles.okhttp:jar:2.2.0_1
[INFO] Copying artifact: 

Re: [jclouds/jclouds] Add ARM architecture to ec2 image and the related instance types (#1275)

2019-05-14 Thread Sergi Castro
Nice!
Will keep in mind!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1275#issuecomment-492173329

Build failed in Jenkins: jclouds-karaf #76

2019-05-14 Thread Apache Jenkins Server
See 

--
Started by upstream project "jclouds-labs" build number 50
originally caused by:
 Started by upstream project "jclouds" build number 57
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu xenial) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1810)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: fatal: repository 
'https://gitbox.apache.org/repos/asf/jclouds-karaf.git/' not found

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H28
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor927.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy115.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 

Build failed in Jenkins: 2.1.x » jclouds-karaf-2.1.x #64

2019-05-14 Thread Apache Jenkins Server
See 


--
Started by upstream project "jclouds-2.1.x/jclouds-labs-2.1.x" build number 45
originally caused by:
 Started by upstream project "jclouds-2.1.x/jclouds-2.1.x" build number 39
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H39 (ubuntu xenial) in workspace 

No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git init 
 >  # 
 > timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: fatal: repository 
'https://gitbox.apache.org/repos/asf/jclouds-karaf.git/' not found

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:655)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H39
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor927.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy134.execute(Unknown Source)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1810)
at 
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at 
hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > 

Build failed in Jenkins: jclouds-karaf #75

2019-05-14 Thread Apache Jenkins Server
See 

--
Started by upstream project "jclouds" build number 57
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H31 (ubuntu xenial) in workspace 

No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git init  # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: fatal: repository 
'https://gitbox.apache.org/repos/asf/jclouds-karaf.git/' not found

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:655)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H31
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor927.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy134.execute(Unknown Source)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1810)
at 
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at 
hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
at 

Build failed in Jenkins: 2.1.x » jclouds-karaf-2.1.x #63

2019-05-14 Thread Apache Jenkins Server
See 


--
Started by upstream project "jclouds-2.1.x/jclouds-2.1.x" build number 39
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H31 (ubuntu xenial) in workspace 

No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git init 
 >  # 
 > timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --progress 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: fatal: repository 
'https://gitbox.apache.org/repos/asf/jclouds-karaf.git/' not found

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:655)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H31
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor927.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy134.execute(Unknown Source)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1810)
at 
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at 
hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: Error cloning remote repo 'origin'
Retrying after 10 seconds
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git # timeout=10
Fetching upstream changes from 
https://gitbox.apache.org/repos/asf/jclouds-karaf.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://gitbox.apache.org/repos/asf/jclouds-karaf.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch 

[GitHub] [jclouds] nacx commented on issue #29: JCLOUDS-1500: Update gson to 2.8.5

2019-05-14 Thread GitBox
nacx commented on issue #29: JCLOUDS-1500: Update gson to 2.8.5
URL: https://github.com/apache/jclouds/pull/29#issuecomment-492115722
 
 
   @nictas we're actively discussing this in 
[JCLOUDS-1166](https://issues.apache.org/jira/browse/JCLOUDS-1166). Your 
feedback would be valuable too, so please, feel free to comment on the issue.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] nictas commented on issue #29: JCLOUDS-1500: Update gson to 2.8.5

2019-05-14 Thread GitBox
nictas commented on issue #29: JCLOUDS-1500: Update gson to 2.8.5
URL: https://github.com/apache/jclouds/pull/29#issuecomment-492110191
 
 
   We really need this, since we're also using 
https://mvnrepository.com/artifact/org.immutables/gson/2.7.5 in our project, 
but it depends on Gson 2.8.5. Is there any timeline for when this is going to 
be released?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [jclouds] nacx commented on a change in pull request #21: Adds methods listAll and listByLocation to VirtualMachineAPI

2019-05-14 Thread GitBox
nacx commented on a change in pull request #21: Adds methods listAll and 
listByLocation to VirtualMachineAPI
URL: https://github.com/apache/jclouds/pull/21#discussion_r283652032
 
 

 ##
 File path: 
providers/azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceLiveTest.java
 ##
 @@ -67,6 +75,30 @@ public void initializeContext() {
   }, Names.named(TIMEOUT_RESOURCE_DELETED)));
}
 
+   @Test(dependsOnMethods = "testSuspendResume")
+   @Override
+   public void testListNodesByIds() {
+  final Set nodeIds = copyOf(transform(nodes, new 
Function() {
+
+ @Override
+ public String apply(NodeMetadata from) {
+return from.getId();
+ }
+
+  }));
+
+  final Set listedNodes = 
client.listNodesByIds(nodeIds);
+
+  assertEquals(listedNodes.size(), nodes.size());
+
+  for (ComputeMetadata listedNode : listedNodes) {
 
 Review comment:
   Please add a comment explaining the justification for overriding this method 
to do more relaxed validations here.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


Re: [jclouds/jclouds] Add ARM architecture to ec2 image and the related instance types (#1275)

2019-05-14 Thread Ignasi Barrera
Closed #1275.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1275#event-2339073250

Re: [jclouds/jclouds] Add ARM architecture to ec2 image and the related instance types (#1275)

2019-05-14 Thread Ignasi Barrera
Thanks! Merged to master and 2.1.x. For subsequent PRs please update your fork 
and submit them to https://github.com/apache/jclouds as we've moved there. Once 
the pending PRs in this one are merged this repo will be archived.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1275#issuecomment-492105314

[jira] [Commented] (JCLOUDS-1166) Remove uses of the 'com.google.gson.internal' package

2019-05-14 Thread Ignasi Barrera (JIRA)


[ 
https://issues.apache.org/jira/browse/JCLOUDS-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16839154#comment-16839154
 ] 

Ignasi Barrera commented on JCLOUDS-1166:
-

[~oflebbe] [~andrewp] thoughts on my comment?

> Remove uses of the 'com.google.gson.internal' package
> -
>
> Key: JCLOUDS-1166
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1166
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-chef, jclouds-core
>Affects Versions: 1.9.2
>Reporter: Ignasi Barrera
>Priority: Major
>  Labels: gson
>
> Starting from Gson 2.6, the {{com.google.gson.internal}} packages are no 
> longer exported in the OSGi bundles. This makes it impossible to use jclouds 
> in an OSGi environment if upgrading to such versions of Gson.
> There is no change to add the exports back for that package (see [this 
> discussion|https://github.com/google/gson/pull/916]), so we should stop using 
> those classes.
> See also: http://markmail.org/message/olgebygfgdy3hwtm



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)