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

Intermittent NPE registering a slave HC in mixed-domain test suite

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR10
    • 7.0.0.ER7, 7.1.0.DR9
    • Management, Test Suite
    • None

      I've occasionally seen test failures in the mixed domain tests when a testsuite cannot start because the slave HC can't register due to an NPE on the master:

      For example:

      http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=82653&tab=buildResultsDiv&buildTypeId=WildFlyCore_PullRequest_WildFlyCoreFullIntegration

      Critical log details:

      &amp#27;[0m16:16:15,252 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final-redhat-1
      &amp#27;[0m&amp#27;[0m16:16:15,363 INFO  [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
      &amp#27;[0m[Host Controller] &amp#27;[0m16:16:15,871 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final-redhat-1&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[0m16:16:16,015 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[0m16:16:16,068 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015899: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) starting&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[0m16:16:16,625 INFO  [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.10.GA-redhat-1&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[0m16:16:16,629 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.10.GA-redhat-1&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[0m16:16:16,657 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version (unknown)&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[0m16:16:16,705 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on [::1]:19999&amp#27;[0m
      INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] ServerIdentity{name=server-one, host=slave, server-group=other-server-group} status is starting
      [Host Controller] &amp#27;[0m&amp#27;[31m16:16:17,913 ERROR [org.jboss.as.controller.management-operation] (Host Controller Service Threads - 50) WFLYCTL0013: Operation ("read-master-domain-model") failed - address: ([]): java.lang.NullPointerException&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.registry.OperationTransformerRegistry$1.getResourceTransformer(OperationTransformerRegistry.java:83)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformationContextImpl.resolveTransformer(ResourceTransformationContextImpl.java:235)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:285)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:254)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:53)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:161)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:167)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:289)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:254)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:53)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.transform.TransformersImpl.transformRootResource(TransformersImpl.java:115)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.domain.controller.operations.ReadMasterDomainModelUtil.readMasterDomainResourcesForInitialConnect(ReadMasterDomainModelUtil.java:88)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.domain.controller.operations.ReadDomainModelHandler.execute(ReadDomainModelHandler.java:51)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1343)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:395)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:408)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.host.controller.DomainModelControllerService.access$900(DomainModelControllerService.java:175)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1229)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processRegistration(HostControllerRegistrationHandler.java:424)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$400(HostControllerRegistrationHandler.java:334)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$InitiateRegistrationHandler$1.execute(HostControllerRegistrationHandler.java:230)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:465)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at java.lang.Thread.run(Thread.java:745)&amp#27;[0m
      [Host Controller] &amp#27;[31m    at org.jboss.threads.JBossThread.run(JBossThread.java:320)&amp#27;[0m
      [Host Controller] &amp#27;[31m&amp#27;[0m
      [Host Controller] &amp#27;[0m&amp#27;[33m16:16:17,935 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010900: Could not connect to remote domain controller at remote://[::1]:9999 -- 1-$-WFLYCTL0158: Operation handler failed: java.lang.NullPointerException&amp#27;[0m
      [Host Controller] &amp#27;[33m&amp#27;[0m&amp#27;[33m16:16:17,936 WARN  [org.jboss.as.host.controller] (Controller Boot Thread) JBAS016581: No domain controller discovery options remain.&amp#27;[0m
      [Host Controller] &amp#27;[33m&amp#27;[0m&amp#27;[31m16:16:17,939 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS016519: Tried all domain controller discovery option(s) but unable to connect&amp#27;[0m
      

              kkhan1@redhat.com Kabir Khan
              mkopecky@redhat.com Marek Kopecky
              Michal Jurc Michal Jurc
              Michal Jurc Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: