[JBoss JIRA] (ISPN-8001) HotRodCustomMarshallerIteratorIT fails randomly
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-8001?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-8001:
--------------------------------
Description:
There seems to be a race condition between the execution of the test and the deployment of the marshaller.
{code}
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.355 sec <<< FAILURE! - in org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT
testIteration(org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT) Time elapsed: 0.103 sec <<< ERROR!
org.infinispan.client.hotrod.exceptions.HotRodClientException: java.io.IOException: Unsupported protocol version 40
at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:51)
at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:104)
at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:88)
at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.iteratorToMap(HotRodCustomMarshallerIteratorIT.java:145)
at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.testIteration(HotRodCustomMarshallerIteratorIT.java:132)
{code}
was:
There seems to be a race condition between the execution of the test and the deployment on the marshaller.
{code}
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.355 sec <<< FAILURE! - in org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT
testIteration(org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT) Time elapsed: 0.103 sec <<< ERROR!
org.infinispan.client.hotrod.exceptions.HotRodClientException: java.io.IOException: Unsupported protocol version 40
at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:51)
at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:104)
at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:88)
at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.iteratorToMap(HotRodCustomMarshallerIteratorIT.java:145)
at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.testIteration(HotRodCustomMarshallerIteratorIT.java:132)
{code}
> HotRodCustomMarshallerIteratorIT fails randomly
> -----------------------------------------------
>
> Key: ISPN-8001
> URL: https://issues.jboss.org/browse/ISPN-8001
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols, Test Suite - Server
> Affects Versions: 9.1.0.Beta1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Labels: testsuite_stability
> Fix For: 9.2.0.Final
>
>
> There seems to be a race condition between the execution of the test and the deployment of the marshaller.
> {code}
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.355 sec <<< FAILURE! - in org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT
> testIteration(org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT) Time elapsed: 0.103 sec <<< ERROR!
> org.infinispan.client.hotrod.exceptions.HotRodClientException: java.io.IOException: Unsupported protocol version 40
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
> at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:51)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:104)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:88)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.iteratorToMap(HotRodCustomMarshallerIteratorIT.java:145)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.testIteration(HotRodCustomMarshallerIteratorIT.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8455) PushTransferTest.testNodeJoin failure
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8455?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8455:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.2.0.Beta1
Resolution: Done
> PushTransferTest.testNodeJoin failure
> -------------------------------------
>
> Key: ISPN-8455
> URL: https://issues.jboss.org/browse/ISPN-8455
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Alpha2
> Reporter: Radim Vansa
> Assignee: Radim Vansa
> Labels: testsuite_stability
> Fix For: 9.2.0.Beta1
>
>
> http://ci.infinispan.org/job/Infinispan/job/PR-5549/1/testReport/junit/or...
> {code}
> java.lang.AssertionError: Key MagicKey#key0{E01/1F11243A/3@PushTransferTest-NodeA-3984} has incorrect number of copies expected:<2> but was:<3>
> at org.infinispan.scattered.statetransfer.PushTransferTest.testNodeJoin(PushTransferTest.java:93)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8454) Off Heap can crash when using JMH test
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8454?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-8454:
-------------------------------------
I have been able to finally generate some logs. And it seems this happens when an memory location that mapped to a given key is removed, but for some reason it isn't removed from the memory lookup. This can cause this memory location to possibly reused and stored in a different memory address, causing it to be returned when it shouldn't. Then when the key is removed from LRU it causes a crash when it frees it. The reason that JMH test exhibits this is due to the fact that the cache is retained between runs and causes the entry to eventually be removed by LRU.
This gist shows where it didn't remove the entry in the memory address. Would have expected it to update the memory address to point to the new one.
https://gist.github.com/wburns/8ddb3cac6b4f9f904f8e99aa8e6238da
> Off Heap can crash when using JMH test
> --------------------------------------
>
> Key: ISPN-8454
> URL: https://issues.jboss.org/browse/ISPN-8454
> Project: Infinispan
> Issue Type: Bug
> Components: Off Heap
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.2.0.Beta1
>
>
> I have a jmh branch from our benchmarks that always can crash off heap when not using tracing. For whatever reason I can't seem to reliably produce it with tracing. This JIRA is to handle this issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-5728) Implement all the default methods in Java 8's Map interface
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-5728?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-5728:
-------------------------------------
Yeah _containsValue_ is supported now, so that should definitely be removed :)
> Implement all the default methods in Java 8's Map interface
> -----------------------------------------------------------
>
> Key: ISPN-5728
> URL: https://issues.jboss.org/browse/ISPN-5728
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 8.0.0.Final
> Reporter: Dan Berindei
> Assignee: Katia Aresti
>
> Java 8 added many new methods to the {{Map}} interface. Some of them were already present in {{ConcurrentMap}}, but others are new: {{getOrDefault()}}, {{forEach()}}, {{replaceAll()}}, {{computeIfAbsent()}}, {{computeIfPresent()}}, {{compute()}}, {{merge()}}.
> We should try to write Infinispan-specific implementations wherever that would improve correctness and/or performance.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8462) Enable custom EntryMergePolicy deployments on the server
by Ryan Emerson (JIRA)
Ryan Emerson created ISPN-8462:
----------------------------------
Summary: Enable custom EntryMergePolicy deployments on the server
Key: ISPN-8462
URL: https://issues.jboss.org/browse/ISPN-8462
Project: Infinispan
Issue Type: Enhancement
Components: Server
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 9.2.0.Final
It should be possible for users to deploy custom implementations of the EntryMergePolicy interface in the same manner that custom cache stores are deployed.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8461) Administration console - create user friendly configuration validation errors
by Vladimir Blagojevic (JIRA)
Vladimir Blagojevic created ISPN-8461:
-----------------------------------------
Summary: Administration console - create user friendly configuration validation errors
Key: ISPN-8461
URL: https://issues.jboss.org/browse/ISPN-8461
Project: Infinispan
Issue Type: Enhancement
Components: Console
Affects Versions: 9.1.1.Final, 9.2.0.Alpha2
Reporter: Vladimir Blagojevic
Assignee: Vladimir Blagojevic
Fix For: 9.2.0.Final
While in ISPN-7262 we have ensured that all configurations are indeed checked for validity before being saved we have not provided user-friendly error descriptions. Current errors in place, although informational and correct, look scary and verbose. We should parse the configuration validation errors and display them in a more user friendly approach.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months
[JBoss JIRA] (ISPN-8460) Administration console - create user friendly configuration validation errors
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8460?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-8460:
--------------------------------------
Description: While in ISPN-7262 we have ensured that all configurations are indeed checked for validity before being saved we have not provided user-friendly error descriptions. Current errors in place, although informational and correct, look scary and verbose. We should parse the configuration validation errors and display them in a more user friendly approach. (was: While in ISPN-7262 we have ensured that all configurations are indeed checked for validity before being saved we have not provided user-friendly error descriptions. Current errors in place, although informational and correct, look scary and verbose. )
> Administration console - create user friendly configuration validation errors
> -----------------------------------------------------------------------------
>
> Key: ISPN-8460
> URL: https://issues.jboss.org/browse/ISPN-8460
> Project: Infinispan
> Issue Type: Enhancement
> Components: Console
> Affects Versions: 9.1.1.Final, 9.2.0.Alpha2
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Fix For: 9.2.0.Final
>
> Attachments: Screen Shot 2017-11-01 at 6.08.57 AM.png
>
>
> While in ISPN-7262 we have ensured that all configurations are indeed checked for validity before being saved we have not provided user-friendly error descriptions. Current errors in place, although informational and correct, look scary and verbose. We should parse the configuration validation errors and display them in a more user friendly approach.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 2 months