lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8813) testIndexTooManyDocs fails
Date Sat, 01 Jun 2019 06:53:01 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-8813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853612#comment-16853612
] 

ASF subversion and git services commented on LUCENE-8813:
---------------------------------------------------------

Commit b28de243be3144312543fdd7d7bde94de1938478 in lucene-solr's branch refs/heads/master
from Simon Willnauer
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b28de24 ]

LUCENE-8813: Ensure we never apply deletes from a closed DWPTDeleteQueue (#688)

Today we don't have a strong protection that we add and apply deletes / updates
on or from an already flushed delete queue. DWPTDeleteQueue instances are replaced
once we do a full flush in order to reopen an NRT reader or commit the IndexWriter.

In LUCENE-8813 we tripped an assert that used to protect us from such an situation
but it didn't take all corner cases from concurrent flushing into account. This change
adds a stronger protection and ensures that we neither apply a closed delete queue nor
add any updates or deletes to it.

This change also allows to speculatively freeze the global buffer that might return
null now if the queue has already been closed. This is now possible since we ensure that
we never see modifications to the queue after it's been closed and that happens right after
the last DWPT for the ongoing full flush is done flushing.


> testIndexTooManyDocs fails
> --------------------------
>
>                 Key: LUCENE-8813
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8813
>             Project: Lucene - Core
>          Issue Type: Test
>          Components: core/index
>            Reporter: Nhat Nguyen
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> testIndexTooManyDocs fails on [Elastic CI|https://elasticsearch-ci.elastic.co/job/apache+lucene-solr+branch_8x/6402/console].
This failure does not reproduce locally for me.
> {noformat}
> [junit4] Suite: org.apache.lucene.index.TestIndexTooManyDocs
>    [junit4]   2> KTN 23, 2019 4:09:37 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[Thread-612,5,TGRP-TestIndexTooManyDocs]
>    [junit4]   2> java.lang.AssertionError: only modifications from the current flushing
queue are permitted while doing a full flush
>    [junit4]   2>     at __randomizedtesting.SeedInfo.seed([1F16B1DA7056AA52]:0)
>    [junit4]   2>     at org.apache.lucene.index.DocumentsWriter.assertTicketQueueModification(DocumentsWriter.java:683)
>    [junit4]   2>     at org.apache.lucene.index.DocumentsWriter.applyAllDeletes(DocumentsWriter.java:187)
>    [junit4]   2>     at org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:411)
>    [junit4]   2>     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:514)
>    [junit4]   2>     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1594)
>    [junit4]   2>     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1586)
>    [junit4]   2>     at org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$0(TestIndexTooManyDocs.java:70)
>    [junit4]   2>     at java.base/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2> 
>    [junit4]   2> KTN 23, 2019 6:09:36 PM com.carrotsearch.randomizedtesting.ThreadLeakControl$2
evaluate
>    [junit4]   2> WARNING: Suite execution timed out: org.apache.lucene.index.TestIndexTooManyDocs
>    [junit4]   2>    1) Thread[id=669, name=SUITE-TestIndexTooManyDocs-seed#[1F16B1DA7056AA52],
state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at java.base/java.lang.Thread.getStackTrace(Thread.java:1606)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$4.run(ThreadLeakControl.java:696)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$4.run(ThreadLeakControl.java:693)
>    [junit4]   2>         at java.base/java.security.AccessController.doPrivileged(Native
Method)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.getStackTrace(ThreadLeakControl.java:693)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.getThreadsWithTraces(ThreadLeakControl.java:709)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.formatThreadStacksFull(ThreadLeakControl.java:689)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.access$1000(ThreadLeakControl.java:65)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$2.evaluate(ThreadLeakControl.java:415)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:708)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.RandomizedRunner.access$200(RandomizedRunner.java:138)
>    [junit4]   2>         at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:629)
>    [junit4]   2>    2) Thread[id=671, name=Thread-606, state=BLOCKED, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at app//org.apache.lucene.index.IndexWriter.nrtIsCurrent(IndexWriter.java:4945)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:293)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
>    [junit4]   2>         at app//org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:165)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$1(TestIndexTooManyDocs.java:86)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs$$Lambda$342/0x00000001002bc440.run(Unknown
Source)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2>    3) Thread[id=1, name=main, state=WAITING, group=main]
>    [junit4]   2>         at java.base@11.0.2/java.lang.Object.wait(Native Method)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.join(Thread.java:1305)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.join(Thread.java:1379)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:639)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner.run(RandomizedRunner.java:496)
>    [junit4]   2>         at app//com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.execute(SlaveMain.java:269)
>    [junit4]   2>         at app//com.carrotsearch.ant.tasks.junit4.slave.SlaveMain.main(SlaveMain.java:394)
>    [junit4]   2>         at app//com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe.main(SlaveMainSafe.java:13)
>    [junit4]   2>    4) Thread[id=20, name=JUnit4-serializer-daemon, state=TIMED_WAITING,
group=main]
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.sleep(Native Method)
>    [junit4]   2>         at app//com.carrotsearch.ant.tasks.junit4.events.Serializer$1.run(Serializer.java:50)
>    [junit4]   2>    5) Thread[id=670, name=TEST-TestIndexTooManyDocs.testIndexTooManyDocs-seed#[1F16B1DA7056AA52],
state=WAITING, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.misc.Unsafe.park(Native
Method)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1039)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.testIndexTooManyDocs(TestIndexTooManyDocs.java:101)
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    [junit4]   2>         at java.base@11.0.2/java.lang.reflect.Method.invoke(Method.java:566)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
>    [junit4]   2>         at app//org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:947)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:832)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:883)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:894)
>    [junit4]   2>         at app//org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2>    6) Thread[id=672, name=Thread-607, state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at app//org.apache.lucene.index.IndexWriter.nrtIsCurrent(IndexWriter.java:4945)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:293)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
>    [junit4]   2>         at app//org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:165)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$1(TestIndexTooManyDocs.java:86)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs$$Lambda$342/0x00000001002bc440.run(Unknown
Source)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestIndexTooManyDocs -Dtests.method=testIndexTooManyDocs
-Dtests.seed=1F16B1DA7056AA52 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=cgg-UG
-Dtests.timezone=Europe/Belgrade -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>    [junit4] ERROR   7200s J1 | TestIndexTooManyDocs.testIndexTooManyDocs <<<
>    [junit4]    > Throwable #1: java.lang.Exception: Test abandoned because suite timeout
was reached.
>    [junit4]    >     at __randomizedtesting.SeedInfo.seed([1F16B1DA7056AA52]:0)
>    [junit4]   2> KTN 23, 2019 6:09:36 PM com.carrotsearch.randomizedtesting.ThreadLeakControl
checkThreadLeaks
>    [junit4]   2> WARNING: Will linger awaiting termination of 3 leaked thread(s).
>    [junit4]   2> KTN 23, 2019 6:09:57 PM com.carrotsearch.randomizedtesting.ThreadLeakControl
checkThreadLeaks
>    [junit4]   2> SEVERE: 3 threads leaked from SUITE scope at org.apache.lucene.index.TestIndexTooManyDocs:

>    [junit4]   2>    1) Thread[id=671, name=Thread-606, state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at app//org.apache.lucene.index.ReaderPool.anyDocValuesChanges(ReaderPool.java:356)
>    [junit4]   2>         at app//org.apache.lucene.index.IndexWriter.nrtIsCurrent(IndexWriter.java:4949)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:293)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
>    [junit4]   2>         at app//org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:165)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$1(TestIndexTooManyDocs.java:86)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs$$Lambda$342/0x00000001002bc440.run(Unknown
Source)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2>    2) Thread[id=670, name=TEST-TestIndexTooManyDocs.testIndexTooManyDocs-seed#[1F16B1DA7056AA52],
state=WAITING, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.misc.Unsafe.park(Native
Method)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1039)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
>    [junit4]   2>         at java.base@11.0.2/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.testIndexTooManyDocs(TestIndexTooManyDocs.java:101)
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>    [junit4]   2>         at java.base@11.0.2/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    [junit4]   2>         at java.base@11.0.2/java.lang.reflect.Method.invoke(Method.java:566)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
>    [junit4]   2>         at app//org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:947)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:832)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:883)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:894)
>    [junit4]   2>         at app//org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
>    [junit4]   2>         at app//org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>    [junit4]   2>         at app//com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2>    3) Thread[id=672, name=Thread-607, state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at app//org.apache.lucene.index.IndexWriter.nrtIsCurrent(IndexWriter.java:4945)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:293)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
>    [junit4]   2>         at app//org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:165)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$1(TestIndexTooManyDocs.java:86)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs$$Lambda$342/0x00000001002bc440.run(Unknown
Source)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2> KTN 23, 2019 6:09:57 PM com.carrotsearch.randomizedtesting.ThreadLeakControl
tryToInterruptAll
>    [junit4]   2> INFO: Starting to interrupt leaked threads:
>    [junit4]   2>    1) Thread[id=671, name=Thread-606, state=BLOCKED, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>    2) Thread[id=670, name=TEST-TestIndexTooManyDocs.testIndexTooManyDocs-seed#[1F16B1DA7056AA52],
state=WAITING, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>    3) Thread[id=672, name=Thread-607, state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2> May 23, 2019 4:09:59 PM com.carrotsearch.randomizedtesting.ThreadLeakControl
tryToInterruptAll
>    [junit4]   2> SEVERE: There are still zombie threads that couldn't be terminated:
>    [junit4]   2>    1) Thread[id=671, name=Thread-606, state=BLOCKED, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at app//org.apache.lucene.index.IndexWriter.nrtIsCurrent(IndexWriter.java:4945)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:293)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
>    [junit4]   2>         at app//org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:165)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$1(TestIndexTooManyDocs.java:86)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs$$Lambda$342/0x00000001002bc440.run(Unknown
Source)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2>    2) Thread[id=672, name=Thread-607, state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]   2>         at app//org.apache.lucene.index.IndexWriter.nrtIsCurrent(IndexWriter.java:4945)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:293)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
>    [junit4]   2>         at app//org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
>    [junit4]   2>         at app//org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:165)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$1(TestIndexTooManyDocs.java:86)
>    [junit4]   2>         at app//org.apache.lucene.index.TestIndexTooManyDocs$$Lambda$342/0x00000001002bc440.run(Unknown
Source)
>    [junit4]   2>         at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene80): {id=PostingsFormat(name=Asserting)},
docValues:{}, maxPointsInLeafNode=121, maxMBSortInHeap=6.668997550907731, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@4f9c8617),
locale=cgg-UG, timezone=Europe/Belgrade
>    [junit4]   2> NOTE: Linux 5.0.16-200.fc29.x86_64 amd64/Oracle Corporation 11.0.2
(64-bit)/cpus=16,threads=3,free=186071304,total=536870912
>    [junit4]   2> NOTE: All tests run in this JVM: [TestIndexingSequenceNumbers, TestTermVectors,
TestSegmentTermEnum, TestPrefixRandom, TestSoftDeletesDirectoryReaderWrapper, TestFutureArrays,
TestFieldValueQuery, TestArrayUtil, TestDoubleRange, TestRecyclingIntBlockAllocator, TestRegExp,
TestBooleanQuery, TestConjunctionDISI, TestCodecUtil, TestTopDocsCollector, TestReaderWrapperDVTypeCheck,
TestIntArrayDocIdSet, TestSegmentInfos, TestIndexTooManyDocs]
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestIndexTooManyDocs -Dtests.seed=1F16B1DA7056AA52
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=cgg-UG -Dtests.timezone=Europe/Belgrade
-Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>    [junit4] ERROR   0.00s J1 | TestIndexTooManyDocs (suite) <<<
>    [junit4]    > Throwable #1: java.lang.Exception: Suite timeout exceeded (>=
7200000 msec).
>    [junit4]    >     at __randomizedtesting.SeedInfo.seed([1F16B1DA7056AA52]:0)Throwable
#2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception
in thread: Thread[id=677, name=Thread-612, state=RUNNABLE, group=TGRP-TestIndexTooManyDocs]
>    [junit4]    > Caused by: java.lang.AssertionError: only modifications from the
current flushing queue are permitted while doing a full flush
>    [junit4]    >     at __randomizedtesting.SeedInfo.seed([1F16B1DA7056AA52]:0)
>    [junit4]    >     at org.apache.lucene.index.DocumentsWriter.assertTicketQueueModification(DocumentsWriter.java:683)
>    [junit4]    >     at org.apache.lucene.index.DocumentsWriter.applyAllDeletes(DocumentsWriter.java:187)
>    [junit4]    >     at org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:411)
>    [junit4]    >     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:514)
>    [junit4]    >     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1594)
>    [junit4]    >     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1586)
>    [junit4]    >     at org.apache.lucene.index.TestIndexTooManyDocs.lambda$testIndexTooManyDocs$0(TestIndexTooManyDocs.java:70)
>    [junit4]    >     at java.base/java.lang.Thread.run(Thread.java:834)
>    [junit4] Completed [474/520 (1!)] on J1 in 7222.78s, 1 test, 3 errors <<<
FAILURES!
> {noformat}
> /cc [~simonw]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message