[ https://issues.apache.org/jira/browse/GEODE-7604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062042#comment-17062042 ]
ASF subversion and git services commented on GEODE-7604: -------------------------------------------------------- Commit 0dfff8cf5415e64577b728098adbd77c5ba07a9c in geode's branch refs/heads/develop from Juan José Ramos [ https://gitbox.apache.org/repos/asf?p=geode.git;h=0dfff8c ] GEODE-7604: Fix Test Flakiness (#4825) Make sure the CQ is effectively running on the server before continuing with the test execution to avoid races. > QueryConfigurationServiceConstraintsDistributedTest > --------------------------------------------------- > > Key: GEODE-7604 > URL: https://issues.apache.org/jira/browse/GEODE-7604 > Project: Geode > Issue Type: Bug > Components: tests > Reporter: Mark Hanson > Assignee: Juan Ramos > Priority: Major > Labels: GeodeCommons > Time Spent: 3h > Remaining Estimate: 0h > > QueryConfigurationServiceConstraintsDistributedTest had two failures in the > mass test run... > [2] > https://concourse.apachegeode-ci.info/teams/main/pipelines/mhansonp-mhanson-mass-test-ru-main/jobs/DistributedTestOpenJDK8/builds/2252 > [6] > [https://concourse.apachegeode-ci.info/teams/main/pipelines/mhansonp-mhanson-mass-test-ru-main/jobs/DistributedTestOpenJDK8/builds/2211] > > {noformat} > 01:28:56org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest > > [2] > cqsShouldSucceedDuringEventProcessingAfterRegionOperationWhenMethodAuthorizerIsChangedAndQueryContainsMethodsAllowedByTheNewAuthorizer(RegionType:REPLICATE;Operation:CREATE,ExecuteWithInitialResults:true) > FAILED > 01:28:56 org.apache.geode.test.dunit.RMIException: While invoking > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest$$Lambda$57/2082907347.run > in VM 2 running on Host 8cbcba2ac2b2 with 4 VMs > 01:28:56 at > org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610) > 01:28:56 at org.apache.geode.test.dunit.VM.invoke(VM.java:437) > 01:28:56 at > org.apache.geode.test.junit.rules.VMProvider.invoke(VMProvider.java:94) > 01:28:56 at > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.cqsShouldSucceedDuringEventProcessingAfterRegionOperationWhenMethodAuthorizerIsChangedAndQueryContainsMethodsAllowedByTheNewAuthorizer(QueryConfigurationServiceConstraintsDistributedTest.java:260) > 01:28:56 > 01:28:56 Caused by: > 01:28:56 org.awaitility.core.ConditionTimeoutException: Assertion > condition defined as a > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest > expected:<[7]> but was:<[4]> within 300 seconds. > 01:28:56 at > org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145) > 01:28:56 at > org.awaitility.core.AssertionCondition.await(AssertionCondition.java:122) > 01:28:56 at > org.awaitility.core.AssertionCondition.await(AssertionCondition.java:32) > 01:28:56 at > org.awaitility.core.ConditionFactory.until(ConditionFactory.java:902) > 01:28:56 at > org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:723) > 01:28:56 at > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.lambda$cqsShouldSucceedDuringEventProcessingAfterRegionOperationWhenMethodAuthorizerIsChangedAndQueryContainsMethodsAllowedByTheNewAuthorizer$868d1d80$1(QueryConfigurationServiceConstraintsDistributedTest.java:264) > 01:28:56 > 01:28:56 Caused by: > 01:28:56 org.junit.ComparisonFailure: expected:<[7]> but was:<[4]> > 01:28:56 at > sun.reflect.GeneratedConstructorAccessor207.newInstance(Unknown Source) > 01:28:56 at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > 01:28:56 at > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.lambda$null$13(QueryConfigurationServiceConstraintsDistributedTest.java:266) > 02:03:51 > 02:03:51679 tests completed, 1 failed, 39 skipped {noformat} > > > {noformat} > 07:59:46org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest > > [6] > cqsShouldFailDuringEventProcessingAfterRegionOperationWhenMethodAuthorizerIsChangedAndQueryContainsMethodsNotAllowedByTheNewAuthorizer(RegionType:REPLICATE;Operation:DESTROY,ExecuteWithInitialResults:true) > FAILED > 07:59:46 org.apache.geode.test.dunit.RMIException: While invoking > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest$$Lambda$33/1244479648.run > in VM 2 running on Host 4f921f4602aa with 4 VMs > 07:59:46 at > org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610) > 07:59:46 at org.apache.geode.test.dunit.VM.invoke(VM.java:437) > 07:59:46 at > org.apache.geode.test.junit.rules.VMProvider.invoke(VMProvider.java:94) > 07:59:46 at > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.cqsShouldFailDuringEventProcessingAfterRegionOperationWhenMethodAuthorizerIsChangedAndQueryContainsMethodsNotAllowedByTheNewAuthorizer(QueryConfigurationServiceConstraintsDistributedTest.java:304) > 07:59:46 > 07:59:46 Caused by: > 07:59:46 org.awaitility.core.ConditionTimeoutException: Assertion > condition defined as a > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest > expected:<[7]> but was:<[6]> within 300 seconds. > 07:59:46 at > org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145) > 07:59:46 at > org.awaitility.core.AssertionCondition.await(AssertionCondition.java:122) > 07:59:46 at > org.awaitility.core.AssertionCondition.await(AssertionCondition.java:32) > 07:59:46 at > org.awaitility.core.ConditionFactory.until(ConditionFactory.java:902) > 07:59:46 at > org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:723) > 07:59:46 at > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.lambda$cqsShouldFailDuringEventProcessingAfterRegionOperationWhenMethodAuthorizerIsChangedAndQueryContainsMethodsNotAllowedByTheNewAuthorizer$868d1d80$1(QueryConfigurationServiceConstraintsDistributedTest.java:308) > 07:59:46 > 07:59:46 Caused by: > 07:59:46 org.junit.ComparisonFailure: expected:<[7]> but was:<[6]> > 07:59:46 at > sun.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source) > 07:59:46 at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > 07:59:46 at > org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.lambda$null$15(QueryConfigurationServiceConstraintsDistributedTest.java:310) > 08:33:58 > 08:33:58679 tests completed, 1 failed, 39 skipped {noformat} > -- This message was sent by Atlassian Jira (v8.3.4#803005)