[jira] [Resolved] (GEODE-10020) Improving LiveServerPinger logic

2022-05-24 Thread Mario Ivanac (Jira)


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

Mario Ivanac resolved GEODE-10020.
--
Fix Version/s: 1.16.0
   Resolution: Fixed

> Improving LiveServerPinger logic
> 
>
> Key: GEODE-10020
> URL: https://issues.apache.org/jira/browse/GEODE-10020
> Project: Geode
>  Issue Type: Improvement
>  Components: wan
>Reporter: Mario Ivanac
>Assignee: Mario Ivanac
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.16.0
>
>
> _When several gateway receivers have the same value for hostname-for-senders 
> (for example when running Geode under kubernetes and a load balancer balances 
> the load among the remote servers), it has been observed that number of 
> connections in GW senders pool used for sending ping message is much greater 
> then number of dispatcher threads, although in this case only one connection 
> could be used_ _(since destinations have same address and port )._
>  
> _For details see RFC._



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (GEODE-10020) Improving LiveServerPinger logic

2022-05-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541834#comment-17541834
 ] 

ASF subversion and git services commented on GEODE-10020:
-

Commit 18f0e9c55c3aeb14ceb3b1f07c07008b0126d6be in geode's branch 
refs/heads/develop from Mario Ivanac
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=18f0e9c55c ]

GEODE-10020: For Ping task avoid registering new destination endpoint (#7515)

* GEODE-10020: For Ping task avoid registering new destination endpoint

> Improving LiveServerPinger logic
> 
>
> Key: GEODE-10020
> URL: https://issues.apache.org/jira/browse/GEODE-10020
> Project: Geode
>  Issue Type: Improvement
>  Components: wan
>Reporter: Mario Ivanac
>Assignee: Mario Ivanac
>Priority: Major
>  Labels: pull-request-available
>
> _When several gateway receivers have the same value for hostname-for-senders 
> (for example when running Geode under kubernetes and a load balancer balances 
> the load among the remote servers), it has been observed that number of 
> connections in GW senders pool used for sending ping message is much greater 
> then number of dispatcher threads, although in this case only one connection 
> could be used_ _(since destinations have same address and port )._
>  
> _For details see RFC._



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Resolved] (GEODE-10226) Introduce monitoring of async writer thread

2022-05-24 Thread Mario Ivanac (Jira)


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

Mario Ivanac resolved GEODE-10226.
--
Fix Version/s: 1.16.0
   Resolution: Fixed

> Introduce monitoring of async writer thread
> ---
>
> Key: GEODE-10226
> URL: https://issues.apache.org/jira/browse/GEODE-10226
> Project: Geode
>  Issue Type: Improvement
>  Components: persistence
>Affects Versions: 1.15.0
>Reporter: Mario Ivanac
>Assignee: Mario Ivanac
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.16.0
>
>
> _Introduce new (or extend existing) thread monitoring to monitor async writer 
> thread, and report warning (or fatal) level alert in case thread is stack 
> more then 15 seconds._



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (GEODE-10226) Introduce monitoring of async writer thread

2022-05-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541829#comment-17541829
 ] 

ASF subversion and git services commented on GEODE-10226:
-

Commit 9154cfc7ed70f1accd695a7e99714d3886e29ba9 in geode's branch 
refs/heads/develop from Mario Ivanac
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=9154cfc7ed ]

GEODE-10226: Added monitoring of async writer (#7667)

* GEODE-10226: Added monitoring of async writer

> Introduce monitoring of async writer thread
> ---
>
> Key: GEODE-10226
> URL: https://issues.apache.org/jira/browse/GEODE-10226
> Project: Geode
>  Issue Type: Improvement
>  Components: persistence
>Affects Versions: 1.15.0
>Reporter: Mario Ivanac
>Assignee: Mario Ivanac
>Priority: Major
>  Labels: pull-request-available
>
> _Introduce new (or extend existing) thread monitoring to monitor async writer 
> thread, and report warning (or fatal) level alert in case thread is stack 
> more then 15 seconds._



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Updated] (GEODE-10331) DistributionImpl.destroyMember keeps cache alive for some number of seconds

2022-05-24 Thread Alexander Murmann (Jira)


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

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

> DistributionImpl.destroyMember keeps cache alive for some number of seconds
> ---
>
> Key: GEODE-10331
> URL: https://issues.apache.org/jira/browse/GEODE-10331
> Project: Geode
>  Issue Type: Bug
>  Components: membership
>Reporter: Darrel Schneider
>Priority: Major
>  Labels: needsTriage
>
> org.apache.geode.distributed.internal.DistributionImpl.destroyMember creates 
> a thread that will hold onto the DIstributesSystem/Cache through the 
> DirectChannel it has for 3 seconds by default. It could be even longer if 
> p2p.disconnectDelay is set to a value > 3000.
> This can be a problem if the JVM is trying to reconnect since this old cache 
> uses memory.
> Instead of creating a new thread for every call of destroyMember, we should 
> just have a single ScheduledExecutor that we schedule the background 
> "closeEndpoint" with.
> Also since all this code interacts with the DirectChannel all the logic about 
> the executor and scheduling it should belong to DirectChannel, not the 
> DistributionImpl.
> When the DirectChannel has disconnect called on it, then it should get rid of 
> all the tasks scheduled in the executor since they are no longer needed.
> I think this issue has been around for a long time because the creation of 
> the thread refers to fixing "Bug 37944" which is on old bug system that is 
> not longer used for geode.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Created] (GEODE-10331) DistributionImpl.destroyMember keeps cache alive for some number of seconds

2022-05-24 Thread Darrel Schneider (Jira)
Darrel Schneider created GEODE-10331:


 Summary: DistributionImpl.destroyMember keeps cache alive for some 
number of seconds
 Key: GEODE-10331
 URL: https://issues.apache.org/jira/browse/GEODE-10331
 Project: Geode
  Issue Type: Bug
  Components: membership
Reporter: Darrel Schneider


org.apache.geode.distributed.internal.DistributionImpl.destroyMember creates a 
thread that will hold onto the DIstributesSystem/Cache through the 
DirectChannel it has for 3 seconds by default. It could be even longer if 
p2p.disconnectDelay is set to a value > 3000.
This can be a problem if the JVM is trying to reconnect since this old cache 
uses memory.
Instead of creating a new thread for every call of destroyMember, we should 
just have a single ScheduledExecutor that we schedule the background 
"closeEndpoint" with.
Also since all this code interacts with the DirectChannel all the logic about 
the executor and scheduling it should belong to DirectChannel, not the 
DistributionImpl.
When the DirectChannel has disconnect called on it, then it should get rid of 
all the tasks scheduled in the executor since they are no longer needed.
I think this issue has been around for a long time because the creation of the 
thread refers to fixing "Bug 37944" which is on old bug system that is not 
longer used for geode.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (GEODE-10312) Remove SpringBootApplication In SwaggerConfig

2022-05-24 Thread Patrick Johnsn (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541755#comment-17541755
 ] 

Patrick Johnsn commented on GEODE-10312:


I think I may be close. I've removed @SpringBootApplication and the swagger 
endpoints seem to be working. The only issue is that I've had to change 
`v1/api-docs` to `v3/api-docs` in the URLs, which is the new default for 
springdoc/AOS3.0. I thought this should be configurable with the 
`springdoc.swagger-ui.configUrl` property, but it's seemingly ignored.

 

If changing the URL is permissible, then I think this is done, if not, I will 
work on finding a way to configure it correctly. 

> Remove SpringBootApplication In SwaggerConfig
> -
>
> Key: GEODE-10312
> URL: https://issues.apache.org/jira/browse/GEODE-10312
> Project: Geode
>  Issue Type: Bug
>  Components: locator, rest (admin), rest (dev)
>Affects Versions: 1.15.0
>Reporter: Juan Ramos
>Assignee: Patrick Johnsn
>Priority: Major
>  Labels: blocks-1.15.0, pull-request-available
> Attachments: GEODE-10312.zip
>
>
> The issue was introduced by GEODE-10282. As part of commit 
> [41305de1405c2125142e6b337c3f1704f736fca4|https://github.com/apache/geode/commit/41305de1405c2125142e6b337c3f1704f736fca4],
>  {{SwaggerConfig}} classes used to start and configure the internal 
> {{geode-web-management}} and {{geode-web-api}} services use the 
> {{@SpringBootApplication}} annotation. This annotation automatically enables 
> other spring annotations (like {{@EnableAutoConfiguration}} and 
> {{@ComponentScan}}) which, in turn, might cause critical issues during 
> startup as {{spring}} tries to automatically configure several services based 
> on classes and interfaces found within the member's class path.
> ---
> I'm attaching a small scenario that reproduces the problem; the 
> {{reproduce.sh}} script simply starts a locator making sure that the 
> {{spring-jdbc-5.3.20.jar}} is part of the class path. When using any commit 
> after 
> [41305de1405c2125142e6b337c3f1704f736fca4|https://github.com/apache/geode/commit/41305de1405c2125142e6b337c3f1704f736fca4]
>  the logs will contain the following:
> {noformat}
> [info 2022/05/16 15:54:38.997 IST locator0  tid=0x1] Adding webapp 
> /management
> [info 2022/05/16 15:54:39.610 IST locator0  tid=0x1] Initializing 
> Servlet 'management'
> [info 2022/05/16 15:54:42.124 IST locator0  tid=0x1] Will secure any 
> request with 
> [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@33ed6546,
>  
> org.springframework.security.web.context.SecurityContextPersistenceFilter@5a503cf0,
>  org.springframework.security.web.header.HeaderWriterFilter@5b04224a, 
> org.springframework.security.web.authentication.logout.LogoutFilter@17db90a7, 
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6f78c132,
>  
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@42f9b425,
>  
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter@54d62c35,
>  org.springframework.security.web.session.SessionManagementFilter@78907a46, 
> org.springframework.security.web.access.ExceptionTranslationFilter@eaf3dd0, 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7cd6b76a]
> [warn 2022/05/16 15:54:42.975 IST locator0  tid=0x1] Exception 
> encountered during context initialization - cancelling refresh attempt: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'dataSource' defined in class path resource 
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
>  Unsatisfied dependency expressed through method 'dataSource' parameter 0; 
> nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties':
>  Invocation of init method failed; nested exception is 
> java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException
> [error 2022/05/16 15:54:42.980 IST locator0  tid=0x1] Context 
> initialization failed
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'dataSource' defined in class path resource 
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
>  Unsatisfied dependency expressed through method 'dataSource' parameter 0; 
> nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties':
>  Invocation of init method failed; nested exception is 
> 

[jira] [Commented] (GEODE-10330) Resource issues lead to "MemberDisconnectedException: Member isn't responding to heartbeat requests"

2022-05-24 Thread Geode Integration (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541731#comment-17541731
 ] 

Geode Integration commented on GEODE-10330:
---

Seen on support/1.15 in [upgrade-test-openjdk8 
#46|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-support-1-15-main/jobs/upgrade-test-openjdk8/builds/46]
 ... see [test 
results|http://files.apachegeode-ci.info/builds/apache-support-1-15-main/1.15.0-build.1235/test-results/upgradeTest/1653350518/]
 or download 
[artifacts|http://files.apachegeode-ci.info/builds/apache-support-1-15-main/1.15.0-build.1235/test-artifacts/1653350518/upgradetestfiles-openjdk8-1.15.0-build.1235.tgz].

> Resource issues lead to "MemberDisconnectedException: Member isn't responding 
> to heartbeat requests"
> 
>
> Key: GEODE-10330
> URL: https://issues.apache.org/jira/browse/GEODE-10330
> Project: Geode
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Donal Evans
>Assignee: Nabarun Nag
>Priority: Major
>  Labels: needsTriage
>
> A failure was observed in 
> DistributedMulticastRegionWithUDPSecurityDUnitTest > 
> testMulticastAfterReconnect due to suspect strings with fatal-level logging 
> of "Membership service failure: Member isn't responding to heartbeat 
> requests".
> Investigating the logs showed all members reporting long statistics sampling 
> wakeup delays, indicating resource issues:
> {code:java}
> [vm3] [warn 2022/05/21 07:28:16.251 UTC LocatorWithMcast  
> tid=0xb8] Statistics sampling thread detected a wakeup delay of 4760 ms, 
> indicating a possible resource issue. Check the GC, memory, and CPU 
> statistics.
> ...
> [locator] [warn 2022/05/21 07:28:20.288 UTC   tid=0x3b] 
> Statistics sampling thread detected a wakeup delay of 12400 ms, indicating a 
> possible resource issue. Check the GC, memory, and CPU statistics.
> ...
> [vm1] [warn 2022/05/21 07:28:20.969 UTC vm1  tid=0xda] 
> Statistics sampling thread detected a wakeup delay of 13738 ms, indicating a 
> possible resource issue. Check the GC, memory, and CPU statistics.
> ...
> [vm0] [warn 2022/05/21 07:28:22.226 UTC vm0  tid=0xa9] 
> Statistics sampling thread detected a wakeup delay of 15110 ms, indicating a 
> possible resource issue. Check the GC, memory, and CPU statistics. {code}
>  
> After downloading the test artifacts and using the progress tool from the 
> dev-tools directory in the Geode repository, the following tests were found 
> to be running during the resource issues, possibly indicating that one or 
> more of them are particularly resource-intensive:
> {noformat}
> $> progress -r '2022-05-21 07:28:16.251 -' | grep org | sort{noformat}
> {code:java}
> org.apache.geode.cache.PRCacheListenerWithInterestPolicyAllDistributedTest.afterUpdateIsInvokedInEveryMember[0:
>  redundancy=0] 
> org.apache.geode.cache.lucene.LuceneQueriesReindexDUnitTest.recreateIndexWithDifferentFieldsShouldFail(PARTITION_OVERFLOW_TO_DISK)
>  [2] 
> org.apache.geode.cache.query.cq.dunit.CqDataUsingPoolOptimizedExecuteDUnitTest.testCQHAWithState
>  
> org.apache.geode.cache.query.cq.dunit.PartitionedRegionCqQueryDUnitTest.testPartitionedCqOnAccessorBridgeServer
>  org.apache.geode.cache30.CallbackArgDUnitTest.testForCA 
> org.apache.geode.cache30.DistributedMulticastRegionWithUDPSecurityDUnitTest.testMulticastAfterReconnect
>  
> org.apache.geode.cache30.DistributedNoAckRegionCCEOffHeapDUnitTest.testDistributedInvalidate
>  org.apache.geode.cache30.GlobalRegionOffHeapDUnitTest.testOrderedUpdates 
> org.apache.geode.cache30.ReconnectWithClusterConfigurationDUnitTest.testReconnectAfterMeltdown
>  
> org.apache.geode.distributed.internal.P2PMessagingConcurrencyDUnitTest.testP2PMessaging(true,
>  false, 32768, 65536) [6] 
> org.apache.geode.disttx.PRDistTXDUnitTest.testSimulaneousChildRegionCreation 
> org.apache.geode.internal.cache.ClientServerTransactionCCEDUnitTest.testClientCommitFunctionWithFailure
>  
> org.apache.geode.internal.cache.eviction.OffHeapEvictionStatsDUnitTest.testHeapLruCounter
>  
> org.apache.geode.internal.cache.wan.concurrent.ConcurrentParallelGatewaySenderOperation_1_DUnitTest.testParallelPropagationSenderStartAfterStopOnAccessorNode
>  
> org.apache.geode.internal.cache.wan.offheap.ParallelGatewaySenderOperationsOffHeapDistributedTest.testParallelGatewaySenderStartOnAccessorNode
>  
> org.apache.geode.internal.cache.wan.serial.SerialWANPropagation_PartitionedRegionDUnitTest.testPartitionedSerialPropagationHA
>  org.apache.geode.internal.tcp.TCPConduitDUnitTest.basicAcceptConnection[0] 
> org.apache.geode.management.internal.configuration.ClusterConfigImportDUnitTest.importFailWithExistingRegion
>  
> 

[jira] [Commented] (GEODE-10311) Intermittent CI failure in AuthExpirationBackwardCompatibleDUnitTest.registeredInterest_FailedReAuth_non_durableClient

2022-05-24 Thread Geode Integration (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541730#comment-17541730
 ] 

Geode Integration commented on GEODE-10311:
---

Seen on support/1.15 in [upgrade-test-openjdk8 
#47|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-support-1-15-main/jobs/upgrade-test-openjdk8/builds/47]
 ... see [test 
results|http://files.apachegeode-ci.info/builds/apache-support-1-15-main/1.15.0-build.1236/test-results/upgradeTest/1653352896/]
 or download 
[artifacts|http://files.apachegeode-ci.info/builds/apache-support-1-15-main/1.15.0-build.1236/test-artifacts/1653352896/upgradetestfiles-openjdk8-1.15.0-build.1236.tgz].

> Intermittent CI failure in 
> AuthExpirationBackwardCompatibleDUnitTest.registeredInterest_FailedReAuth_non_durableClient
> --
>
> Key: GEODE-10311
> URL: https://issues.apache.org/jira/browse/GEODE-10311
> Project: Geode
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.15.0, 1.16.0
>Reporter: Dale Emery
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: needsTriage
> Attachments: auth-expiration-artifacts.tgz
>
>
> AuthExpirationBackwardCompatibleDUnitTest > 
> registeredInterest_FailedReAuth_non_durableClient fails intermittently. I do 
> not know whether this is a test problem or a product problem.
> I first saw the failure in a precheckin test run on JDK17:
>  * [https://concourse.apachegeode-ci.info/builds/52805744]
>  * Test results: 
> [http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-7686/test-results/upgradeTest/1652409122/]
>  * Test artifacts: 
> [http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-7686/test-artifacts/1652409122/upgradetestfiles-geode-pr-7686.tgz]
> The failure also happens on the {{develop}} branch, which does not yet have 
> my PR changes. The failure occured 3 times in 100 executions of this test 
> method on JDK11 on the {{develop}} branch.
> Stack trace (from my PR precheckin):
> {noformat}
> java.lang.AssertionError: 
> Expecting empty but was: 
> [CacheClientProxy[identity(heavy-lifter-7d403877-c6e7-5ba6-80ed-0c1ed553c05a(117190:loner):42300:114bc2ba,connection=1;
>  port=42332; primary=true; version=GEODE 1.15.0]]
>   at 
> org.apache.geode.security.AuthExpirationBackwardCompatibleDUnitTest.registeredInterest_FailedReAuth_non_durableClient(AuthExpirationBackwardCompatibleDUnitTest.java:653)
>   at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>   at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:568)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at 
> org.apache.geode.test.dunit.rules.ClusterStartupRule$1.evaluate(ClusterStartupRule.java:139)
>   at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
>   at 
> org.apache.geode.test.junit.rules.serializable.SerializableExternalResource$1.evaluate(SerializableExternalResource.java:38)
>   at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
>   at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
>   at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
>   at org.junit.runners.Suite.runChild(Suite.java:128)
>   at org.junit.runners.Suite.runChild(Suite.java:27)
>   at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)

[jira] [Commented] (GEODE-10311) Intermittent CI failure in AuthExpirationBackwardCompatibleDUnitTest.registeredInterest_FailedReAuth_non_durableClient

2022-05-24 Thread Geode Integration (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541729#comment-17541729
 ] 

Geode Integration commented on GEODE-10311:
---

Seen on support/1.15 in [upgrade-test-openjdk11 
#48|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-support-1-15-main/jobs/upgrade-test-openjdk11/builds/48]
 ... see [test 
results|http://files.apachegeode-ci.info/builds/apache-support-1-15-main/1.15.0-build.1236/test-results/upgradeTest/1653353413/]
 or download 
[artifacts|http://files.apachegeode-ci.info/builds/apache-support-1-15-main/1.15.0-build.1236/test-artifacts/1653353413/upgradetestfiles-openjdk11-1.15.0-build.1236.tgz].

> Intermittent CI failure in 
> AuthExpirationBackwardCompatibleDUnitTest.registeredInterest_FailedReAuth_non_durableClient
> --
>
> Key: GEODE-10311
> URL: https://issues.apache.org/jira/browse/GEODE-10311
> Project: Geode
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.15.0, 1.16.0
>Reporter: Dale Emery
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: needsTriage
> Attachments: auth-expiration-artifacts.tgz
>
>
> AuthExpirationBackwardCompatibleDUnitTest > 
> registeredInterest_FailedReAuth_non_durableClient fails intermittently. I do 
> not know whether this is a test problem or a product problem.
> I first saw the failure in a precheckin test run on JDK17:
>  * [https://concourse.apachegeode-ci.info/builds/52805744]
>  * Test results: 
> [http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-7686/test-results/upgradeTest/1652409122/]
>  * Test artifacts: 
> [http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-7686/test-artifacts/1652409122/upgradetestfiles-geode-pr-7686.tgz]
> The failure also happens on the {{develop}} branch, which does not yet have 
> my PR changes. The failure occured 3 times in 100 executions of this test 
> method on JDK11 on the {{develop}} branch.
> Stack trace (from my PR precheckin):
> {noformat}
> java.lang.AssertionError: 
> Expecting empty but was: 
> [CacheClientProxy[identity(heavy-lifter-7d403877-c6e7-5ba6-80ed-0c1ed553c05a(117190:loner):42300:114bc2ba,connection=1;
>  port=42332; primary=true; version=GEODE 1.15.0]]
>   at 
> org.apache.geode.security.AuthExpirationBackwardCompatibleDUnitTest.registeredInterest_FailedReAuth_non_durableClient(AuthExpirationBackwardCompatibleDUnitTest.java:653)
>   at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
>   at 
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:568)
>   at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
>   at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
>   at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>   at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>   at 
> org.apache.geode.test.dunit.rules.ClusterStartupRule$1.evaluate(ClusterStartupRule.java:139)
>   at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
>   at 
> org.apache.geode.test.junit.rules.serializable.SerializableExternalResource$1.evaluate(SerializableExternalResource.java:38)
>   at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
>   at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
>   at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
>   at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
>   at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
>   at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
>   at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
>   at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
>   at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
>   at org.junit.runners.Suite.runChild(Suite.java:128)
>   at org.junit.runners.Suite.runChild(Suite.java:27)
>   at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
>   at 

[jira] [Commented] (GEODE-10200) [CI Failure] : SocketCreatorUpgradeTest > upgradingToNewGeodeAndNewJavaWithProtocolsAny[1.14.0] FAILED

2022-05-24 Thread Geode Integration (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541728#comment-17541728
 ] 

Geode Integration commented on GEODE-10200:
---

Seen in [upgrade-test-openjdk11 
#358|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/upgrade-test-openjdk11/builds/358]
 ... see [test 
results|http://files.apachegeode-ci.info/builds/apache-develop-main/1.16.0-build.0245/test-results/upgradeTest/1653350293/]
 or download 
[artifacts|http://files.apachegeode-ci.info/builds/apache-develop-main/1.16.0-build.0245/test-artifacts/1653350293/upgradetestfiles-openjdk11-1.16.0-build.0245.tgz].

> [CI Failure] :  SocketCreatorUpgradeTest > 
> upgradingToNewGeodeAndNewJavaWithProtocolsAny[1.14.0] FAILED
> ---
>
> Key: GEODE-10200
> URL: https://issues.apache.org/jira/browse/GEODE-10200
> Project: Geode
>  Issue Type: Bug
>  Components: security
>Affects Versions: 1.15.0
>Reporter: Nabarun Nag
>Assignee: Jacob Barrett
>Priority: Major
>  Labels: needsTriage
>
>  
> {code:java}
> SocketCreatorUpgradeTest > 
> upgradingToNewGeodeAndNewJavaWithProtocolsAny[1.14.0] FAILED
> org.opentest4j.AssertionFailedError: [Exit value from process started by 
> [1fa9fcaebd8c018e: gfsh -e start locator --connect=false 
> --http-service-port=0 --name=locator2 
> --bind-address=heavy-lifter-5c2a1d0b-5930-5788-97d6-3ca24d2f026a.c.apachegeode-ci.internal
>  --port=21172 --J=-Dgemfire.jmx-manager-port=21173 
> --security-properties-file=/tmp/junit1876902159761664930/junit7901411307157053608.tmp
>  
> --locators=heavy-lifter-5c2a1d0b-5930-5788-97d6-3ca24d2f026a.c.apachegeode-ci.internal[21170]]]
>  
> expected: 0
>  but was: 1
> at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at 
> jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at 
> jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at 
> org.apache.geode.test.junit.rules.gfsh.GfshExecution.awaitTermination(GfshExecution.java:103)
> at 
> org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:154)
> at 
> org.apache.geode.test.junit.rules.gfsh.GfshRule.execute(GfshRule.java:133)
> at 
> org.apache.geode.internal.net.SocketCreatorUpgradeTest.upgradingToNewGeodeAndNewJavaWithProtocolsAny(SocketCreatorUpgradeTest.java:450)
>  {code}
> In the logs we can see that there are a lot SSLv2Hello not supported errors. 
> {code:java}
> [warn 2022/03/30 11:49:45.067 UTC locator2  
> tid=0x38] SSL handshake exception
> javax.net.ssl.SSLHandshakeException: SSLv2Hello is not enabled
>   at 
> sun.security.ssl.SSLEngineInputRecord.handleUnknownRecord(SSLEngineInputRecord.java:366)
>   at 
> sun.security.ssl.SSLEngineInputRecord.decode(SSLEngineInputRecord.java:193)
>   at 
> sun.security.ssl.SSLEngineInputRecord.decode(SSLEngineInputRecord.java:160)
>   at sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
>   at sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:575)
>   at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:531)
>   at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:398)
>   at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:377)
>   at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:626)
>   at 
> org.apache.geode.internal.net.NioSslEngine.handshake(NioSslEngine.java:147)
>   at 
> org.apache.geode.internal.net.SocketCreator.handshakeSSLSocketChannel(SocketCreator.java:436)
>   at 
> org.apache.geode.internal.tcp.Connection.createIoFilter(Connection.java:1775)
>   at 
> org.apache.geode.internal.tcp.Connection.readMessages(Connection.java:1563)
>   at org.apache.geode.internal.tcp.Connection.run(Connection.java:1500)
>   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) {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Updated] (GEODE-10312) Remove SpringBootApplication In SwaggerConfig

2022-05-24 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated GEODE-10312:
---
Labels: blocks-1.15.0 pull-request-available  (was: blocks-1.15.0)

> Remove SpringBootApplication In SwaggerConfig
> -
>
> Key: GEODE-10312
> URL: https://issues.apache.org/jira/browse/GEODE-10312
> Project: Geode
>  Issue Type: Bug
>  Components: locator, rest (admin), rest (dev)
>Affects Versions: 1.15.0
>Reporter: Juan Ramos
>Assignee: Patrick Johnsn
>Priority: Major
>  Labels: blocks-1.15.0, pull-request-available
> Attachments: GEODE-10312.zip
>
>
> The issue was introduced by GEODE-10282. As part of commit 
> [41305de1405c2125142e6b337c3f1704f736fca4|https://github.com/apache/geode/commit/41305de1405c2125142e6b337c3f1704f736fca4],
>  {{SwaggerConfig}} classes used to start and configure the internal 
> {{geode-web-management}} and {{geode-web-api}} services use the 
> {{@SpringBootApplication}} annotation. This annotation automatically enables 
> other spring annotations (like {{@EnableAutoConfiguration}} and 
> {{@ComponentScan}}) which, in turn, might cause critical issues during 
> startup as {{spring}} tries to automatically configure several services based 
> on classes and interfaces found within the member's class path.
> ---
> I'm attaching a small scenario that reproduces the problem; the 
> {{reproduce.sh}} script simply starts a locator making sure that the 
> {{spring-jdbc-5.3.20.jar}} is part of the class path. When using any commit 
> after 
> [41305de1405c2125142e6b337c3f1704f736fca4|https://github.com/apache/geode/commit/41305de1405c2125142e6b337c3f1704f736fca4]
>  the logs will contain the following:
> {noformat}
> [info 2022/05/16 15:54:38.997 IST locator0  tid=0x1] Adding webapp 
> /management
> [info 2022/05/16 15:54:39.610 IST locator0  tid=0x1] Initializing 
> Servlet 'management'
> [info 2022/05/16 15:54:42.124 IST locator0  tid=0x1] Will secure any 
> request with 
> [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@33ed6546,
>  
> org.springframework.security.web.context.SecurityContextPersistenceFilter@5a503cf0,
>  org.springframework.security.web.header.HeaderWriterFilter@5b04224a, 
> org.springframework.security.web.authentication.logout.LogoutFilter@17db90a7, 
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6f78c132,
>  
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@42f9b425,
>  
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter@54d62c35,
>  org.springframework.security.web.session.SessionManagementFilter@78907a46, 
> org.springframework.security.web.access.ExceptionTranslationFilter@eaf3dd0, 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7cd6b76a]
> [warn 2022/05/16 15:54:42.975 IST locator0  tid=0x1] Exception 
> encountered during context initialization - cancelling refresh attempt: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'dataSource' defined in class path resource 
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
>  Unsatisfied dependency expressed through method 'dataSource' parameter 0; 
> nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties':
>  Invocation of init method failed; nested exception is 
> java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException
> [error 2022/05/16 15:54:42.980 IST locator0  tid=0x1] Context 
> initialization failed
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'dataSource' defined in class path resource 
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
>  Unsatisfied dependency expressed through method 'dataSource' parameter 0; 
> nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties':
>  Invocation of init method failed; nested exception is 
> java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException
>   at 
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
>   at 
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
>   at 
> 

[jira] [Assigned] (GEODE-10329) CI Failure: PersistentPartitionedRegionDistributedTest > testCacheCloseDuringBucketMoveDoesntCauseDataLoss fails due to RejectedExecutionException during member availab

2022-05-24 Thread Donal Evans (Jira)


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

Donal Evans reassigned GEODE-10329:
---

Assignee: Donal Evans

> CI Failure: PersistentPartitionedRegionDistributedTest > 
> testCacheCloseDuringBucketMoveDoesntCauseDataLoss fails due to 
> RejectedExecutionException during member availability check
> ---
>
> Key: GEODE-10329
> URL: https://issues.apache.org/jira/browse/GEODE-10329
> Project: Geode
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Donal Evans
>Assignee: Donal Evans
>Priority: Major
>  Labels: needsTriage
>
> {code:java}
> > Task :geode-core:distributedTest
> PersistentPartitionedRegionDistributedTest > 
> testCacheCloseDuringBucketMoveDoesntCauseDataLoss FAILED
> 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 662
> [fatal 2022/05/23 17:31:45.980 UTC  
> tid=257] Uncaught exception in thread Thread[Geode Failure Detection thread 
> 4,5,RMI Runtime]
> java.util.concurrent.RejectedExecutionException: Task 
> org.apache.geode.distributed.internal.membership.gms.fd.GMSHealthMonitor$$Lambda$604/0x00080119f4f8@2f733640
>  rejected from java.util.concurrent.ThreadPoolExecutor@2aaf4890[Shutting 
> down, pool size = 6, active threads = 5, queued tasks = 0, completed tasks = 
> 7]
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2065)
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:833)
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1365)
>   at 
> org.apache.geode.distributed.internal.membership.gms.fd.GMSHealthMonitor.checkIfAvailable(GMSHealthMonitor.java:1241)
>   at 
> org.apache.geode.distributed.internal.membership.gms.fd.GMSHealthMonitor.processMessage(GMSHealthMonitor.java:1173)
>   at 
> org.apache.geode.distributed.internal.membership.gms.fd.GMSHealthMonitor.sendSuspectRequest(GMSHealthMonitor.java:1425)
>   at 
> org.apache.geode.distributed.internal.membership.gms.fd.GMSHealthMonitor.initiateSuspicion(GMSHealthMonitor.java:486)
>   at 
> org.apache.geode.distributed.internal.membership.gms.fd.GMSHealthMonitor.lambda$checkMember$1(GMSHealthMonitor.java:470)
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>   at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>   at java.base/java.lang.Thread.run(Thread.java:833)
> at org.junit.Assert.fail(Assert.java:89)
> at 
> org.apache.geode.test.dunit.internal.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:422)
> at 
> org.apache.geode.test.dunit.internal.DUnitLauncher.closeAndCheckForSuspects(DUnitLauncher.java:438)
> at 
> org.apache.geode.test.dunit.rules.DistributedRule$TearDown.doTearDown(DistributedRule.java:230)
> at 
> org.apache.geode.test.dunit.rules.DistributedRule$TearDown.access$100(DistributedRule.java:211)
> at 
> org.apache.geode.test.dunit.rules.DistributedRule.after(DistributedRule.java:151)
> at 
> org.apache.geode.test.dunit.rules.AbstractDistributedRule.afterDistributedTest(AbstractDistributedRule.java:81)
> at 
> org.apache.geode.test.dunit.rules.AbstractDistributedRule$1.evaluate(AbstractDistributedRule.java:61)
> at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
> at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
> at 
> org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
> at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
> at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:449)
> at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:393)
> at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
> at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
> at 

[jira] [Commented] (GEODE-10324) [CI Failure] ExportLogsOverHttpDistributedTest > testExportWithExactLogLevelFilter

2022-05-24 Thread Jinmei Liao (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541644#comment-17541644
 ] 

Jinmei Liao commented on GEODE-10324:
-

Looks like a windows file system issue, transient test issue. Recommend not to 
fix.

> [CI Failure] ExportLogsOverHttpDistributedTest > 
> testExportWithExactLogLevelFilter
> --
>
> Key: GEODE-10324
> URL: https://issues.apache.org/jira/browse/GEODE-10324
> Project: Geode
>  Issue Type: Bug
>  Components: http session
>Affects Versions: 1.16.0
>Reporter: Nabarun Nag
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: needsTriage
>
> {noformat}
> > Task :geode-web:distributedTest
> ExportLogsOverHttpDistributedTest > testExportWithExactLogLevelFilter FAILED
> java.lang.AssertionError: 
> Expected size: 3 but was: 2 in:
> 
> [C:\\Users\\geode\\AppData\\Local\\Temp\\junit3661184760048034890\\unzippedLogs\\locator-0,
> 
> C:\\Users\\geode\\AppData\\Local\\Temp\\junit3661184760048034890\\unzippedLogs\\server-2]
> at 
> org.apache.geode.management.internal.cli.commands.ExportLogsDistributedTestBase.verifyZipFileContents(ExportLogsDistributedTestBase.java:283)
> at 
> org.apache.geode.management.internal.cli.commands.ExportLogsDistributedTestBase.testExportWithExactLogLevelFilter(ExportLogsDistributedTestBase.java:227)
> 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
> at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
> at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at 
> org.apache.geode.test.junit.rules.DescribedExternalResource$1.evaluate(DescribedExternalResource.java:45)
> at 
> org.apache.geode.test.dunit.rules.ClusterStartupRule$1.evaluate(ClusterStartupRule.java:139)
> at 
> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
> at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
> at 
> org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
> at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
> at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
> at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
> at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
> at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
> at 
> org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
> at 
> org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
> at 
> org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
> at 
> org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
> at 
> 

[jira] [Commented] (GEODE-10312) Remove SpringBootApplication In SwaggerConfig

2022-05-24 Thread Patrick Johnsn (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541628#comment-17541628
 ] 

Patrick Johnsn commented on GEODE-10312:


I'm still having trouble getting Springdoc working correctly without 
boot/autoconfiguration. It should be possible, but none of the documentation or 
samples talk about doing it without boot. Apparently, the library was designed 
to integrate with spring boot specifically. 

I have made some progress: I've gotten swagger UI to start without boot for 
geode-web-api at least, but not at the correct URL (v3/v1). This should be 
configurable, but the properties seem to be ignored. This at least gives me a 
starting point to figure out what's missing without boot.

> Remove SpringBootApplication In SwaggerConfig
> -
>
> Key: GEODE-10312
> URL: https://issues.apache.org/jira/browse/GEODE-10312
> Project: Geode
>  Issue Type: Bug
>  Components: locator, rest (admin), rest (dev)
>Affects Versions: 1.15.0
>Reporter: Juan Ramos
>Assignee: Patrick Johnsn
>Priority: Major
>  Labels: blocks-1.15.0
> Attachments: GEODE-10312.zip
>
>
> The issue was introduced by GEODE-10282. As part of commit 
> [41305de1405c2125142e6b337c3f1704f736fca4|https://github.com/apache/geode/commit/41305de1405c2125142e6b337c3f1704f736fca4],
>  {{SwaggerConfig}} classes used to start and configure the internal 
> {{geode-web-management}} and {{geode-web-api}} services use the 
> {{@SpringBootApplication}} annotation. This annotation automatically enables 
> other spring annotations (like {{@EnableAutoConfiguration}} and 
> {{@ComponentScan}}) which, in turn, might cause critical issues during 
> startup as {{spring}} tries to automatically configure several services based 
> on classes and interfaces found within the member's class path.
> ---
> I'm attaching a small scenario that reproduces the problem; the 
> {{reproduce.sh}} script simply starts a locator making sure that the 
> {{spring-jdbc-5.3.20.jar}} is part of the class path. When using any commit 
> after 
> [41305de1405c2125142e6b337c3f1704f736fca4|https://github.com/apache/geode/commit/41305de1405c2125142e6b337c3f1704f736fca4]
>  the logs will contain the following:
> {noformat}
> [info 2022/05/16 15:54:38.997 IST locator0  tid=0x1] Adding webapp 
> /management
> [info 2022/05/16 15:54:39.610 IST locator0  tid=0x1] Initializing 
> Servlet 'management'
> [info 2022/05/16 15:54:42.124 IST locator0  tid=0x1] Will secure any 
> request with 
> [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@33ed6546,
>  
> org.springframework.security.web.context.SecurityContextPersistenceFilter@5a503cf0,
>  org.springframework.security.web.header.HeaderWriterFilter@5b04224a, 
> org.springframework.security.web.authentication.logout.LogoutFilter@17db90a7, 
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6f78c132,
>  
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@42f9b425,
>  
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter@54d62c35,
>  org.springframework.security.web.session.SessionManagementFilter@78907a46, 
> org.springframework.security.web.access.ExceptionTranslationFilter@eaf3dd0, 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7cd6b76a]
> [warn 2022/05/16 15:54:42.975 IST locator0  tid=0x1] Exception 
> encountered during context initialization - cancelling refresh attempt: 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'dataSource' defined in class path resource 
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
>  Unsatisfied dependency expressed through method 'dataSource' parameter 0; 
> nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties':
>  Invocation of init method failed; nested exception is 
> java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException
> [error 2022/05/16 15:54:42.980 IST locator0  tid=0x1] Context 
> initialization failed
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'dataSource' defined in class path resource 
> [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]:
>  Unsatisfied dependency expressed through method 'dataSource' parameter 0; 
> nested exception is org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties':
>  Invocation of init method 

[jira] [Updated] (GEODE-10326) Convert MessageType into an enum

2022-05-24 Thread Bill Burcham (Jira)


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

Bill Burcham updated GEODE-10326:
-
Summary: Convert MessageType into an enum  (was: Covert MessageType into an 
enum)

> Convert MessageType into an enum
> 
>
> Key: GEODE-10326
> URL: https://issues.apache.org/jira/browse/GEODE-10326
> Project: Geode
>  Issue Type: Improvement
>  Components: messaging
>Reporter: Jacob Barrett
>Assignee: Jacob Barrett
>Priority: Major
>  Labels: pull-request-available
>
> Currently {{MessageType}} is class with lots of numeric constants, 
> effectively and enum without all the compile time checking that comes with 
> it. Let's make it an enum for type safety.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Assigned] (GEODE-10330) Resource issues lead to "MemberDisconnectedException: Member isn't responding to heartbeat requests"

2022-05-24 Thread Nabarun Nag (Jira)


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

Nabarun Nag reassigned GEODE-10330:
---

Assignee: Nabarun Nag

> Resource issues lead to "MemberDisconnectedException: Member isn't responding 
> to heartbeat requests"
> 
>
> Key: GEODE-10330
> URL: https://issues.apache.org/jira/browse/GEODE-10330
> Project: Geode
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Donal Evans
>Assignee: Nabarun Nag
>Priority: Major
>  Labels: needsTriage
>
> A failure was observed in 
> DistributedMulticastRegionWithUDPSecurityDUnitTest > 
> testMulticastAfterReconnect due to suspect strings with fatal-level logging 
> of "Membership service failure: Member isn't responding to heartbeat 
> requests".
> Investigating the logs showed all members reporting long statistics sampling 
> wakeup delays, indicating resource issues:
> {code:java}
> [vm3] [warn 2022/05/21 07:28:16.251 UTC LocatorWithMcast  
> tid=0xb8] Statistics sampling thread detected a wakeup delay of 4760 ms, 
> indicating a possible resource issue. Check the GC, memory, and CPU 
> statistics.
> ...
> [locator] [warn 2022/05/21 07:28:20.288 UTC   tid=0x3b] 
> Statistics sampling thread detected a wakeup delay of 12400 ms, indicating a 
> possible resource issue. Check the GC, memory, and CPU statistics.
> ...
> [vm1] [warn 2022/05/21 07:28:20.969 UTC vm1  tid=0xda] 
> Statistics sampling thread detected a wakeup delay of 13738 ms, indicating a 
> possible resource issue. Check the GC, memory, and CPU statistics.
> ...
> [vm0] [warn 2022/05/21 07:28:22.226 UTC vm0  tid=0xa9] 
> Statistics sampling thread detected a wakeup delay of 15110 ms, indicating a 
> possible resource issue. Check the GC, memory, and CPU statistics. {code}
>  
> After downloading the test artifacts and using the progress tool from the 
> dev-tools directory in the Geode repository, the following tests were found 
> to be running during the resource issues, possibly indicating that one or 
> more of them are particularly resource-intensive:
> {noformat}
> $> progress -r '2022-05-21 07:28:16.251 -' | grep org | sort{noformat}
> {code:java}
> org.apache.geode.cache.PRCacheListenerWithInterestPolicyAllDistributedTest.afterUpdateIsInvokedInEveryMember[0:
>  redundancy=0] 
> org.apache.geode.cache.lucene.LuceneQueriesReindexDUnitTest.recreateIndexWithDifferentFieldsShouldFail(PARTITION_OVERFLOW_TO_DISK)
>  [2] 
> org.apache.geode.cache.query.cq.dunit.CqDataUsingPoolOptimizedExecuteDUnitTest.testCQHAWithState
>  
> org.apache.geode.cache.query.cq.dunit.PartitionedRegionCqQueryDUnitTest.testPartitionedCqOnAccessorBridgeServer
>  org.apache.geode.cache30.CallbackArgDUnitTest.testForCA 
> org.apache.geode.cache30.DistributedMulticastRegionWithUDPSecurityDUnitTest.testMulticastAfterReconnect
>  
> org.apache.geode.cache30.DistributedNoAckRegionCCEOffHeapDUnitTest.testDistributedInvalidate
>  org.apache.geode.cache30.GlobalRegionOffHeapDUnitTest.testOrderedUpdates 
> org.apache.geode.cache30.ReconnectWithClusterConfigurationDUnitTest.testReconnectAfterMeltdown
>  
> org.apache.geode.distributed.internal.P2PMessagingConcurrencyDUnitTest.testP2PMessaging(true,
>  false, 32768, 65536) [6] 
> org.apache.geode.disttx.PRDistTXDUnitTest.testSimulaneousChildRegionCreation 
> org.apache.geode.internal.cache.ClientServerTransactionCCEDUnitTest.testClientCommitFunctionWithFailure
>  
> org.apache.geode.internal.cache.eviction.OffHeapEvictionStatsDUnitTest.testHeapLruCounter
>  
> org.apache.geode.internal.cache.wan.concurrent.ConcurrentParallelGatewaySenderOperation_1_DUnitTest.testParallelPropagationSenderStartAfterStopOnAccessorNode
>  
> org.apache.geode.internal.cache.wan.offheap.ParallelGatewaySenderOperationsOffHeapDistributedTest.testParallelGatewaySenderStartOnAccessorNode
>  
> org.apache.geode.internal.cache.wan.serial.SerialWANPropagation_PartitionedRegionDUnitTest.testPartitionedSerialPropagationHA
>  org.apache.geode.internal.tcp.TCPConduitDUnitTest.basicAcceptConnection[0] 
> org.apache.geode.management.internal.configuration.ClusterConfigImportDUnitTest.importFailWithExistingRegion
>  
> org.apache.geode.rest.internal.web.controllers.RestAPIsOnGroupsFunctionExecutionDUnitTest.testBasicP2PFunctionSelectedGroup[1]
>  
> org.apache.geode.session.tests.Jetty9CachingClientServerTest.failureShouldStillAllowOtherContainersDataAccess
>  
> org.apache.geode.session.tests.Tomcat8ClientServerCustomCacheXmlTest.containersShouldExpireInSetTimeframe
>  org.apache.geode.session.tests.Tomcat8Test.containersShouldReplicateCookies 
> org.apache.geode.session.tests.Tomcat9ClientServerTest.invalidationShouldRemoveValueAccessForAllContainers
> {code}
> Future failures due to this sort of 

[jira] [Commented] (GEODE-10296) Parser error in HDR histogram log can result in terminate of JVM

2022-05-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541609#comment-17541609
 ] 

ASF subversion and git services commented on GEODE-10296:
-

Commit 4ffee41659f41e745066776e0213fa2f58408b7a in geode-benchmarks's branch 
refs/heads/develop from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode-benchmarks.git;h=4ffee416 ]

GEODE-10296: Prevent JVM exit on parser error. (#168)

Configure HistogramLogProcessor to throw exceptions rather than exit.

> Parser error in HDR histogram log can result in terminate of JVM
> 
>
> Key: GEODE-10296
> URL: https://issues.apache.org/jira/browse/GEODE-10296
> Project: Geode
>  Issue Type: Bug
>  Components: benchmarks
>Reporter: Jacob Barrett
>Assignee: Jacob Barrett
>Priority: Major
>  Labels: pull-request-available
>
> The HDR histogram parser exits the JVM on parsing errors. This results in 
> benchmarks failing even if the parser error is later recoverable. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (GEODE-10296) Parser error in HDR histogram log can result in terminate of JVM

2022-05-24 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/GEODE-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17541608#comment-17541608
 ] 

ASF GitHub Bot commented on GEODE-10296:


pivotal-jbarrett merged PR #168:
URL: https://github.com/apache/geode-benchmarks/pull/168




> Parser error in HDR histogram log can result in terminate of JVM
> 
>
> Key: GEODE-10296
> URL: https://issues.apache.org/jira/browse/GEODE-10296
> Project: Geode
>  Issue Type: Bug
>  Components: benchmarks
>Reporter: Jacob Barrett
>Assignee: Jacob Barrett
>Priority: Major
>  Labels: pull-request-available
>
> The HDR histogram parser exits the JVM on parsing errors. This results in 
> benchmarks failing even if the parser error is later recoverable. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Assigned] (GEODE-10324) [CI Failure] ExportLogsOverHttpDistributedTest > testExportWithExactLogLevelFilter

2022-05-24 Thread Jinmei Liao (Jira)


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

Jinmei Liao reassigned GEODE-10324:
---

Assignee: Jinmei Liao

> [CI Failure] ExportLogsOverHttpDistributedTest > 
> testExportWithExactLogLevelFilter
> --
>
> Key: GEODE-10324
> URL: https://issues.apache.org/jira/browse/GEODE-10324
> Project: Geode
>  Issue Type: Bug
>  Components: http session
>Affects Versions: 1.16.0
>Reporter: Nabarun Nag
>Assignee: Jinmei Liao
>Priority: Major
>  Labels: needsTriage
>
> {noformat}
> > Task :geode-web:distributedTest
> ExportLogsOverHttpDistributedTest > testExportWithExactLogLevelFilter FAILED
> java.lang.AssertionError: 
> Expected size: 3 but was: 2 in:
> 
> [C:\\Users\\geode\\AppData\\Local\\Temp\\junit3661184760048034890\\unzippedLogs\\locator-0,
> 
> C:\\Users\\geode\\AppData\\Local\\Temp\\junit3661184760048034890\\unzippedLogs\\server-2]
> at 
> org.apache.geode.management.internal.cli.commands.ExportLogsDistributedTestBase.verifyZipFileContents(ExportLogsDistributedTestBase.java:283)
> at 
> org.apache.geode.management.internal.cli.commands.ExportLogsDistributedTestBase.testExportWithExactLogLevelFilter(ExportLogsDistributedTestBase.java:227)
> 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
> at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
> at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at 
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at 
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at 
> org.apache.geode.test.junit.rules.DescribedExternalResource$1.evaluate(DescribedExternalResource.java:45)
> at 
> org.apache.geode.test.dunit.rules.ClusterStartupRule$1.evaluate(ClusterStartupRule.java:139)
> at 
> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
> at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
> at 
> org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
> at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
> at 
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
> at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
> at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
> at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
> at 
> org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
> at 
> org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
> at 
> org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
> at 
> org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
> at 
> org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
> at 
> org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
> at 
>