[ 
https://issues.apache.org/jira/browse/SOLR-15378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362863#comment-17362863
 ] 

Bence Szabó commented on SOLR-15378:
------------------------------------

I have opened a PR for this which adds the mentioned annotation to 
{{TestRestoreCore}} class. 

I have copied and pasted the "todo list" required for a solr/main PR, but not 
all list items could be applied - I filled it accordingly.

> Reproducible failure in TestRestoreCore in branch_8x
> ----------------------------------------------------
>
>                 Key: SOLR-15378
>                 URL: https://issues.apache.org/jira/browse/SOLR-15378
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 8.9
>         Environment: branch_8x Ubuntu 18.04
>            Reporter: Gus Heck
>            Priority: Major
>              Labels: newdev
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Was trying to do a test run before other work and hit this:
> {code:java}
>  [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]
> {code}
> That reproduces 3/3 times I ran it with this command in lucene-solr branch_8x
> {code:java}
> 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{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to