This issue seems to be only product related. Test is passing in ISPN team city. It is regression from ER7 (passing) to CR1/CR2. Configuration file clustered-with-encrypt.xml looks OK to me but JDG somehow can't get properties registered. <protocol type="ENCRYPT"> <property name="key_store_name">${jboss.server.config.dir}/server_jceks.keystore</property> <property name="store_password">secret</property> <property name="alias">memcached</property> </protocol> I can't see them even using jconsole. Of course, we have null pointer here: assertEquals("secret", getAttribute(providerCoordinator, ENCRYPT_MBEAN, "store_password")); testEncryptProtocolRegistered(org.infinispan.server.test.security.jgroups.encrypt.EncryptProtocolIT) Time elapsed: 51.783 sec <<< ERROR! java.lang.NullPointerException: null at org.infinispan.server.test.util.ITestUtils.getAttribute(ITestUtils.java:72) at org.infinispan.server.test.security.jgroups.encrypt.EncryptProtocolIT.testEncryptProtocolRegistered(EncryptProtocolIT.java:90) Let's have it properly tracked and investigate further what's going on out there...
This is actually not a bug in JDG, but a bug in the test - passwords shouldn't be available via JMX, see JGRP-1854 [1]. I'll send a PR with fix once PR in upstream [2] is accepted. [1] https://issues.jboss.org/browse/JGRP-1854 [2] https://github.com/infinispan/infinispan/pull/2703
I found out, that some other attributes, which *should* be available via JMX cannot be access. Keeping this BZ to track wrong test in JDG and loogged new bug for it - BZ #1118767 (test can be fixed once this issue is fixed).