From dev-return-322423-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Wed May 16 17:56:08 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0E97E180669 for ; Wed, 16 May 2018 17:56:07 +0200 (CEST) Received: (qmail 31839 invoked by uid 500); 16 May 2018 15:56:06 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 31829 invoked by uid 99); 16 May 2018 15:56:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2018 15:56:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3D561180334 for ; Wed, 16 May 2018 15:56:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4AsL_PN_5kCd for ; Wed, 16 May 2018 15:56:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A29AF5F41C for ; Wed, 16 May 2018 15:56:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 11756E031B for ; Wed, 16 May 2018 15:56:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7BF25217B4 for ; Wed, 16 May 2018 15:56:00 +0000 (UTC) Date: Wed, 16 May 2018 15:56:00 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LUCENE-8317) TestStressNRT fails with missing document MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Simon Willnauer created LUCENE-8317: --------------------------------------- Summary: TestStressNRT fails with missing document Key: LUCENE-8317 URL: https://issues.apache.org/jira/browse/LUCENE-8317 Project: Lucene - Core Issue Type: Bug Reporter: Simon Willnauer {noformat} 11:39:01 [junit4] Suite: org.apache.lucene.index.TestStressNRT 11:39:01 [junit4] 1> READER1: FAILED: unexpected exception 11:39:01 [junit4] 1> java.lang.AssertionError: No documents or tombsto= nes found for id 49, expected at least 66 reader=3DStandardDirectoryReader(= segments_g:325:nrt _2i(7.4.0):c114/106:delGen=3D1 _2h(7.4.0):c76/75:delGen= =3D1 _2j(7.4.0):c32/28:delGen=3D1 _2k(7.4.0):c1 _2l(7.4.0):C38/23:delGen=3D= 1 _2n(7.4.0):C6/4:delGen=3D1 _2m(7.4.0):C23/16:delGen=3D1) 11:39:01 [junit4] 1> =09at org.junit.Assert.fail(Assert.java:93) 11:39:01 [junit4] 1> =09at org.apache.lucene.index.TestStressNRT$2.run= (TestStressNRT.java:353) 11:39:01 [junit4] 2> May 16, 2018 7:39:01 PM com.carrotsearch.randomiz= edtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException 11:39:01 [junit4] 2> WARNING: Uncaught exception in thread: Thread[REA= DER1,5,TGRP-TestStressNRT] 11:39:01 [junit4] 2> java.lang.RuntimeException: java.lang.AssertionEr= ror: No documents or tombstones found for id 49, expected at least 66 reade= r=3DStandardDirectoryReader(segments_g:325:nrt _2i(7.4.0):c114/106:delGen= =3D1 _2h(7.4.0):c76/75:delGen=3D1 _2j(7.4.0):c32/28:delGen=3D1 _2k(7.4.0):c= 1 _2l(7.4.0):C38/23:delGen=3D1 _2n(7.4.0):C6/4:delGen=3D1 _2m(7.4.0):C23/16= :delGen=3D1) 11:39:01 [junit4] 2> =09at __randomizedtesting.SeedInfo.seed([B7A02DE7= 85EE2387]:0) 11:39:01 [junit4] 2> =09at org.apache.lucene.index.TestStressNRT$2.run= (TestStressNRT.java:382) 11:39:01 [junit4] 2> Caused by: java.lang.AssertionError: No documents= or tombstones found for id 49, expected at least 66 reader=3DStandardDirec= toryReader(segments_g:325:nrt _2i(7.4.0):c114/106:delGen=3D1 _2h(7.4.0):c76= /75:delGen=3D1 _2j(7.4.0):c32/28:delGen=3D1 _2k(7.4.0):c1 _2l(7.4.0):C38/23= :delGen=3D1 _2n(7.4.0):C6/4:delGen=3D1 _2m(7.4.0):C23/16:delGen=3D1) 11:39:01 [junit4] 2> =09at org.junit.Assert.fail(Assert.java:93) 11:39:01 [junit4] 2> =09at org.apache.lucene.index.TestStressNRT$2.run= (TestStressNRT.java:353) 11:39:01 [junit4] 2>=20 11:39:01 [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=3DTest= StressNRT -Dtests.method=3Dtest -Dtests.seed=3DB7A02DE785EE2387 -Dtests.slo= w=3Dtrue -Dtests.badapples=3Dtrue -Dtests.locale=3Den-AU -Dtests.timezone= =3DAsia/Taipei -Dtests.asserts=3Dtrue -Dtests.file.encoding=3DUS-ASCII 11:39:01 [junit4] ERROR 0.61s J1 | TestStressNRT.test <<< 11:39:01 [junit4] > Throwable #1: java.lang.RuntimeException: MockDir= ectoryWrapper: cannot close: there are still 7 open files: {_2h.cfs=3D1, _2= n.fdt=3D1, _2k.cfs=3D1, _2l.fdt=3D1, _2j.cfs=3D1, _2i.cfs=3D1, _2m.fdt=3D1} 11:39:01 [junit4] > =09at org.apache.lucene.store.MockDirectoryWrappe= r.close(MockDirectoryWrapper.java:841) 11:39:01 [junit4] > =09at org.apache.lucene.index.TestStressNRT.test(= TestStressNRT.java:403) 11:39:01 [junit4] > =09at java.lang.Thread.run(Thread.java:748) 11:39:01 [junit4] > Caused by: java.lang.RuntimeException: unclosed I= ndexInput: _2l.fdt 11:39:01 [junit4] > =09at org.apache.lucene.store.MockDirectoryWrappe= r.addFileHandle(MockDirectoryWrapper.java:732) 11:39:01 [junit4] > =09at org.apache.lucene.store.MockDirectoryWrappe= r.openInput(MockDirectoryWrapper.java:776) 11:39:01 [junit4] > =09at org.apache.lucene.codecs.compressing.Compre= ssingStoredFieldsReader.(CompressingStoredFieldsReader.java:150) 11:39:01 [junit4] > =09at org.apache.lucene.codecs.compressing.Compre= ssingStoredFieldsFormat.fieldsReader(CompressingStoredFieldsFormat.java:121= ) 11:39:01 [junit4] > =09at org.apache.lucene.codecs.lucene50.Lucene50S= toredFieldsFormat.fieldsReader(Lucene50StoredFieldsFormat.java:173) 11:39:01 [junit4] > =09at org.apache.lucene.codecs.asserting.Assertin= gStoredFieldsFormat.fieldsReader(AssertingStoredFieldsFormat.java:43) 11:39:01 [junit4] > =09at org.apache.lucene.index.SegmentCoreReaders.= (SegmentCoreReaders.java:126) 11:39:01 [junit4] > =09at org.apache.lucene.index.SegmentReader.(SegmentReader.java:78) 11:39:01 [junit4] > =09at org.apache.lucene.index.ReadersAndUpdates.g= etReader(ReadersAndUpdates.java:193) 11:39:01 [junit4] > =09at org.apache.lucene.index.BufferedUpdatesStre= am$SegmentState.(BufferedUpdatesStream.java:265) 11:39:01 [junit4] > =09at org.apache.lucene.index.FrozenBufferedUpdat= es.openSegmentStates(FrozenBufferedUpdates.java:369) 11:39:01 [junit4] > =09at org.apache.lucene.index.FrozenBufferedUpdat= es.apply(FrozenBufferedUpdates.java:266) 11:39:01 [junit4] > =09at org.apache.lucene.index.IndexWriter.lambda$= publishFrozenUpdates$3(IndexWriter.java:2579) 11:39:01 [junit4] > =09at org.apache.lucene.index.IndexWriter.process= Events(IndexWriter.java:5051) 11:39:01 [junit4] > =09at org.apache.lucene.index.IndexWriter.updateD= ocument(IndexWriter.java:1587) 11:39:01 [junit4] > =09at org.apache.lucene.index.IndexWriter.updateD= ocument(IndexWriter.java:1576) 11:39:01 [junit4] > =09at org.apache.lucene.index.RandomIndexWriter.u= pdateDocument(RandomIndexWriter.java:270) 11:39:01 [junit4] > =09at org.apache.lucene.index.TestStressNRT$1.run= (TestStressNRT.java:274)Throwable #2: com.carrotsearch.randomizedtesting.Un= caughtExceptionError: Captured an uncaught exception in thread: Thread[id= =3D472, name=3DREADER1, state=3DRUNNABLE, group=3DTGRP-TestStressNRT] 11:39:01 [junit4] > Caused by: java.lang.RuntimeException: java.lang.= AssertionError: No documents or tombstones found for id 49, expected at lea= st 66 reader=3DStandardDirectoryReader(segments_g:325:nrt _2i(7.4.0):c114/1= 06:delGen=3D1 _2h(7.4.0):c76/75:delGen=3D1 _2j(7.4.0):c32/28:delGen=3D1 _2k= (7.4.0):c1 _2l(7.4.0):C38/23:delGen=3D1 _2n(7.4.0):C6/4:delGen=3D1 _2m(7.4.= 0):C23/16:delGen=3D1) 11:39:01 [junit4] > =09at __randomizedtesting.SeedInfo.seed([B7A02DE7= 85EE2387]:0) 11:39:01 [junit4] > =09at org.apache.lucene.index.TestStressNRT$2.run= (TestStressNRT.java:382) 11:39:01 [junit4] > Caused by: java.lang.AssertionError: No documents= or tombstones found for id 49, expected at least 66 reader=3DStandardDirec= toryReader(segments_g:325:nrt _2i(7.4.0):c114/106:delGen=3D1 _2h(7.4.0):c76= /75:delGen=3D1 _2j(7.4.0):c32/28:delGen=3D1 _2k(7.4.0):c1 _2l(7.4.0):C38/23= :delGen=3D1 _2n(7.4.0):C6/4:delGen=3D1 _2m(7.4.0):C23/16:delGen=3D1) 11:39:01 [junit4] > =09at org.apache.lucene.index.TestStressNRT$2.run= (TestStressNRT.java:353) 11:39:01 [junit4] 2> NOTE: test params are: codec=3DAsserting(Lucene70= ): {id=3DPostingsFormat(name=3DMemory)}, docValues:{}, maxPointsInLeafNode= =3D188, maxMBSortInHeap=3D7.356975177594725, sim=3DRandomSimilarity(queryNo= rm=3Dfalse): {id=3DDFR I(ne)L3(800.0)}, locale=3Den-AU, timezone=3DAsia/Tai= pei 11:39:01 [junit4] 2> NOTE: Linux 4.4.0-1055-aws amd64/Oracle Corporati= on 1.8.0_171 (64-bit)/cpus=3D4,threads=3D1,free=3D105189712,total=3D2694840= 32 11:39:01 [junit4] 2> NOTE: All tests run in this JVM: [TestDirectory, = TestWeakIdentityMap, TestDuelingCodecs, TestIndexWriterDelete, TestLucene70= SegmentInfoFormat, TestLucene50TermVectorsFormat, TestSoftDeletesDirectoryR= eaderWrapper, TestTopFieldCollectorEarlyTermination, TestSpanOrQuery, TestV= irtualMethod, TestComplexExplanations, TestMatchesIterator, Test2BPostings,= Test2BDocs, TestAddIndexes, TestFieldType, TestTransactionRollback, TestNo= t, TestEarlyTerminatingSortingCollector, TestDirectMonotonic, TestSpanConta= inQuery, TestNoMergeScheduler, TestPositionIncrement, TestIndexWriterUnicod= e, TestDocInverterPerFieldErrorInfo, TestGraphTokenizers, TestAtomicUpdate,= TestSortRandom, TestRecyclingByteBlockAllocator, TestBlockPostingsFormat3,= TestSpanExplanations, TestAutomatonQueryUnicode, TestFilterSpans, TestPrio= rityQueue, TestNGramPhraseQuery, TestLongRange, TestSameScoresWithThreads, = TestSingleInstanceLockFactory, TestPrefixInBooleanQuery, TestMutablePointsR= eaderUtils, TestDoc, TestIndexSearcher, TestOmitPositions, TestSizeBoundedF= orceMerge, TestCodecUtil, Test2BPagedBytes, TestPhraseQuery, TestSpanFirstQ= uery, TestTransactions, TestRegexpRandom2, TestDemo, TestMultiTermConstantS= core, TestTermVectors, TestLucene50LiveDocsFormat, TestFilterIterator, Test= MaxPosition, TestIndexTooManyDocs, TestRollback, TestPendingSoftDeletes, Te= stSpanExplanationsOfNonMatches, TestMathUtil, TestStressDeletes, TestStress= NRT] {noformat} -- 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