Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25632

HostControllerBootOperationsTestCase fails intermittently when Security Manager is enabled

XMLWordPrintable

      HostControllerBootOperationsTestCase is failing intermittently when security manager is enabled, see https://ci.wildfly.org/test/3017490689689819146?currentProjectId=WildFlyCore&expandTestHistoryChartSection=true

      Example of the error:

      MgmtOperationException{operation={
          "operation" => "composite",
          "address" => [],
          "steps" => [
              {
                  "operation" => "read-resource",
                  "address" => [("host" => "secondary")],
                  "include-aliases" => true,
                  "include-undefined-metric-values" => true,
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "core-service"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "extension"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "interface"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "jvm"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "path"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "server-config"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "socket-binding-group"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "subsystem"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "system-property"
              }
          ]
      }, result={
          "outcome" => "failed",
          "failure-description" => {"host-failure-descriptions" => {"secondary" => "WFLYCTL0063: Management operation failed.
      MgmtOperationException{operation={
          "operation" => "composite",
          "address" => [],
          "steps" => [
              {
                  "operation" => "read-resource",
                  "address" => [("host" => "secondary")],
                  "include-aliases" => true,
                  "include-undefined-metric-values" => true,
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "core-service"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "extension"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "interface"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "jvm"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "path"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "server-config"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "socket-binding-group"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "subsystem"
              },
              {
                  "operation" => "read-children-resources",
                  "address" => [("host" => "secondary")],
                  "include-runtime" => true,
                  "recursive" => true,
                  "include-defaults" => true,
                  "proxies" => false,
                  "child-type" => "system-property"
              }
          ]
      }, result={
          "outcome" => "failed",
          "failure-description" => {"host-failure-descriptions" => {"secondary" => "WFLYCTL0063: Composite operation was rolled back"}},
          "rolled-back" => true,
          "result" => {}
      }}
        at org.jboss.as.test.integration.domain.management.util.DomainTestUtils.executeForResult(DomainTestUtils.java:162)
        at org.jboss.as.test.integration.domain.HostControllerBootOperationsTestCase.checkReadOperations(HostControllerBootOperationsTestCase.java:255)
        at org.jboss.as.test.integration.domain.HostControllerBootOperationsTestCase.testManagementOperationsWhenSecondaryHCisBooting(HostControllerBootOperationsTestCase.java:190)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:27)
        at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
        at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49)
        at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120)
        at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:95)
        at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
        at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69)
        at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
        at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
        at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
      

      The test was fixed in WF Core 19 in scope of WFCORE-5805 but it's failing again.

              yborgess1@redhat.com Yeray Borges Santana
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: