It's an annoying test bug caused by assertEquals on float. I think the test
can use ConstantScoreQuery to eliminate rounding issues. I'll investigate
later when I have access to the code.

Shai
On Mar 26, 2013 11:56 AM, "Apache Jenkins Server" <jenk...@builds.apache.org>
wrote:

> Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/218/
>
> 1 tests failed.
> REGRESSION:
>  org.apache.lucene.facet.search.TestFacetsCollector.testSumScoreAggregator
>
> Error Message:
> expected:<132.7685546875> but was:<132.76869201660156>
>
> Stack Trace:
> java.lang.AssertionError: expected:<132.7685546875> but
> was:<132.76869201660156>
>         at
> __randomizedtesting.SeedInfo.seed([71FD5A225485680F:9B7EEDECBC2C581D]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:443)
>         at org.junit.Assert.assertEquals(Assert.java:512)
>         at
> org.apache.lucene.facet.search.TestFacetsCollector.testSumScoreAggregator(TestFacetsCollector.java:95)
>         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:1559)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
>         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:70)
>         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:358)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
>         at
> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
>         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
> 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:70)
>         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:358)
>         at java.lang.Thread.run(Thread.java:722)
>
>
>
>
> Build Log:
> [...truncated 6689 lines...]
> [junit4:junit4] Suite: org.apache.lucene.facet.search.TestFacetsCollector
> [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=TestFacetsCollector -Dtests.method=testSumScoreAggregator
> -Dtests.seed=71FD5A225485680F -Dtests.multiplier=2 -Dtests.nightly=true
> -Dtests.slow=true
> -Dtests.linedocsfile=/home/hudson/lucene-data/enwiki.random.lines.txt
> -Dtests.locale=es_HN -Dtests.timezone=America/Bogota
> -Dtests.file.encoding=US-ASCII
> [junit4:junit4] FAILURE 0.06s J0 |
> TestFacetsCollector.testSumScoreAggregator <<<
> [junit4:junit4]    > Throwable #1: java.lang.AssertionError:
> expected:<132.7685546875> but was:<132.76869201660156>
> [junit4:junit4]    >    at
> __randomizedtesting.SeedInfo.seed([71FD5A225485680F:9B7EEDECBC2C581D]:0)
> [junit4:junit4]    >    at
> org.apache.lucene.facet.search.TestFacetsCollector.testSumScoreAggregator(TestFacetsCollector.java:95)
> [junit4:junit4]    >    at java.lang.Thread.run(Thread.java:722)
> [junit4:junit4]   2> NOTE: test params are: codec=Lucene42:
> {f=PostingsFormat(name=MockRandom),
> $facets=PostingsFormat(name=NestedPulsing),
> $full_path$=MockFixedIntBlock(blockSize=1150),
> $payloads$=MockFixedIntBlock(blockSize=1150),
> $b=PostingsFormat(name=MockRandom)},
> docValues:{$facets=DocValuesFormat(name=CheapBastard),
> $b=DocValuesFormat(name=Lucene42)},
> sim=RandomSimilarityProvider(queryNorm=true,coord=crazy): {}, locale=es_HN,
> timezone=America/Bogota
> [junit4:junit4]   2> NOTE: FreeBSD 9.0-RELEASE amd64/Oracle Corporation
> 1.7.0_17 (64-bit)/cpus=16,threads=1,free=197782224,total=265682944
> [junit4:junit4]   2> NOTE: All tests run in this JVM:
> [TestConcurrentFacetedIndexing, TestStandardFacetsAccumulator,
> FacetRequestTest, IntArrayTest, SamplingAccumulatorTest,
> TestSortedSetDocValuesFacets, IntToObjectMapTest,
> TestCompactLabelToOrdinal, CountingFacetsAggregatorTest,
> FloatToObjectMapTest, IntToIntMapTest, CategoryListParamsTest,
> TestScoredDocIDsUtils, SamplingWrapperTest, TestTotalFacetCountsCache,
> TestTopKResultsHandlerRandom, TestCharBlockArray,
> TestDirectoryTaxonomyReader, TestTopKResultsHandler,
> OrdinalMappingReaderTest, TestFacetsPayloadMigrationReader, TestDemoFacets,
> TestFacetsCollector]
> [junit4:junit4] Completed on J0 in 0.42s, 4 tests, 1 failure <<< FAILURES!
>
> [...truncated 68 lines...]
> BUILD FAILED
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:382:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:355:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/build.xml:39:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build.xml:548:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:1775:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/module-build.xml:61:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:1230:
> The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/common-build.xml:874:
> There were test failures: 51 suites, 215 tests, 1 failure, 1 ignored (1
> assumption)
>
> Total time: 56 minutes 45 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: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>

Reply via email to