Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9582

TestSortingResponseWriter.testSortingOutput() failure: docs were sent out-of-order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None

    Description

      Reproducing seed from https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1122:

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSortingResponseWriter -Dtests.method=testSortingOutput -Dtests.seed=D198B8B72273947A -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt -Dtests.locale=lt -Dtests.timezone=Africa/Lubumbashi -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
         [junit4] FAILURE 0.65s J0 | TestSortingResponseWriter.testSortingOutput <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: docs were sent out-of-order: lastDocID=2 vs doc=0
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([D198B8B72273947A:65682FD62F3C9EDA]:0)
         [junit4]    > 	at org.apache.solr.response.SortingResponseWriter$FloatValue.setCurrentValue(SortingResponseWriter.java:1061)
         [junit4]    > 	at org.apache.solr.response.SortingResponseWriter$TripleValueSortDoc.setValues(SortingResponseWriter.java:679)
         [junit4]    > 	at org.apache.solr.response.SortingResponseWriter.write(SortingResponseWriter.java:179)
         [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:316)
         [junit4]    > 	at org.apache.solr.util.TestHarness.query(TestHarness.java:292)
         [junit4]    > 	at org.apache.solr.response.TestSortingResponseWriter.testSortingOutput(TestSortingResponseWriter.java:151)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
      [...]
         [junit4]   2> NOTE: leaving temporary files on disk at: /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/checkout/solr/build/solr-core/test/J0/temp/solr.response.TestSortingResponseWriter_D198B8B72273947A-001
         [junit4]   2> NOTE: test params are: codec=Lucene62, sim=ClassicSimilarity, locale=lt, timezone=Africa/Lubumbashi
         [junit4]   2> NOTE: Linux 3.13.0-85-generic amd64/Oracle Corporation 1.8.0_102 (64-bit)/cpus=4,threads=1,free=220016888,total=511705088
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: