[JBoss JIRA] (ISPN-7542) RESTClientWithSniEncryptionIT#testAuthorizedAccessThroughSni fails on all environments
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-7542?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reopened ISPN-7542:
---------------------------------------
This test is still unstable. Though failure is different now:
http://ec2-52-215-14-157.eu-west-1.compute.amazonaws.com:8080/job/Infinis...
> RESTClientWithSniEncryptionIT#testAuthorizedAccessThroughSni fails on all environments
> --------------------------------------------------------------------------------------
>
> Key: ISPN-7542
> URL: https://issues.jboss.org/browse/ISPN-7542
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Reporter: Anna Manukyan
> Assignee: Sebastian Łaskawiec
> Priority: Critical
> Fix For: 9.0.0.Final
>
>
> Test {{RESTClientWithSniEncryptionIT#testAuthorizedAccessThroughSni}} fails on all environments with the following error:
> {code}
> java.lang.AssertionError: expected:<200> but was:<404>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.infinispan.server.test.client.rest.RESTHelper.assertEquals(RESTHelper.java:378)
> at org.infinispan.server.test.client.rest.RESTHelper.put(RESTHelper.java:229)
> at org.infinispan.server.test.client.rest.RESTHelper.put(RESTHelper.java:206)
> at org.infinispan.server.test.client.rest.RESTHelper.put(RESTHelper.java:202)
> at org.infinispan.server.test.client.rest.RESTClientWithSniEncryptionIT.testAuthorizedAccessThroughSni(RESTClientWithSniEncryptionIT.java:85)
> {code}
> The server log is:
> {code}
> &#27;[0m14:24:06,579 INFO [org.jboss.resteasy.plugins.server.netty.i18n] (nioEventLoopGroup-8-1) RESTEASY018512: Exception caught by handler: io.netty.handler.codec.DecoderException: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)
> at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:610)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:551)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:465)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:437)
> at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
> at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
> at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)
> at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800)
> at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083)
> at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907)
> at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)
> at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
> at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1094)
> at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:966)
> at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:900)
> at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)
> ... 16 more
> {code}
> The {{RESTClientWithSniEncryptionIT#testUnauthorizedAccessToDefaultSSLContext}} test also fails but randomly with the error:
> {code}
> java.lang.RuntimeException: Could not retrieve HotRod host
> at org.jboss.remoting3.remote.RemoteConnectionChannel.openOutboundMessage(RemoteConnectionChannel.java:115)
> at org.jboss.remoting3.remote.RemoteConnectionChannel.writeMessage(RemoteConnectionChannel.java:307)
> at org.jboss.remotingjmx.protocol.v2.Common.write(Common.java:180)
> at org.jboss.remotingjmx.protocol.v2.ClientConnection$TheConnection.getAttribute(ClientConnection.java:823)
> at org.infinispan.arquillian.utils.MBeanUtils.getMBeanAttribute(MBeanUtils.java:55)
> at org.infinispan.arquillian.core.RESTEndpoint.getInetAddress(RESTEndpoint.java:60)
> at org.infinispan.server.test.client.rest.RESTClientWithSniEncryptionIT.setup(RESTClientWithSniEncryptionIT.java:53)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7743) DistributedStreamIteratorTest.testNodeLeavesWhileIteratingOverContainerCausingRehashToLoseValues fails randomly
by William Burns (JIRA)
William Burns created ISPN-7743:
-----------------------------------
Summary: DistributedStreamIteratorTest.testNodeLeavesWhileIteratingOverContainerCausingRehashToLoseValues fails randomly
Key: ISPN-7743
URL: https://issues.jboss.org/browse/ISPN-7743
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.Final
Reporter: William Burns
Assignee: William Burns
Fix For: 9.1.0.Final
testNodeLeavesWhileIteratingOverContainerCausingRehashToLoseValues waits for rehash to complete. If this is slow for some reason it can cause the rest of the test to time out. There is no reason for the test itself to wait for the rehash as the stream operation should handle this automatically anyways.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7742) Update Elasticsearch integration tests to use version 5.3 (from 2.x)
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-7742?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-7742:
----------------------------------
Fix Version/s: 9.1.0.Final
9.1.0.Alpha1
> Update Elasticsearch integration tests to use version 5.3 (from 2.x)
> --------------------------------------------------------------------
>
> Key: ISPN-7742
> URL: https://issues.jboss.org/browse/ISPN-7742
> Project: Infinispan
> Issue Type: Task
> Components: Build process, Test Suite - Query
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 9.1.0.Final, 9.1.0.Alpha1
>
>
> Hibernate Search now supports both Elasticsearch versions {{2.x}} and {{5.x}}. I'll update the Infinispan integration tests to target the improved version 5.x, not least the configuration and integration tests are slightly simpler to maintain as we no longer need additional plugins.
> Also, we'll eventually drop support for the older Elasticsearch version.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (ISPN-7742) Update Elasticsearch integration tests to use version 5.3 (from 2.x)
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-7742?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-7742:
----------------------------------
Status: Open (was: New)
> Update Elasticsearch integration tests to use version 5.3 (from 2.x)
> --------------------------------------------------------------------
>
> Key: ISPN-7742
> URL: https://issues.jboss.org/browse/ISPN-7742
> Project: Infinispan
> Issue Type: Task
> Components: Build process, Test Suite - Query
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
>
> Hibernate Search now supports both Elasticsearch versions {{2.x}} and {{5.x}}. I'll update the Infinispan integration tests to target the improved version 5.x, not least the configuration and integration tests are slightly simpler to maintain as we no longer need additional plugins.
> Also, we'll eventually drop support for the older Elasticsearch version.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months