Test bug in BaseDirectoryWrapper. If close() is called multiple times, it will try to checkIndex() a closed index.
I committed a fix. On Fri, Dec 19, 2014 at 5:18 PM, <[email protected]> wrote: > *BUILD FAILURE* > Build URL > http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/ > Project:lucene_4x_linux_java8_64_test_only Date of build:Fri, 19 Dec 2014 > 23:16:01 +0100 Build duration:2 min 16 sec > *CHANGES* No Changes > *BUILD ARTIFACTS* > checkout/lucene/build/core/test/temp/junit4-J0-20141219_231606_779.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J0-20141219_231606_779.events> > checkout/lucene/build/core/test/temp/junit4-J1-20141219_231606_779.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J1-20141219_231606_779.events> > checkout/lucene/build/core/test/temp/junit4-J2-20141219_231606_780.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J2-20141219_231606_780.events> > checkout/lucene/build/core/test/temp/junit4-J3-20141219_231606_781.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J3-20141219_231606_781.events> > checkout/lucene/build/core/test/temp/junit4-J4-20141219_231606_784.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J4-20141219_231606_784.events> > checkout/lucene/build/core/test/temp/junit4-J5-20141219_231606_781.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J5-20141219_231606_781.events> > checkout/lucene/build/core/test/temp/junit4-J6-20141219_231606_781.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J6-20141219_231606_781.events> > checkout/lucene/build/core/test/temp/junit4-J7-20141219_231606_784.events > <http://build-eu-00.elasticsearch.org/job/lucene_4x_linux_java8_64_test_only/18941/artifact/checkout/lucene/build/core/test/temp/junit4-J7-20141219_231606_784.events> > *FAILED JUNIT TESTS* Name: org.apache.lucene.store Failed: 1 test(s), > Passed: 377 test(s), Skipped: 9 test(s), Total: 387 test(s) > *Failed: > org.apache.lucene.store.TestRateLimitedDirectoryWrapper.testDoubleCloseDirectory > * > *CONSOLE OUTPUT* [...truncated 1526 lines...] [junit4] [junit4] Tests > with failures: [junit4] - > org.apache.lucene.store.TestRateLimitedDirectoryWrapper.testDoubleCloseDirectory > [junit4] > [junit4] [junit4] JVM J0: 0.95 .. 117.58 = 116.64s [junit4] JVM J1: > 1.20 .. 119.44 = 118.24s [junit4] JVM J2: 1.03 .. 117.03 = 116.00s [junit4] > JVM J3: 0.94 .. 124.07 = 123.13s [junit4] JVM J4: 0.95 .. 117.73 = 116.78s > [junit4] > JVM J5: 1.23 .. 120.17 = 118.94s [junit4] JVM J6: 1.20 .. 116.95 = 115.75s > [junit4] > JVM J7: 0.94 .. 117.63 = 116.69s [junit4] Execution time total: 2 minutes > 4 seconds [junit4] Tests summary: 408 suites, 3161 tests, 1 error, 63 > ignored (53 assumptions) BUILD FAILED > /home/jenkins/workspace/lucene_4x_linux_java8_64_test_only/checkout/lucene/build.xml:49: > The following error occurred while executing this line: > /home/jenkins/workspace/lucene_4x_linux_java8_64_test_only/checkout/lucene/common-build.xml:1363: > The following error occurred while executing this line: > /home/jenkins/workspace/lucene_4x_linux_java8_64_test_only/checkout/lucene/common-build.xml:970: > There were test failures: 408 suites, 3161 tests, 1 error, 63 ignored (53 > assumptions) Total time: 2 minutes 11 seconds Build step 'Invoke Ant' > marked build as failure Archiving artifacts Recording test results 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 >
