[JBoss JIRA] (ISPN-11872) CertificateTest test blocking
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11872?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11872:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> CertificateTest test blocking
> -----------------------------
>
> Key: ISPN-11872
> URL: https://issues.redhat.com/browse/ISPN-11872
> Project: Infinispan
> Issue Type: Bug
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The CertificateTest is now failing as being blocking. It is unclear how this was not caught by ISPN-11831, as it didn't fail there in any run.
> Either way we need to add an exclusion for blockhound to let the JDK initialize the SSL context.
> {code}
> java.lang.AssertionError: Blocking call! java.io.FileInputStream#readBytes on thread Thread[REST-CertificateTest-ServerIO-3-1,5,main]
> at org.infinispan.util.CoreTestBlockHoundIntegration.lambda$applyTo$0(CoreTestBlockHoundIntegration.java:44)
> at reactor.blockhound.BlockHound$Builder.lambda$install$8(BlockHound.java:383)
> at reactor.blockhound.BlockHoundRuntime.checkBlocking(BlockHoundRuntime.java:89)
> at java.base/java.io.FileInputStream.readBytes(FileInputStream.java)
> at java.base/java.io.FileInputStream.read(FileInputStream.java:279)
> at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
> at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271)
> at java.base/sun.security.util.DerValue.init(DerValue.java:388)
> at java.base/sun.security.util.DerValue.<init>(DerValue.java:331)
> at java.base/sun.security.util.DerValue.<init>(DerValue.java:344)
> at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1993)
> at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:222)
> at java.base/java.security.KeyStore.load(KeyStore.java:1479)
> at java.base/sun.security.ssl.TrustStoreManager$TrustAnchorManager.loadKeyStore(TrustStoreManager.java:365)
> at java.base/sun.security.ssl.TrustStoreManager$TrustAnchorManager.getTrustedCerts(TrustStoreManager.java:313)
> at java.base/sun.security.ssl.TrustStoreManager.getTrustedCerts(TrustStoreManager.java:55)
> at java.base/sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:49)
> at java.base/javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:278)
> at java.base/sun.security.ssl.SSLContextImpl.engineInit(SSLContextImpl.java:88)
> at java.base/javax.net.ssl.SSLContext.init(SSLContext.java:297)
> at io.netty.handler.ssl.JdkSslContext.<clinit>(JdkSslContext.java:74)
> at org.infinispan.server.core.utils.SslUtils.createSslContext(SslUtils.java:50)
> at org.infinispan.server.core.utils.SslUtils.createNettySslContext(SslUtils.java:25)
> at org.infinispan.server.core.transport.NettyChannelInitializer.initializeChannel(NettyChannelInitializer.java:50)
> at org.infinispan.rest.RestChannelInitializer.initializeChannel(RestChannelInitializer.java:43)
> at org.infinispan.server.core.transport.NettyInitializers.initChannel(NettyInitializers.java:20)
> at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
> at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112)
> at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:938)
> at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609)
> at io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46)
> at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463)
> at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115)
> at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650)
> at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502)
> at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417)
> at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474)
> at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
> at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
> at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:387)
> at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-2575) Key Transformer registration is required on all nodes of the cluster, in case of custom keys
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/ISPN-2575?page=com.atlassian.jira.plugin... ]
Nistor Adrian commented on ISPN-2575:
-------------------------------------
Closing this as WON' FIX. After the removal of registerKeyTransformer method in 11 we no longer experience such issues.
> Key Transformer registration is required on all nodes of the cluster, in case of custom keys
> --------------------------------------------------------------------------------------------
>
> Key: ISPN-2575
> URL: https://issues.redhat.com/browse/ISPN-2575
> Project: Infinispan
> Issue Type: Enhancement
> Components: Embedded Querying
> Affects Versions: 5.2.0.Beta5
> Reporter: Anna Manukyan
> Assignee: Nistor Adrian
> Priority: Minor
> Fix For: 11.0.0.Final
>
> Attachments: ClusteredCacheTest.java
>
>
> The case is the following:
> I have a clustered cache on which I want to perform a search. I'm doing the following:
> I'm initializing SearchManager on node1, I'm registering a custom key transformer for my key using the created searchmanager, but then when I'm trying to put data into the cache on node1 (which is in REPL_SYNC mode with cache on node2), I'm getting the exception:
> java.lang.IllegalArgumentException: Indexing only works with entries keyed on Strings, primitives and classes that have the @Transformable annotation - you passed in a class org.infinispan.query.test.CustomKey3. Alternatively, see org.infinispan.query.SearchManager#registerKeyTransformer
> When I'm initializing the SearchManager using node2 cache and register the keyTransformer on it as well, then everything works perfectly, even though I am not using the second created SearchManager.
> The test which reproduces the issue is attached to the jira. Please see the test case: testSearchKeyTransformer()
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-9513) Transformers registered via SearchManagerImplementor.registerKeyTransformer should be propagated in the cluster
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/ISPN-9513?page=com.atlassian.jira.plugin... ]
Nistor Adrian commented on ISPN-9513:
-------------------------------------
The experimental implementation using an internal replicated cache (similar to the way QueryKnownClasses) was pretty dodgy and never made it in master. Meanwhile, QueryKnownClasses is no longer present in 11 and SearchManagerImplementor.registerKeyTransformer was deprecated in 10, to be removed in 11. The logical step is to close this as WON'T FIX.
> Transformers registered via SearchManagerImplementor.registerKeyTransformer should be propagated in the cluster
> ---------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-9513
> URL: https://issues.redhat.com/browse/ISPN-9513
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 5.2.0.Final
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
>
> This can be achieved in a similar manner QueryKnownClasses is used to propagate indexed entities to other nodes.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-7180) ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-7180?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-7180:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8357
> ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
> ---------------------------------------------------------------------------------
>
> Key: ISPN-7180
> URL: https://issues.redhat.com/browse/ISPN-7180
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Critical
> Labels: testsuite_stability
> Attachments: ClientClusterExpirationEventsTest_20161015.log.gz
>
>
> {noformat}
> 00:31:53,427 ERROR (testng-ClientClusterExpirationEventsTest:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration
> java.lang.AssertionError: expected:<-2029326077> but was:<-1572153589>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.8.8.jar:?]
> at org.infinispan.test.TestingUtil.assertAnyEquals(TestingUtil.java:1481) ~[infinispan-core-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.EventLogListener.expectSingleEvent(EventLogListener.java:160) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.EventLogListener.expectOnlyExpiredEvent(EventLogListener.java:136) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.lambda$testNullValueMetadataExpiration$77(ClientClusterExpirationEventsTest.java:158) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest$$Lambda$365/1048942861.accept(Unknown Source) ~[?:?]
> at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.withClientListener(HotRodClientTestingUtil.java:176) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration(ClientClusterExpirationEventsTest.java:152) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-7180) ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-7180?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-7180:
------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 11.0.0.CR1
Resolution: Done
> ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
> ---------------------------------------------------------------------------------
>
> Key: ISPN-7180
> URL: https://issues.redhat.com/browse/ISPN-7180
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 11.0.0.CR1
>
> Attachments: ClientClusterExpirationEventsTest_20161015.log.gz
>
>
> {noformat}
> 00:31:53,427 ERROR (testng-ClientClusterExpirationEventsTest:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration
> java.lang.AssertionError: expected:<-2029326077> but was:<-1572153589>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.8.8.jar:?]
> at org.infinispan.test.TestingUtil.assertAnyEquals(TestingUtil.java:1481) ~[infinispan-core-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.EventLogListener.expectSingleEvent(EventLogListener.java:160) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.EventLogListener.expectOnlyExpiredEvent(EventLogListener.java:136) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.lambda$testNullValueMetadataExpiration$77(ClientClusterExpirationEventsTest.java:158) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest$$Lambda$365/1048942861.accept(Unknown Source) ~[?:?]
> at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.withClientListener(HotRodClientTestingUtil.java:176) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration(ClientClusterExpirationEventsTest.java:152) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-7180) ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-7180?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-7180:
------------------------------
Status: Open (was: New)
> ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
> ---------------------------------------------------------------------------------
>
> Key: ISPN-7180
> URL: https://issues.redhat.com/browse/ISPN-7180
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Critical
> Labels: testsuite_stability
> Attachments: ClientClusterExpirationEventsTest_20161015.log.gz
>
>
> {noformat}
> 00:31:53,427 ERROR (testng-ClientClusterExpirationEventsTest:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration
> java.lang.AssertionError: expected:<-2029326077> but was:<-1572153589>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.8.8.jar:?]
> at org.infinispan.test.TestingUtil.assertAnyEquals(TestingUtil.java:1481) ~[infinispan-core-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.EventLogListener.expectSingleEvent(EventLogListener.java:160) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.EventLogListener.expectOnlyExpiredEvent(EventLogListener.java:136) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.lambda$testNullValueMetadataExpiration$77(ClientClusterExpirationEventsTest.java:158) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest$$Lambda$365/1048942861.accept(Unknown Source) ~[?:?]
> at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.withClientListener(HotRodClientTestingUtil.java:176) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration(ClientClusterExpirationEventsTest.java:152) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-7180) ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-7180?page=com.atlassian.jira.plugin... ]
Pedro Ruivo reassigned ISPN-7180:
---------------------------------
Assignee: Will Burns
> ClientClusterExpirationEventsTest.testNullValueMetadataExpiration random failures
> ---------------------------------------------------------------------------------
>
> Key: ISPN-7180
> URL: https://issues.redhat.com/browse/ISPN-7180
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Critical
> Labels: testsuite_stability
> Attachments: ClientClusterExpirationEventsTest_20161015.log.gz
>
>
> {noformat}
> 00:31:53,427 ERROR (testng-ClientClusterExpirationEventsTest:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration
> java.lang.AssertionError: expected:<-2029326077> but was:<-1572153589>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.8.8.jar:?]
> at org.infinispan.test.TestingUtil.assertAnyEquals(TestingUtil.java:1481) ~[infinispan-core-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.EventLogListener.expectSingleEvent(EventLogListener.java:160) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.EventLogListener.expectOnlyExpiredEvent(EventLogListener.java:136) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.lambda$testNullValueMetadataExpiration$77(ClientClusterExpirationEventsTest.java:158) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest$$Lambda$365/1048942861.accept(Unknown Source) ~[?:?]
> at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.withClientListener(HotRodClientTestingUtil.java:176) ~[test-classes/:?]
> at org.infinispan.client.hotrod.event.ClientClusterExpirationEventsTest.testNullValueMetadataExpiration(ClientClusterExpirationEventsTest.java:152) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months