I tried to reproduce the failure on my local machine, but the test didn't fail:
ant test
-Dtestcase=TestJoinUtil -Dtests.method=testSingleValueRandomJoin
-Dtests.seed=4613CDE1DF5391F -Dtests.multiplier=3 -Dtests.nightly=true
-Dtests.slow=true
-Dtests.linedocsfile=/var/lib/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=cs -Dtests.timezone=NET -Dtests.file.encoding=UTF-8

I'd expect that the test would fail on local machine as well.
Apparently there is a toplevel reader entry and a segment reader entry
in the FC for a field with the name 'from'.
This is weird since the FC is only invoked with a segment reader like this:
FieldCache.DEFAULT.getTerms(context.reader(), fromField)

I guess that I'm overlooking something...

Martijn

On 16 July 2012 11:35, Simon Willnauer <sim...@apache.org> wrote:
> Just wanna forward this to the list in the case this it serious:
>
> simon
>
> Changes:
>
> [sarowe] LUCENE-4199: IntelliJ configuration: add lucene tools library
> to allow compilation where the asm jar is a dependency
>
> ------------------------------------------
> [...truncated 16387 lines...]
> [junit4:junit4] Suite: org.apache.lucene.search.highlight.HighlighterTest
> [junit4:junit4] Completed on J0 in 9.35s, 45 tests
> [junit4:junit4]
> [junit4:junit4] Suite:
> org.apache.lucene.search.vectorhighlight.IndexTimeSynonymTest
> [junit4:junit4] Completed on J1 in 4.23s, 17 tests
> [junit4:junit4]
> [junit4:junit4] Suite:
> org.apache.lucene.search.vectorhighlight.SingleFragListBuilderTest
> [junit4:junit4] Completed on J1 in 0.53s, 3 tests
> [junit4:junit4]
> [junit4:junit4] Suite:
> org.apache.lucene.search.vectorhighlight.WeightedFragListBuilderTest
> [junit4:junit4] Completed on J1 in 0.43s, 1 test
> [junit4:junit4]
> [junit4:junit4] Suite:
> org.apache.lucene.search.vectorhighlight.ScoreOrderFragmentsBuilderTest
> [junit4:junit4] Completed on J1 in 0.25s, 1 test
> [junit4:junit4]
> [junit4:junit4] Suite:
> org.apache.lucene.search.vectorhighlight.SimpleBoundaryScannerTest
> [junit4:junit4] Completed on J1 in 0.28s, 2 tests
> [junit4:junit4]
> [junit4:junit4] Suite: org.apache.lucene.search.vectorhighlight.FieldQueryTest
> [junit4:junit4] Completed on J0 in 3.99s, 27 tests
> [junit4:junit4]
> [junit4:junit4] Suite:
> org.apache.lucene.search.highlight.custom.HighlightCustomQueryTest
> [junit4:junit4] Completed on J1 in 0.24s, 1 test
> [junit4:junit4]
> [junit4:junit4] JVM J0:     0.68 ..    21.82 =    21.14s
> [junit4:junit4] JVM J1:     0.68 ..    21.83 =    21.15s
> [junit4:junit4] Execution time total: 22 seconds
> [junit4:junit4] Tests summary: 16 suites, 157 tests
>      [echo] 5 slowest tests:
> [junit4:tophints]   9.35s | org.apache.lucene.search.highlight.HighlighterTest
> [junit4:tophints]   5.66s |
> org.apache.lucene.search.vectorhighlight.FieldPhraseListTest
> [junit4:tophints]   5.01s |
> org.apache.lucene.search.vectorhighlight.SimpleFragListBuilderTest
> [junit4:tophints]   4.23s |
> org.apache.lucene.search.vectorhighlight.IndexTimeSynonymTest
> [junit4:tophints]   3.99s |
> org.apache.lucene.search.vectorhighlight.FieldQueryTest
>      [echo] Building join...
>
> ivy-availability-check:
>
> ivy-fail:
>
> ivy-configure:
> [ivy:configure] :: loading settings :: file =
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/ivy-settings.xml>
>
> resolve:
>
> common.init:
>
> compile-lucene-core:
>
> jflex-uptodate-check:
>
> jflex-notice:
>
> javacc-uptodate-check:
>
> javacc-notice:
>
> ivy-availability-check:
>
> ivy-fail:
>
> ivy-configure:
> [ivy:configure] :: loading settings :: file =
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/ivy-settings.xml>
>
> resolve:
>
> init:
>
> -clover.disable:
>
> -clover.setup:
>
> clover:
>
> common.compile-core:
>     [javac] Compiling 1 source file to
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/build/core/classes/java>
>
> compile-core:
>
> module-build.init:
>
> check-grouping-uptodate:
>
> jar-grouping:
>
> init:
>
> test:
>      [echo] Building join...
>
> ivy-availability-check:
>
> ivy-fail:
>
> ivy-configure:
> [ivy:configure] :: loading settings :: file =
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/ivy-settings.xml>
>
> resolve:
>
> common.init:
>
> compile-lucene-core:
>
> module-build.init:
>
> check-grouping-uptodate:
>
> jar-grouping:
>
> init:
>
> compile-test:
>      [echo] Building join...
>
> ivy-availability-check:
>
> ivy-fail:
>
> ivy-configure:
> [ivy:configure] :: loading settings :: file =
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/ivy-settings.xml>
>
> resolve:
>
> common.init:
>
> compile-lucene-core:
>
> module-build.init:
>
> check-grouping-uptodate:
>
> jar-grouping:
>
> init:
>
> -clover.disable:
>
> -clover.setup:
>
> clover:
>
> compile-core:
>
> compile-test-framework:
>
> ivy-availability-check:
>
> ivy-fail:
>
> ivy-configure:
> [ivy:configure] :: loading settings :: file =
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/ivy-settings.xml>
>
> resolve:
>
> init:
>
> compile-lucene-core:
>
> compile-core:
>
> common.compile-test:
>
> install-junit4-taskdef:
>
> -clover.disable:
>
> -clover.setup:
>
> clover:
>
> validate:
>
> common.test:
>     [mkdir] Created dir:
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/build/join/test>
> [junit4:junit4] <JUnit4> says g'day! Master seed: 4613CDE1DF5391F
> [junit4:junit4] Executing 2 suites with 2 JVMs.
> [junit4:junit4] Suite: org.apache.lucene.search.join.TestBlockJoin
> [junit4:junit4] Completed on J1 in 19.86s, 7 tests
> [junit4:junit4]
> [junit4:junit4] HEARTBEAT J0: 2012-07-15T15:30:03, no events in:
> 69.7s, approx. at: TestJoinUtil.testSingleValueRandomJoin
> [junit4:junit4] Suite: org.apache.lucene.search.join.TestJoinUtil
> [junit4:junit4] FAILURE 93.1s J0 | TestJoinUtil.testSingleValueRandomJoin
> [junit4:junit4]    > Throwable #1: java.lang.AssertionError:
> testSingleValueRandomJoin(org.apache.lucene.search.join.TestJoinUtil):
> Insane FieldCache usage(s) found expected:<0> but was:<1>
> [junit4:junit4]    >    at
> __randomizedtesting.SeedInfo.seed([4613CDE1DF5391F:E8D92D94953625C0]: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.junit.Assert.assertEquals(Assert.java:472)
> [junit4:junit4]    >    at
> org.apache.lucene.util.LuceneTestCase.assertSaneFieldCaches(LuceneTestCase.java:515)
> [junit4:junit4]    >    at
> org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:48)
> [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> *** BEGIN
> testSingleValueRandomJoin(org.apache.lucene.search.join.TestJoinUtil):
> Insane FieldCache usage(s) ***
> [junit4:junit4]   2> SUBREADER: Found caches for descendants of
> StandardDirectoryReader(segments_1e:111:nrt _1i(5.0):C478)+from
> [junit4:junit4]   2>    'StandardDirectoryReader(segments_1e:111:nrt
> _1i(5.0):C478)'=>'from',class
> org.apache.lucene.search.FieldCache$DocTerms,0.5=>org.apache.lucene.search.FieldCacheImpl$DocTermsImpl#488977380
> (size =~ 6.3 KB)
> [junit4:junit4]   2>
> 'SegmentCoreReader(owner=_1i(5.0):C478)'=>'from',class
> org.apache.lucene.search.FieldCache$DocTerms,0.5=>org.apache.lucene.search.FieldCacheImpl$DocTermsImpl#1689543676
> (size =~ 6.3 KB)
> [junit4:junit4]   2>
> [junit4:junit4]   2> *** END
> testSingleValueRandomJoin(org.apache.lucene.search.join.TestJoinUtil):
> Insane FieldCache usage(s) ***
> [junit4:junit4]   2> NOTE: download the large Jenkins line-docs file
> by running 'ant get-jenkins-line-docs' in the lucene directory.
> [junit4:junit4]   2> NOTE: reproduce with: ant test
> -Dtestcase=TestJoinUtil -Dtests.method=testSingleValueRandomJoin
> -Dtests.seed=4613CDE1DF5391F -Dtests.multiplier=3 -Dtests.nightly=true
> -Dtests.slow=true
> -Dtests.linedocsfile=/var/lib/jenkins/lucene-data/enwiki.random.lines.txt
> -Dtests.locale=cs -Dtests.timezone=NET -Dtests.file.encoding=UTF-8
> [junit4:junit4]   2>
> [junit4:junit4]    > (@AfterClass output)
> [junit4:junit4]   2> NOTE: test params are: codec=Lucene40:
> {to=PostingsFormat(name=Memory doPackFST= false),
> id=PostingsFormat(name=Memory doPackFST= false),
> movieId=PostingsFormat(name=Memory doPackFST= false),
> price=PostingsFormat(name=NestedPulsing),
> description=MockFixedIntBlock(blockSize=787),
> name=PostingsFormat(name=Memory doPackFST= false),
> subtitle=MockFixedIntBlock(blockSize=787),
> value=PostingsFormat(name=NestedPulsing),
> from=MockFixedIntBlock(blockSize=787),
> productId=PostingsFormat(name=Lucene40WithOrds)},
> sim=DefaultSimilarity, locale=cs, timezone=NET
> [junit4:junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Sun
> Microsystems Inc. 1.6.0_33
> (64-bit)/cpus=8,threads=1,free=83840768,total=131072000
> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestJoinUtil]
> [junit4:junit4]   2>
> [junit4:junit4] Completed on J0 in 109.08s, 4 tests, 1 failure <<< FAILURES!
> [junit4:junit4]
> [junit4:junit4] JVM J0:     0.65 ..   110.35 =   109.70s
> [junit4:junit4] JVM J1:     0.65 ..    21.27 =    20.61s
> [junit4:junit4] Execution time total: 1 minute 50 seconds
> [junit4:junit4] Tests summary: 2 suites, 11 tests, 1 failure
>
> BUILD FAILED
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/build.xml>:508:
> The following error occurred while executing this line:
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/common-build.xml>:1495:
> The following error occurred while executing this line:
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/module-build.xml>:62:
> The following error occurred while executing this line:
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/common-build.xml>:1093:
> The following error occurred while executing this line:
> <builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64/ws/checkout/lucene/common-build.xml>:788:
> There were test failures: 2 suites, 11 tests, 1 failure
>
> Total time: 86 minutes 20 seconds
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
> Recording test results
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>



-- 
Met vriendelijke groet,

Martijn van Groningen

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

Reply via email to