]
Jan Stourac commented on WFLY-10325:
------------------------------------
Indeed - {{ssl-cert-realm}} has not been removed by {{WebCERTTestsSecurityDomainSetup}}. I
have a modification that fixes this now. Although, there seems to be another problem here
with removing {{https-listener}} during tearDown phase:
{code}
2018-05-09 06:11:37,170 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 1) WFLYCTL0013: Operation ("remove") failed -
address: ([
("subsystem" => "undertow"),
("server" => "default-server"),
("https-listener" => "testConnector")
]) - failure description: "WFLYCTL0441: Operation has resulted in failed or missing
services
WFLYCTL0448: 2 additional services are down due to their dependencies being missing or
failed"
{code}
This fail effectively causes that tearDown phase is not finished successfully and
configuration is not put in the state it was before the test. Interesting thing is that if
I remove {{allow-resource-service-restart=true}} header from the operation that tries to
remove {{https-listener}}, everything seems to start working...
I will investigate further.
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}