Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20424

Bouncycastle - Failing BlacklistedMediaTypeTest and CryptoTest in RESTEasy TS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not a Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Security
    • Labels:
      None

      Description

      This seems to be affecting the bootable JAR execution with EAP XP 2 test releases, which depend on RESTEasy 3.11.2.Final, so the tests run in internal QE pipelines are pulled from upstream 3.11 branch.

      Steps to reproduce:
      1. clone https://github.com/fabiobrz/Resteasy/tree/3-11.ts.bootable.remove-mail-layer-tests
      2. build RESTEasy using the internal productized bootable JAR Maven repo as the local cache, e.g. -Dmaven.repo.local=/home/test-release-bootablejar-repo:

      $ mvn install -Dmaven.test.skip=true -Dmaven.repo.local=/home/test-release-bootablejar-repo
      

      3. cd to testsuite directory:

      cd testsuite
      

      4. run the test against EAP XP 2 test release with bootable JAR:

      mvn clean verify -am -pl integration-tests -Dmaven.repo.local=/home/test-release-bootablejar-repo -Dserver.version=2.0.0.GA-redhat-20201025 -Dtestsuite.wildfly.galleon.pack.group.id=org.jboss.eap -Dtest=org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest -Ddisable.microprofile.tests -Dserver.home=foo -Dts.bootable
      

      The test should fail:

      ...
      12:39:53 Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.52 sec <<< FAILURE! - in org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest
      12:39:53 org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest  Time elapsed: 0.003 sec  <<< ERROR!
      12:39:53 org.jboss.arquillian.container.spi.client.container.DeploymentException: 
      12:39:53 Cannot deploy BlacklistedMediaTypeTest.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.BlacklistedMediaTypeTest.war\".main" => "WFLYSRV0179: Failed to load module: deployment.BlacklistedMediaTypeTest.war
      12:39:53     Caused by: org.jboss.modules.ModuleNotFoundException: org.bouncycastle.bcmail"}}}}
      ...
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ehugonne1@redhat.com Emmanuel Hugonnet
              Reporter:
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: