[
https://issues.apache.org/jira/browse/IGNITE-12419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin updated IGNITE-12419:
-----------------------------------------
Description:
It seems a long period of time, JCache suite did not run TCK tests and for now,
more than 90 tests are broken.
For example:
{noformat}
*no* further _formatting_ is done here
{noformat}
{noformat}
SEVERE: Failed to initialize cache(s) (will try to rollback)
[exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=161], discoEvt=DiscoveryCustomEvent
[customMsg=DynamicCacheChangeBatch
[id=fe5df36de61-0dd20864-f118-4e11-bcf2-12a651e87cb0, reqs=ArrayList
[DynamicCacheChangeRequest [cacheName=cache-loader-test, hasCfg=true,
nodeId=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab, clientStartOnly=false, stop=false,
destroy=false, disabledAfterStartfalse]], exchangeActions=ExchangeActions
[startCaches=[cache-loader-test], stopCaches=null,
startGrps=[cache-loader-test], stopGrps=[], resetParts=null,
stateChangeRequest=null], startCaches=false], affTopVer=AffinityTopologyVersion
[topVer=1, minorTopVer=161], super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab,
consistentId=0:0:0:0:0:0:0:1,127.0.0.1,172.17.251.129,172.25.4.114:47500,
addrs=ArrayList [0:0:0:0:0:0:0:1, 127.0.0.1, 172.17.251.129, 172.25.4.114],
sockAddrs=HashSet [/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
DESKTOP-IMRCA1M.mshome.net/172.17.251.129:47500, /172.25.4.114:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1575552670125, loc=true,
ver=2.8.0#20191205-sha1:00000000, isClient=false], topVer=1, nodeId8=4bed4ec0,
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1575552674811]], nodeId=4bed4ec0,
evt=DISCOVERY_CUSTOM_EVT],
caches=[o.a.i.i.processors.cache.ExchangeActions$CacheGroupActionData@24671b0e]]SEVERE:
Failed to initialize cache(s) (will try to rollback)
[exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=161], discoEvt=DiscoveryCustomEvent
[customMsg=DynamicCacheChangeBatch
[id=fe5df36de61-0dd20864-f118-4e11-bcf2-12a651e87cb0, reqs=ArrayList
[DynamicCacheChangeRequest [cacheName=cache-loader-test, hasCfg=true,
nodeId=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab, clientStartOnly=false, stop=false,
destroy=false, disabledAfterStartfalse]], exchangeActions=ExchangeActions
[startCaches=[cache-loader-test], stopCaches=null,
startGrps=[cache-loader-test], stopGrps=[], resetParts=null,
stateChangeRequest=null], startCaches=false], affTopVer=AffinityTopologyVersion
[topVer=1, minorTopVer=161], super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab,
consistentId=0:0:0:0:0:0:0:1,127.0.0.1,172.17.251.129,172.25.4.114:47500,
addrs=ArrayList [0:0:0:0:0:0:0:1, 127.0.0.1, 172.17.251.129, 172.25.4.114],
sockAddrs=HashSet [/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
DESKTOP-IMRCA1M.mshome.net/172.17.251.129:47500, /172.25.4.114:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1575552670125, loc=true,
ver=2.8.0#20191205-sha1:00000000, isClient=false], topVer=1, nodeId8=4bed4ec0,
msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1575552674811]], nodeId=4bed4ec0,
evt=DISCOVERY_CUSTOM_EVT],
caches=[o.a.i.i.processors.cache.ExchangeActions$CacheGroupActionData@24671b0e]]class
org.apache.ignite.IgniteCheckedException: Cannot enable read-through (loader
or store is not provided) for cache: cache-loader-test at
org.apache.ignite.internal.processors.cache.ValidationOnNodeJoinUtils.validate(ValidationOnNodeJoinUtils.java:348)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCacheContext(GridCacheProcessor.java:1190)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheContext(GridCacheProcessor.java:1984)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1915)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCaches$55a0e703$1(GridCacheProcessor.java:1790)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCachesIfPossible$9(GridCacheProcessor.java:1760)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCaches(GridCacheProcessor.java:1787)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCachesIfPossible(GridCacheProcessor.java:1758)
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:968)
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:854)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1281)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:811)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:3172)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:3021)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.lang.Thread.run(Thread.java:748)
{noformat}
It looks like, the root cause of the failure is IGNITE-1903 . At first glance,
it can be easily fixed.
I think that cache configuration initialization should be done before it is
split by {{CacheConfigurationSplitter}} -
{{GridCacheProcessor.prepareCacheChangeRequest()}}
was:
It seems a long period of time, JCache suite did not run TCK tests and for now,
more than 90 tests are broken with the following exception:
{code:java}
class org.apache.ignite.IgniteCheckedException: Cannot enable read-through
(loader or store is not provided) for cache: cache-loader-testclass
org.apache.ignite.IgniteCheckedException: Cannot enable read-through (loader or
store is not provided) for cache: cache-loader-test at
org.apache.ignite.internal.processors.cache.ValidationOnNodeJoinUtils.validate(ValidationOnNodeJoinUtils.java:348)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCacheContext(GridCacheProcessor.java:1190)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheContext(GridCacheProcessor.java:1984)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1915)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCaches$55a0e703$1(GridCacheProcessor.java:1790)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCachesIfPossible$9(GridCacheProcessor.java:1760)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCaches(GridCacheProcessor.java:1787)
at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCachesIfPossible(GridCacheProcessor.java:1758)
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:968)
at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:854)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1281)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:811)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:3172)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:3021)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.lang.Thread.run(Thread.java:748)
{code}
It looks like, the root cause of the failure is IGNITE-1903. At first glance,
it can be easily fixed.
I think that cache configuration initialization should be done before it is
split by {{CacheConfigurationSplitter -
GridCacheProcessor.prepareCacheChangeRequest()}}
> JCache TCK fails with NullPointerException
> ------------------------------------------
>
> Key: IGNITE-12419
> URL: https://issues.apache.org/jira/browse/IGNITE-12419
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.7.6
> Reporter: Vyacheslav Koptilin
> Assignee: Vyacheslav Koptilin
> Priority: Blocker
> Fix For: 2.8
>
>
> It seems a long period of time, JCache suite did not run TCK tests and for
> now, more than 90 tests are broken.
> For example:
> {noformat}
> *no* further _formatting_ is done here
> {noformat}
> {noformat}
> SEVERE: Failed to initialize cache(s) (will try to rollback)
> [exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
> minorTopVer=161], discoEvt=DiscoveryCustomEvent
> [customMsg=DynamicCacheChangeBatch
> [id=fe5df36de61-0dd20864-f118-4e11-bcf2-12a651e87cb0, reqs=ArrayList
> [DynamicCacheChangeRequest [cacheName=cache-loader-test, hasCfg=true,
> nodeId=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab, clientStartOnly=false,
> stop=false, destroy=false, disabledAfterStartfalse]],
> exchangeActions=ExchangeActions [startCaches=[cache-loader-test],
> stopCaches=null, startGrps=[cache-loader-test], stopGrps=[], resetParts=null,
> stateChangeRequest=null], startCaches=false],
> affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=161],
> super=DiscoveryEvent [evtNode=TcpDiscoveryNode
> [id=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab,
> consistentId=0:0:0:0:0:0:0:1,127.0.0.1,172.17.251.129,172.25.4.114:47500,
> addrs=ArrayList [0:0:0:0:0:0:0:1, 127.0.0.1, 172.17.251.129, 172.25.4.114],
> sockAddrs=HashSet [/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
> DESKTOP-IMRCA1M.mshome.net/172.17.251.129:47500, /172.25.4.114:47500],
> discPort=47500, order=1, intOrder=1, lastExchangeTime=1575552670125,
> loc=true, ver=2.8.0#20191205-sha1:00000000, isClient=false], topVer=1,
> nodeId8=4bed4ec0, msg=null, type=DISCOVERY_CUSTOM_EVT,
> tstamp=1575552674811]], nodeId=4bed4ec0, evt=DISCOVERY_CUSTOM_EVT],
> caches=[o.a.i.i.processors.cache.ExchangeActions$CacheGroupActionData@24671b0e]]SEVERE:
> Failed to initialize cache(s) (will try to rollback)
> [exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
> minorTopVer=161], discoEvt=DiscoveryCustomEvent
> [customMsg=DynamicCacheChangeBatch
> [id=fe5df36de61-0dd20864-f118-4e11-bcf2-12a651e87cb0, reqs=ArrayList
> [DynamicCacheChangeRequest [cacheName=cache-loader-test, hasCfg=true,
> nodeId=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab, clientStartOnly=false,
> stop=false, destroy=false, disabledAfterStartfalse]],
> exchangeActions=ExchangeActions [startCaches=[cache-loader-test],
> stopCaches=null, startGrps=[cache-loader-test], stopGrps=[], resetParts=null,
> stateChangeRequest=null], startCaches=false],
> affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=161],
> super=DiscoveryEvent [evtNode=TcpDiscoveryNode
> [id=4bed4ec0-7d64-473d-bc55-e5f79b9a02ab,
> consistentId=0:0:0:0:0:0:0:1,127.0.0.1,172.17.251.129,172.25.4.114:47500,
> addrs=ArrayList [0:0:0:0:0:0:0:1, 127.0.0.1, 172.17.251.129, 172.25.4.114],
> sockAddrs=HashSet [/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
> DESKTOP-IMRCA1M.mshome.net/172.17.251.129:47500, /172.25.4.114:47500],
> discPort=47500, order=1, intOrder=1, lastExchangeTime=1575552670125,
> loc=true, ver=2.8.0#20191205-sha1:00000000, isClient=false], topVer=1,
> nodeId8=4bed4ec0, msg=null, type=DISCOVERY_CUSTOM_EVT,
> tstamp=1575552674811]], nodeId=4bed4ec0, evt=DISCOVERY_CUSTOM_EVT],
> caches=[o.a.i.i.processors.cache.ExchangeActions$CacheGroupActionData@24671b0e]]class
> org.apache.ignite.IgniteCheckedException: Cannot enable read-through (loader
> or store is not provided) for cache: cache-loader-test at
> org.apache.ignite.internal.processors.cache.ValidationOnNodeJoinUtils.validate(ValidationOnNodeJoinUtils.java:348)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCacheContext(GridCacheProcessor.java:1190)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheContext(GridCacheProcessor.java:1984)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1915)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCaches$55a0e703$1(GridCacheProcessor.java:1790)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.lambda$prepareStartCachesIfPossible$9(GridCacheProcessor.java:1760)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCaches(GridCacheProcessor.java:1787)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareStartCachesIfPossible(GridCacheProcessor.java:1758)
> at
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:968)
> at
> org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:854)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onCacheChangeRequest(GridDhtPartitionsExchangeFuture.java:1281)
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:811)
> at
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:3172)
> at
> org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:3021)
> at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) at
> java.lang.Thread.run(Thread.java:748)
> {noformat}
> It looks like, the root cause of the failure is IGNITE-1903 . At first
> glance, it can be easily fixed.
> I think that cache configuration initialization should be done before it is
> split by {{CacheConfigurationSplitter}} -
> {{GridCacheProcessor.prepareCacheChangeRequest()}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)