Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-914

Elastichosts Live test failures for drive API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • jclouds-compute

    Description

      When running the live tests against the new Miami region 3 tests using the drive api fail with the same error.

      The tests are
      ElasticHostsMiamiApiLiveTest.testGetDrive
      ElasticHostsMiamiApiLiveTest.testListDrives
      ElasticHostsMiamiApiLiveTest.testListStandardDrives

      The Error is

      org.jclouds.http.HttpException: Couldn't receive response {statusCode=200, message=OK, headers={Transfer-Encoding=[chunked], Cache-Control=[no-cache], Server=[BaseHTTP/0.3 Python/2.6.6], Date=[Thu, 28 May 2015 08:36:07 GMT], X-API-Version=[2.0.0]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=text/plain, expires=null], written=false]}, payload: null 
      	at org.jclouds.http.functions.ReturnStringIf2xx.apply(ReturnStringIf2xx.java:45)
      	at org.jclouds.elasticstack.functions.SplitNewlines.apply(SplitNewlines.java:42)
      	at org.jclouds.elasticstack.functions.SplitNewlines.apply(SplitNewlines.java:1)
      	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:1)
      	at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156)
      	at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123)
      	at com.sun.proxy.$Proxy53.listDrives(Unknown Source)
      	at org.jclouds.elasticstack.ElasticStackApiLiveTest.testListDrives(ElasticStackApiLiveTest.java:114)
      	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:483)
      	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.runSequentially(SuiteRunner.java:343)
      	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
      	at org.testng.SuiteRunner.run(SuiteRunner.java:254)
      	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      	at org.testng.TestNG.run(TestNG.java:1057)
      	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
      	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
      	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
      Caused by: java.io.IOException: missing CR
      	at sun.net.www.http.ChunkedInputStream.processRaw(ChunkedInputStream.java:405)
      	at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:572)
      	at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609)
      	at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696)
      	at java.io.FilterInputStream.read(FilterInputStream.java:133)
      	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3322)
      	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
      	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
      	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
      	at java.io.InputStreamReader.read(InputStreamReader.java:184)
      	at java.io.Reader.read(Reader.java:100)
      	at com.google.common.io.CharStreams.copy(CharStreams.java:182)
      	at com.google.common.io.CharStreams.toStringBuilder(CharStreams.java:229)
      	at com.google.common.io.CharStreams.toString(CharStreams.java:200)
      	at org.jclouds.util.Strings2.toStringAndClose(Strings2.java:127)
      	at org.jclouds.http.functions.ReturnStringIf2xx.apply(ReturnStringIf2xx.java:43)
      	... 33 more
      
      

      See Gist for jclouds-wire.log

      Attachments

        Activity

          People

            Unassigned Unassigned
            hendrens Stuart Hendren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: