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

Reproducible failure in TestRestoreCore in branch_8x

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.9
    • Fix Version/s: main (9.0), 8.10
    • Component/s: None
    • Labels:
    • Environment:

      branch_8x Ubuntu 18.04

      Description

      Was trying to do a test run before other work and hit this:

       [junit4] FAILURE 3.67s | TestRestoreCore.testFailedRestore <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: Backup failure: em expected null, but was:<codec footer mismatch (file truncated?): actual footer=808464432 vs expected footer=-1071082520 (resource=BufferedChecksumIndexInput(MockIndexInputWrapper(RAMInputStream(name=_0.si))))>
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([4B0403CEAA9348CC:C6722B0AAB1382DC]:0)
         [junit4]    >        at org.apache.solr.handler.BackupStatusChecker._checkBackupSuccess(BackupStatusChecker.java:208)
         [junit4]    >        at org.apache.solr.handler.BackupStatusChecker.checkBackupSuccess(BackupStatusChecker.java:187)
         [junit4]    >        at org.apache.solr.handler.BackupStatusChecker.waitForBackupSuccess(BackupStatusChecker.java:96)
         [junit4]    >        at org.apache.solr.handler.BackupStatusChecker.waitForBackupSuccess(BackupStatusChecker.java:72)
         [junit4]    >        at org.apache.solr.handler.TestRestoreCore.testFailedRestore(TestRestoreCore.java:208)
         [junit4]    >        at java.lang.Thread.run(Thread.java:748)
         [junit4]   2> NOTE: leaving temporary files on disk at: /home/gus/projects/apache/lucene-solr/fork/lucene-solr8/solr/build/solr-core/test/J0/temp/solr.handler.TestRestoreCore_4B0403CEAA9348CC-001
         [junit4]   2> NOTE: test params are: codec=SimpleText, sim=Asserting(RandomSimilarity(queryNorm=false): {}), locale=es-UY, timezone=America/Scoresbysund
         [junit4]   2> NOTE: Linux 4.15.0-142-generic amd64/Azul Systems, Inc. 1.8.0_252 (64-bit)/cpus=32,threads=1,free=233305064,total=382730240
         [junit4]   2> NOTE: All tests run in this JVM: [TestRestoreCore]
         [junit4] Completed [1/1 (1!)] in 5.06s, 1 test, 1 failure <<< FAILURES!
         [junit4] 
         [junit4] 
         [junit4] Tests with failures [seed: 4B0403CEAA9348CC]:
         [junit4]   - org.apache.solr.handler.TestRestoreCore.testFailedRestore
         [junit4] 
         [junit4] 
         [junit4] JVM J0:     0.31 ..     6.00 =     5.69s
         [junit4] Execution time total: 6.01 sec.
         [junit4] Tests summary: 1 suite, 1 test, 1 failureBUILD FAILED
      /home/gus/projects/apache/lucene-solr/fork/lucene-solr8/build.xml:58: The following error occurred while executing this line:
      /home/gus/projects/apache/lucene-solr/fork/lucene-solr8/solr/build.xml:231: The following error occurred while executing this line:
      /home/gus/projects/apache/lucene-solr/fork/lucene-solr8/solr/common-build.xml:550: The following error occurred while executing this line:
      /home/gus/projects/apache/lucene-solr/fork/lucene-solr8/lucene/common-build.xml:1608: The following error occurred while executing this line:
      /home/gus/projects/apache/lucene-solr/fork/lucene-solr8/lucene/common-build.xml:1135: There were test failures: 1 suite, 1 test, 1 failure [seed: 4B0403CEAA9348CC]
      
      

      That reproduces 3/3 times I ran it with this command in lucene-solr branch_8x

      ant test -Dtestcase=TestRestoreCore -Dtests.method=testFailedRestore -Dtests.seed=4B0403CEAA9348CC -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=es-UY -Dtests.timezone=America/Scoresbysund -Dtests.asserts=true -Dtests.file.encoding=US-ASCII

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gerlowskija Jason Gerlowski
                Reporter:
                gus Gus Heck
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m