[infinispan-issues] [JBoss JIRA] (ISPN-7389) Fix ExampleConfigsIT.testSSLHotRodConfig

Sebastian Łaskawiec (JIRA) issues at jboss.org
Tue Jan 24 06:09:00 EST 2017


Sebastian Łaskawiec created ISPN-7389:
-----------------------------------------

             Summary: Fix ExampleConfigsIT.testSSLHotRodConfig
                 Key: ISPN-7389
                 URL: https://issues.jboss.org/browse/ISPN-7389
             Project: Infinispan
          Issue Type: Bug
            Reporter: Sebastian Łaskawiec
            Assignee: Sebastian Łaskawiec
            Priority: Blocker


http://ci.infinispan.org/viewLog.html?buildId=48419&tab=buildResultsDiv&buildTypeId=Infinispan_MasterHotspotJdk8
{noformat}
java.lang.RuntimeException: Could not retrieve HotRod host
    at org.infinispan.arquillian.utils.MBeanUtils.getMBeanAttribute(MBeanUtils.java:59)
    at org.infinispan.arquillian.core.HotRodEndpoint.getInetAddress(HotRodEndpoint.java:65)
    at org.infinispan.server.test.configs.ExampleConfigsIT.securityConfig(ExampleConfigsIT.java:616)
    at org.infinispan.server.test.configs.ExampleConfigsIT.testSSLHotRodConfig(ExampleConfigsIT.java:358)
Caused by: javax.management.InstanceNotFoundException: jboss.datagrid-infinispan:type=Server,name=HotRod,component=Transport
    at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:1110)
    at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:386)
    at org.jboss.as.jmx.BlockingNotificationMBeanServer.getAttribute(BlockingNotificationMBeanServer.java:148)
    at org.jboss.remotingjmx.protocol.v2.ServerProxy$GetAttributeHandler.handle(ServerProxy.java:689)
    at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
    at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:75)
    at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$1.run(ServerInterceptorFactory.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
    at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:70)
    at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
------- Stdout: -------
[TestSuiteProgress] Test succeeded: ExampleConfigsIT.testTopologyConfigSiteAttribute
[TestSuiteProgress] Tests succeeded: 165, failed: 1, skipped: 10
[TestSuiteProgress] Test starting: ExampleConfigsIT.testSSLHotRodConfig
&amp#27;[0m08:11:03,018 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
&amp#27;[0m&amp#27;[0m08:11:03,188 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
&amp#27;[0m&amp#27;[0m08:11:03,267 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) starting
&amp#27;[0m&amp#27;[0m08:11:04,195 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
&amp#27;[0m&amp#27;[0m08:11:04,219 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.4.0.Final
&amp#27;[0m&amp#27;[0m08:11:04,225 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.4.0.Final
&amp#27;[0m&amp#27;[0m08:11:04,263 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.21.Final
&amp#27;[0m&amp#27;[0m08:11:04,275 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) Activating Infinispan subsystem.
&amp#27;[0m&amp#27;[0m08:11:04,319 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 21) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
&amp#27;[0m&amp#27;[0m08:11:04,361 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 18) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
&amp#27;[0m&amp#27;[33m08:11:04,374 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 29) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
&amp#27;[0m&amp#27;[0m08:11:04,376 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 27) WFLYSEC0002: Activating Security Subsystem
&amp#27;[0m&amp#27;[0m08:11:04,384 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 25) WFLYNAM0001: Activating Naming Subsystem
&amp#27;[0m&amp#27;[0m08:11:04,391 INFO  [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)
&amp#27;[0m&amp#27;[0m08:11:04,417 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2
&amp#27;[0m&amp#27;[0m08:11:04,481 INFO  [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=4.9.6.Final
&amp#27;[0m&amp#27;[0m08:11:04,489 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
&amp#27;[0m&amp#27;[0m08:11:04,909 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/buildAgent/work/4107e96132ab99f9/server/integration/testsuite/target/server/node1/standalone/deployments
&amp#27;[0m&amp#27;[0m08:11:04,931 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "custom-store.jar" (runtime-name: "custom-store.jar")
&amp#27;[0m&amp#27;[0m08:11:05,248 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
&amp#27;[0m&amp#27;[0m08:11:05,595 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Ruppaner' 9.0.0-SNAPSHOT
&amp#27;[0m&amp#27;[0m08:11:05,999 INFO  [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-3) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
&amp#27;[0m&amp#27;[0m08:11:06,000 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) DGISPN0001: Started default cache from local container
&amp#27;[0m&amp#27;[0m08:11:06,004 INFO  [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-1) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
&amp#27;[0m&amp#27;[0m08:11:06,004 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) DGISPN0001: Started namedCache cache from local container
&amp#27;[0m&amp#27;[0m08:11:06,011 INFO  [org.infinispan.expiration.impl.ExpirationManagerImpl] (MSC service thread 1-2) ISPN000025: wakeUpInterval is <= 0, not starting expired purge thread
&amp#27;[0m&amp#27;[0m08:11:06,011 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) DGISPN0001: Started memcachedCache cache from local container
&amp#27;[0m&amp#27;[0m08:11:06,174 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10000: HotRodServer hotrod2 starting
&amp#27;[0m&amp#27;[0m08:11:06,174 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10033: Starting server HotRodServer hotrod2 without transport (use multi tenant router instead)
&amp#27;[0m&amp#27;[0m08:11:06,174 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) DGENDPT10001: HotRodServer hotrod2 listening on None
&amp#27;[0m&amp#27;[0m08:11:06,201 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10000: rest2 starting
&amp#27;[0m&amp#27;[0m08:11:06,201 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10033: Starting server REST without transport (use multi tenant router instead)
&amp#27;[0m&amp#27;[0m08:11:06,205 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: rest1 starting
&amp#27;[0m&amp#27;[0m08:11:06,205 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10033: Starting server REST without transport (use multi tenant router instead)
&amp#27;[0m&amp#27;[0m08:11:06,205 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10002: rest1 mapped to /rest
&amp#27;[0m&amp#27;[0m08:11:06,206 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10000: HotRodServer hotrod1 starting
&amp#27;[0m&amp#27;[0m08:11:06,206 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10033: Starting server HotRodServer hotrod1 without transport (use multi tenant router instead)
&amp#27;[0m&amp#27;[0m08:11:06,206 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) DGENDPT10001: HotRodServer hotrod1 listening on None
&amp#27;[0m&amp#27;[0m08:11:06,210 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-2) DGENDPT10002: rest2 mapped to /rest
&amp#27;[0m&amp#27;[0m08:11:06,268 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0007: Registering Deployed Cache Store service for store 'org.infinispan.persistence.cluster.MyCustomCacheStore'
&amp#27;[0m&amp#27;[31m08:11:06,278 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "datagrid-infinispan-endpoint"),
    ("router-connector" => "router")
]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.server.controller.management.security_realm.other",
        "jboss.server.controller.management.security_realm.other2"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.router.router is missing [jboss.server.controller.management.security_realm.other, jboss.server.controller.management.security_realm.other2]"]
}
&amp#27;[0m&amp#27;[0m08:11:06,303 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 17) WFLYSRV0010: Deployed "custom-store.jar" (runtime-name : "custom-store.jar")
&amp#27;[0m&amp#27;[0m08:11:06,306 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.server.controller.management.security_realm.other (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router] 
      service jboss.server.controller.management.security_realm.other2 (missing) dependents: [service jboss.datagrid-infinispan-endpoint.router.router] 

&amp#27;[0m&amp#27;[0m08:11:06,380 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
&amp#27;[0m&amp#27;[0m08:11:06,380 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
&amp#27;[0m&amp#27;[31m08:11:06,380 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) started (with errors) in 3666ms - Started 179 of 191 services (1 services failed or missing dependencies, 54 services are lazy, passive or on-demand)
&amp#27;[0m&amp#27;[0m08:11:06,553 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0236: Suspending server with no timeout.
&amp#27;[0m&amp#27;[0m08:11:06,556 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
&amp#27;[0m&amp#27;[0m08:11:06,573 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped namedCache cache from local container
&amp#27;[0m&amp#27;[0m08:11:06,576 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped memcachedCache cache from local container
&amp#27;[0m&amp#27;[0m08:11:06,577 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
&amp#27;[0m&amp#27;[0m08:11:06,585 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) DGISPN0002: Stopped default cache from local container
&amp#27;[0m&amp#27;[0m08:11:06,591 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
&amp#27;[0m&amp#27;[0m08:11:06,602 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment custom-store.jar (runtime-name: custom-store.jar) in 37ms
&amp#27;[0m&amp#27;[0m08:11:06,614 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) stopped in 50ms
&amp#27;[0m
{noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list