Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16728

Camel::core test failures with IBM SDK 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.23.2
    • None
    • came-core
    • None
    • Linux x86_64 RHEL 8.3
      Java : IBM SDK 8

    • Unknown

    Description

      Environment: Linux x86_64 RHEL 8.3
      Java : IBM SDK 8

      # java -version
      java version "1.8.0_281"
      Java(TM) SE Runtime Environment (build 8.0.6.25 - pxa6480sr6fp25-20210115_01(SR6 FP25))
      IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20201218_462060 (JIT enabled, AOT enabled)
      OpenJ9   - 4c03b71
      OMR      - 86a8e1a
      IBM      - 8c30c56)
      JCL - 20210108_01 based on Oracle jdk8u281-b09
      

      Facing below test failures on mvn install on camel-core module:

      ERROR] Failures:
      [ERROR] org.apache.camel.component.xslt.XsltMessageTerminateTest.testXsltTerminate(org.apache.camel.component.xslt.XsltMessageTerminateTest)
      [ERROR] Run 1: XsltMessageTerminateTest.testXsltTerminate:41->Assert.assertNotNull:722->Assert.assertNotNull:712->Assert.assertTrue:41->Assert.fail:86
      [ERROR] Run 2: XsltMessageTerminateTest.testXsltTerminate:41->Assert.assertNotNull:722->Assert.assertNotNull:712->Assert.assertTrue:41->Assert.fail:86
      [ERROR] Run 3: XsltMessageTerminateTest.testXsltTerminate:41->Assert.assertNotNull:722->Assert.assertNotNull:712->Assert.assertTrue:41->Assert.fail:86
      [INFO]
      [ERROR] org.apache.camel.converter.jaxp.XmlConverterTest.testToStringWithDocument(org.apache.camel.converter.jaxp.XmlConverterTest)
      [ERROR] Run 1: XmlConverterTest.testToStringWithDocument:101->Assert.assertEquals:144->Assert.assertEquals:115 expected:<....0" encoding="UTF-8"[ standalone="no"]?><foo>bar</foo>> but was:<....0" encoding="UTF-8"[]?><foo>bar</foo>>
      [ERROR] Run 2: XmlConverterTest.testToStringWithDocument:101->Assert.assertEquals:144->Assert.assertEquals:115 expected:<....0" encoding="UTF-8"[ standalone="no"]?><foo>bar</foo>> but was:<....0" encoding="UTF-8"[]?><foo>bar</foo>>
      [ERROR] Run 3: XmlConverterTest.testToStringWithDocument:101->Assert.assertEquals:144->Assert.assertEquals:115 expected:<....0" encoding="UTF-8"[ standalone="no"]?><foo>bar</foo>> but was:<....0" encoding="UTF-8"[]?><foo>bar</foo>>
      [INFO]
      [ERROR] org.apache.camel.converter.jaxp.XmlConverterTest.testToStringWithDocumentSourceOutputProperties(org.apache.camel.converter.jaxp.XmlConverterTest)
      [ERROR] Run 1: XmlConverterTest.testToStringWithDocumentSourceOutputProperties:117->Assert.assertEquals:144->Assert.assertEquals:115 expected:<...ncoding="ISO-8859-1"[ standalone="no"]?><foo>bar</foo>> but was:<...ncoding="ISO-8859-1"[]?><foo>bar</foo>>
      [ERROR] Run 2: XmlConverterTest.testToStringWithDocumentSourceOutputProperties:117->Assert.assertEquals:144->Assert.assertEquals:115 expected:<...ncoding="ISO-8859-1"[ standalone="no"]?><foo>bar</foo>> but was:<...ncoding="ISO-8859-1"[]?><foo>bar</foo>>
      [ERROR] Run 3: XmlConverterTest.testToStringWithDocumentSourceOutputProperties:117->Assert.assertEquals:144->Assert.assertEquals:115 expected:<...ncoding="ISO-8859-1"[ standalone="no"]?><foo>bar</foo>> but was:<...ncoding="ISO-8859-1"[]?><foo>bar</foo>>
      [INFO]
      [ERROR] org.apache.camel.util.jsse.SSLContextParametersTest.testCipherSuitesFilter(org.apache.camel.util.jsse.SSLContextParametersTest)
      [ERROR] Run 1: SSLContextParametersTest.testCipherSuitesFilter:582->assertStartsWith:838->Assert.assertTrue:41->Assert.fail:88 SSL_RSA_WITH_AES_128_CBC_SHA does not start with the prefix TLS
      [ERROR] Run 2: SSLContextParametersTest.testCipherSuitesFilter:582->assertStartsWith:838->Assert.assertTrue:41->Assert.fail:88 SSL_RSA_WITH_AES_128_CBC_SHA does not start with the prefix TLS
      [ERROR] Run 3: SSLContextParametersTest.testCipherSuitesFilter:582->assertStartsWith:838->Assert.assertTrue:41->Assert.fail:88 SSL_RSA_WITH_AES_128_CBC_SHA does not start with the prefix TLS
      [INFO]
      [ERROR] Errors:
      [ERROR] org.apache.camel.util.jsse.SSLContextParametersTest.testSecureSocketProtocol(org.apache.camel.util.jsse.SSLContextParametersTest)
      [ERROR] Run 1: SSLContextParametersTest.testSecureSocketProtocol:779 » NoSuchAlgorithm SSLv3 ...
      [ERROR] Run 2: SSLContextParametersTest.testSecureSocketProtocol:779 » NoSuchAlgorithm SSLv3 ...
      [ERROR] Run 3: SSLContextParametersTest.testSecureSocketProtocol:779 » NoSuchAlgorithm SSLv3 ...
      [INFO]
      [INFO]
      [ERROR] Tests run: 6211, Failures: 4, Errors: 1, Skipped: 19

      Steps to reproduce:

      wget https://github.com/apache/camel/archive/camel-2.23.2.tar.gz
      tar -xvzf camel-2.23.2.tar.gz
      cd camel-camel-2.23.2/
      mvn clean install
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Nayana Nayana Thorat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: