Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8414

CI fails TestIndexWriter#testSoftUpdateDocuments

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.5, 8.0
    • 7.5, 8.0
    • core/index
    • None
    • New, Patch Available

    Description

      Elastic CI found the following issue.

      [junit4] Suite: org.apache.lucene.index.TestIndexWriter
      [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtests.method=testSoftUpdateDocuments -Dtests.seed=AA5B403FFC4459A5 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr-BE -Dtests.timezone=Antarctica/Mawson -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
      [junit4] FAILURE 0.08s J1 | TestIndexWriter.testSoftUpdateDocuments <<<
      [junit4] > Throwable #1: java.lang.AssertionError: expected:<0> but was:<2>
      [junit4] > at __randomizedtesting.SeedInfo.seed([AA5B403FFC4459A5:6F9256CD24240312]:0)
      [junit4] > at org.apache.lucene.index.TestIndexWriter.testSoftUpdateDocuments(TestIndexWriter.java:3168)
      [junit4] > at java.lang.Thread.run(Thread.java:748)
      [junit4] 2> NOTE: leaving temporary files on disk at: /var/lib/jenkins/workspace/apache+lucene-solr+branch_7x/lucene/build/core/test/J1/temp/lucene.index.TestIndexWriter_AA5B403FFC4459A5-001

      I can reproduce this by mucking an unlucky schedule (see unlucky-schedule.patch).

      Attachments

        1. LUCENE-8414-unlucky-schedule.patch
          5 kB
          Nhat Nguyen
        2. LUCENE-8414.patch
          1 kB
          Nhat Nguyen
        3. LUCENE-8414.patch
          16 kB
          Nhat Nguyen

        Activity

          People

            simonw Simon Willnauer
            dnhatn Nhat Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: