Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11496

RolloutPlanTestCase fails with security manager with node0/1 set

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 16.0.0.Beta1
    • Fix Version/s: None
    • Component/s: Management, Test Suite
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      cd testsuite/domain
      mvn clean test -Dtest=CLITestSuite -Dsecurity.manager -Dnode0=<my IP> -Dnode1=<my IP>

      Show
      cd testsuite/domain mvn clean test -Dtest=CLITestSuite -Dsecurity.manager -Dnode0=<my IP> -Dnode1=<my IP>

      Description

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

      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)
      ...
      

      Maybe the SocketPermission settings need some improvements.

      The following tests are affected:

      • RolloutPlanTestCase#testMaxFailServersRolloutPlan
      • RolloutPlanTestCase#testMaxFailServersPercentageRolloutPlan
      • RolloutPlanTestCase#testRollbackAcrossGroupsRolloutPlan

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lburda Lukas Burda
                  Reporter:
                  okotek Ondrej Kotek
                  Tester:
                  Ondrej Kotek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: