]
Petr Kremensky commented on WFLY-10325:
---------------------------------------
{{ssl-cert-realm}} is created by WebCERTTestsSecurityDomainSetup, but is never removed by
the tearDown.
Test Suite: Integration - Web failures with -Djboss.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}