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

RolloutPlanTestCase fails with security manager with node0/1 set

XMLWordPrintable

    • 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>

      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

              bstansbe@redhat.com Brian Stansberry
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: