[ 
https://issues.apache.org/jira/browse/SOLR-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man updated SOLR-5628:
---------------------------

    Description: 
This bug was orriginally opened because Jenkins uncovered a test seed that 
causes a reproducible IndexWriter assertion failure in 
TestDistribDocBasedVersion on the 4x branch.

McCandless helped dig in and believe that something in the way the solr test 
framework is setup is causing the test to delete the index dirs before the 
IndexWriter is being closed. Meanwhile, the failures later reproduced in other 
seeds on both 4x and trunk -- and it appears that recent changes caused the 
nature of the failure to change, so that now -- in addition to the IndexWriter 
assertion failure -- the test cleanup also stalls out and the test runner has 
to terminate some stalled threads.

One interesting factor about this test is that at the end of the test there 
were docs that had been added that were not committed -- which is probably 
unusually for most tests, and may explain why more cloud tests aren't 
exhibiting similar symptoms more often.

*When a useless (from perspective of what the test is trying to verify) 
"commit" was added to the test, the failing seed stoped reproducing.*

An example of how to reliably reproduce this problem on an (older version of) 
trunk...

{noformat}
svn update -r 1574381 && ant clean && cd solr/core && ant test  
-Dtestcase=TestDistribDocBasedVersion -Dtests.seed=1249227945045A2E 
-Dtests.slow=true -Dtests.locale=ko_KR -Dtests.timezone=America/Monterrey 
-Dtests.file.encoding=ISO-8859-1
{noformat}

Original email thread...

https://mail-archives.apache.org/mod_mbox/lucene-dev/201401.mbox/%3Calpine.DEB.2.02.1401100930260.20275@frisbee%3E


  was:
Jenkins uncovered a test seed that causes a reproducible IndexWriter assertion 
failure in TestDistribDocBasedVersion on the 4x branch.  

McCandless helped dig in and believe that something in the way the solr test 
framework is setup is causing the test to delete the index dirs before the 
IndexWriter is being closed.  Meanwhile, it appears that recent changes to 4x 
have caused the nature of the failure to change, so that now -- in addition to 
the IndexWriter assertion failure -- the test cleanup also stalls out and the 
test runner has to terminate some stalled threads.

details to following in comment, but here's the reproduce line...

{noformat}
ant test  -Dtestcase=TestDistribDocBasedVersion -Dtests.seed=791402573DC76F3C 
-Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=ar_IQ -Dtests.timezone=Antarctica/Rothera 
-Dtests.file.encoding=US-ASCII
{noformat}

And the mail thread regarding this...
https://mail-archives.apache.org/mod_mbox/lucene-dev/201401.mbox/%3Calpine.DEB.2.02.1401100930260.20275@frisbee%3E

        Summary: Cloud test harness can cause index files to be deleted before 
IndexWriter is closed  (was: Cloud test harness manifesting reproducible 
failures in TestDistribDocBasedVersion)

I've edited the description to reflect the updated state of things, since i've 
been able to commit a work around to the original test that manifested the 
problem with the cloud test framework.

> Cloud test harness can cause index files to be deleted before IndexWriter is 
> closed
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-5628
>                 URL: https://issues.apache.org/jira/browse/SOLR-5628
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>
> This bug was orriginally opened because Jenkins uncovered a test seed that 
> causes a reproducible IndexWriter assertion failure in 
> TestDistribDocBasedVersion on the 4x branch.
> McCandless helped dig in and believe that something in the way the solr test 
> framework is setup is causing the test to delete the index dirs before the 
> IndexWriter is being closed. Meanwhile, the failures later reproduced in 
> other seeds on both 4x and trunk -- and it appears that recent changes caused 
> the nature of the failure to change, so that now -- in addition to the 
> IndexWriter assertion failure -- the test cleanup also stalls out and the 
> test runner has to terminate some stalled threads.
> One interesting factor about this test is that at the end of the test there 
> were docs that had been added that were not committed -- which is probably 
> unusually for most tests, and may explain why more cloud tests aren't 
> exhibiting similar symptoms more often.
> *When a useless (from perspective of what the test is trying to verify) 
> "commit" was added to the test, the failing seed stoped reproducing.*
> An example of how to reliably reproduce this problem on an (older version of) 
> trunk...
> {noformat}
> svn update -r 1574381 && ant clean && cd solr/core && ant test  
> -Dtestcase=TestDistribDocBasedVersion -Dtests.seed=1249227945045A2E 
> -Dtests.slow=true -Dtests.locale=ko_KR -Dtests.timezone=America/Monterrey 
> -Dtests.file.encoding=ISO-8859-1
> {noformat}
> Original email thread...
> https://mail-archives.apache.org/mod_mbox/lucene-dev/201401.mbox/%3Calpine.DEB.2.02.1401100930260.20275@frisbee%3E



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to