Mule
  1. Mule
  2. MULE-2845 Intermittent 2.0 test failures
  3. MULE-2625

Intermittent Failure in HttpContentLengthPropagationTestCase

    Details

    • User impact:
      Medium
    • Similar Issues:
      MULE-2845Intermittent 2.0 test failures
      MULE-4078Intermittent test failure: DefaultMuleContextTestCase
      MULE-4075Intermittent test failure: JmxStatisticsAsyncTestCase
      MULE-4820Intermittent test failures: JmsRetrySanityAsynchronousTestCase
      MULE-4110Fix intermittent 2.2 test failures
      MULE-4076Intermittent test failure: MockTestCase
      MULE-4077Intermittent test failure: UdpDynamicEPTestCase
      MULE-2427Intermittent SSL/TLS connector functional test failure on XP
      MULE-4074Intermittent test failure: InMemoryStoreTestCase
      MULE-4819Intermittent test failures: JmsRetryTransactional* tests

      Description

      See http://dev.mulesource.com/bamboo/browse/MULE-V2X-620

      org.mule.umo.transformer.TransformerException: Could not read InputStream.
      at org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:54)
      at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:272)
      at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:240)
      at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:129)
      at org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:350)
      at org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:323)
      at org.mule.providers.http.functional.HttpContentLengthPropagationTestCase.testContentLengthPropagation(HttpContentLengthPropagationTestCase.java:53)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at junit.framework.TestCase.runTest(TestCase.java:164)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:222)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:120)
      at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:202)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
      Caused by: java.io.IOException: chunked stream ended unexpectedly
      at org.apache.commons.httpclient.ChunkedInputStream.getChunkSizeFromInputStream(ChunkedInputStream.java:252)
      at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:221)
      at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176)
      at java.io.FilterInputStream.read(FilterInputStream.java:111)
      at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
      at java.io.FilterInputStream.read(FilterInputStream.java:90)
      at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
      at org.mule.impl.model.streaming.DelegatingInputStream.read(DelegatingInputStream.java:58)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
      at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
      at org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:49)
      ... 33 more
      ... 33 more

      (works fine for me locally)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            andrew cooke
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development