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

Brian Stansberry (Jira) issues at jboss.org
Thu Jan 24 21:07:00 EST 2019


     [ https://issues.jboss.org/browse/WFLY-11496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned WFLY-11496:
---------------------------------------

    Assignee:     (was: Jason Greene)


> 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: Management, Test Suite
>    Affects Versions: 16.0.0.Beta1
>            Reporter: Ondrej Kotek
>            Priority: Major
>
> 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