Test bug (damned empty string!) ... I committed a fix.

By design, when you use auto-prefix, Lucene will not create an empty-string
auto prefix term at index time, because really you should use
MatchAllDocsQuery instead, but the test was not aware of this...

Mike McCandless

On Thu, Apr 16, 2015 at 4:16 AM, Michael McCandless <[email protected]> wrote:

> I'll dig.
>
> Mike McCandless
>
> On Wed, Apr 15, 2015 at 5:29 PM, <[email protected]> wrote:
>
>>   *BUILD FAILURE*
>> Build URL
>> http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/
>> Project:lucene_linux_java8_64_test_only Randomization: 
>> JDKEA8,local,heap[1024m],-server
>> +UseG1GC +UseCompressedOops,sec manager on Date of build:Wed, 15 Apr
>> 2015 23:22:39 +0200 Build duration:6 min 34 sec
>>  *CHANGES* No Changes
>>  *BUILD ARTIFACTS*
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J0-20150415_232821_528.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J0-20150415_232821_528.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J1-20150415_232821_529.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J1-20150415_232821_529.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J2-20150415_232821_530.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J2-20150415_232821_530.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J3-20150415_232821_530.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J3-20150415_232821_530.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J4-20150415_232821_530.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J4-20150415_232821_530.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J5-20150415_232821_531.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J5-20150415_232821_531.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J6-20150415_232821_531.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J6-20150415_232821_531.events>
>>
>> checkout/lucene/build/codecs/test/temp/junit4-J7-20150415_232821_531.events
>> <http://build-eu-00.elastic.co/job/lucene_linux_java8_64_test_only/42291/artifact/checkout/lucene/build/codecs/test/temp/junit4-J7-20150415_232821_531.events>
>>  *FAILED JUNIT TESTS* Name: org.apache.lucene.codecs.autoprefix Failed:
>> 1 test(s), Passed: 7 test(s), Skipped: 0 test(s), Total: 8 test(s)
>> *Failed:
>> org.apache.lucene.codecs.autoprefix.TestAutoPrefixTerms.testBasicPrefixTerms
>> *
>>  *CONSOLE OUTPUT* [...truncated 7539 lines...] [junit4]  [junit4]
>> [junit4] JVM J0: 1.17 .. 32.23 = 31.06s [junit4] JVM J1: 0.85 .. 43.19 =
>> 42.34s [junit4] JVM J2: 0.85 .. 37.48 = 36.63s [junit4] JVM J3: 0.90 ..
>> 37.24 = 36.34s [junit4] JVM J4: 0.90 .. 32.21 = 31.31s [junit4] JVM J5:
>> 0.64 .. 44.38 = 43.74s [junit4] JVM J6: 0.85 .. 48.19 = 47.34s [junit4]
>> JVM J7: 0.63 .. 38.33 = 37.70s [junit4] Execution time total: 48 seconds 
>> [junit4]
>> Tests summary: 21 suites, 680 tests, 1 failure, 33 ignored (33 assumptions) 
>> BUILD
>> FAILED 
>> /home/jenkins/workspace/lucene_linux_java8_64_test_only/checkout/lucene/build.xml:457:
>> The following error occurred while executing this line: 
>> /home/jenkins/workspace/lucene_linux_java8_64_test_only/checkout/lucene/common-build.xml:2230:
>> The following error occurred while executing this line: 
>> /home/jenkins/workspace/lucene_linux_java8_64_test_only/checkout/lucene/module-build.xml:58:
>> The following error occurred while executing this line: 
>> /home/jenkins/workspace/lucene_linux_java8_64_test_only/checkout/lucene/common-build.xml:1434:
>> The following error occurred while executing this line: 
>> /home/jenkins/workspace/lucene_linux_java8_64_test_only/checkout/lucene/common-build.xml:991:
>> There were test failures: 21 suites, 680 tests, 1 failure, 33 ignored (33
>> assumptions) Total time: 6 minutes 26 seconds Build step 'Invoke Ant'
>> marked build as failure Archiving artifacts Recording test results 
>> [description-setter]
>> Description set: JDKEA8,local,heap[1024m],-server +UseG1GC
>> +UseCompressedOops,sec manager on Email was triggered for: Failure - 1st 
>> Trigger
>> Failure - Any was overridden by another trigger and will not send an email. 
>> Trigger
>> Failure - Still was overridden by another trigger and will not send an
>> email. Sending email for trigger: Failure - 1st
>>
>
>

Reply via email to