jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Flanagan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-1405) Dimension Data Live Tests Broken - Domain classes for Server and Image with List nics incorrect
Date Mon, 09 Apr 2018 13:05:00 GMT
Trevor Flanagan created JCLOUDS-1405:
----------------------------------------

             Summary: Dimension Data Live Tests Broken - Domain classes for Server and Image
with List nics incorrect
                 Key: JCLOUDS-1405
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1405
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-labs
    Affects Versions: 2.1.0
            Reporter: Trevor Flanagan


{{org.jclouds.dimensiondata.cloudcontrol.features.ServerApiLiveTest#testDeployAndStartServer()}}
is broken due to a change in response payload. Used to return empty list for additionalNics
now returns null.
{code:java}
org.jclouds.http.HttpResponseException: Error parsing input: Null additionalNic
{statusCode=200, message=200, headers={Connection=[close], Date=[Tue, 20 Feb 2018 06:38:03
GMT]}, payload=[content=true, contentMetadata=[cacheControl=null, contentDisposition=null,
contentEncoding=null, contentLanguage=null, contentLength=1015, contentMD5=null, contentType=application/json,
expires=null], written=false, isSensitive=false]}
	at org.jclouds.dimensiondata.cloudcontrol.domain.AutoValue_NetworkInfo$Builder.additionalNic(AutoValue_NetworkInfo.java:108)
	at org.jclouds.dimensiondata.cloudcontrol.domain.NetworkInfo.create(NetworkInfo.java:43)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.reflect.Invokable$MethodInvokable.invokeInternal(Invokable.java:197)
	at com.google.common.reflect.Invokable.invoke(Invokable.java:102)
	at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.newInstance(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:225)
	at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:205)
	at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$ParameterReader.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:273)
	at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.java:185)
	at com.google.gson.Gson.fromJson(Gson.java:861)
	at com.google.gson.Gson.fromJson(Gson.java:826)
	at org.jclouds.json.internal.GsonWrapper.fromJson(GsonWrapper.java:55)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:82)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:76)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:61)
	at org.jclouds.http.functions.ParseJson.apply(ParseJson.java:41)
	at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
	at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
	at com.sun.proxy.$Proxy47.getServer(Unknown Source)
	at org.jclouds.dimensiondata.cloudcontrol.config.DimensionDataCloudControlComputeServiceContextModule$ServerStatus.apply(DimensionDataCloudControlComputeServiceContextModule.java:191)
	at org.jclouds.dimensiondata.cloudcontrol.config.DimensionDataCloudControlComputeServiceContextModule$ServerStatus.apply(DimensionDataCloudControlComputeServiceContextModule.java:175)
	at org.jclouds.util.Predicates2$RetryablePredicate.apply(Predicates2.java:117)
	at org.jclouds.dimensiondata.cloudcontrol.features.ServerApiLiveTest.testDeployAndStartServer(ServerApiLiveTest.java:65){code}
Similar issues occuring for:

{{org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testGetCustomerImage}}

{{org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testListCustomerImages}}

{{org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testGetOsImage}}

{{org.jclouds.dimensiondata.cloudcontrol.features.ServerImageApiLiveTest#testListOsImages}}

 



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

Mime
View raw message