-
Bug
-
Resolution: Done
-
Blocker
-
13.0.0.Beta6
-
None
ehugonne1@redhat.com please set the component. I cannot find anything suitable.
I noticed it in the context of a bootable JAR execution but jfdenise_jira confirmed this happens with WF 21 Beta1.
This is about some tests in the RESTEasy TS which has been adapted to execute against bootable JARs through a specific profile [1].
The tests are running successfully with WildFly 20.0.1.Final (the ejb layer needs to be removed for this experiment to be run [2]) but fail against 21.0.0.Beta1, so it is a regression.
There are 108 tests failing but this JIRA is reporting just one as a reference, see "Steps to reproduce" in order to have a full list:
org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest.org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest Error Details 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 Caused by: org.jboss.modules.ModuleNotFoundException: org.bouncycastle"}}}}
Steps to reproduce:
1. clone https://github.com/fabiobrz/Resteasy/tree/bootable-jar-support
2. build RESTEasy:
$ mvn install -Dmaven.test.skip=true -Dmaven.repo.local=/home/my-local-repo
3. cd to testsuite directory:
cd testsuite
4. run the test against WF 21.0.0.Beta1 with bootable JAR:
mvn clean verify -am -pl integration-tests -Dmaven.repo.local=/home/my-local-repo -Dserver.version=21.0.0.Beta1 -Dtest=org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest -Ddisable.microprofile.tests -Dserver.home=foo -Dts.bootable
The test should fail
5. run the test against WF 20.0.1.Final with bootable JAR:
mvn clean verify -am -pl integration-tests -Dmaven.repo.local=/home/my-local-repo -Dserver.version=20.0.1.Final -Dtest=org.jboss.resteasy.test.providers.mediatype.BlacklistedMediaTypeTest -Ddisable.microprofile.tests -Dserver.home=foo -Dts.bootable
The test should pass
[1]
https://github.com/resteasy/Resteasy/pull/2526/files#diff-8c7ea03eb619e46657b96e8fe8d4f09eR208
[2]
https://github.com/resteasy/Resteasy/pull/2526/files#diff-8c7ea03eb619e46657b96e8fe8d4f09eR262
- clones
-
WFLY-13903 Bouncycastle - Failing tests in RESTEasy TS
- Closed
- is related to
-
RESTEASY-2732 ServerCacheInterceptorTest fails with RESTEasy 3.13
- Closed
- relates to
-
JBEAP-20336 (7.3.z) Upgrade Bouncy Castle from 1.65.0.redhat-00001 to 1.68.0.redhat-00001
- Closed
-
WFCORE-5148 Upgrade Bouncy Castle from 1.65 to 1.66
- Closed
-
WFLY-13932 Upgrade Bouncy Castle from 1.65 to 1.66
- Closed