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

RolloutPlanTestCase fails with security manager with node0/1 set

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 16.0.0.Beta1
    • None
    • Management, Test Suite
    • None
    • 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

      Attachments

        Issue Links

          Activity

            People

              lburda Lukas Burda (Inactive)
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: