I pushed a fix.

On Fri, Sep 12, 2014 at 3:36 PM, <[email protected]> wrote:

> Build: builds.flonkings.com/job/Lucene-4x-Linux-Java7-64-test-only/31010/
>
> 2 tests failed.
> FAILED:
> junit.framework.TestSuite.org.apache.lucene.index.TestBackwardsCompatibility3x
>
> Error Message:
> MockDirectoryWrapper: cannot close: there are still open files: {_0.tvx=1,
> _0.fdt=1, _1.tvx=1, _0.fdx=1, _3.fdt=1, _2.fdx=1, _2.frq=1, _3.prx=1,
> _2.tvd=1, _3.fdx=1, _1.nrm=1, _0.frq=1, _2.nrm=1, _3.tvf=1, _1.frq=1,
> _0.tis=1, _2_1.s0=1, _2.prx=1, _0.tvf=1, _3.tis=1, _1.tis=1, _2.fdt=1,
> _3.nrm=1, _3.frq=1, _2.tvf=1, _4.cfs=1, _3.tvd=1, _1.tvd=1, _1.fdt=1,
> _1.prx=1, _1.fdx=1, _2.tis=1, _0.tvd=1, _3.tvx=1, _0.nrm=1, _1.tvf=1,
> _2.tvx=1, _0.prx=1}
>
> Stack Trace:
> java.lang.RuntimeException: MockDirectoryWrapper: cannot close: there are
> still open files: {_0.tvx=1, _0.fdt=1, _1.tvx=1, _0.fdx=1, _3.fdt=1,
> _2.fdx=1, _2.frq=1, _3.prx=1, _2.tvd=1, _3.fdx=1, _1.nrm=1, _0.frq=1,
> _2.nrm=1, _3.tvf=1, _1.frq=1, _0.tis=1, _2_1.s0=1, _2.prx=1, _0.tvf=1,
> _3.tis=1, _1.tis=1, _2.fdt=1, _3.nrm=1, _3.frq=1, _2.tvf=1, _4.cfs=1,
> _3.tvd=1, _1.tvd=1, _1.fdt=1, _1.prx=1, _1.fdx=1, _2.tis=1, _0.tvd=1,
> _3.tvx=1, _0.nrm=1, _1.tvf=1, _2.tvx=1, _0.prx=1}
>         at __randomizedtesting.SeedInfo.seed([2E818DCE58E0EDFB]:0)
>         at
> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:741)
>         at
> org.apache.lucene.index.TestBackwardsCompatibility3x.afterClass(TestBackwardsCompatibility3x.java:188)
>         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:606)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:790)
>         at
> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at
> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>         at
> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>         at
> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>         at
> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>         at
> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>         at
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>         at
> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException: unclosed IndexInput: _0.fdx
>         at
> org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:625)
>         at
> org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:669)
>         at
> org.apache.lucene.codecs.lucene3x.Lucene3xStoredFieldsReader.<init>(Lucene3xStoredFieldsReader.java:157)
>         at
> org.apache.lucene.codecs.lucene3x.Lucene3xStoredFieldsFormat.fieldsReader(Lucene3xStoredFieldsFormat.java:37)
>         at
> org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:134)
>         at
> org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:98)
>         at
> org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
>         at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:746)
>         at
> org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:53)
>         at
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:67)
>         at
> org.apache.lucene.index.TestBackwardsCompatibility3x.testNumericFields(TestBackwardsCompatibility3x.java:780)
>         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:606)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
>         at
> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>         at
> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>         at
> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at
> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>         at
> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>         at
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>         at
> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
>         ... 15 more
>
>
> REGRESSION:
> org.apache.lucene.index.TestBackwardsCompatibility3x.testNumericFields
>
> Error Message:
> wrong number of hits expected:<1> but was:<0>
>
> Stack Trace:
> java.lang.AssertionError: wrong number of hits expected:<1> but was:<0>
>         at
> __randomizedtesting.SeedInfo.seed([2E818DCE58E0EDFB:965B3DCCD3C2CE37]: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.junit.Assert.assertEquals(Assert.java:472)
>         at
> org.apache.lucene.index.TestBackwardsCompatibility3x.testNumericFields(TestBackwardsCompatibility3x.java:785)
>         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:606)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
>         at
> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>         at
> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>         at
> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at
> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>         at
> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>         at
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>         at
> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
>         at
> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>         at
> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>         at
> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>         at
> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>         at
> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>         at
> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>         at
> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>         at
> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>         at java.lang.Thread.run(Thread.java:745)
>
>
>
>
> Build Log:
> [...truncated 1191 lines...]
>    [junit4] Suite: org.apache.lucene.index.TestBackwardsCompatibility3x
>    [junit4]   2> NOTE: reproduce with: ant test
> -Dtestcase=TestBackwardsCompatibility3x -Dtests.method=testNumericFields
> -Dtests.seed=2E818DCE58E0EDFB -Dtests.slow=true -Dtests.locale=da_DK
> -Dtests.timezone=Asia/Urumqi -Dtests.file.encoding=ISO-8859-1
>    [junit4] FAILURE 0.07s J0 |
> TestBackwardsCompatibility3x.testNumericFields <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: wrong number of
> hits expected:<1> but was:<0>
>    [junit4]    >        at
> __randomizedtesting.SeedInfo.seed([2E818DCE58E0EDFB:965B3DCCD3C2CE37]:0)
>    [junit4]    >        at
> org.apache.lucene.index.TestBackwardsCompatibility3x.testNumericFields(TestBackwardsCompatibility3x.java:785)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> NOTE: leaving temporary files on disk at:
> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/build/core/test/J0/./temp/lucene.index.TestBackwardsCompatibility3x-2E818DCE58E0EDFB-001
>    [junit4]   2> NOTE: test params are:
> codec=FastDecompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST_DECOMPRESSION,
> chunkSize=344),
> termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST_DECOMPRESSION,
> chunkSize=344)), sim=RandomSimilarityProvider(queryNorm=true,coord=yes):
> {content2=DFR I(F)Z(0.3), utf8=IB LL-D1, autf8=DFR I(F)2, content=IB
> LL-L3(800.0), content6=DFR GZ(0.3), content5=DFR I(ne)2, fie?ld=DFR
> I(ne)L1}, locale=da_DK, timezone=Asia/Urumqi
>    [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation
> 1.7.0_65 (64-bit)/cpus=8,threads=1,free=26587776,total=149422080
>    [junit4]   2> NOTE: All tests run in this JVM: [TestPayloadNearQuery,
> TestTotalHitCountCollector, TestNRTReaderWithThreads,
> TestRateLimitedDirectoryWrapper, TestIndexWriter, TestRegexpRandom2,
> TestCharsRefBuilder, TestPrefixRandom, TestDemo,
> TestFieldCacheSanityChecker, TestIndexWriterLockRelease,
> TestMultiTermQueryRewrites, TestPostingsFormat, TestTermsEnum2,
> TestDisjunctionMaxQuery, TestFieldReuse, TestMultiLevelSkipList,
> TestSearcherManager, TestNewestSegment, TestPriorityQueue, TestIntsRef,
> TestPrefixInBooleanQuery, TestPositiveScoresOnlyCollector,
> TestSpanExplanations, TestAllFilesHaveCodecHeader,
> TestBackwardsCompatibility, TestBackwardsCompatibility3x]
>    [junit4]   2> NOTE: reproduce with: ant test
> -Dtestcase=TestBackwardsCompatibility3x -Dtests.seed=2E818DCE58E0EDFB
> -Dtests.slow=true -Dtests.locale=da_DK -Dtests.timezone=Asia/Urumqi
> -Dtests.file.encoding=ISO-8859-1
>    [junit4] ERROR   0.00s J0 | TestBackwardsCompatibility3x (suite) <<<
>    [junit4]    > Throwable #1: java.lang.RuntimeException:
> MockDirectoryWrapper: cannot close: there are still open files: {_0.tvx=1,
> _0.fdt=1, _1.tvx=1, _0.fdx=1, _3.fdt=1, _2.fdx=1, _2.frq=1, _3.prx=1,
> _2.tvd=1, _3.fdx=1, _1.nrm=1, _0.frq=1, _2.nrm=1, _3.tvf=1, _1.frq=1,
> _0.tis=1, _2_1.s0=1, _2.prx=1, _0.tvf=1, _3.tis=1, _1.tis=1, _2.fdt=1,
> _3.nrm=1, _3.frq=1, _2.tvf=1, _4.cfs=1, _3.tvd=1, _1.tvd=1, _1.fdt=1,
> _1.prx=1, _1.fdx=1, _2.tis=1, _0.tvd=1, _3.tvx=1, _0.nrm=1, _1.tvf=1,
> _2.tvx=1, _0.prx=1}
>    [junit4]    >        at
> __randomizedtesting.SeedInfo.seed([2E818DCE58E0EDFB]:0)
>    [junit4]    >        at
> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:741)
>    [junit4]    >        at
> org.apache.lucene.index.TestBackwardsCompatibility3x.afterClass(TestBackwardsCompatibility3x.java:188)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>    [junit4]    > Caused by: java.lang.RuntimeException: unclosed
> IndexInput: _0.fdx
>    [junit4]    >        at
> org.apache.lucene.store.MockDirectoryWrapper.addFileHandle(MockDirectoryWrapper.java:625)
>    [junit4]    >        at
> org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:669)
>    [junit4]    >        at
> org.apache.lucene.codecs.lucene3x.Lucene3xStoredFieldsReader.<init>(Lucene3xStoredFieldsReader.java:157)
>    [junit4]    >        at
> org.apache.lucene.codecs.lucene3x.Lucene3xStoredFieldsFormat.fieldsReader(Lucene3xStoredFieldsFormat.java:37)
>    [junit4]    >        at
> org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:134)
>    [junit4]    >        at
> org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:98)
>    [junit4]    >        at
> org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
>    [junit4]    >        at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:746)
>    [junit4]    >        at
> org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:53)
>    [junit4]    >        at
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:67)
>    [junit4]    >        at
> org.apache.lucene.index.TestBackwardsCompatibility3x.testNumericFields(TestBackwardsCompatibility3x.java:780)
>    [junit4]    >        ... 15 more
>    [junit4] Completed on J0 in 38.52s, 17 tests, 1 failure, 1 error <<<
> FAILURES!
>
> [...truncated 501 lines...]
> BUILD FAILED
> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/build.xml:49:
> The following error occurred while executing this line:
> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1360:
> The following error occurred while executing this line:
> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:963:
> There were test failures: 420 suites, 3743 tests, 1 suite-level error, 1
> failure, 140 ignored (129 assumptions)
>
> Total time: 7 minutes 16 seconds
> Build step 'Invoke Ant' 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]
>

Reply via email to