I committed a fix. The test has a "stupid, simple yet hopefully bug free" implementation of numeric ranges that it compares NumericRangeTreeQuery and SortedSetRangeTreeQuery against, yet, it had a bug!
Mike McCandless http://blog.mikemccandless.com On Sun, Aug 2, 2015 at 5:17 AM, Michael McCandless <[email protected]> wrote: > New test from https://issues.apache.org/jira/browse/LUCENE-6697 .. I'll dig. > > Mike McCandless > > http://blog.mikemccandless.com > > > On Sat, Aug 1, 2015 at 5:48 PM, Policeman Jenkins Server > <[email protected]> wrote: >> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13693/ >> Java: 32bit/jdk1.8.0_60-ea-b24 -server -XX:+UseG1GC >> >> 1 tests failed. >> FAILED: org.apache.lucene.rangetree.TestRangeTree.testRandomMedium >> >> Error Message: >> Captured an uncaught exception in thread: Thread[id=66, name=T0, >> state=RUNNABLE, group=TGRP-TestRangeTree] >> >> Stack Trace: >> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an >> uncaught exception in thread: Thread[id=66, name=T0, state=RUNNABLE, >> group=TGRP-TestRangeTree] >> at >> __randomizedtesting.SeedInfo.seed([98075E7FD206186F:25D969D793637B09]:0) >> Caused by: java.lang.AssertionError: T0: iter=315 id=4481 docID=4357 >> value=8305477697912962588 (range: 8305477697912962588 TO >> 8305477697912962588) expected true but got: false deleted?=false >> query=NumericRangeTreeQuery:field=sn_value:{8305477697912962588 TO >> 8305477697912962588] >> at __randomizedtesting.SeedInfo.seed([98075E7FD206186F]:0) >> at org.junit.Assert.fail(Assert.java:93) >> at >> org.apache.lucene.rangetree.TestRangeTree$4._run(TestRangeTree.java:499) >> at >> org.apache.lucene.rangetree.TestRangeTree$4.run(TestRangeTree.java:430) >> >> >> >> >> Build Log: >> [...truncated 7976 lines...] >> [junit4] Suite: org.apache.lucene.rangetree.TestRangeTree >> [junit4] 2> ago 01, 2015 9:48:05 PM >> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler >> uncaughtException >> [junit4] 2> WARNING: Uncaught exception in thread: >> Thread[T0,5,TGRP-TestRangeTree] >> [junit4] 2> java.lang.AssertionError: T0: iter=315 id=4481 docID=4357 >> value=8305477697912962588 (range: 8305477697912962588 TO >> 8305477697912962588) expected true but got: false deleted?=false >> query=NumericRangeTreeQuery:field=sn_value:{8305477697912962588 TO >> 8305477697912962588] >> [junit4] 2> at >> __randomizedtesting.SeedInfo.seed([98075E7FD206186F]:0) >> [junit4] 2> at org.junit.Assert.fail(Assert.java:93) >> [junit4] 2> at >> org.apache.lucene.rangetree.TestRangeTree$4._run(TestRangeTree.java:499) >> [junit4] 2> at >> org.apache.lucene.rangetree.TestRangeTree$4.run(TestRangeTree.java:430) >> [junit4] 2> >> [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestRangeTree >> -Dtests.method=testRandomMedium -Dtests.seed=98075E7FD206186F >> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=es_ES >> -Dtests.timezone=Atlantic/Azores -Dtests.asserts=true >> -Dtests.file.encoding=ISO-8859-1 >> [junit4] ERROR 5.36s J0 | TestRangeTree.testRandomMedium <<< >> [junit4] > Throwable #1: >> com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an >> uncaught exception in thread: Thread[id=66, name=T0, state=RUNNABLE, >> group=TGRP-TestRangeTree] >> [junit4] > at >> __randomizedtesting.SeedInfo.seed([98075E7FD206186F:25D969D793637B09]:0) >> [junit4] > Caused by: java.lang.AssertionError: T0: iter=315 id=4481 >> docID=4357 value=8305477697912962588 (range: 8305477697912962588 TO >> 8305477697912962588) expected true but got: false deleted?=false >> query=NumericRangeTreeQuery:field=sn_value:{8305477697912962588 TO >> 8305477697912962588] >> [junit4] > at >> __randomizedtesting.SeedInfo.seed([98075E7FD206186F]:0) >> [junit4] > at >> org.apache.lucene.rangetree.TestRangeTree$4._run(TestRangeTree.java:499) >> [junit4] > at >> org.apache.lucene.rangetree.TestRangeTree$4.run(TestRangeTree.java:430) >> [junit4] IGNOR/A 0.01s J0 | TestRangeTree.testRandomBig >> [junit4] > Assumption #1: 'nightly' test group is disabled (@Nightly()) >> [junit4] 2> NOTE: test params are: codec=Asserting(Lucene53): {}, >> docValues:{}, sim=RandomSimilarityProvider(queryNorm=false,coord=no): {}, >> locale=es_ES, timezone=Atlantic/Azores >> [junit4] 2> NOTE: Linux 3.16.0-44-generic i386/Oracle Corporation >> 1.8.0_60-ea (32-bit)/cpus=12,threads=1,free=234009416,total=268435456 >> [junit4] 2> NOTE: All tests run in this JVM: >> [TestJakartaRegexpCapabilities, FuzzyLikeThisQueryTest, >> TestIDVersionPostingsFormat, TestRangeTree] >> [junit4] Completed [11/16] on J0 in 16.07s, 14 tests, 1 error, 1 skipped >> <<< FAILURES! >> >> [...truncated 32 lines...] >> BUILD FAILED >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:716: The following >> error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:660: The following >> error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:59: The following >> error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:470: The >> following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:2159: >> The following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/module-build.xml:58: >> The following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1429: >> The following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:984: >> There were test failures: 16 suites, 110 tests, 1 error, 4 ignored (4 >> assumptions) >> >> Total time: 18 minutes 24 seconds >> Build step 'Invoke Ant' marked build as failure >> Archiving artifacts >> Recording test results >> Email was triggered for: Failure - Any >> Sending email for trigger: Failure - Any >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
