[JIRA] (HSEARCH-4687) Fix flaky test org.hibernate.search.integrationtest.mapper.orm.coordination.outboxpolling.automaticindexing.OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT(coord-outbox-default-database-cockroachdb)
by Yoann Rodière (JIRA)
Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%... ) *reopened* an issue
Looks like the fix was incomplete: https://ci.hibernate.org/job/hibernate-search/job/main/457/testReport/jun... ( https://ci.hibernate.org/job/hibernate-search/job/main/457/testReport/jun... )
Error Message
Condition with alias 'Waiting for indexing assertions' didn't complete within 15 seconds because assertion condition defined as a org.hibernate.search.util.impl.integrationtest.common.rule.VerifyingStubBackendBehavior Expected [creation of a ADD_OR_UPDATE work on document 'IndexedEntity#2720'].
Stacktrace
org.awaitility.core.ConditionTimeoutException: Condition with alias 'Waiting for indexing assertions' didn't complete within 15 seconds because assertion condition defined as a org.hibernate.search.util.impl.integrationtest.common.rule.VerifyingStubBackendBehavior Expected [creation of a ADD_OR_UPDATE work on document 'IndexedEntity#2720'].
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
at org.hibernate.search.util.impl.integrationtest.common.rule.BackendIndexingWorkExpectations.awaitIndexingAssertions(BackendIndexingWorkExpectations.java:67)
at org.hibernate.search.util.impl.integrationtest.common.rule.VerifyingStubBackendBehavior.lambda$verifyExpectationsMet$7(VerifyingStubBackendBehavior.java:227)
at org.hibernate.search.util.common.impl.AbstractCloser.push(AbstractCloser.java:53)
at org.hibernate.search.util.common.impl.AbstractCloser.push(AbstractCloser.java:33)
at org.hibernate.search.util.impl.integrationtest.common.rule.VerifyingStubBackendBehavior.verifyExpectationsMet(VerifyingStubBackendBehavior.java:226)
at org.hibernate.search.util.impl.integrationtest.common.rule.BackendMock.verifyExpectationsMet(BackendMock.java:94)
at org.hibernate.search.integrationtest.mapper.orm.coordination.outboxpolling.automaticindexing.OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.agentLeft(OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java:124)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/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.hibernate.search.util.impl.integrationtest.common.rule.BackendMock$1.evaluate(BackendMock.java:52)
at org.hibernate.search.util.impl.test.rule.StaticCounters$1.evaluate(StaticCounters.java:63)
at org.hibernate.search.util.impl.integrationtest.common.rule.MappingSetupHelper$1.evaluate(MappingSetupHelper.java:74)
at org.hibernate.search.util.impl.integrationtest.common.TestConfigurationProvider$1.evaluate(TestConfigurationProvider.java:45)
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.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)
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.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
Caused by: java.lang.AssertionError: Expected [creation of a ADD_OR_UPDATE work on document 'IndexedEntity#2720']
at org.junit.Assert.fail(Assert.java:89)
at org.hibernate.search.util.impl.integrationtest.common.rule.CallQueue.verifyExpectationsMet(CallQueue.java:234)
at org.hibernate.search.util.common.impl.AbstractCloser.push(AbstractCloser.java:53)
at org.hibernate.search.util.common.impl.AbstractCloser.pushAll(AbstractCloser.java:92)
at org.hibernate.search.util.common.impl.AbstractCloser.pushAll(AbstractCloser.java:73)
at org.hibernate.search.util.impl.integrationtest.common.rule.VerifyingStubBackendBehavior.lambda$verifyExpectationsMet$6(VerifyingStubBackendBehavior.java:229)
at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
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)
Suppressed: java.lang.AssertionError: Expected [creation of a ADD_OR_UPDATE work on document 'IndexedEntity#2721']
...
Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiMGE1OWNj... ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-4687?atlOrigin=eyJpIjoiMGE... ) HSEARCH-4687 ( https://hibernate.atlassian.net/browse/HSEARCH-4687?atlOrigin=eyJpIjoiMGE... ) Fix flaky test org.hibernate.search.integrationtest.mapper.orm.coordination.outboxpolling.automaticindexing.OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT(coord-outbox-default-database-cockroachdb) ( https://hibernate.atlassian.net/browse/HSEARCH-4687?atlOrigin=eyJpIjoiMGE... )
Change By: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%... ) Resolution: Fixed Status: Resolved Reopened
( https://hibernate.atlassian.net/browse/HSEARCH-4687#add-comment?atlOrigin... ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-4687#add-comment?atlOrigin... )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.... ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN... ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206- sha1:e4fd81d )
2 years, 4 months