[jboss-jira] [JBoss JIRA] (WFLY-11496) RolloutPlanTestCase fails with security manager with node0/1 set

Ondrej Kotek (Jira) issues at jboss.org
Wed Dec 12 06:04:01 EST 2018


Ondrej Kotek created WFLY-11496:
-----------------------------------

             Summary: RolloutPlanTestCase fails with security manager with node0/1 set
                 Key: WFLY-11496
                 URL: https://issues.jboss.org/browse/WFLY-11496
             Project: WildFly
          Issue Type: Bug
          Components: Server, Test Suite
    Affects Versions: 16.0.0.Beta1
            Reporter: Ondrej Kotek
            Assignee: Jason Greene


Three tests of {{org.jboss.as.test.integration.domain.management.cli.RolloutPlanTestCase}} fail with security manager and {{node0}} and {{node1}} set:

{noformat}
java.lang.Exception: Http request failed.
	at org.jboss.as.test.integration.domain.management.cli.RolloutPlanTestCase.checkURL(RolloutPlanTestCase.java:432)
	at org.jboss.as.test.integration.domain.management.cli.RolloutPlanTestCase.testRollbackAcrossGroupsRolloutPlan(RolloutPlanTestCase.java:351)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: HTTP Status 500 Response: <html><head><title>Error</title></head><body>Internal Server Error</body></html>
	at org.jboss.as.test.integration.common.HttpRequest.execute(HttpRequest.java:61)
	at org.jboss.as.test.integration.common.HttpRequest.get(HttpRequest.java:82)
	at org.jboss.as.test.integration.domain.management.cli.RolloutPlanTestCase.checkURL(RolloutPlanTestCase.java:429)
...
{noformat}

Maybe the {{SocketPermission}} settings need some improvements.

The following tests are affected:
* {{RolloutPlanTestCase#testMaxFailServersRolloutPlan}}
* {{RolloutPlanTestCase#testMaxFailServersPercentageRolloutPlan}}
* {{RolloutPlanTestCase#testRollbackAcrossGroupsRolloutPlan}}




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list