[jira] [Updated] (GEODE-10265) DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML cannot be run in parallel with itself.

2022-05-09 Thread Hale Bales (Jira)


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

Hale Bales updated GEODE-10265:
---
Issue Type: Test  (was: Bug)

> DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML
>  cannot be run in parallel with itself.
> 
>
> Key: GEODE-10265
> URL: https://issues.apache.org/jira/browse/GEODE-10265
> Project: Geode
>  Issue Type: Test
>  Components: tests
>Reporter: Mark Hanson
>Priority: Major
>
> This test uses a hardcoded cache.xml with a server port inside that is 
> hardcoded. Basically, the second test started in parallel will have a bind 
> error because the port is already in use. We should consider generating the 
> file rather than using a static one.
>  
> Stress-new-test failure.
> [https://concourse.apachegeode-ci.info/builds/48751343]
>  
> This issue was discovered as part of the stress-new-test of GEODE-10228's PR
> {noformat}
> 
>  name="client" 
> subscription-enabled="true" 
> load-conditioning-interval="6"
> read-timeout="3" retry-attempts="5" >
> The Problem >  < The Problem
> 
> 
>  id="testReadyForEventsNotCalledImplicitlyWithCacheXML_region" 
> statistics-enabled="true"  pool-name="client" refid="PROXY">
> 
> org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil$ControlListener
> 
> 
>  {noformat}
>  
> {noformat}
> DurableClientSimpleDUnitTest > 
> testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML FAILED
>     org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple 
> Failures (2 failures)
>       org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$$Lambda$364/438711076.call
>  in VM 0 running on Host 
> heavy-lifter-f7bd4fb4-95bb-5e71-b25c-83f8d8a79c56.c.apachegeode-ci.internal 
> with 4 VMs
>       java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     ---
>     Found suspect string in 'dunit_suspect-vm0.log' at line 450
>     [error 2022/04/28 00:39:54.901 UTC  
> tid=32] Cache initialization for GemFireCache[id = 1097663966; isClosing = 
> false; isShutDownAll = false; created = Thu Apr 28 00:37:54 UTC 2022; server 
> = true; copyOnRead = false; lockLease = 120; lockTimeout = 60] failed because:
>     org.apache.geode.GemFireIOException: While starting cache server 
> CacheServer on port=10188 client subscription config policy=entry client 
> subscription config capacity=1000 client subscription config overflow 
> directory=.
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:801)
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:600)
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:339)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4202)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1620)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1445)
>       at 
> org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:191)
>       at 
> org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:158)
>       at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:142)
>       at 
> org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil.createCacheServerFromXmlN(CacheServerTestUtil.java:253)
>       at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.lambda$testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML$515fd116$1(DurableClientSimpleDUnitTest.java:584)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
>       at 
> org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm

[jira] [Updated] (GEODE-10265) DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML cannot be run in parallel with itself.

2022-04-28 Thread Anthony Baker (Jira)


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

Anthony Baker updated GEODE-10265:
--
Labels:   (was: needsTriage)

> DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML
>  cannot be run in parallel with itself.
> 
>
> Key: GEODE-10265
> URL: https://issues.apache.org/jira/browse/GEODE-10265
> Project: Geode
>  Issue Type: Bug
>  Components: tests
>Reporter: Mark Hanson
>Priority: Major
>
> This test uses a hardcoded cache.xml with a server port inside that is 
> hardcoded. Basically, the second test started in parallel will have a bind 
> error because the port is already in use. We should consider generating the 
> file rather than using a static one.
>  
> Stress-new-test failure.
> [https://concourse.apachegeode-ci.info/builds/48751343]
>  
> This issue was discovered as part of the stress-new-test of GEODE-10228's PR
> {noformat}
> 
>  name="client" 
> subscription-enabled="true" 
> load-conditioning-interval="6"
> read-timeout="3" retry-attempts="5" >
> The Problem >  < The Problem
> 
> 
>  id="testReadyForEventsNotCalledImplicitlyWithCacheXML_region" 
> statistics-enabled="true"  pool-name="client" refid="PROXY">
> 
> org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil$ControlListener
> 
> 
>  {noformat}
>  
> {noformat}
> DurableClientSimpleDUnitTest > 
> testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML FAILED
>     org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple 
> Failures (2 failures)
>       org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$$Lambda$364/438711076.call
>  in VM 0 running on Host 
> heavy-lifter-f7bd4fb4-95bb-5e71-b25c-83f8d8a79c56.c.apachegeode-ci.internal 
> with 4 VMs
>       java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     ---
>     Found suspect string in 'dunit_suspect-vm0.log' at line 450
>     [error 2022/04/28 00:39:54.901 UTC  
> tid=32] Cache initialization for GemFireCache[id = 1097663966; isClosing = 
> false; isShutDownAll = false; created = Thu Apr 28 00:37:54 UTC 2022; server 
> = true; copyOnRead = false; lockLease = 120; lockTimeout = 60] failed because:
>     org.apache.geode.GemFireIOException: While starting cache server 
> CacheServer on port=10188 client subscription config policy=entry client 
> subscription config capacity=1000 client subscription config overflow 
> directory=.
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:801)
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:600)
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:339)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4202)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1620)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1445)
>       at 
> org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:191)
>       at 
> org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:158)
>       at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:142)
>       at 
> org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil.createCacheServerFromXmlN(CacheServerTestUtil.java:253)
>       at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.lambda$testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML$515fd116$1(DurableClientSimpleDUnitTest.java:584)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
>       at 
> org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces

[jira] [Updated] (GEODE-10265) DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML cannot be run in parallel with itself.

2022-04-28 Thread Mark Hanson (Jira)


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

Mark Hanson updated GEODE-10265:

Description: 
This test uses a hardcoded cache.xml with a server port inside that is 
hardcoded. Basically, the second test started in parallel will have a bind 
error because the port is already in use. We should consider generating the 
file rather than using a static one.

 

Stress-new-test failure.
[https://concourse.apachegeode-ci.info/builds/48751343]

 

This issue was discovered as part of the stress-new-test of GEODE-10228's PR
{noformat}


The Problem >  < The Problem





org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil$ControlListener


 {noformat}
 
{noformat}
DurableClientSimpleDUnitTest > 
testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML FAILED
    org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple 
Failures (2 failures)
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$$Lambda$364/438711076.call
 in VM 0 running on Host 
heavy-lifter-f7bd4fb4-95bb-5e71-b25c-83f8d8a79c56.c.apachegeode-ci.internal 
with 4 VMs
    java.lang.AssertionError: Suspicious strings were written to the log 
during this run.
    Fix the strings or use IgnoredException.addIgnoredException to ignore.
    ---
    Found suspect string in 'dunit_suspect-vm0.log' at line 450


    [error 2022/04/28 00:39:54.901 UTC  
tid=32] Cache initialization for GemFireCache[id = 1097663966; isClosing = 
false; isShutDownAll = false; created = Thu Apr 28 00:37:54 UTC 2022; server = 
true; copyOnRead = false; lockLease = 120; lockTimeout = 60] failed because:
    org.apache.geode.GemFireIOException: While starting cache server 
CacheServer on port=10188 client subscription config policy=entry client 
subscription config capacity=1000 client subscription config overflow 
directory=.
    at 
org.apache.geode.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:801)
    at 
org.apache.geode.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:600)
    at 
org.apache.geode.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:339)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4202)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1620)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1445)
    at 
org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:191)
    at 
org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:158)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:142)
    at 
org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil.createCacheServerFromXmlN(CacheServerTestUtil.java:253)
    at 
org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.lambda$testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML$515fd116$1(DurableClientSimpleDUnitTest.java:584)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at 
org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
    at 
org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.r

[jira] [Updated] (GEODE-10265) DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML cannot be run in parallel with itself.

2022-04-28 Thread Mark Hanson (Jira)


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

Mark Hanson updated GEODE-10265:

Description: 
This test uses a hardcoded cache.xml with a server port inside that is 
hardcoded. Bascially, the second test started in parallel will have a bind 
error because the port is already in use. We should consider generating the 
file rather than using a static one.

 

Stress-new-test failure.
[https://concourse.apachegeode-ci.info/builds/48751343]

 

This issue was discovered as part of the stress-new-test of GEODE-10228's PR
{noformat}


The Problem >  < The Problem





org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil$ControlListener


 {noformat}
 
{noformat}
DurableClientSimpleDUnitTest > 
testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML FAILED
    org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple 
Failures (2 failures)
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$$Lambda$364/438711076.call
 in VM 0 running on Host 
heavy-lifter-f7bd4fb4-95bb-5e71-b25c-83f8d8a79c56.c.apachegeode-ci.internal 
with 4 VMs
    java.lang.AssertionError: Suspicious strings were written to the log 
during this run.
    Fix the strings or use IgnoredException.addIgnoredException to ignore.
    ---
    Found suspect string in 'dunit_suspect-vm0.log' at line 450


    [error 2022/04/28 00:39:54.901 UTC  
tid=32] Cache initialization for GemFireCache[id = 1097663966; isClosing = 
false; isShutDownAll = false; created = Thu Apr 28 00:37:54 UTC 2022; server = 
true; copyOnRead = false; lockLease = 120; lockTimeout = 60] failed because:
    org.apache.geode.GemFireIOException: While starting cache server 
CacheServer on port=10188 client subscription config policy=entry client 
subscription config capacity=1000 client subscription config overflow 
directory=.
    at 
org.apache.geode.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:801)
    at 
org.apache.geode.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:600)
    at 
org.apache.geode.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:339)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4202)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1620)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1445)
    at 
org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:191)
    at 
org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:158)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:142)
    at 
org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil.createCacheServerFromXmlN(CacheServerTestUtil.java:253)
    at 
org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.lambda$testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML$515fd116$1(DurableClientSimpleDUnitTest.java:584)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at 
org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
    at 
org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.r

[jira] [Updated] (GEODE-10265) DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML cannot be run in parallel with itself.

2022-04-28 Thread Alexander Murmann (Jira)


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

Alexander Murmann updated GEODE-10265:
--
Labels: needsTriage  (was: )

> DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML
>  cannot be run in parallel with itself.
> 
>
> Key: GEODE-10265
> URL: https://issues.apache.org/jira/browse/GEODE-10265
> Project: Geode
>  Issue Type: Bug
>  Components: tests
>Reporter: Mark Hanson
>Priority: Major
>  Labels: needsTriage
>
> This test uses a hardcoded cache.xml with a server port inside that is 
> hardcoded. Bascially the second test started in parallel will have a bind 
> error because the port is already in use.
>  
> Stress-new-test failure.
> https://concourse.apachegeode-ci.info/builds/48751343
>  
> {noformat}
> DurableClientSimpleDUnitTest > 
> testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML FAILED
>     org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple 
> Failures (2 failures)
>       org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$$Lambda$364/438711076.call
>  in VM 0 running on Host 
> heavy-lifter-f7bd4fb4-95bb-5e71-b25c-83f8d8a79c56.c.apachegeode-ci.internal 
> with 4 VMs
>       java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     ---
>     Found suspect string in 'dunit_suspect-vm0.log' at line 450
>     [error 2022/04/28 00:39:54.901 UTC  
> tid=32] Cache initialization for GemFireCache[id = 1097663966; isClosing = 
> false; isShutDownAll = false; created = Thu Apr 28 00:37:54 UTC 2022; server 
> = true; copyOnRead = false; lockLease = 120; lockTimeout = 60] failed because:
>     org.apache.geode.GemFireIOException: While starting cache server 
> CacheServer on port=10188 client subscription config policy=entry client 
> subscription config capacity=1000 client subscription config overflow 
> directory=.
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:801)
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:600)
>       at 
> org.apache.geode.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:339)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4202)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1620)
>       at 
> org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1445)
>       at 
> org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:191)
>       at 
> org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:158)
>       at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:142)
>       at 
> org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil.createCacheServerFromXmlN(CacheServerTestUtil.java:253)
>       at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.lambda$testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML$515fd116$1(DurableClientSimpleDUnitTest.java:584)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
>       at 
> org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
>       at sun.rmi.transport.Transport$1.run(Transport.java:200)
>       at sun.rmi.transport.Transport$1.run(Transport.java:197)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
>       at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(

[jira] [Updated] (GEODE-10265) DurableClientSimpleDUnitTest.testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML cannot be run in parallel with itself.

2022-04-28 Thread Mark Hanson (Jira)


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

Mark Hanson updated GEODE-10265:

Description: 
This test uses a hardcoded cache.xml with a server port inside that is 
hardcoded. Bascially the second test started in parallel will have a bind error 
because the port is already in use.

 

Stress-new-test failure.
[https://concourse.apachegeode-ci.info/builds/48751343]

 

This issue was discovered as part of the stress-new-test of GEODE-10228's PR

 
{noformat}
DurableClientSimpleDUnitTest > 
testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML FAILED
    org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple 
Failures (2 failures)
    org.apache.geode.test.dunit.RMIException: While invoking 
org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest$$Lambda$364/438711076.call
 in VM 0 running on Host 
heavy-lifter-f7bd4fb4-95bb-5e71-b25c-83f8d8a79c56.c.apachegeode-ci.internal 
with 4 VMs
    java.lang.AssertionError: Suspicious strings were written to the log 
during this run.
    Fix the strings or use IgnoredException.addIgnoredException to ignore.
    ---
    Found suspect string in 'dunit_suspect-vm0.log' at line 450


    [error 2022/04/28 00:39:54.901 UTC  
tid=32] Cache initialization for GemFireCache[id = 1097663966; isClosing = 
false; isShutDownAll = false; created = Thu Apr 28 00:37:54 UTC 2022; server = 
true; copyOnRead = false; lockLease = 120; lockTimeout = 60] failed because:
    org.apache.geode.GemFireIOException: While starting cache server 
CacheServer on port=10188 client subscription config policy=entry client 
subscription config capacity=1000 client subscription config overflow 
directory=.
    at 
org.apache.geode.internal.cache.xmlcache.CacheCreation.startCacheServers(CacheCreation.java:801)
    at 
org.apache.geode.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:600)
    at 
org.apache.geode.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:339)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4202)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1620)
    at 
org.apache.geode.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1445)
    at 
org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:191)
    at 
org.apache.geode.internal.cache.InternalCacheBuilder.create(InternalCacheBuilder.java:158)
    at org.apache.geode.cache.CacheFactory.create(CacheFactory.java:142)
    at 
org.apache.geode.internal.cache.tier.sockets.CacheServerTestUtil.createCacheServerFromXmlN(CacheServerTestUtil.java:253)
    at 
org.apache.geode.internal.cache.tier.sockets.DurableClientSimpleDUnitTest.lambda$testReadyForEventsNotCalledImplicitlyForRegisterInterestWithCacheXML$515fd116$1(DurableClientSimpleDUnitTest.java:584)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at 
org.apache.geode.test.dunit.internal.MethodInvoker.executeObject(MethodInvoker.java:123)
    at 
org.apache.geode.test.dunit.internal.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:78)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
    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: