[ 
https://issues.apache.org/jira/browse/IGNITE-15256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397487#comment-17397487
 ] 

Ignite TC Bot commented on IGNITE-15256:
----------------------------------------

{panel:title=Branch: [pull/9307/head] Base: [master] : Possible Blockers 
(21)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform .NET (Core Linux){color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=6126436]]

{color:#d04437}Control Utility (Zookeeper){color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=6126454]]

{color:#d04437}Platform .NET{color} [[tests 0 TIMEOUT 
|https://ci.ignite.apache.org/viewLog.html?buildId=6126435]]

{color:#d04437}Cache 6{color} [[tests 
2|https://ci.ignite.apache.org/viewLog.html?buildId=6126421]]
* IgniteCacheTestSuite6: 
CacheExchangeMergeTest.testMergeExchangeCoordinatorChange4 - Test has low fail 
rate in base branch 0,0% and is not flaky
* IgniteCacheTestSuite6: 
TxRollbackOnIncorrectParamsTest.testTimeoutSetRemoteGuarantee - Test has low 
fail rate in base branch 0,0% and is not flaky

{color:#d04437}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=6126400]]
* IgniteBasicTestSuite: BPlusTreeFakeReuseSelfTest.testPutSizeLivelock - Test 
has low fail rate in base branch 0,0% and is not flaky

{color:#d04437}PDS 4{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=6126434]]
* IgnitePdsTestSuite4: 
IgnitePdsDefragmentationTest.testFailoverIncompletedPartition2 - Test has low 
fail rate in base branch 0,0% and is not flaky

{color:#d04437}ZooKeeper (Discovery) 4{color} [[tests 
12|https://ci.ignite.apache.org/viewLog.html?buildId=6126442]]
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testAtomicLongRetries - Test has low 
fail rate in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testPutAsyncStoreEnabled - Test has 
low fail rate in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testInvokeAll - Test has low fail rate 
in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testFailsWithNoRetriesAsync - Test has 
low fail rate in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testPutAsync - Test has low fail rate 
in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testPut - Test has low fail rate in 
base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testGetAndPut - Test has low fail rate 
in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testInvoke - Test has low fail rate in 
base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testInvokeAllEvict - Test has low fail 
rate in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testFailsWithNoRetries - Test has low 
fail rate in base branch 0,0% and is not flaky
* ZookeeperDiscoverySpiTestSuite4: 
IgniteCachePutRetryTransactionalSelfTest.testPutAll - Test has low fail rate in 
base branch 0,0% and is not flaky
... and 1 tests blockers

{color:#d04437}ZooKeeper (Discovery) 2{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=6126398]]
* ZookeeperDiscoverySpiTestSuite2: 
IgniteClientReconnectCacheTest.testReconnectMultinodeLongHistory - Test has low 
fail rate in base branch 0,0% and is not flaky

{color:#d04437}PDS 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=6126431]]
* IgnitePdsTestSuite: 
DistributedConfigurationPersistentTest.testReadLocalValueOnInactiveGrid - Test 
has low fail rate in base branch 0,0% and is not flaky

{panel}
{panel:title=Branch: [pull/9307/head] Base: [master] : New Tests 
(4)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Thin Client: Java{color} [[tests 
4|https://ci.ignite.apache.org/viewLog.html?buildId=6126382]]
* {color:#013220}ClientTestSuite: 
ReliabilityTest.testServiceMethodInvocationAfterFailover - PASSED{color}
* {color:#013220}ClientTestSuite: 
ReliabilityTestPartitionAwareAsync.testServiceMethodInvocationAfterFailover - 
PASSED{color}
* {color:#013220}ClientTestSuite: 
ReliabilityTestPartitionAware.testServiceMethodInvocationAfterFailover - 
PASSED{color}
* {color:#013220}ClientTestSuite: 
ReliabilityTestAsync.testServiceMethodInvocationAfterFailover - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6126461&buildTypeId=IgniteTests24Java8_RunAll]

> ClassNotFoundException on attempt to invoke service method from Java 
> ThinClient after cluster failover
> ------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-15256
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15256
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.10
>            Reporter: Ivan Fedorenkov
>            Assignee: Ivan Fedorenkov
>            Priority: Major
>             Fix For: 2.12
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Say, we have a thin client that uses some ignite service. This service 
> exposes a method with an Externalizable input parameter. If cluster fails 
> over after some period of successful interactions between the cluster and the 
> client the following exception could be observed in cluster logs:
> {code:java}
> [2021-08-04 
> 23:22:44,695][ERROR][client-connector-#114%client.ReliabilityTest%][ClientListenerNioListener]
>  Failed to parse client request.
> class org.apache.ignite.binary.BinaryObjectException: Failed to unmarshal 
> object with optimized marshaller
>       at 
> org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1819)
>       at 
> org.apache.ignite.internal.binary.BinaryUtils.unmarshal(BinaryUtils.java:2034)
>       at 
> org.apache.ignite.internal.binary.BinaryReaderExImpl.readObjectDetached(BinaryReaderExImpl.java:1341)
>       at 
> org.apache.ignite.internal.binary.BinaryReaderExImpl.readObjectDetached(BinaryReaderExImpl.java:1336)
>       at 
> org.apache.ignite.internal.processors.platform.client.service.ClientServiceInvokeRequest.<init>(ClientServiceInvokeRequest.java:126)
>       at 
> org.apache.ignite.internal.processors.platform.client.ClientMessageParser.decode(ClientMessageParser.java:486)
>       at 
> org.apache.ignite.internal.processors.platform.client.ClientMessageParser.decode(ClientMessageParser.java:311)
>       at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:164)
>       at 
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:55)
>       at 
> org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279)
>       at 
> org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
>       at 
> org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97)
>       at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125)
>       at 
> org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70)
>       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)
> Caused by: class 
> org.apache.ignite.internal.marshaller.optimized.OptimizedMarshallerInaccessibleClassException:
>  Failed to find class with given class loader for unmarshalling (make sure 
> same versions of all classes are available on all nodes or enable 
> peer-class-loading) [clsLdr=sun.misc.Launcher$AppClassLoader@18b4aac2, 
> cls=Failed to resolve class name [platformId=0, platform=Java, 
> typeId=-771474336]]
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:257)
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:225)
>       at 
> org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:92)
>       at 
> org.apache.ignite.internal.binary.BinaryUtils.doReadOptimized(BinaryUtils.java:1816)
>       ... 16 more
> Caused by: java.lang.ClassNotFoundException: Failed to resolve class name 
> [platformId=0, platform=Java, typeId=-771474336]
>       at 
> org.apache.ignite.internal.MarshallerContextImpl.getClassName(MarshallerContextImpl.java:459)
>       at 
> org.apache.ignite.internal.MarshallerContextImpl.getClassName(MarshallerContextImpl.java:384)
>       at 
> org.apache.ignite.internal.MarshallerContextImpl.getClass(MarshallerContextImpl.java:371)
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedMarshallerUtils.descriptorFromCache(OptimizedMarshallerUtils.java:329)
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:274)
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObject0(OptimizedObjectInputStream.java:348)
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedObjectInputStream.readObjectOverride(OptimizedObjectInputStream.java:205)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:494)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
>       at 
> org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.unmarshal0(OptimizedMarshaller.java:251)
>       ... 19 more
> [2021-08-04 23:22:44,698][WARN 
> ][grid-nio-worker-client-listener-0-#90%client.ReliabilityTest%][ClientListenerProcessor]
>  Failed to shutdown socket: null
> java.nio.channels.ClosedChannelException
>       at 
> sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:796)
>       at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:423)
>       at 
> org.apache.ignite.internal.util.IgniteUtils.close(IgniteUtils.java:4234)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.closeKey(GridNioServer.java:2784)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.close(GridNioServer.java:2835)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.close(GridNioServer.java:2794)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2157)
>       at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1910)
>       at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125)
>       at java.lang.Thread.run(Thread.java:748) {code}
> Root cause: client believes that it has registered the type within the 
> cluster, but cluster can loose this information after failover if its working 
> directory gets erased.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to