[jira] [Updated] (IGNITE-12419) JCache TCK fails with IgniteCheckedException and NullPointerException

2019-12-10 Thread Ilya Kasnacheev (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-12419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kasnacheev updated IGNITE-12419:
-
Affects Version/s: (was: 2.7.6)
   2.8

> JCache TCK fails with IgniteCheckedException and NullPointerException
> -
>
> Key: IGNITE-12419
> URL: https://issues.apache.org/jira/browse/IGNITE-12419
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Affects Versions: 2.8
>Reporter: Vyacheslav Koptilin
>Assignee: Vyacheslav Koptilin
>Priority: Blocker
> Fix For: 2.8
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> It seems a long period of time, JCache suite did not run TCK tests (it seems 
> that TeamCity uses the wrong maven goal - {{surefire:test}} instead of 
> {{test}}) and for now, more than 90 tests are broken.
>  For example:
> {noformat}
> javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: 
> Failed to complete exchange process.
>   at 
> org.jsr107.tck.integration.CacheWriterTest.onBeforeEachTest(CacheWriterTest.java:109)
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to complete 
> exchange process.
> shouldWriteThroughUsingGetAndPut_SingleEntryMultipleTimes(org.jsr107.tck.integration.CacheWriterTest)
>   Time elapsed: 0.004 s  <<< ERROR!
> java.lang.NullPointerException
>   at 
> org.jsr107.tck.integration.CacheWriterTest.cleanup(CacheWriterTest.java:117)
> {noformat}
> {code:java}
> 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:, 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:, 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)
>  

[jira] [Updated] (IGNITE-12419) JCache TCK fails with IgniteCheckedException and NullPointerException

2019-12-10 Thread Ilya Kasnacheev (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-12419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kasnacheev updated IGNITE-12419:
-
Release Note:   (was: Thank you for this fix, I have merged it to master.)

> JCache TCK fails with IgniteCheckedException and 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
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> It seems a long period of time, JCache suite did not run TCK tests (it seems 
> that TeamCity uses the wrong maven goal - {{surefire:test}} instead of 
> {{test}}) and for now, more than 90 tests are broken.
>  For example:
> {noformat}
> javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: 
> Failed to complete exchange process.
>   at 
> org.jsr107.tck.integration.CacheWriterTest.onBeforeEachTest(CacheWriterTest.java:109)
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to complete 
> exchange process.
> shouldWriteThroughUsingGetAndPut_SingleEntryMultipleTimes(org.jsr107.tck.integration.CacheWriterTest)
>   Time elapsed: 0.004 s  <<< ERROR!
> java.lang.NullPointerException
>   at 
> org.jsr107.tck.integration.CacheWriterTest.cleanup(CacheWriterTest.java:117)
> {noformat}
> {code:java}
> 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:, 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:, 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 
> 

[jira] [Updated] (IGNITE-12419) JCache TCK fails with IgniteCheckedException and NullPointerException

2019-12-05 Thread Vyacheslav Koptilin (Jira)


 [ 
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 (it seems 
that TeamCity uses the wrong maven goal - {{surefire:test}} instead of 
{{test}}) and for now, more than 90 tests are broken.
 For example:
{noformat}
javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: 
Failed to complete exchange process.
at 
org.jsr107.tck.integration.CacheWriterTest.onBeforeEachTest(CacheWriterTest.java:109)
Caused by: org.apache.ignite.IgniteCheckedException: Failed to complete 
exchange process.

shouldWriteThroughUsingGetAndPut_SingleEntryMultipleTimes(org.jsr107.tck.integration.CacheWriterTest)
  Time elapsed: 0.004 s  <<< ERROR!
java.lang.NullPointerException
at 
org.jsr107.tck.integration.CacheWriterTest.cleanup(CacheWriterTest.java:117)
{noformat}

{code:java}
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:, 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:, 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 

[jira] [Updated] (IGNITE-12419) JCache TCK fails with IgniteCheckedException and NullPointerException

2019-12-05 Thread Vyacheslav Koptilin (Jira)


 [ 
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}
javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: 
Failed to complete exchange process.
at 
org.jsr107.tck.integration.CacheWriterTest.onBeforeEachTest(CacheWriterTest.java:109)
Caused by: org.apache.ignite.IgniteCheckedException: Failed to complete 
exchange process.

shouldWriteThroughUsingGetAndPut_SingleEntryMultipleTimes(org.jsr107.tck.integration.CacheWriterTest)
  Time elapsed: 0.004 s  <<< ERROR!
java.lang.NullPointerException
at 
org.jsr107.tck.integration.CacheWriterTest.cleanup(CacheWriterTest.java:117)
{noformat}

{code:java}
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:, 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:, 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 

[jira] [Updated] (IGNITE-12419) JCache TCK fails with IgniteCheckedException and NullPointerException

2019-12-05 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-12419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-12419:
-
Ignite Flags:   (was: Docs Required,Release Notes Required)

> JCache TCK fails with IgniteCheckedException and 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}
> javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: 
> Failed to complete exchange process.
>   at 
> org.jsr107.tck.integration.CacheWriterTest.onBeforeEachTest(CacheWriterTest.java:109)
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to complete 
> exchange process.
> shouldWriteThroughUsingGetAndPut_SingleEntryMultipleTimes(org.jsr107.tck.integration.CacheWriterTest)
>   Time elapsed: 0.004 s  <<< ERROR!
> java.lang.NullPointerException
>   at 
> org.jsr107.tck.integration.CacheWriterTest.cleanup(CacheWriterTest.java:117)
> {noformat}
> {code:java}
> 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:, 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:, 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 
> 

[jira] [Updated] (IGNITE-12419) JCache TCK fails with IgniteCheckedException and NullPointerException

2019-12-05 Thread Vyacheslav Koptilin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-12419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-12419:
-
Summary: JCache TCK fails with IgniteCheckedException and 
NullPointerException  (was: JCache TCK fails with NullPointerException)

> JCache TCK fails with IgniteCheckedException and 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}
> shouldWriteThroughUsingGetAndPut_SingleEntryMultipleTimes(org.jsr107.tck.integration.CacheWriterTest)
>   Time elapsed: 0.004 s  <<< ERROR!
> java.lang.NullPointerException
>   at 
> org.jsr107.tck.integration.CacheWriterTest.cleanup(CacheWriterTest.java:117)
> javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: 
> Failed to complete exchange process.
>   at 
> org.jsr107.tck.integration.CacheWriterTest.onBeforeEachTest(CacheWriterTest.java:109)
> Caused by: org.apache.ignite.IgniteCheckedException: Failed to complete 
> exchange process.
> {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:, 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:, 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 
>