lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: being a good citizen is hard when you can't successfully run tests....
Date Mon, 17 Sep 2012 01:10:15 GMT
On Sun, Sep 16, 2012 at 6:27 PM, Erick Erickson <erickerickson@gmail.com> wrote:
> I suppose I went down the wrong track. I'd assumed since this seems to
> happen (the test
> takes forever) virtually all the time for me it was happening for
> others too so there was some
> "tribal knowledge" out there to make it stop

No, you've definitely hit on something Erick!
I can now reproduce this issue on my OS-X Lion macbook 100% of the
time, but not on any of my other machines.

I never noticed it because due to memory/swapping issues I normally do
development on the macbook, then rsync the current code to my linux
box to run the tests.

On my linux box (built in '09, PhenomII, HDD) the test takes 50-55 sec.
On my kids old windows box ('08, athlon64, HDD, Win7) the test takes 88-95 sec.

On my mac it always takes forever, and I see loops of stuff like this:

[junit4:junit4]   2> 52748 T215 oash.SnapPuller.fetchLatestIndex
SEVERE Master at: http://localhost:62803/solr is not available. Index
fetch failed. Exception:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:62803/solr
[junit4:junit4]   2> 52751 T219 C17 UPDATE [collection1] webapp=/solr
path=/update params={wt=javabin&version=2} {add=[150]} 0 0
[junit4:junit4]   2> 52755 T219 C17 UPDATE [collection1] webapp=/solr
path=/update params={wt=javabin&version=2} {add=[151]} 0 0
[junit4:junit4]   2> 62758 T215 oash.SnapPuller.fetchLatestIndex
SEVERE Master at: http://localhost:62803/solr is not available. Index
fetch failed. Exception:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:62803/solr
[junit4:junit4]   2> 62761 T219 C17 UPDATE [collection1] webapp=/solr
path=/update params={wt=javabin&version=2} {add=[152]} 0 1
[junit4:junit4] HEARTBEAT J0: 2012-09-16T20:46:49, no events in:
67.2s, approx. at: TestReplicationHandler.test
[junit4:junit4]   2> 62786 T219 C17 UPDATE [collection1] webapp=/solr
path=/update params={wt=javabin&version=2} {add=[153]} 0 1
[junit4:junit4]   2> 72787 T215 oash.SnapPuller.fetchLatestIndex
SEVERE Master at: http://localhost:62803/solr is not available. Index
fetch failed. Exception:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:62803/solr


When did you first notice this Erick?
Anyone else that regularly runs tests on OS-X notice when this started
happening?

Anyway, please open a JIRA issue!

-Yonik
http://lucidworks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message