I committed fixes for this, but things we should do:

1. Add checks to TestPostingsFormat that payloads work correctly when
scanning over deleted documents, and change the values in the returned
BytesRef itself from getPayload (bytes/offset/length) to ensure
callers actually set all 3 of these in getPayload.
2. we should probably also document in DocumentsAndPositionsEnum that
you should not change the actual *bytes* pointed to by the payloads
bytesref (unless we want to add arraycopies in these PFs that return
slices of some inner datastructure).

On Sat, Jul 21, 2012 at 8:01 AM, Robert Muir <[email protected]> wrote:
> OK: actually my fix  is correct, there are 2 bugs
>
> 1. this bug fixes scanning over deleted documents for the payloads
> case: it fixes TestDuelingCodecs
> 2. the second bug (TestPayloads) is this line:
>
>                       // Just to ensure all codecs can
>                       // handle a caller that mucks with the
>                       // returned payload:
>                       if (rarely()) {
>                         br.bytes = new byte[random().nextInt(5)];
>                       }
>
> DirectPF is returning a BytesRef accessing its inner byte[], so this
> totally screws it up. It needs to arraycopy if this is how the
> behavior should be.
>
> On Sat, Jul 21, 2012 at 7:50 AM, Robert Muir <[email protected]> wrote:
>> I give up on this thing for now. but the nextDoc() in LowFreqD&PEnum
>> looks bogus if payloads are present.
>>
>> I tried this (doesnt work), but i still feel like this is on the right path:
>>
>> Index: src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.java
>> ===================================================================
>> --- src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.java  
>> (revision
>> 1364061)
>> +++ src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.java  
>> (working
>> copy)
>> @@ -95,7 +95,7 @@
>>    public DirectPostingsFormat(int minSkipCount, int lowFreqCutoff) {
>>      super("Direct");
>>      this.minSkipCount = minSkipCount;
>> -    this.lowFreqCutoff = lowFreqCutoff;
>> +    this.lowFreqCutoff = Integer.MAX_VALUE; // nocommit lowFreqCutoff;
>>    }
>>
>>    @Override
>> @@ -1741,7 +1741,17 @@
>>              skipPositions = freq;
>>              return docID;
>>            }
>> -          upto += posMult * freq;
>> +          if (hasPayloads) {
>> +            for(int i=0;i<freq;i++) {
>> +              upto++;
>> +              if (hasOffsets) {
>> +                upto += 2;
>> +              }
>> +              payloadOffset += postings[upto++];
>> +            }
>> +          } else {
>> +            upto += posMult * freq;
>> +          }
>>          }
>>        }
>>
>>
>> On Sat, Jul 21, 2012 at 7:19 AM, Robert Muir <[email protected]> wrote:
>>> Maybe after this bug gets resolved we can merge it over? I just svn
>>> copied it to trunk as a test, and it compiles and seems to work.
>>>
>>> Seems like a good test to have sooner than later...
>>>
>>> On Sat, Jul 21, 2012 at 7:17 AM, Michael McCandless
>>> <[email protected]> wrote:
>>>> I want to do that!  It lives only on the block branch for now ...
>>>>
>>>> Mike McCandless
>>>>
>>>> http://blog.mikemccandless.com
>>>>
>>>> On Sat, Jul 21, 2012 at 7:13 AM, Robert Muir <[email protected]> wrote:
>>>>> We should see if the new TestPostingsFormat fails with that set to
>>>>> Integer.MAX_VALUE too!
>>>>>
>>>>> On Sat, Jul 21, 2012 at 7:12 AM, Michael McCandless
>>>>> <[email protected]> wrote:
>>>>>> OK that helps, thanks!
>>>>>>
>>>>>> Mike McCandless
>>>>>>
>>>>>> http://blog.mikemccandless.com
>>>>>>
>>>>>> On Sat, Jul 21, 2012 at 7:08 AM, Robert Muir <[email protected]> wrote:
>>>>>>> Test passes if i do this:
>>>>>>>
>>>>>>>     this.lowFreqCutoff = 1; // nocommit lowFreqCutoff;
>>>>>>>
>>>>>>> If i wire it to Integer.MAX_VALUE, easier tests fail like
>>>>>>> TestPayloads.testPayloadsEncoding
>>>>>>>
>>>>>>> On Sat, Jul 21, 2012 at 5:43 AM, Policeman Jenkins Server
>>>>>>> <[email protected]> wrote:
>>>>>>>> Build: 
>>>>>>>> http://jenkins.sd-datasolutions.de/job/Lucene-Solr-trunk-Linux-Java7-64/655/
>>>>>>>>
>>>>>>>> 1 tests failed.
>>>>>>>> REGRESSION:  org.apache.lucene.index.TestDuelingCodecs.testEquals
>>>>>>>>
>>>>>>>> Error Message:
>>>>>>>> left: SimpleText / right: Lucene40: 
>>>>>>>> {docid=MockVariableIntBlock(baseBlockSize=116), 
>>>>>>>> body=PostingsFormat(name=Direct), 
>>>>>>>> title=PostingsFormat(name=NestedPulsing), 
>>>>>>>> titleTokenized=PostingsFormat(name=MockSep), 
>>>>>>>> date=PostingsFormat(name=Direct)} expected:<[c6 f9 d6 13 53 c2 83 62 
>>>>>>>> 83 bf 59 e7 a2 f2 95 e7 f2 cf 9f 73 96 f4 6d e1 b7 bc 74 47 b5 a6 90 
>>>>>>>> 65 e3 69 43 f7 77 69 b8 d4 9f 35 27 24 2d f5 e 7b da b 4e 5d 9c f8 1c 
>>>>>>>> cc b3 26 a3]> but was:<[cf 79 c fd fb e4 49 ea 16 a6 87 4e 6b 3d 7 31 
>>>>>>>> 20 93 42 1a 9f d5 63 f8 59 30 96 8f 35 6c d1 60 a3 f ba 38 a6 bb c4 f2 
>>>>>>>> 31 8b ba a7 57 f7 47 f5 aa db 94 49 7 94 2e 6e 93 6c 25]>
>>>>>>>>
>>>>>>>> Stack Trace:
>>>>>>>> java.lang.AssertionError: left: SimpleText / right: Lucene40: 
>>>>>>>> {docid=MockVariableIntBlock(baseBlockSize=116), 
>>>>>>>> body=PostingsFormat(name=Direct), 
>>>>>>>> title=PostingsFormat(name=NestedPulsing), 
>>>>>>>> titleTokenized=PostingsFormat(name=MockSep), 
>>>>>>>> date=PostingsFormat(name=Direct)} expected:<[c6 f9 d6 13 53 c2 83 62 
>>>>>>>> 83 bf 59 e7 a2 f2 95 e7 f2 cf 9f 73 96 f4 6d e1 b7 bc 74 47 b5 a6 90 
>>>>>>>> 65 e3 69 43 f7 77 69 b8 d4 9f 35 27 24 2d f5 e 7b da b 4e 5d 9c f8 1c 
>>>>>>>> cc b3 26 a3]> but was:<[cf 79 c fd fb e4 49 ea 16 a6 87 4e 6b 3d 7 31 
>>>>>>>> 20 93 42 1a 9f d5 63 f8 59 30 96 8f 35 6c d1 60 a3 f ba 38 a6 bb c4 f2 
>>>>>>>> 31 8b ba a7 57 f7 47 f5 aa db 94 49 7 94 2e 6e 93 6c 25]>
>>>>>>>>         at 
>>>>>>>> __randomizedtesting.SeedInfo.seed([F217680F0F1AA27:B4E251B3EC8FA25]:0)
>>>>>>>>         at org.junit.Assert.fail(Assert.java:93)
>>>>>>>>         at org.junit.Assert.failNotEquals(Assert.java:647)
>>>>>>>>         at org.junit.Assert.assertEquals(Assert.java:128)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertDocsAndPositionsEnum(TestDuelingCodecs.java:416)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertTermsEnum(TestDuelingCodecs.java:334)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertTerms(TestDuelingCodecs.java:213)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertFields(TestDuelingCodecs.java:182)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.testEquals(TestDuelingCodecs.java:143)
>>>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>>>         at 
>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>>>>         at 
>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>>>>         at java.lang.reflect.Method.invoke(Method.java:601)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1995)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:818)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:877)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:891)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:825)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:671)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:697)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:736)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:747)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>>>>>>>         at 
>>>>>>>> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
>>>>>>>>         at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Build Log:
>>>>>>>> [...truncated 711 lines...]
>>>>>>>> [junit4:junit4] Suite: org.apache.lucene.index.TestDuelingCodecs
>>>>>>>> [junit4:junit4] FAILURE 5.59s J1 | TestDuelingCodecs.testEquals
>>>>>>>> [junit4:junit4]    > Throwable #1: java.lang.AssertionError: left: 
>>>>>>>> SimpleText / right: Lucene40: 
>>>>>>>> {docid=MockVariableIntBlock(baseBlockSize=116), 
>>>>>>>> body=PostingsFormat(name=Direct), 
>>>>>>>> title=PostingsFormat(name=NestedPulsing), 
>>>>>>>> titleTokenized=PostingsFormat(name=MockSep), 
>>>>>>>> date=PostingsFormat(name=Direct)} expected:<[c6 f9 d6 13 53 c2 83 62 
>>>>>>>> 83 bf 59 e7 a2 f2 95 e7 f2 cf 9f 73 96 f4 6d e1 b7 bc 74 47 b5 a6 90 
>>>>>>>> 65 e3 69 43 f7 77 69 b8 d4 9f 35 27 24 2d f5 e 7b da b 4e 5d 9c f8 1c 
>>>>>>>> cc b3 26 a3]> but was:<[cf 79 c fd fb e4 49 ea 16 a6 87 4e 6b 3d 7 31 
>>>>>>>> 20 93 42 1a 9f d5 63 f8 59 30 96 8f 35 6c d1 60 a3 f ba 38 a6 bb c4 f2 
>>>>>>>> 31 8b ba a7 57 f7 47 f5 aa db 94 49 7 94 2e 6e 93 6c 25]>
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> __randomizedtesting.SeedInfo.seed([F217680F0F1AA27:B4E251B3EC8FA25]:0)
>>>>>>>> [junit4:junit4]    >    at org.junit.Assert.fail(Assert.java:93)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.junit.Assert.failNotEquals(Assert.java:647)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.junit.Assert.assertEquals(Assert.java:128)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertDocsAndPositionsEnum(TestDuelingCodecs.java:416)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertTermsEnum(TestDuelingCodecs.java:334)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertTerms(TestDuelingCodecs.java:213)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.assertFields(TestDuelingCodecs.java:182)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.index.TestDuelingCodecs.testEquals(TestDuelingCodecs.java:143)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> java.lang.reflect.Method.invoke(Method.java:601)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1995)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:818)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:877)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:891)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:825)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:671)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:697)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:736)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:747)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132)
>>>>>>>> [junit4:junit4]    >    at 
>>>>>>>> com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551)
>>>>>>>> [junit4:junit4]    >
>>>>>>>> [junit4:junit4]   2> NOTE: reproduce with: ant test  
>>>>>>>> -Dtestcase=TestDuelingCodecs -Dtests.method=testEquals 
>>>>>>>> -Dtests.seed=F217680F0F1AA27 -Dtests.multiplier=3 -Dtests.slow=true 
>>>>>>>> -Dtests.locale=sr_ME_#Latn -Dtests.timezone=Pacific/Funafuti 
>>>>>>>> -Dtests.file.encoding=US-ASCII
>>>>>>>> [junit4:junit4]   2>
>>>>>>>> [junit4:junit4]    > (@AfterClass output)
>>>>>>>> [junit4:junit4]   2> NOTE: test params are: codec=Lucene40: {}, 
>>>>>>>> sim=RandomSimilarityProvider(queryNorm=true,coord=false): 
>>>>>>>> {body=BM25(k1=1.2,b=0.75), titleTokenized=DFR I(n)L2}, 
>>>>>>>> locale=sr_ME_#Latn, timezone=Pacific/Funafuti
>>>>>>>> [junit4:junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle 
>>>>>>>> Corporation 1.7.0_05 
>>>>>>>> (64-bit)/cpus=8,threads=1,free=171102176,total=511705088
>>>>>>>> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestLock, 
>>>>>>>> TestTransactions, TestSegmentTermEnum, TestRAMDirectory, 
>>>>>>>> TestDocValuesScoring, TestRegexpRandom2, TestRamUsageEstimator, 
>>>>>>>> TestCloseableThreadLocal, TestBinaryTerms, TestMinimize, 
>>>>>>>> TestSimpleExplanations, TestIndexWriterOnDiskFull, 
>>>>>>>> TestUniqueTermCount, TestNoMergeScheduler, 
>>>>>>>> TestPersistentSnapshotDeletionPolicy, TestDocumentsWriterDeleteQueue, 
>>>>>>>> TestTwoPhaseCommitTool, TestNewestSegment, TestConsistentFieldNumbers, 
>>>>>>>> TestFieldCacheSanityChecker, TestRamUsageEstimatorOnWildAnimals, 
>>>>>>>> TestBooleanQuery, TestMultiLevelSkipList, TestCharTermAttributeImpl, 
>>>>>>>> TestConjunctions, TestIOUtils, TestDoc, TestBooleanOr, 
>>>>>>>> TestCompiledAutomaton, TestPhrasePrefixQuery, 
>>>>>>>> TestSimpleSearchEquivalence, TestMultiValuedNumericRangeQuery, 
>>>>>>>> TestPerFieldPostingsFormat, TestOmitPositions, TestNearSpansOrdered, 
>>>>>>>> TestIntsRef, TestDocsAndPositions, TestFilteredSearch, 
>>>>>>>> MultiCollectorTest, TestDirectoryReader, TestParallelTermEnum, 
>>>>>>>> TestPrefixFilter, TestBinaryDocument, TestFieldValueFilter, 
>>>>>>>> TestMultiTermQueryRewrites, TestBitUtil, TestTypePromotion, 
>>>>>>>> TestDocValuesTypeCompatibility, TestFSTs, TestNumericRangeQuery64, 
>>>>>>>> TestNorms, TestAttributeSource, TestTermRangeFilter, 
>>>>>>>> TestSentinelIntSet, TestDateTools, TestIndexWriterMergePolicy, 
>>>>>>>> TestExplanations, TestSpansAdvanced, TestCodecs, 
>>>>>>>> TestNumericRangeQuery32, TestLongPostings, 
>>>>>>>> TestDocumentsWriterStallControl, TestIsCurrent, TestNeverDelete, 
>>>>>>>> TestIndexWriterMerging, TestForTooMuchCloning, TestIntBlockCodec, 
>>>>>>>> TestNumericTokenStream, TestNamedSPILoader, 
>>>>>>>> TestRecyclingByteBlockAllocator, TestIndexWriterConfig, 
>>>>>>>> TestSimilarity2, TestAddIndexes, TestPayloadSpans, TestReuseDocsEnum, 
>>>>>>>> Nested1, TestPackedInts, TestGraphTokenizers, TestIndexWriterReader, 
>>>>>>>> TestShardSearching, TestBasics, TestDuelingCodecs]
>>>>>>>> [junit4:junit4]   2>
>>>>>>>> [junit4:junit4] Completed on J1 in 5.60s, 1 test, 1 failure <<< 
>>>>>>>> FAILURES!
>>>>>>>>
>>>>>>>> [...truncated 455 lines...]
>>>>>>>> BUILD FAILED
>>>>>>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux-Java7-64/checkout/build.xml:29:
>>>>>>>>  The following error occurred while executing this line:
>>>>>>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux-Java7-64/checkout/lucene/build.xml:50:
>>>>>>>>  The following error occurred while executing this line:
>>>>>>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux-Java7-64/checkout/lucene/common-build.xml:1094:
>>>>>>>>  The following error occurred while executing this line:
>>>>>>>> /mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux-Java7-64/checkout/lucene/common-build.xml:789:
>>>>>>>>  There were test failures: 304 suites, 1720 tests, 1 failure, 15 
>>>>>>>> ignored (13 assumptions)
>>>>>>>>
>>>>>>>> Total time: 5 minutes 14 seconds
>>>>>>>> Build step 'Execute shell' marked build as failure
>>>>>>>> Archiving artifacts
>>>>>>>> Recording test results
>>>>>>>> Email was triggered for: Failure
>>>>>>>> Sending email for trigger: Failure
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> lucidimagination.com
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>>> For additional commands, e-mail: [email protected]
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [email protected]
>>>>>> For additional commands, e-mail: [email protected]
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> lucidimagination.com
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>
>>>
>>>
>>> --
>>> lucidimagination.com
>>
>>
>>
>> --
>> lucidimagination.com
>
>
>
> --
> lucidimagination.com



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to