Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-27 Thread Andrea Turli
Closed #317.

-- 
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-labs/pull/317#event-803805178

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-27 Thread Andrea Turli
merged at 
[master](http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/c458bafd)

-- 
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-labs/pull/317#issuecomment-249864763

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-27 Thread Ignasi Barrera
Absolutely! You rock!

-- 
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-labs/pull/317#issuecomment-249854724

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-27 Thread Andrea Turli
@andreaturli pushed 1 commit.

1bf9d27  fix VirtualMachineLiveTest


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/317/files/071c533908fc8e908074f0bd6fc6deb75d325782..1bf9d272b61efae7ab5d2b9a18674a43898d73b8


Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-27 Thread Andrea Turli
@nacx I think we are good to merge this
```
Results :

Failed tests:
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCompareSizes:887->BaseComputeServiceLiveTest.doCompareSizes:891
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCreateAndRunAService:733->BaseComputeServiceLiveTest.createAndRunAServiceInGroup:747->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testImageById:212 » 
Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testOptionToNotBlock:850->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testWeCanCancelTasks:282->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testTemplateMatch:341->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testTemplateBuilderWithLoginUserSpecified:189->BaseTemplateBuilderLiveTest.tryOverrideUsingPropertyKey:213
 expected [[user=foo, passwordPresent=true, privateKeyPresent=false, 
shouldAuthenticateSudo=true]] but found [[user=jclouds, passwordPresent=true, 
privateKeyPresent=false, shouldAuthenticateSudo=false]]
  
AzureComputeImageExtensionLiveTest>BaseImageExtensionLiveTest.testCreateImage:100
 » RunNodes

Tests run: 108, Failures: 8, Errors: 0, Skipped: 17
```

-- 
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-labs/pull/317#issuecomment-249843346

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-27 Thread Andrea Turli
@nacx I think we are good to merge this
```
Results :

Failed tests:
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCompareSizes:887->BaseComputeServiceLiveTest.doCompareSizes:891
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCreateAndRunAService:733->BaseComputeServiceLiveTest.createAndRunAServiceInGroup:747->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testImageById:212 » 
Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testOptionToNotBlock:850->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testWeCanCancelTasks:282->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testTemplateMatch:341->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testTemplateBuilderWithLoginUserSpecified:189->BaseTemplateBuilderLiveTest.tryOverrideUsingPropertyKey:213
 expected [[user=foo, passwordPresent=true, privateKeyPresent=false, 
shouldAuthenticateSudo=true]] but found [[user=jclouds, passwordPresent=true, 
privateKeyPresent=false, shouldAuthenticateSudo=false]]
  
AzureComputeImageExtensionLiveTest>BaseImageExtensionLiveTest.testCreateImage:100
 » RunNodes

Tests run: 108, Failures: 8, Errors: 0, Skipped: 17
```

-- 
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-labs/pull/317#issuecomment-249843116

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-26 Thread Andrea Turli
@andreaturli pushed 1 commit.

071c533  fix checkstyle


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/317/files/388177aa18ed03c633a3216f7dbc15be2c51..071c533908fc8e908074f0bd6fc6deb75d325782


Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-26 Thread Ignasi Barrera
Yay! This is great progress @andreaturli!

-- 
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-labs/pull/317#issuecomment-249677283

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-26 Thread Andrea Turli
```
Results :

Failed tests:
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCompareSizes:887->BaseComputeServiceLiveTest.doCompareSizes:891
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCreateAndRunAService:733->BaseComputeServiceLiveTest.createAndRunAServiceInGroup:747->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testImageById:212 » 
Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testOptionToNotBlock:850->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testWeCanCancelTasks:282->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testTemplateMatch:341->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testTemplateBuilderWithLoginUserSpecified:189->BaseTemplateBuilderLiveTest.tryOverrideUsingPropertyKey:213
 expected [[user=foo, passwordPresent=true, privateKeyPresent=false, 
shouldAuthenticateSudo=true]] but found [[user=jclouds, passwordPresent=true, 
privateKeyPresent=false, shouldAuthenticateSudo=false]]
  
AzureComputeImageExtensionLiveTest>BaseImageExtensionLiveTest.testCreateImage:100
 » RunNodes
  VirtualMachineApiLiveTest.testCapture:192 » Runtime error reading from 
stream,...

Tests run: 110, Failures: 9, Errors: 0, Skipped: 17
```

where

```
testCapture(org.jclouds.azurecompute.arm.features.VirtualMachineApiLiveTest)  
Time elapsed: 0.279 sec  <<< FAILURE!
java.lang.RuntimeException: error reading from stream, parsing object named 
[resources] from http response {statusCode=202, message=Accepted, 
headers={Date=[Mon, 26 Sep 2016 16:27:04 GMT], 
Location=[https://management.azure.com/subscriptions/610bba05-d7a7-4567-96af-48ecbd09453b/providers/Microsoft.Compute/locations/westeurope/operations/2f1407a3-5130-4538-83b5-afa64606fb0a?monitor=true&api-version=2015-06-15],
 OkHttp-Received-Millis=[1474907225580], OkHttp-Selected-Protocol=[http/1.1], 
OkHttp-Sent-Millis=[1474907225479], Pragma=[no-cache], 
Server=[Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0], 
Strict-Transport-Security=[max-age=31536000; includeSubDomains], 
x-ms-correlation-request-id=[74db5cce-8a6d-483f-b2f4-eaff4d1d70f1], 
x-ms-ratelimit-remaining-subscription-reads=[14310], 
x-ms-request-id=[b86aa0d1-4305-433f-a714-2bd7ccda2b3c], 
x-ms-routing-request-id=[WESTEUROPE:20160926T162705Z:74db5cce-8a6d-483f-b2f4-eaff4d1d70f1],
 x-ms-served-by=[829aaa51-e3b6-4886-885b-e8d2c2a9415c_131191600707625458]}, 
payload=[content=true, contentMetadata=[cacheControl=no-cache, 
contentDisposition=null, contentEncoding=null, contentLanguage=null, 
contentLength=0, contentMD5=null, contentType=application/unknown, expires=Thu 
Jan 01 01:00:00 CET 1970], written=false, isSensitive=false]}
at 
com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1415)
at 
com.google.gson.stream.JsonReader.consumeNonExecutePrefix(JsonReader.java:1582)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:538)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:429)
at 
org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(ParseFirstJsonValueNamed.java:73)
at 
org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(ParseFirstJsonValueNamed.java:44)
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.$Proxy90.captureStatus(Unknown Source)
at 
org.jclouds.azurecompute.arm.compute.config.AzureComputeServiceContextModule$ImageDonePredicate.apply(AzureComputeServiceContextModule.java:265)
at 
org.jclouds.azurecompute.arm.compute.config.AzureComputeServiceContextModule$ImageDonePredicate.apply(AzureComputeServiceContextModule.java:253)
at 
org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:117)
at 
org.jclouds.azurecompute.arm.features.VirtualMachineApiLiveTest.testCapture(VirtualMachineApiLiveTest.java:192)
```

hope to fix it soon

-- 
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-labs/pull/317#issuecomment-249623532

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-23 Thread Andrea Turli
New results
```
Failed tests:
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCompareSizes:887->BaseComputeServiceLiveTest.doCompareSizes:891
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCreateAndRunAService:733->BaseComputeServiceLiveTest.createAndRunAServiceInGroup:747->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testImageById:212 » 
Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testOptionToNotBlock:850->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testWeCanCancelTasks:282->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testTemplateMatch:341->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testGetAssignableLocations:104->BaseTemplateBuilderLiveTest.assertProvider:225
 Sets differ: expected [US-IA, US-VA, US-IL, US-TX, US-CA, IE, NL, HK, SG, 
JP-11, JP-27, BR, AU-NSW, AU-VIC] but got [US-IA, US-VA, US-IL, US-TX, US-CA, 
IE, NL, HK, SG, JP-11, JP-27, BR, AU-NSW, AU-VIC, IN-GA, IN-TN, IN-MH, CN-SH, 
CN-BJ, CA-ON, CA-QC]
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testTemplateBuilderWithLoginUserSpecified:189->BaseTemplateBuilderLiveTest.tryOverrideUsingPropertyKey:213
 expected [[user=foo, passwordPresent=true, privateKeyPresent=false, 
shouldAuthenticateSudo=true]] but found [[user=jclouds, passwordPresent=true, 
privateKeyPresent=false, shouldAuthenticateSudo=false]]
  
AzureComputeImageExtensionLiveTest>BaseImageExtensionLiveTest.testCreateImage:100
 » RunNodes
  DeploymentApiLiveTest.testValidate:160 expected object to not be null
  VirtualMachineApiLiveTest.testStop:141 » NullPointer
  VirtualMachineApiLiveTest.tearDown:100->deleteStorageService:314 » 
ResourceNotFound

Tests run: 109, Failures: 12, Errors: 0, Skipped: 20
```
almost there!


-- 
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-labs/pull/317#issuecomment-249197933

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-23 Thread Andrea Turli
@andreaturli pushed 1 commit.

388177a  fix some live tests more


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/317/files/342666fe60a3c1ec24919a99cde90b6d27dcc9ad..388177aa18ed03c633a3216f7dbc15be2c51


Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-22 Thread Andrea Turli
@andreaturli pushed 1 commit.

342666f  fix create network card interface


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/317/files/e1e3a687b13f90ca133ac69ea46c0499d92d63ff..342666fe60a3c1ec24919a99cde90b6d27dcc9ad


Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-21 Thread Andrea Turli
```
Failed tests:
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCompareSizes:887->BaseComputeServiceLiveTest.doCompareSizes:891
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testCreateAndRunAService:733->BaseComputeServiceLiveTest.createAndRunAServiceInGroup:747->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testImageById:212 » 
Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testOptionToNotBlock:850->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testWeCanCancelTasks:282->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureComputeServiceLiveTest>BaseComputeServiceLiveTest.testTemplateMatch:341->BaseComputeServiceLiveTest.buildTemplate:541
 » Provision
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testGetAssignableLocations:104->BaseTemplateBuilderLiveTest.assertProvider:225
 Sets differ: expected [US-IA, US-VA, US-IL, US-TX, US-CA, IE, NL, HK, SG, 
JP-11, JP-27, BR, AU-NSW, AU-VIC] but got [US-IA, US-VA, US-IL, US-TX, US-CA, 
IE, NL, HK, SG, JP-11, JP-27, BR, AU-NSW, AU-VIC, IN-GA, IN-TN, IN-MH, CN-SH, 
CN-BJ, CA-ON, CA-QC]
  
AzureTemplateBuilderLiveTest>BaseTemplateBuilderLiveTest.testTemplateBuilderWithLoginUserSpecified:189->BaseTemplateBuilderLiveTest.tryOverrideUsingPropertyKey:213
 expected [[user=foo, passwordPresent=true, privateKeyPresent=false, 
shouldAuthenticateSudo=true]] but found [[user=jclouds, passwordPresent=true, 
privateKeyPresent=false, shouldAuthenticateSudo=false]]
  
AzureComputeImageExtensionLiveTest>BaseImageExtensionLiveTest.testCreateImage:106
 » Execution
  NetworkInterfaceCardApiLiveTest.createNetworkInterfaceCard:89 » HttpResponse 
c...
  NetworkSecurityGroupApiLiveTest.deleteNetworkSecurityGroupDoesNotExist:61 » 
IllegalState
  NetworkSecurityRuleApiLiveTest.deleteNetworkSecurityRuleDoesNotExist:86 » 
IllegalState
  SubnetApiLiveTest.deleteSubnetResourceDoesNotExist:61 expected [false] but 
found [true]
  VirtualNetworkApiLiveTest.deleteVirtualNetworkResourceDoesNotExist:56 
expected [false] but found [true]
  PublicIPAddressApiLiveTest.getPublicIPAddress:103 » NullPointer
  PublicIPAddressApiLiveTest.listPublicIPAddresses:126 expected [true] but 
found [false]
  
NetworkSecurityGroupApiLiveTest.tearDown:56->BaseAzureComputeApiLiveTest.deleteResourceGroup:144
 » NullPointer
  
NetworkSecurityRuleApiLiveTest.tearDown:81->BaseAzureComputeApiLiveTest.deleteResourceGroup:144
 » NullPointer
  PublicIPAddressApiLiveTest.deletePublicIPAddress:132 » ResourceNotFound 
org.jc...
  
PublicIPAddressApiLiveTest.tearDown:56->BaseAzureComputeApiLiveTest.deleteResourceGroup:144
 » NullPointer
  SubnetApiLiveTest.deleteSubnet:92 » ResourceNotFound 
org.jclouds.http.HttpResp...
  
SubnetApiLiveTest.tearDown:55->BaseAzureComputeApiLiveTest.deleteResourceGroup:144
 » NullPointer
  VirtualNetworkApiLiveTest.deleteVirtualNetwork:89 » ResourceNotFound 
org.jclou...
  
VirtualNetworkApiLiveTest.tearDown:50->BaseAzureComputeApiLiveTest.deleteResourceGroup:144
 » NullPointer
  
VirtualMachineApiLiveTest.setup:82->BaseAzureComputeApiLiveTest.getOrCreateNetworkInterfaceCard:245
 » HttpResponse

Tests run: 116, Failures: 25, Errors: 0, Skipped: 47
```

-- 
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-labs/pull/317#issuecomment-248647285

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-15 Thread Andrea Turli
@nacx happy to share the live tests results, **but** it would be useful to 
merge first https://github.com/jclouds/jclouds-labs/pull/308 as it speed up the 
live tests significantely

-- 
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-labs/pull/317#issuecomment-247308864

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-15 Thread Andrea Turli
@andreaturli pushed 3 commits.

79c8f32  add image publishers filter to AzureComputeServiceLiveTest
eefa3bd  add parser module to provider
de2d18b  fix checkstyle


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/317/files/9c9ae7e491b9636c1455c09d2c6f37933d4b7638..de2d18b992386ed07e9a1b88ecd7135145c5640a


Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-14 Thread Ignasi Barrera
Can you share the live test output after this change?
The base compute service has some issues regarding access to the VM. I will be 
able to allocate some time to look at it next week, so I wouldn't worry about 
those.

-- 
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-labs/pull/317#issuecomment-247082829

Re: [jclouds/jclouds-labs] fix azure-arm features live tests (#317)

2016-09-14 Thread Ignasi Barrera
Build failed due to checkstyle errors:
https://jclouds.ci.cloudbees.com/job/jclouds-labs-pull-requests/1447/org.apache.jclouds.labs$azurecompute-arm/violations/

-- 
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-labs/pull/317#issuecomment-247082444