lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-7888) Test{Mixed,Binary}DocValuesUpdates.testManyReopensAndFields() failures
Date Sun, 02 Jul 2017 20:05:03 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-7888.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: master (7.0)

I think these should be fixed now.  It was a tricky concurrency hazard, where an indexing
thread that's resolving DV updates thinks it's done just as a merge is wrapping up and in
that case there was a window between the two threads where DV updates could be lost.

Thanks [~steve_rowe].

> Test{Mixed,Binary}DocValuesUpdates.testManyReopensAndFields() failures
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-7888
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7888
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>            Assignee: Michael McCandless
>             Fix For: master (7.0)
>
>
> Non-reproducing failure from [https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/794/]:
> {noformat}
> Checking out Revision e8057309b90db0c79fc273e2284948b84c16ce4c (refs/remotes/origin/master)
> [...]
>    [smoker]    [junit4] Suite: org.apache.lucene.index.TestMixedDocValuesUpdates
>    [smoker]    [junit4] IGNOR/A 0.00s J0 | TestMixedDocValuesUpdates.testTonsOfUpdates
>    [smoker]    [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
>    [smoker]    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestMixedDocValuesUpdates
-Dtests.method=testManyReopensAndFields -Dtests.seed=69A3133AC96F545A -Dtests.multiplier=2
-Dtests.locale=es-SV -Dtests.timezone=Europe/Zagreb -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [smoker]    [junit4] FAILURE 0.04s J0 | TestMixedDocValuesUpdates.testManyReopensAndFields
<<<
>    [smoker]    [junit4]    > Throwable #1: java.lang.AssertionError: invalid numeric
value for doc=0, field=f0, reader=_3(7.0.0):c35/1 expected:<3> but was:<2>
>    [smoker]    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([69A3133AC96F545A:5F5F7115489A3746]:0)
>    [smoker]    [junit4]    > 	at org.apache.lucene.index.TestMixedDocValuesUpdates.testManyReopensAndFields(TestMixedDocValuesUpdates.java:138)
>    [smoker]    [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
>    [smoker]    [junit4]   2> NOTE: test params are: codec=Lucene70, sim=RandomSimilarity(queryNorm=true):
{}, locale=es-SV, timezone=Europe/Zagreb
>    [smoker]    [junit4]   2> NOTE: Linux 3.13.0-88-generic amd64/Oracle Corporation
1.8.0_131 (64-bit)/cpus=4,threads=1,free=177411120,total=287309824
>    [smoker]    [junit4]   2> NOTE: All tests run in this JVM: [TestRegexpRandom, TestStandardAnalyzer,
TestMmapDirectory, TestCodecs, TestDocValuesQueries, TestNeverDelete, TestIndexWriterConfig,
TestNoDeletionPolicy, TestBooleanMinShouldMatch, TestIndexSorting, TestDocValuesIndexing,
TestTragicIndexWriterDeadlock, TestIntBlockPool, TestBinaryTerms, TestIndexWriter, Test4GBStoredFields,
TestSortedSetSelector, TestAllFilesCheckIndexHeader, TestFilterCodecReader, TestCachingCollector,
TestNotDocIdSet, TestQueryBuilder, TestMaxTermFrequency, TestForceMergeForever, TestFieldMaskingSpanQuery,
TestRegExp, TestPointValues, TestIndexWriterOutOfFileDescriptors, Test2BTerms, TestTermsEnum,
TestSloppyPhraseQuery, TestBoostQuery, TestRateLimiter, TestIndexWriterExceptions, TestMultiPhraseQuery,
TestSimpleSearchEquivalence, TestBinaryDocValuesUpdates, TestPerSegmentDeletes, Test2BPoints,
TestSimpleExplanations, TestPerFieldPostingsFormat, TestLucene50TermVectorsFormat, TestSingleInstanceLockFactory,
TestLucene50CompoundFormat, TestMaxPosition, TestTotalHitCountCollector, TestConstantScoreQuery,
TestWordlistLoader, TestThreadedForceMerge, TestBytesRefArray, TestPointQueries, TestCharFilter,
TestSimilarityProvider, TestBytesStore, TestIntroSorter, TestWildcardRandom, TestSimilarity,
TestFieldValueQuery, TestOmitNorms, TestUnicodeUtil, TestLRUQueryCache, TestTermQuery, TestInPlaceMergeSorter,
TestNot, TestTopFieldCollector, TestIndexWriterFromReader, TestCharArrayMap, TestUTF32ToUTF8,
TestDocIdsWriter, TestDocsAndPositions, TestNewestSegment, TestTerm, TestCodecHoldsOpenFiles,
TestPagedBytes, TestPackedInts, TestBasics, TestNRTThreads, TestStressAdvance, TestSearchAfter,
TestHighCompressionMode, TestDocumentsWriterStallControl, TestStressIndexing, TestSnapshotDeletionPolicy,
TestNRTReaderWithThreads, TestTieredMergePolicy, TestLevenshteinAutomata, TestWeakIdentityMap,
TestRegexpRandom2, TestSegmentTermDocs, TestPerFieldPostingsFormat2, TestMultiDocValues, TestHugeRamFile,
TestLazyProxSkipping, TestDeterminism, TestBytesRefHash, TestNearSpansOrdered, TestTermRangeQuery,
TestDocumentWriter, TestCrashCausesCorruptIndex, TestLiveFieldValues, TestFuzzyQuery, TestAutomatonQuery,
TestMultiLevelSkipList, TestCheckIndex, TestConjunctions, TestVirtualMethod, TestSearch, TestDateTools,
TestDocCount, TestAttributeSource, TestIsCurrent, TestIndexWriterLockRelease, TestByteBlockPool,
TestDemo, TestRollback, MultiCollectorTest, TestSimpleAttributeImpl, TestByteArrayDataInput,
TestPackedTokenAttributeImpl, TestForUtil, TestLucene50StoredFieldsFormatHighCompression,
TestFieldType, Test2BSortedDocValuesFixedSorted, Test2BSortedDocValuesOrds, TestCustomTermFreq,
TestDocIDMerger, TestDocValues, TestDocsWithFieldSet, TestExitableDirectoryReader, TestFieldInvertState,
TestFieldReuse, TestFilterDirectoryReader, TestIndexReaderClose, TestIndexWriterOnVMError,
TestInfoStream, TestMergePolicyWrapper, TestMixedDocValuesUpdates]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message