[
https://issues.apache.org/jira/browse/IGNITE-20180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Bessonov updated IGNITE-20180:
-----------------------------------
Description:
[https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7421392?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandCode+Inspection=true&expandBuildChangesSection=true&expandBuildTestsSection=true&expandBuildProblemsSection=true]
{code:java}
Caused by: java.lang.NullPointerException
at
org.apache.ignite.internal.storage.rocksdb.RocksDbMvPartitionStorage.lambda$read$13(RocksDbMvPartitionStorage.java:602)
at
org.apache.ignite.internal.storage.rocksdb.RocksDbMvPartitionStorage.busy(RocksDbMvPartitionStorage.java:1420)
at
org.apache.ignite.internal.storage.rocksdb.RocksDbMvPartitionStorage.read(RocksDbMvPartitionStorage.java:599)
at
org.apache.ignite.distributed.ItTablePersistenceTest.lambda$mockPartitionReplicaListener$4(ItTablePersistenceTest.java:234)
at
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:42)
at
org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
at
org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
at
org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
at
org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.invoke(PartitionReplicaListener.java:327)
at
org.apache.ignite.distributed.ItTablePersistenceTest.lambda$beforeFollowerStop$1(ItTablePersistenceTest.java:189)
at
org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:42)
at
org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
at
org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at
org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
at
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
at
org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
at
org.apache.ignite.internal.replicator.ReplicaService.invoke(ReplicaService.java:195)
at
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl.lambda$enlistWithRetry$3(InternalTableImpl.java:450)
... 14 more {code}
In test we are reading data not from the leader, but from a random alive node
that happens to be a leader most of the time. This doesn't give us any
guarantees of data availability
was:https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7421392?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandCode+Inspection=true&expandBuildChangesSection=true&expandBuildTestsSection=true&expandBuildProblemsSection=true
> Fix flaky ItTablePersistenceTest#testSnapshot
> ---------------------------------------------
>
> Key: IGNITE-20180
> URL: https://issues.apache.org/jira/browse/IGNITE-20180
> Project: Ignite
> Issue Type: Improvement
> Reporter: Ivan Bessonov
> Assignee: Ivan Bessonov
> Priority: Major
> Labels: ignite-3
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7421392?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandCode+Inspection=true&expandBuildChangesSection=true&expandBuildTestsSection=true&expandBuildProblemsSection=true]
> {code:java}
> Caused by: java.lang.NullPointerException
> at
> org.apache.ignite.internal.storage.rocksdb.RocksDbMvPartitionStorage.lambda$read$13(RocksDbMvPartitionStorage.java:602)
> at
> org.apache.ignite.internal.storage.rocksdb.RocksDbMvPartitionStorage.busy(RocksDbMvPartitionStorage.java:1420)
> at
> org.apache.ignite.internal.storage.rocksdb.RocksDbMvPartitionStorage.read(RocksDbMvPartitionStorage.java:599)
> at
> org.apache.ignite.distributed.ItTablePersistenceTest.lambda$mockPartitionReplicaListener$4(ItTablePersistenceTest.java:234)
> at
> org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:42)
> at
> org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
> at
> org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
> at
> org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
> at
> org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
> at
> org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
> at
> org.apache.ignite.internal.table.distributed.replicator.PartitionReplicaListener.invoke(PartitionReplicaListener.java:327)
> at
> org.apache.ignite.distributed.ItTablePersistenceTest.lambda$beforeFollowerStop$1(ItTablePersistenceTest.java:189)
> at
> org.mockito.internal.stubbing.StubbedInvocationMatcher.answer(StubbedInvocationMatcher.java:42)
> at
> org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:103)
> at
> org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
> at
> org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
> at
> org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
> at
> org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
> at
> org.apache.ignite.internal.replicator.ReplicaService.invoke(ReplicaService.java:195)
> at
> org.apache.ignite.internal.table.distributed.storage.InternalTableImpl.lambda$enlistWithRetry$3(InternalTableImpl.java:450)
> ... 14 more {code}
> In test we are reading data not from the leader, but from a random alive node
> that happens to be a leader most of the time. This doesn't give us any
> guarantees of data availability
--
This message was sent by Atlassian Jira
(v8.20.10#820010)