Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1630

Ordered resources can fail in domain mode with ava.lang.AssertionError: Unknown operation undefine-attribute

XMLWordPrintable

      When running in domain mode and using indexed resources, applying of model in domain can fail with assertion error if assertions are enabled.

      [Host Controller] 16:42:39,979 ERROR [org.jboss.as.controller.management-operation] (Host Controller Service Threads - 11) WFLYCTL0013: Operation ("apply-remote-domain-model") failed - address: ([]): java.lang.AssertionError: Unknown operation undefine-attribute
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler$OrderedOperationsCollection.add(SyncModelOperationHandler.java:704)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.processAttributes(SyncModelOperationHandler.java:203)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.compareExistsInBothModels(SyncModelOperationHandler.java:443)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.processNonOrderedChildrenOfType(SyncModelOperationHandler.java:341)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.processChildren(SyncModelOperationHandler.java:229)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.compareExistsInBothModels(SyncModelOperationHandler.java:446)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.processNonOrderedChildrenOfType(SyncModelOperationHandler.java:341)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.processChildren(SyncModelOperationHandler.java:229)
      [Host Controller] 	at org.jboss.as.domain.controller.operations.SyncModelOperationHandler.execute(SyncModelOperationHandler.java:155)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
      [Host Controller] 	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
      [Host Controller] 	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1329)
      [Host Controller] 	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:400)
      [Host Controller] 	at org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:409)
      [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService.access$1000(DomainModelControllerService.java:179)
      [Host Controller] 	at org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1255)
      [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnectionService.applyRemoteDomainModel(RemoteDomainConnectionService.java:575)
      [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnectionService.access$1100(RemoteDomainConnectionService.java:131)
      [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnectionService$2.applyDomainModel(RemoteDomainConnectionService.java:518)
      [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnection.applyDomainModel(RemoteDomainConnection.java:311)
      [Host Controller] 	at org.jboss.as.host.controller.RemoteDomainConnection$RegisterSubsystemsRequest$1.execute(RemoteDomainConnection.java:454)
      [Host Controller] 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
      [Host Controller] 	at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
      [Host Controller] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      

      This was observed in a failure of OrderedChildResourcesTestCase.

      Failed tests:
      OrderedChildResourcesTestCase.testOrderedChildResources:124 expected:<{
      "protocol" =>

      { "MPING" => undefined, "MERGE3" => undefined, "FD_SOCK" => undefined, "FD" => undefined, "VERIFY_SUSPECT" => undefined, "pbcast.NAKACK2" => undefined, "UNICAST3" => undefined, "pbcast.STABLE" => undefined, "pbcast.GMS" => undefined, "MFC" => undefined, "FRAG2" => undefined }

      ,
      "relay" => undefined,
      "transport" =>

      { "TRANSPORT" => undefined, "TCP" => undefined }
      }> but was:<{
      "protocol" => { "MPING" => undefined, "MERGE3" => undefined, "FD_SOCK" => undefined, "VERIFY_SUSPECT" => undefined, "pbcast.NAKACK2" => undefined, "UNICAST3" => undefined, "pbcast.STABLE" => undefined, "pbcast.GMS" => undefined, "MFC" => undefined, "FRAG2" => undefined },
      "relay" => undefined,
      "transport" => { "TRANSPORT" => undefined, "TCP" => undefined }

      }>

              tomazcerar Tomaž Cerar (Inactive)
              tomazcerar Tomaž Cerar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: