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

Can not create JGroups TCP stack via ModelNode with enabled assertions

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.1.0.ER1, 7.1.0.ER2, 7.1.0.ER3
    • Fix Version/s: 7.1.0.CR1
    • Component/s: Clustering
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide

      Start AS with "-ea" VM option and run the following script:

      batch
      /subsystem="jgroups"/stack="tcpping":add()
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="TCPPING")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="MERGE2")
      /subsystem="jgroups"/stack="tcpping":add-protocol(socket-binding="jgroups-tcp-fd",type="FD_SOCK")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="FD")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="VERIFY_SUSPECT")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="BARRIER")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.NAKACK")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="UNICAST2")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.STABLE")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.GMS")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="UFC")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="MFC")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="FRAG2")
      /subsystem="jgroups"/stack="tcpping":add-protocol(type="RSVP")
      /subsystem="jgroups"/stack="tcpping"/transport="TRANSPORT":add(socket-binding="jgroups-tcp",type="TCP")
      run-batch
      

      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git

      cd eap-tests-hornetq/scripts/

      git checkout master

      groovy -DEAP_VERSION=7.1.0.ER1 PrepareServers7.groovy

      export WORKSPACE=$PWD

      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap

      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap

      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap

      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap

      cd ../jboss-hornetq-testsuite/

      mvn clean test -DfailIfNoTests=false -Deap=7x -Dtest=RemoteJcaWithSocketExhaustionTestCasePageMode#socketExhaustionOfMdbServerInClusterWithLodhLikeMdb10kbMessages -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1.0.ER2

      Show
      Start AS with "-ea" VM option and run the following script: batch /subsystem="jgroups"/stack="tcpping":add() /subsystem="jgroups"/stack="tcpping":add-protocol(type="TCPPING") /subsystem="jgroups"/stack="tcpping":add-protocol(type="MERGE2") /subsystem="jgroups"/stack="tcpping":add-protocol(socket-binding="jgroups-tcp-fd",type="FD_SOCK") /subsystem="jgroups"/stack="tcpping":add-protocol(type="FD") /subsystem="jgroups"/stack="tcpping":add-protocol(type="VERIFY_SUSPECT") /subsystem="jgroups"/stack="tcpping":add-protocol(type="BARRIER") /subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.NAKACK") /subsystem="jgroups"/stack="tcpping":add-protocol(type="UNICAST2") /subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.STABLE") /subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.GMS") /subsystem="jgroups"/stack="tcpping":add-protocol(type="UFC") /subsystem="jgroups"/stack="tcpping":add-protocol(type="MFC") /subsystem="jgroups"/stack="tcpping":add-protocol(type="FRAG2") /subsystem="jgroups"/stack="tcpping":add-protocol(type="RSVP") /subsystem="jgroups"/stack="tcpping"/transport="TRANSPORT":add(socket-binding="jgroups-tcp",type="TCP") run-batch git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout master groovy -DEAP_VERSION=7.1.0.ER1 PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -DfailIfNoTests=false -Deap=7x -Dtest=RemoteJcaWithSocketExhaustionTestCasePageMode#socketExhaustionOfMdbServerInClusterWithLodhLikeMdb10kbMessages -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1.0.ER2
    • Affects Testing:
      Regression, Blocks Testing

      Description

      When trying to create new JGroups stack with TCP Ping protocol I'm getting

      14:22:26,273 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "jgroups"),
          ("stack" => "tcp"),
          ("protocol" => "org.jgroups.protocols.TCPPING")
      ]): java.lang.AssertionError
      	at org.jboss.as.controller.access.permission.ManagementPermissionAuthorizer.authorize(ManagementPermissionAuthorizer.java:87) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.access.management.DelegatingConfigurableAuthorizer.authorize(DelegatingConfigurableAuthorizer.java:99) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.OperationContextImpl.getBasicAuthorizationResponse(OperationContextImpl.java:1857) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.OperationContextImpl.authorize(OperationContextImpl.java:1755) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.OperationContextImpl.authorize(OperationContextImpl.java:1714) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.OperationContextImpl.getResourceRegistration(OperationContextImpl.java:576) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.clustering.jgroups.subsystem.ProtocolResourceDefinition$LegacyAddOperationTransformation.lambda$apply$4(ProtocolResourceDefinition.java:167)
      	at org.jboss.as.clustering.jgroups.subsystem.ProtocolResourceDefinition$LegacyAddOperationTransformation$$Lambda$406/1671848754.execute(Unknown Source)
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:978) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:724) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:448) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl$$Lambda$837/10055559.run(Unknown Source)
      	at org.wildfly.security.auth.server.SecurityIdentity$$Lambda$838/1709655008.run(Unknown Source)
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263) [wildfly-elytron-1.1.0.Beta52-redhat-1.jar:1.1.0.Beta52-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229) [wildfly-elytron-1.1.0.Beta52-redhat-1.jar:1.1.0.Beta52-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity$$Lambda$891/383261803.run(Unknown Source)
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287) [wildfly-elytron-1.1.0.Beta52-redhat-1.jar:1.1.0.Beta52-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244) [wildfly-elytron-1.1.0.Beta52-redhat-1.jar:1.1.0.Beta52-redhat-1]
      	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157) [wildfly-controller-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70) [wildfly-protocol-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160) [wildfly-protocol-3.0.0.Beta26-redhat-1.jar:3.0.0.Beta26-redhat-1]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_05]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_05]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320) [jboss-threads-2.2.1.Final-redhat-1.jar:2.2.1.Final-redhat-1]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhusar Radoslav Husar
                  Reporter:
                  okalman Ondřej Kalman
                  Tester:
                  Ondřej Kalman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: