]
Petr Kremensky commented on WFLY-10325:
---------------------------------------
Apparently, the WildFly Test Suite: Integration - Web module is configured to run against
the servlet distribution of server
{code:title=wildfly/testsuite/integration/web/pom.xml}
<properties>
...
<jboss.dist>${jbossas.project.dir}/${wildfly.web.build.output.dir}</jboss.dist>
...
</properties>
{code}
Running the tests against the servlet distribution works fine:
{noformat}
wildfly/testsuite] $ mvn test -B -pl integration/web/ -Djboss.dist=$(realpath
../servlet-dist/target/wildfly-servlet-13.0.0.Alpha1-SNAPSHOT)
...
[WARNING] Tests run: 112, Failures: 0, Errors: 0, Skipped: 3
{noformat}
works fine. But we still need to be able to run the tests against the wildfly-dist in
order to be able to run the integration tests against the prod builds.
Test Suite: Integration - Web failures against wildfly-dist
-----------------------------------------------------------
Key: WFLY-10325
URL:
https://issues.jboss.org/browse/WFLY-10325
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: Petr Kremensky
Assignee: Jan Stourac
Web integration tests start to fail once I point the testsuite a distribution via
jboss.dist property (the property is used to run the tests against productized builds or
patched EAP distributions).
*reproduce*
{noformat}
git clone
https://github.com/wildfly/wildfly.git ; cd wildfly
mvn clean install -DskipTests
cd testsuite
mvn test -B -pl integration/web/
# Tests run: 112, Failures: 0, Errors: 0, Skipped: 3
mvn test -B -pl integration/web/ -Djboss.dist=$(realpath
../dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT)
# Tests run: 109, Failures: 4, Errors: 9, Skipped: 3
{noformat}
There seems to be an issue with *WebCERTTestsSetup*, as once I enable the logs (
-DtestLogToFile=false ), the following errors appear.
{noformat}
10:57:09,622 ERROR [org.jboss.as.controller.management-operation] (Controller Boot
Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("security-realm" => "ssl-cert-realm")
]) - failure description: {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.core.management.security.realm.ssl-cert-realm.key-manager" =>
"Failed to start service
Caused by: java.lang.IllegalStateException: org.jboss.msc.service.StartException in
anonymous service: WFLYDM0086: The KeyStore can not be found at
/home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore
Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYDM0086: The
KeyStore can not be found at
/home/hudson/hudson_workspace/wildfly/testsuite/integration/web/target/WebCERTTestsSetup/server.keystore"},
{noformat}