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

LocalRoutingServerSetup fails during setup(...) due to capability constraint violations.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Clustering, Test Suite
    • None

    Description

      LocalRoutingServerSetup started failing followingt this fix: https://github.com/wildfly/wildfly/commit/aadf879b24c471664efdfa47f81d3a1af019fd44
      The setup failures don't prevent the associated tests from passing, which is why it was never detected.

      [ERROR] testGracefulUndeployFailover(org.jboss.as.test.clustering.cluster.web.remote.FineHotRodWebFailoverTestCase)  Time elapsed: 7.522 s  <<< ERROR!
      java.lang.RuntimeException:
      {"operation" : "composite", "address" : [], "steps" : [{"address" : [{ "subsystem" : "distributable-web" },{ "routing" : "infinispan" }], "operation" : "remove"},{"address" : [{ "subsystem" : "distributable-web" },{ "routing" : "local" }], "operation" : "add"}]}: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0367: Cannot remove capability 'org.wildfly.clustering.web.infinispan-routing-provider' as it is required by other capabilities:
      capability 'org.wildfly.clustering.web.session-affinity.default' requires it for address '/subsystem=distributable-web/infinispan-session-management=default/affinity=primary-owner'"}}
          at org.jboss.as.test.shared.ManagementServerSetupTask.configure(ManagementServerSetupTask.java:301)
          at org.jboss.as.test.shared.ManagementServerSetupTask.setup(ManagementServerSetupTask.java:279)
          at org.jboss.as.arquillian.container.ServerSetupObserver$ServerSetupTaskHolder.setup(ServerSetupObserver.java:260)
          at org.jboss.as.arquillian.container.ServerSetupObserver.executeSetup(ServerSetupObserver.java:191)
          at org.jboss.as.arquillian.container.ServerSetupObserver.handleBeforeDeployment(ServerSetupObserver.java:124)
          at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: