Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-22605

Jetty component failures in camel downstream tests

    XMLWordPrintable

Details

    • False
    • None
    • False
    • % %
    • Todo
    • Very Likely

    Description

      Tested with 2.23.2.fuse-7_12_1-00007-redhat-00003 just to be sure, and there are no failures for jetty component.

      After some debugging, I found that tests are failing because of

      org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking http://localhost:23000/gzip with statusCode: 500 

      Because of the exception, the body of the message is not returned.

      Reproducer:

      clone http://code.engineering.redhat.com/gerrit/jboss-fuse/camel.git

      checkout 2.23.2.fuse-7_13_0-00006-redhat-00001

      build with openjdk8

      mvn clean install -DskipTests
      

      run with openjdk8:

      mvn test -pl :camel-jetty9 
      

      Jenkins pipeline results: Camel downstream tests pipeline
      Errors stacktrace:

      [ERROR] Failures: 
      [ERROR] org.apache.camel.component.jetty.HttpGZipEncodingTest.testGzipGet(org.apache.camel.component.jetty.HttpGZipEncodingTest)
      [ERROR]   Run 1: HttpGZipEncodingTest.testGzipGet:60->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World for gzip</b>]> but was:<[]>
      [ERROR]   Run 2: HttpGZipEncodingTest.testGzipGet:60->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World for gzip</b>]> but was:<[]>
      [ERROR]   Run 3: HttpGZipEncodingTest.testGzipGet:60->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World for gzip</b>]> but was:<[]>
      [INFO] 
      [ERROR] org.apache.camel.component.jetty.HttpGZipEncodingTest.testGzipProducerWithGzipData(org.apache.camel.component.jetty.HttpGZipEncodingTest)
      [ERROR]   Run 1: HttpGZipEncodingTest.testGzipProducerWithGzipData:53->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [ERROR]   Run 2: HttpGZipEncodingTest.testGzipProducerWithGzipData:53->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [ERROR]   Run 3: HttpGZipEncodingTest.testGzipProducerWithGzipData:53->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [INFO] 
      [ERROR] org.apache.camel.component.jetty.HttpGZipEncodingTest.testGzipProxy(org.apache.camel.component.jetty.HttpGZipEncodingTest)
      [ERROR]   Run 1: HttpGZipEncodingTest.testGzipProxy:46->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [ERROR]   Run 2: HttpGZipEncodingTest.testGzipProxy:46->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [ERROR]   Run 3: HttpGZipEncodingTest.testGzipProxy:46->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [INFO] 
      [ERROR] org.apache.camel.component.jetty.HttpGZipEncodingTest.testHttpProducerWithGzip(org.apache.camel.component.jetty.HttpGZipEncodingTest)
      [ERROR]   Run 1: HttpGZipEncodingTest.testHttpProducerWithGzip:38->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [ERROR]   Run 2: HttpGZipEncodingTest.testHttpProducerWithGzip:38->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [ERROR]   Run 3: HttpGZipEncodingTest.testHttpProducerWithGzip:38->Assert.assertEquals:117 The response is wrong expected:<[<b>Hello World</b>]> but was:<[]>
      [INFO] 
      [ERROR] org.apache.camel.component.jetty.JettyContentTypeTest.testContentTypeWithGZipEncoding(org.apache.camel.component.jetty.JettyContentTypeTest)
      [ERROR]   Run 1: JettyContentTypeTest.testContentTypeWithGZipEncoding:61->sendMessageWithContentType:49->Assert.assertEquals:146->Assert.assertEquals:117 expected:<[<order>OK</order>]> but was:<[]>
      [ERROR]   Run 2: JettyContentTypeTest.testContentTypeWithGZipEncoding:61->sendMessageWithContentType:49->Assert.assertEquals:146->Assert.assertEquals:117 expected:<[<order>OK</order>]> but was:<[]>
      [ERROR]   Run 3: JettyContentTypeTest.testContentTypeWithGZipEncoding:61->sendMessageWithContentType:49->Assert.assertEquals:146->Assert.assertEquals:117 expected:<[<order>OK</order>]> but was:<[]>
      

      Attachments

        Issue Links

          Activity

            People

              rnetuka@redhat.com Radovan Netuka
              dolearci@redhat.com Daniel Olearcin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: