Hi,

there were 6 other failures in the rest of Azure live tests in my environment.

Some of them could be related to the JCLOUDS-1198 or to the fact I had to 
change the LOCATION in BaseAzureComputeApiLiveTest from "West Europe" to "East 
US".
I'll investigate the issues as time allows.

Tests run: 98, Failures: 6, Errors: 0, Skipped: 6, Time elapsed: 12,540.676 sec 
<<< FAILURE! - in TestSuite
addToSubnet(org.jclouds.azurecompute.features.NetworkSecurityGroupApiLiveTest)  
Time elapsed: 2.963 sec  <<< FAILURE!
java.lang.AssertionError: expected [true] but found [false]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotEquals(Assert.java:494)
        at org.testng.Assert.assertTrue(Assert.java:42)
        at org.testng.Assert.assertTrue(Assert.java:52)
        at 
org.jclouds.azurecompute.features.NetworkSecurityGroupApiLiveTest.addToSubnet(NetworkSecurityGroupApiLiveTest.java:168)

getDefinitions(org.jclouds.azurecompute.features.TrafficManagerApiLiveTest)  
Time elapsed: 1.087 sec  <<< FAILURE!
java.lang.AssertionError: expected [null] but found [East US]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotSame(Assert.java:490)
        at org.testng.Assert.assertNull(Assert.java:426)
        at org.testng.Assert.assertNull(Assert.java:415)
        at 
org.jclouds.azurecompute.features.TrafficManagerApiLiveTest.getDefinitions(TrafficManagerApiLiveTest.java:138)

listDefinitions(org.jclouds.azurecompute.features.TrafficManagerApiLiveTest)  
Time elapsed: 1.103 sec  <<< FAILURE!
java.lang.AssertionError: expected [null] but found [East US]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotSame(Assert.java:490)
        at org.testng.Assert.assertNull(Assert.java:426)
        at org.testng.Assert.assertNull(Assert.java:415)
        at 
org.jclouds.azurecompute.features.TrafficManagerApiLiveTest.listDefinitions(TrafficManagerApiLiveTest.java:124)

testCreate(org.jclouds.azurecompute.features.VMImageApiLiveTest)  Time elapsed: 
3.915 sec  <<< FAILURE!
org.jclouds.http.HttpResponseException: command: POST 
https://management.core.windows.net/2586c64b-38b4-4527-a140-012d49dfc02c/services/vmimages
 HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [<Error 
xmlns="http://schemas.microsoft.com/windowsazure"; 
xmlns:i="http://www.w3.org/2001/XMLSchema-instance";><Code>BadRequest</Code><Message>The
 Vhd 
https://jcacek715vmimageapilivet.blob.core.windows.net/vhds/captured-image-os-2016-11-09.vhd
 was not found.</Message></Error>]
        at 
org.jclouds.azurecompute.handlers.AzureComputeErrorHandler.handleError(AzureComputeErrorHandler.java:44)
        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.$Proxy90.create(Unknown Source)
        at 
org.jclouds.azurecompute.features.VMImageApiLiveTest.testCreate(VMImageApiLiveTest.java:122)

tearDown(org.jclouds.azurecompute.features.VMImageApiLiveTest)  Time elapsed: 
63.67 sec  <<< FAILURE!
org.jclouds.http.HttpResponseException: command: DELETE 
https://management.core.windows.net/2586c64b-38b4-4527-a140-012d49dfc02c/services/storageservices/jcacek715vmimageapilivet
 HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [<Error 
xmlns="http://schemas.microsoft.com/windowsazure"; 
xmlns:i="http://www.w3.org/2001/XMLSchema-instance";><Code>BadRequest</Code><Message>Storage
 account jcacek715vmimageapilivet contains VM Images. Ensure these VM Images 
are removed before deleting this storage account.</Message></Error>]
        at 
org.jclouds.azurecompute.handlers.AzureComputeErrorHandler.handleError(AzureComputeErrorHandler.java:44)
        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.$Proxy80.delete(Unknown Source)
        at 
org.jclouds.azurecompute.internal.BaseAzureComputeApiLiveTest$1.operation(BaseAzureComputeApiLiveTest.java:101)
        at 
org.jclouds.azurecompute.util.ConflictManagementPredicate.apply(ConflictManagementPredicate.java:120)
        at 
org.jclouds.azurecompute.internal.BaseAzureComputeApiLiveTest.tearDown(BaseAzureComputeApiLiveTest.java:103)
        at 
org.jclouds.azurecompute.features.VMImageApiLiveTest.tearDown(VMImageApiLiveTest.java:207)

testWindowsNode(org.jclouds.azurecompute.compute.AzureComputeServiceContextLiveTest)
  Time elapsed: 8.224 sec  <<< FAILURE!
java.util.NoSuchElementException: 
imageId(a699494373c04fc0bc8f2bb1389d6106__Nano_TP4_Azure_20151118_8GB.vhd) not 
found
        at 
org.jclouds.compute.domain.internal.TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingImageIds(TemplateBuilderImpl.java:738)
        at 
org.jclouds.compute.domain.internal.TemplateBuilderImpl.loadImageWithId(TemplateBuilderImpl.java:720)
        at 
org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:673)
        at 
org.jclouds.azurecompute.compute.AzureComputeServiceContextLiveTest.testWindowsNode(AzureComputeServiceContextLiveTest.java:65)


Results :

Failed tests: 
  NetworkSecurityGroupApiLiveTest.addToSubnet:168 expected [true] but found 
[false]
  TrafficManagerApiLiveTest.getDefinitions:138 expected [null] but found [East 
US]
  TrafficManagerApiLiveTest.listDefinitions:124 expected [null] but found [East 
US]
  VMImageApiLiveTest.testCreate:122 » HttpResponse command: POST 
https://managem...
  VMImageApiLiveTest.tearDown:207->BaseAzureComputeApiLiveTest.tearDown:103 » 
HttpResponse
  AzureComputeServiceContextLiveTest.testWindowsNode:65 » NoSuchElement 
imageId(...

Tests run: 98, Failures: 6, Errors: 0, Skipped: 6

-- Josef

----- Original Message -----
> From: "Josef Cacek" <jca...@redhat.com>
> To: dev@jclouds.apache.org
> Sent: Wednesday, November 9, 2016 3:19:46 PM
> Subject: Re: [VOTE] Release Apache jclouds 2.0.0 RC2
> 
> 0 (Azurecompute - JCLOUDS-1198 - Virtual network Api issue)
> 
> Standard tests:
> 12 tests failing in labs/oneandone -> SharedStorageApiMockTest - NullPointer
> the rest is passing
> 
> Live tests:
> Docker - passing
> Azurecompute - failing
>   (Azure live tests didn't complete yet - the AzureComputeServiceLiveTest
>   takes long time to finish on my Azure subscription)
> 
> -- Josef

Reply via email to