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

Shalin Shekhar Mangar edited comment on SOLR-5815 at 10/25/14 9:01 PM:
-----------------------------------------------------------------------

Looking at the logs, I think the reason it fails sometimes is because the 
searcher is registered *after* the assertNotNRT is executed:
{code}
   [junit4]   2> 751482 T1528 oasc.TestNonNRTOpen.testReaderIsNotNRT Reloading 
core: org.apache.solr.core.SolrCore@3d97ac68
   [junit4]   2> 751483 T1528 oasc.SolrResourceLoader.<init> new 
SolrResourceLoader for directory: 
'/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/'
   [junit4]   2> 751483 T1528 oasc.SolrResourceLoader.replaceClassLoader Adding 
'file:/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/lib/.svn/'
 to classloader
   [junit4]   2> 751483 T1528 oasc.SolrResourceLoader.replaceClassLoader Adding 
'file:/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/lib/classes/'
 to classloader
   [junit4]   2> 751484 T1528 oasc.SolrResourceLoader.replaceClassLoader Adding 
'file:/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/lib/README'
 to classloader
   [junit4]   2> 751509 T1528 oasc.SolrConfig.<init> Using Lucene MatchVersion: 
6.0.0
   [junit4]   2> 751515 T1528 oasc.SolrConfig.<init> Loaded SolrConfig: 
solrconfig-basic.xml
   [junit4]   2> 751516 T1528 oass.IndexSchema.readSchema Reading Solr Schema 
from schema-minimal.xml
   [junit4]   2> 751518 T1528 oass.IndexSchema.readSchema [collection1] Schema 
name=minimal
   [junit4]   2> 751521 T1528 oass.IndexSchema.readSchema WARN no uniqueKey 
specified in schema.
   [junit4]   2> 751521 T1528 oasc.CoreContainer.reload Reloading SolrCore 
'collection1' using configuration from instancedir 
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/
   [junit4]   2> 751522 T1528 oasc.SolrCore.<init> [collection1] Opening new 
SolrCore at 
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/,
 
dataDir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/
   [junit4]   2> 751522 T1528 oasc.SolrCore.<init> JMX monitoring not detected 
for core: collection1
   [junit4]   2> 751522 T1528 oasc.SolrCore.getNewIndexDir New index directory 
detected: old=null 
new=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index/
   [junit4]   2> 751523 T1528 oasc.SolrCore.loadUpdateProcessorChains no 
updateRequestProcessorChain defined as default, creating implicit default
   [junit4]   2> 751524 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update/csv: org.apache.solr.handler.UpdateRequestHandler
   [junit4]   2> 751524 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update/json: org.apache.solr.handler.UpdateRequestHandler
   [junit4]   2> 751524 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler
   [junit4]   2> 751525 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created standard: solr.StandardRequestHandler
   [junit4]   2> 751525 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update: solr.UpdateRequestHandler
   [junit4]   2> 751527 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751528 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751529 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751530 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751531 T1528 oasu.CommitTracker.<init> Hard AutoCommit: 
disabled
   [junit4]   2> 751532 T1528 oasu.CommitTracker.<init> Soft AutoCommit: 
disabled
   [junit4]   2> 751535 T1528 oass.SolrIndexSearcher.<init> Opening 
Searcher@727bc9ba[collection1] main
   [junit4]   2> 751535 T1528 oasr.ManagedResourceStorage.newStorageIO WARN 
Cannot write to config directory 
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/conf;
 switching to use InMemory storage instead.
   [junit4]   2> 751536 T1528 oasr.RestManager.init Initializing RestManager 
with initArgs: {}
   [junit4]   2> 751536 T1528 oasr.ManagedResourceStorage.load Reading 
_rest_managed.json using InMemoryStorage
   [junit4]   2> 751536 T1528 oasr.ManagedResource.reloadFromStorage WARN No 
stored data found for /rest/managed
   [junit4]   2> 751537 T1528 oasr.ManagedResourceStorage$JsonStorage.store 
Saved JSON object to path _rest_managed.json using InMemoryStorage
   [junit4]   2> 751537 T1528 oasr.RestManager.init Initializing 0 registered 
ManagedResources
   [junit4]   2> 751537 T1528 oasu.DefaultSolrCoreState.newIndexWriter Creating 
new IndexWriter...
   [junit4]   2> 751538 T1528 oasu.DefaultSolrCoreState.newIndexWriter Waiting 
until IndexWriter is unused... core=collection1
   [junit4]   2> 751538 T1528 oasu.DefaultSolrCoreState.newIndexWriter Closing 
old IndexWriter... core=collection1
   [junit4]   2> 751537 T1536 oasc.SolrCore.registerSearcher [collection1] 
Registered new searcher Searcher@727bc9ba[collection1] 
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1(6.0.0):c1)
 Uninverting(_2(6.0.0):c1)))}
   [junit4]   2> 751550 T1528 oasc.SolrDeletionPolicy.onCommit 
SolrDeletionPolicy.onCommit: commits: num=2
   [junit4]   2>                
commit{dir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index,segFN=segments_4,generation=4}
   [junit4]   2>                
commit{dir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index,segFN=segments_5,generation=5}
   [junit4]   2> 751551 T1528 oasc.SolrDeletionPolicy.updateCommits newest 
commit generation = 5
   [junit4]   2> 751555 T1528 oasc.SolrDeletionPolicy.onInit 
SolrDeletionPolicy.onInit: commits: num=1
   [junit4]   2>                
commit{dir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index,segFN=segments_5,generation=5}
   [junit4]   2> 751556 T1528 oasc.SolrDeletionPolicy.updateCommits newest 
commit generation = 5
   [junit4]   2> 751556 T1528 oasu.DefaultSolrCoreState.newIndexWriter New 
IndexWriter is ready to be used.
   [junit4]   2> 751560 T1528 oass.SolrIndexSearcher.<init> Opening 
Searcher@7ec210a4[collection1] main
   [junit4]   2> 751560 T1528 oasc.CoreContainer.registerCore replacing core: 
collection1
   [junit4]   2> 751560 T1528 oasc.SolrCore.close [collection1]  CLOSING 
SolrCore org.apache.solr.core.SolrCore@3d97ac68
   [junit4]   2> 751561 T1528 oasu.DirectUpdateHandler2.close closing 
DirectUpdateHandler2{commits=1,autocommits=0,soft 
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=1,adds=1,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=2,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
   [junit4]   2> 751561 T1528 oasc.SolrCore.closeSearcher [collection1] Closing 
main searcher on request.
   [junit4]   2> 751562 T1528 oasc.TestNonNRTOpen.assertNotNRT Checking notNRT 
& maxDoc=3 of core=org.apache.solr.core.SolrCore@29c42f7d
   [junit4]   2> 751562 T1528 oas.SolrTestCaseJ4.tearDown ###Ending 
testReaderIsNotNRT
   [junit4]   2> 751571 T1536 oasc.SolrCore.registerSearcher [collection1] 
Registered new searcher Searcher@7ec210a4[collection1] 
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1(6.0.0):c1)
 Uninverting(_2(6.0.0):c1) Uninverting(_3(6.0.0):c1)))}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestNonNRTOpen 
-Dtests.method=testReaderIsNotNRT -Dtests.seed=2E838C75B9387E9B 
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=ar_QA 
-Dtests.timezone=America/Tijuana -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] FAILURE 0.20s J1 | TestNonNRTOpen.testReaderIsNotNRT <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: SOLR-5815? : wrong 
maxDoc: core=org.apache.solr.core.SolrCore@29c42f7d 
searcher=Searcher@727bc9ba[collection1] 
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1(6.0.0):c1)
 Uninverting(_2(6.0.0):c1)))} expected:<3> but was:<2>
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([2E838C75B9387E9B:9B05EDF206F9CC6F]:0)
   [junit4]    >        at 
org.apache.solr.core.TestNonNRTOpen.assertNotNRT(TestNonNRTOpen.java:142)
   [junit4]    >        at 
org.apache.solr.core.TestNonNRTOpen.testReaderIsNotNRT(TestNonNRTOpen.java:100)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
{code}

Notice the searcher id 727bc9ba used by the assert which is created during core 
creation but once the index writer is closed (which commits the data), a new 
searcher id 7ec210a4 is created which is registered after the assert is 
executed. This race condition is causing the test to fail. 

-I think this is a valid bug? If we don't wait for the new searcher to be 
registered during core reload then uncommitted docs will go missing until the 
next commit happens.-

This isn't a bug in reload because a new searcher *is* registered. Just a test 
issue.


was (Author: shalinmangar):
Looking at the logs, I think the reason it fails sometimes is because the 
searcher is registered *after* the assertNotNRT is executed:
{code}
   [junit4]   2> 751482 T1528 oasc.TestNonNRTOpen.testReaderIsNotNRT Reloading 
core: org.apache.solr.core.SolrCore@3d97ac68
   [junit4]   2> 751483 T1528 oasc.SolrResourceLoader.<init> new 
SolrResourceLoader for directory: 
'/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/'
   [junit4]   2> 751483 T1528 oasc.SolrResourceLoader.replaceClassLoader Adding 
'file:/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/lib/.svn/'
 to classloader
   [junit4]   2> 751483 T1528 oasc.SolrResourceLoader.replaceClassLoader Adding 
'file:/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/lib/classes/'
 to classloader
   [junit4]   2> 751484 T1528 oasc.SolrResourceLoader.replaceClassLoader Adding 
'file:/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/lib/README'
 to classloader
   [junit4]   2> 751509 T1528 oasc.SolrConfig.<init> Using Lucene MatchVersion: 
6.0.0
   [junit4]   2> 751515 T1528 oasc.SolrConfig.<init> Loaded SolrConfig: 
solrconfig-basic.xml
   [junit4]   2> 751516 T1528 oass.IndexSchema.readSchema Reading Solr Schema 
from schema-minimal.xml
   [junit4]   2> 751518 T1528 oass.IndexSchema.readSchema [collection1] Schema 
name=minimal
   [junit4]   2> 751521 T1528 oass.IndexSchema.readSchema WARN no uniqueKey 
specified in schema.
   [junit4]   2> 751521 T1528 oasc.CoreContainer.reload Reloading SolrCore 
'collection1' using configuration from instancedir 
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/
   [junit4]   2> 751522 T1528 oasc.SolrCore.<init> [collection1] Opening new 
SolrCore at 
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/,
 
dataDir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/
   [junit4]   2> 751522 T1528 oasc.SolrCore.<init> JMX monitoring not detected 
for core: collection1
   [junit4]   2> 751522 T1528 oasc.SolrCore.getNewIndexDir New index directory 
detected: old=null 
new=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index/
   [junit4]   2> 751523 T1528 oasc.SolrCore.loadUpdateProcessorChains no 
updateRequestProcessorChain defined as default, creating implicit default
   [junit4]   2> 751524 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update/csv: org.apache.solr.handler.UpdateRequestHandler
   [junit4]   2> 751524 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update/json: org.apache.solr.handler.UpdateRequestHandler
   [junit4]   2> 751524 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update/json/docs: org.apache.solr.handler.UpdateRequestHandler
   [junit4]   2> 751525 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created standard: solr.StandardRequestHandler
   [junit4]   2> 751525 T1528 oasc.RequestHandlers.initHandlersFromConfig 
created /update: solr.UpdateRequestHandler
   [junit4]   2> 751527 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751528 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751529 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751530 T1528 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
   [junit4]   2> 751531 T1528 oasu.CommitTracker.<init> Hard AutoCommit: 
disabled
   [junit4]   2> 751532 T1528 oasu.CommitTracker.<init> Soft AutoCommit: 
disabled
   [junit4]   2> 751535 T1528 oass.SolrIndexSearcher.<init> Opening 
Searcher@727bc9ba[collection1] main
   [junit4]   2> 751535 T1528 oasr.ManagedResourceStorage.newStorageIO WARN 
Cannot write to config directory 
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/core/src/test-files/solr/collection1/conf;
 switching to use InMemory storage instead.
   [junit4]   2> 751536 T1528 oasr.RestManager.init Initializing RestManager 
with initArgs: {}
   [junit4]   2> 751536 T1528 oasr.ManagedResourceStorage.load Reading 
_rest_managed.json using InMemoryStorage
   [junit4]   2> 751536 T1528 oasr.ManagedResource.reloadFromStorage WARN No 
stored data found for /rest/managed
   [junit4]   2> 751537 T1528 oasr.ManagedResourceStorage$JsonStorage.store 
Saved JSON object to path _rest_managed.json using InMemoryStorage
   [junit4]   2> 751537 T1528 oasr.RestManager.init Initializing 0 registered 
ManagedResources
   [junit4]   2> 751537 T1528 oasu.DefaultSolrCoreState.newIndexWriter Creating 
new IndexWriter...
   [junit4]   2> 751538 T1528 oasu.DefaultSolrCoreState.newIndexWriter Waiting 
until IndexWriter is unused... core=collection1
   [junit4]   2> 751538 T1528 oasu.DefaultSolrCoreState.newIndexWriter Closing 
old IndexWriter... core=collection1
   [junit4]   2> 751537 T1536 oasc.SolrCore.registerSearcher [collection1] 
Registered new searcher Searcher@727bc9ba[collection1] 
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1(6.0.0):c1)
 Uninverting(_2(6.0.0):c1)))}
   [junit4]   2> 751550 T1528 oasc.SolrDeletionPolicy.onCommit 
SolrDeletionPolicy.onCommit: commits: num=2
   [junit4]   2>                
commit{dir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index,segFN=segments_4,generation=4}
   [junit4]   2>                
commit{dir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index,segFN=segments_5,generation=5}
   [junit4]   2> 751551 T1528 oasc.SolrDeletionPolicy.updateCommits newest 
commit generation = 5
   [junit4]   2> 751555 T1528 oasc.SolrDeletionPolicy.onInit 
SolrDeletionPolicy.onInit: commits: num=1
   [junit4]   2>                
commit{dir=/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J1/temp/solr.core.TestNonNRTOpen-2E838C75B9387E9B-001/init-core-data-001/index,segFN=segments_5,generation=5}
   [junit4]   2> 751556 T1528 oasc.SolrDeletionPolicy.updateCommits newest 
commit generation = 5
   [junit4]   2> 751556 T1528 oasu.DefaultSolrCoreState.newIndexWriter New 
IndexWriter is ready to be used.
   [junit4]   2> 751560 T1528 oass.SolrIndexSearcher.<init> Opening 
Searcher@7ec210a4[collection1] main
   [junit4]   2> 751560 T1528 oasc.CoreContainer.registerCore replacing core: 
collection1
   [junit4]   2> 751560 T1528 oasc.SolrCore.close [collection1]  CLOSING 
SolrCore org.apache.solr.core.SolrCore@3d97ac68
   [junit4]   2> 751561 T1528 oasu.DirectUpdateHandler2.close closing 
DirectUpdateHandler2{commits=1,autocommits=0,soft 
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=1,adds=1,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=2,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
   [junit4]   2> 751561 T1528 oasc.SolrCore.closeSearcher [collection1] Closing 
main searcher on request.
   [junit4]   2> 751562 T1528 oasc.TestNonNRTOpen.assertNotNRT Checking notNRT 
& maxDoc=3 of core=org.apache.solr.core.SolrCore@29c42f7d
   [junit4]   2> 751562 T1528 oas.SolrTestCaseJ4.tearDown ###Ending 
testReaderIsNotNRT
   [junit4]   2> 751571 T1536 oasc.SolrCore.registerSearcher [collection1] 
Registered new searcher Searcher@7ec210a4[collection1] 
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1(6.0.0):c1)
 Uninverting(_2(6.0.0):c1) Uninverting(_3(6.0.0):c1)))}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestNonNRTOpen 
-Dtests.method=testReaderIsNotNRT -Dtests.seed=2E838C75B9387E9B 
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=ar_QA 
-Dtests.timezone=America/Tijuana -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] FAILURE 0.20s J1 | TestNonNRTOpen.testReaderIsNotNRT <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: SOLR-5815? : wrong 
maxDoc: core=org.apache.solr.core.SolrCore@29c42f7d 
searcher=Searcher@727bc9ba[collection1] 
main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1(6.0.0):c1)
 Uninverting(_2(6.0.0):c1)))} expected:<3> but was:<2>
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([2E838C75B9387E9B:9B05EDF206F9CC6F]:0)
   [junit4]    >        at 
org.apache.solr.core.TestNonNRTOpen.assertNotNRT(TestNonNRTOpen.java:142)
   [junit4]    >        at 
org.apache.solr.core.TestNonNRTOpen.testReaderIsNotNRT(TestNonNRTOpen.java:100)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
{code}

Notice the searcher id 727bc9ba used by the assert which is created during core 
creation but once the index writer is closed (which commits the data), a new 
searcher id 7ec210a4 is created which is registered after the assert is 
executed. This race condition is causing the test to fail. 

I think this is a valid bug? If we don't wait for the new searcher to be 
registered during core reload then uncommitted docs will go missing until the 
next commit happens.

> Non-reproducible failures of TestNonNRTOpen.testReaderIsNotNRT
> --------------------------------------------------------------
>
>                 Key: SOLR-5815
>                 URL: https://issues.apache.org/jira/browse/SOLR-5815
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>         Attachments: TestNonNRTOpen.txt, 
> jenkins.thetaphi.de_Lucene-Solr-trunk-MacOSX_1486.log.txt
>
>
> SOLR-4909 added TestNonNRTOpen on Sep 10, 2013 - since then the policeman 
> jenkins server has reported {{TestNonNRTOpen.testReaderIsNotNRT}} failing 33 
> times by my count -- but i've never been able to reproduce, nor have I seen 
> any similar failures from apache jenkins.
> The failures are all virtually identical, and seem to happen just as likely 
> on 4x/trunk, mac/linux/windows, 1.6/1.7/1.8
> Recent Example...
> {noformat}
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestNonNRTOpen 
> -Dtests.method=testReaderIsNotNRT -Dtests.seed=8BF5F44429C5ABCA 
> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=nl 
> -Dtests.timezone=America/Whitehorse -Dtests.file.encoding=ISO-8859-1
>    [junit4] FAILURE 0.23s J0 | TestNonNRTOpen.testReaderIsNotNRT <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<3> but 
> was:<2>
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([8BF5F44429C5ABCA:3E7395C39604193E]:0)
>    [junit4]    >      at 
> org.apache.solr.core.TestNonNRTOpen.assertNotNRT(TestNonNRTOpen.java:133)
>    [junit4]    >      at 
> org.apache.solr.core.TestNonNRTOpen.testReaderIsNotNRT(TestNonNRTOpen.java:94)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:744)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to