[Red Hat JIRA] (ISPN-12694) CacheV2ResourceTest#testSearchStatistics random failures
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12694?page=com.atlassian.jira.plugi... ]
Work on ISPN-12694 started by Gustavo Fernandes.
------------------------------------------------
> CacheV2ResourceTest#testSearchStatistics random failures
> --------------------------------------------------------
>
> Key: ISPN-12694
> URL: https://issues.redhat.com/browse/ISPN-12694
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> [ERROR] org.infinispan.rest.resources.CacheV2ResourceTest.rest.CacheV2ResourceTest Time elapsed: 0.028 s <<< FAILURE!
> java.lang.AssertionError:
> Expecting:
> <500>
> to be between:
> [200, 204]
> at org.infinispan.rest.assertion.ResponseAssertion.isOk(ResponseAssertion.java:75)
> at org.infinispan.rest.resources.CacheV2ResourceTest.testSearchStatistics(CacheV2ResourceTest.java:690)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12694) CacheV2ResourceTest#testSearchStatistics random failures
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12694?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12694:
-------------------------------------
Affects Version/s: 12.0.0.Final
> CacheV2ResourceTest#testSearchStatistics random failures
> --------------------------------------------------------
>
> Key: ISPN-12694
> URL: https://issues.redhat.com/browse/ISPN-12694
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Affects Versions: 12.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> [ERROR] org.infinispan.rest.resources.CacheV2ResourceTest.rest.CacheV2ResourceTest Time elapsed: 0.028 s <<< FAILURE!
> java.lang.AssertionError:
> Expecting:
> <500>
> to be between:
> [200, 204]
> at org.infinispan.rest.assertion.ResponseAssertion.isOk(ResponseAssertion.java:75)
> at org.infinispan.rest.resources.CacheV2ResourceTest.testSearchStatistics(CacheV2ResourceTest.java:690)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12694) CacheV2ResourceTest#testSearchStatistics random failures
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12694?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12694:
-------------------------------------
Status: Open (was: New)
> CacheV2ResourceTest#testSearchStatistics random failures
> --------------------------------------------------------
>
> Key: ISPN-12694
> URL: https://issues.redhat.com/browse/ISPN-12694
> Project: Infinispan
> Issue Type: Bug
> Components: REST
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> [ERROR] org.infinispan.rest.resources.CacheV2ResourceTest.rest.CacheV2ResourceTest Time elapsed: 0.028 s <<< FAILURE!
> java.lang.AssertionError:
> Expecting:
> <500>
> to be between:
> [200, 204]
> at org.infinispan.rest.assertion.ResponseAssertion.isOk(ResponseAssertion.java:75)
> at org.infinispan.rest.resources.CacheV2ResourceTest.testSearchStatistics(CacheV2ResourceTest.java:690)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12694) CacheV2ResourceTest#testSearchStatistics random failures
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-12694:
----------------------------------------
Summary: CacheV2ResourceTest#testSearchStatistics random failures
Key: ISPN-12694
URL: https://issues.redhat.com/browse/ISPN-12694
Project: Infinispan
Issue Type: Bug
Components: REST
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
{noformat}
[ERROR] org.infinispan.rest.resources.CacheV2ResourceTest.rest.CacheV2ResourceTest Time elapsed: 0.028 s <<< FAILURE!
java.lang.AssertionError:
Expecting:
<500>
to be between:
[200, 204]
at org.infinispan.rest.assertion.ResponseAssertion.isOk(ResponseAssertion.java:75)
at org.infinispan.rest.resources.CacheV2ResourceTest.testSearchStatistics(CacheV2ResourceTest.java:690)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989
{noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12692) HotRodUpgradeEncodingsTest random failures
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-12692?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-12692:
-----------------------------------
Fix Version/s: 12.1.0.Dev01
Resolution: Done
Status: Resolved (was: Pull Request Sent)
> HotRodUpgradeEncodingsTest random failures
> ------------------------------------------
>
> Key: ISPN-12692
> URL: https://issues.redhat.com/browse/ISPN-12692
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 12.0.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 12.1.0.Dev01
>
>
> {noformat}
> Caused by: java.lang.AssertionError: Blocking call! jdk.internal.misc.Unsafe#park on thread Thread[ForkJoinPool.commonPool-worker-7,5,HotRod-client-async-pool-group]
> at org.infinispan.util.CoreTestBlockHoundIntegration.lambda$applyTo$0(CoreTestBlockHoundIntegration.java:49)
> at reactor.blockhound.BlockHound$Builder.lambda$install$8(BlockHound.java:383)
> at reactor.blockhound.BlockHoundRuntime.checkBlocking(BlockHoundRuntime.java:89)
> at java.base/jdk.internal.misc.Unsafe.park(Unsafe.java)
> at org.infinispan.client.hotrod.impl.Util.await(Util.java:51)
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:196)
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:186)
> at org.infinispan.persistence.remote.upgrade.HotRodUpgradeEncodingsTest.lambda$loadSourceCluster$0(HotRodUpgradeEncodingsTest.java:75)
> {noformat}
> The test uses parallel streams that causes it to use a thread that is not excluded by BlockHound as configured in CommonsTestBlockHoundIntegration
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (IPROTO-182) Enhance java.time.Instant default value support
by Dan Berindei (Jira)
Dan Berindei created IPROTO-182:
-----------------------------------
Summary: Enhance java.time.Instant default value support
Key: IPROTO-182
URL: https://issues.redhat.com/browse/IPROTO-182
Project: Infinispan ProtoStream
Issue Type: Enhancement
Reporter: Dan Berindei
Because of IPROTO-114, I had to set a default value for {{java.time.Instant}} fields.
The {{defaultValue}} javadoc says {{The value is given in the form of a string that must obey correct syntax (as defined by Protobuf spec.)}}, but the protobuf documentation isn't very clear on what the default value for a {{Timestamp}} field should look like, and {{java.time.Instant}} isn't exactly a {{Timestamp}} anyway.
The correct default value format is a positive number, representing milliseconds since the UNIX epoch, but this format is not documented.
But negative values should also be supported, because {{java.time.Instant}} can represent timestamps before the UNIX epoch.
It would be even better to support the RFC 3339 format ({{"1972-01-01T10:00:20.021Z"}}) that protobuf uses when mapping a {{Timestamp}} to JSON.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12646) IllegalArgumentException when doing Rolling Upgrades on transactional caches
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12646?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12646:
-------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/9007, https://github.com/infinispan/infinispan/pull/9033 (was: https://github.com/infinispan/infinispan/pull/9007)
> IllegalArgumentException when doing Rolling Upgrades on transactional caches
> ----------------------------------------------------------------------------
>
> Key: ISPN-12646
> URL: https://issues.redhat.com/browse/ISPN-12646
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.9.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> Caused by: java.lang.IllegalArgumentException: Cannot create a transactional context without a valid Transaction instance.
> at org.infinispan.context.impl.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
> [...]
> at org.infinispan.cache.impl.DecoratedCache.putIfAbsent(DecoratedCache.java:688)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putIfAbsent(AbstractDelegatingAdvancedCache.java:328)
> at org.infinispan.cache.impl.EncoderCache.putIfAbsent(EncoderCache.java:450)
> at org.infinispan.persistence.remote.upgrade.MigrationTask.lambda$migrateEntriesWithMetadata$0(MigrationTask.java:128)
> at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1771)
> {noformat}
> The migration component that obtains data from the remote cache does not use transactions to write to the destination cache, and since it runs on a separate thread, it cannot see any ongoing transaction and thus fail to write to the cache.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months