Adrien Grand created LUCENE-10092: ------------------------------------- Summary: TestCheckIndex failure Key: LUCENE-10092 URL: https://issues.apache.org/jira/browse/LUCENE-10092 Project: Lucene - Core Issue Type: Bug Reporter: Adrien Grand
We got the below test failure on Elastic's CI: {noformat} 10:07:08 org.apache.lucene.index.TestCheckIndex > test suite's output saved to /var/lib/jenkins/workspace/apache+lucene-solr+main/lucene/core/build/test-results/test/outputs/OUTPUT-org.apache.lucene.index.TestCheckIndex.txt, copied below: 10:07:08 > java.lang.AssertionError: expected:<1> but was:<3> 10:07:08 > at __randomizedtesting.SeedInfo.seed([60A890FDD81D376A:CD05D1B3AF48278E]:0) 10:07:08 > at org.junit.Assert.fail(Assert.java:89) 10:07:08 > at org.junit.Assert.failNotEquals(Assert.java:835) 10:07:08 > at org.junit.Assert.assertEquals(Assert.java:647) 10:07:08 > at org.junit.Assert.assertEquals(Assert.java:633) 10:07:08 > at org.apache.lucene.index.TestCheckIndex.testCheckIndexAllValid(TestCheckIndex.java:132) 10:07:08 > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 10:07:08 > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 10:07:08 > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 10:07:08 > at java.base/java.lang.reflect.Method.invoke(Method.java:566) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1754) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:942) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:978) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:992) 10:07:08 > at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:44) 10:07:08 > at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43) 10:07:08 > at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45) 10:07:08 > at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60) 10:07:08 > at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44) 10:07:08 > at org.junit.rules.RunRules.evaluate(RunRules.java:20) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) 10:07:08 > at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:370) 10:07:08 > at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:819) 10:07:08 > at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:470) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:951) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:836) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:887) 10:07:08 > at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:898) 10:07:08 > at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) 10:07:08 > at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) 10:07:08 > at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53) 10:07:08 > at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43) 10:07:08 > at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44) 10:07:08 > at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60) 10:07:08 > at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47) 10:07:08 > at org.junit.rules.RunRules.evaluate(RunRules.java:20) 10:07:08 > at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) 10:07:08 > at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:370) 10:07:08 > at com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:826) 10:07:08 > at java.base/java.lang.Thread.run(Thread.java:834) 10:07:08 2> NOTE: reproduce with: gradlew test --tests TestCheckIndex.testCheckIndexAllValid -Dtests.seed=60A890FDD81D376A -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=en-MW -Dtests.timezone=Asia/Dili -Dtests.asserts=true -Dtests.file.encoding=UTF-8 10:07:08 2> NOTE: test params are: codec=Asserting(Lucene90): \{date=PostingsFormat(name=Direct), termvector=Lucene90, field=PostingsFormat(name=Direct), docid=PostingsFormat(name=MockRandom), titleTokenized=Lucene90, id=PostingsFormat(name=MockRandom), body=PostingsFormat(name=Direct), title=FST50}, docValues:\{dv=DocValuesFormat(name=Lucene90), docid_intDV=DocValuesFormat(name=Asserting), soft_delete=DocValuesFormat(name=Lucene90), titleDV=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=861, maxMBSortInHeap=6.960743177580833, sim=Asserting(RandomSimilarity(queryNorm=false): \{termvector=IB LL-L1, field=DFI(Standardized), titleTokenized=DFI(Saturated), body=IB SPL-LZ(0.3)}), locale=en-MW, timezone=Asia/Dili {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org