You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2013/03/13 15:48:56 UTC

Can't seem to run individual tests

Looking at SOLR-4548 I wanted to run the test in question using tests.iters
to see if I could break it. Problem is that every time I run

ant -Dtestcase=TestSolrProperties test

the test barfs because it cannot create the core. This does NOT occur when
running the entire test suite (e.g. 'ant test').

It succeeds on 4.1, but not 4x or trunk.

The error is:
 oasc.CoreContainer.recordAndThrow SEVERE Unable to create core:
collection1 org.apache.solr.common.SolrException: access denied
("java.io.FilePermission"
"/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index"
"write")

This is a really bogus place to be creating an index, I'm glad it fails...

Of course it succeeds when running in IntelliJ.

Before I dive into this, does it ring any bells with anyone? Or am I doing
something completely silly again?

Thanks,
Erick

Re: Can't seem to run individual tests

Posted by Erick Erickson <er...@gmail.com>.
P.S. I was afraid it might be SOLR-4317 since that did change a bit about
the test harness, but when I backed that out it still failed the same way.


On Wed, Mar 13, 2013 at 10:48 AM, Erick Erickson <er...@gmail.com>wrote:

> Looking at SOLR-4548 I wanted to run the test in question using
> tests.iters to see if I could break it. Problem is that every time I run
>
> ant -Dtestcase=TestSolrProperties test
>
> the test barfs because it cannot create the core. This does NOT occur when
> running the entire test suite (e.g. 'ant test').
>
> It succeeds on 4.1, but not 4x or trunk.
>
> The error is:
>  oasc.CoreContainer.recordAndThrow SEVERE Unable to create core:
> collection1 org.apache.solr.common.SolrException: access denied
> ("java.io.FilePermission"
> "/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index"
> "write")
>
> This is a really bogus place to be creating an index, I'm glad it fails...
>
> Of course it succeeds when running in IntelliJ.
>
> Before I dive into this, does it ring any bells with anyone? Or am I doing
> something completely silly again?
>
> Thanks,
> Erick
>

RE: Can't seem to run individual tests

Posted by Uwe Schindler <uw...@thetaphi.de>.
I don’t know exactly, one thing could be the case:

Some settings like the dataDir are static variables in the TestHarmess/SolrTestCaseJ4. If you run tests before that correctly change the data dir, maybe this setting survives – if you run in isolation, dataDir is not set. It’s just a guess, maybe it helps!

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: Wednesday, March 13, 2013 5:08 PM
To: dev@lucene.apache.org
Subject: Re: Can't seem to run individual tests

 

Uwe:

 

Right, and the whole cloning thing is done in lots of places, I've done it myself. But that doesn't explain why this fails:

 

ant -Dtestcase=TestSolrProperties test

 

and this succeeds:

 

ant test

 

even though the "ant test" runs TestSolrProperties. My _guess_ is that somehow specifying -Dtestcase=..... is somehow changing where tempDir is.

 

Erick

 

 

 

On Wed, Mar 13, 2013 at 11:56 AM, Uwe Schindler <uw...@thetaphi.de> wrote:

The security manager enforces that no files are created outside of the test’s working directory or System.exit() is called (and some other fancy things, like listening on the internet instead of 127.0.0.1). When your test tries to create a file outside the working directory setup for this test, it fails.

 

It might be caused by a test directly working on a solr core somewhere in examples directory and of course then starting to write files there. A test must clone the core to its own temp dir and then run the test. Or alternatively it must set the dataDir correctly (using getTempDir()).

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: Wednesday, March 13, 2013 4:19 PM
To: dev@lucene.apache.org
Subject: Re: Can't seem to run individual tests

 

Dawid:

 

Thanks, another bit of knowledge to add to my store.

 

On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss <da...@cs.put.poznan.pl> wrote:

> This is a really bogus place to be creating an index, I'm glad it fails...
>
> Of course it succeeds when running in IntelliJ.

I can explain this bit -- it fails from ant only because only from ant
you have Uwe's Evil Security Manager (tm) in place.

D.

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

 

 


Re: Can't seem to run individual tests

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
> even though the "ant test" runs TestSolrProperties. My _guess_ is that
> somehow specifying -Dtestcase=..... is somehow changing where tempDir is.

Definitely not the case. You could try to run with:

ant -debug ...

this will dump a *lot* of logs but among them is the exact forked JVM
execution command -- we can compare these.

Dawid

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


Re: Can't seem to run individual tests

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
> I was also wondering why this exception still passed the test, that's kind
> of disturbing actually, and it's nice to know I'm not hallucinating.

I didn't go deep but it's probably not propagating up to the default
thread's exception handler; it's caught, printed and discarded --
that's why the test passes. Normally an exception in a background
thread will cause a test to fail.

> like solr.core.name, solr.core.dataDir, solr.core.instanceDir and the
> associated values. These were _always_ populated until SOLR-4196. Perhaps
> Uwe's comment about other tests changing the environment is pertinent.

Tests should be isolated, if they are not it's not good. We tried to
make sure all (system) properties are restored back to what they were
before the test is started. There are some known exceptions but in
general system properties shouldn't cause order dependence among
tests. Weird.

D.

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


Re: Can't seem to run individual tests

Posted by Erick Erickson <er...@gmail.com>.
Dawid:

I was also wondering why this exception still passed the test, that's kind
of disturbing actually, and it's nice to know I'm not hallucinating.

As to _why_ it tries to write to test dir, it seems to be related to
SOLR-4575. That issue is I wasn't populating each core descriptor with keys
like solr.core.name, solr.core.dataDir, solr.core.instanceDir and the
associated values. These were _always_ populated until SOLR-4196. Perhaps
Uwe's comment about other tests changing the environment is pertinent.

At any rate, when I fixed 4575, Presto! I could run the individual test.
With tests.iters=1000. no exceptions at all. So the problem may disappear
next time you update. I can give you the magic for making local changes to
make the problem come back if you want to be able to see it happen to track
down why tests succeed anyway, trivial edits to two files.....

Thanks for looking at this, tracking back through all the test setup gives
me a headache....

Erick



On Wed, Mar 13, 2013 at 6:08 PM, Dawid Weiss
<da...@cs.put.poznan.pl>wrote:

> I took a quick look and my first question would be *why this test even
> passes* if it throws exceptions internally and clearly cannot clean up
> after itself:
>
> [junit4:junit4]   2> !!!! WARNING: best effort to remove
>
> c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data1\tlog\tlog.0000000000000000000
> FAILED !!!!!
> [junit4:junit4]   2> !!!! WARNING: best effort to remove
>
> c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data1\tlog
> FAILED !!!!!
> [junit4:junit4]   2> !!!! WARNING: best effort to remove
>
> c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data1
> FAILED !!!!!
> [junit4:junit4]   2> 6033 T11
> oascse.AbstractEmbeddedSolrServerTestCase.tearDown WARNING !!!!
> WARNING: best effort to remove
>
> c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data
> FAILED !!!!!
>
> This is odd and this is in fact the source of all the confusion (I think).
>
> I can reproduce this issue you mentioned without a problem. Indeed, it
> tries to mkdir in a directory it has no access to, throws an exception
> but does *not* fail the test. So when you run:
>
> ant -Dtestcase=TestSolrProperties test
>
> you see the test's output on the console because passing -Dtestcase
> automatically enables output pumping to the console. When you run:
>
> ant test
>
> this test *also* throws an exception, it is an identical behavior. The
> problem is that this test passes and when not limited to a single test
> case, the output from tests that pass is hidden. You can still see it
> in:
>
> cat trunk/solr/build/solr-solrj/test/tests-report.txt
>
> and sure enough it contains exactly the same exception. Hope this
> helps a bit although I still have no idea how to fix the core of the
> problem (or two cores -- one why this test even passes, the second why
> it tries to write to src dir).
>
> Dawid
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Re: Can't seem to run individual tests

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
I took a quick look and my first question would be *why this test even
passes* if it throws exceptions internally and clearly cannot clean up
after itself:

[junit4:junit4]   2> !!!! WARNING: best effort to remove
c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data1\tlog\tlog.0000000000000000000
FAILED !!!!!
[junit4:junit4]   2> !!!! WARNING: best effort to remove
c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data1\tlog
FAILED !!!!!
[junit4:junit4]   2> !!!! WARNING: best effort to remove
c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data1
FAILED !!!!!
[junit4:junit4]   2> 6033 T11
oascse.AbstractEmbeddedSolrServerTestCase.tearDown WARNING !!!!
WARNING: best effort to remove
c:\Work\lucene\trunk\solr\build\solr-solrj\test\J0\.\solrtest-TestSolrProperties-1363211585047\data
FAILED !!!!!

This is odd and this is in fact the source of all the confusion (I think).

I can reproduce this issue you mentioned without a problem. Indeed, it
tries to mkdir in a directory it has no access to, throws an exception
but does *not* fail the test. So when you run:

ant -Dtestcase=TestSolrProperties test

you see the test's output on the console because passing -Dtestcase
automatically enables output pumping to the console. When you run:

ant test

this test *also* throws an exception, it is an identical behavior. The
problem is that this test passes and when not limited to a single test
case, the output from tests that pass is hidden. You can still see it
in:

cat trunk/solr/build/solr-solrj/test/tests-report.txt

and sure enough it contains exactly the same exception. Hope this
helps a bit although I still have no idea how to fix the core of the
problem (or two cores -- one why this test even passes, the second why
it tries to write to src dir).

Dawid

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


Re: Can't seem to run individual tests

Posted by Erick Erickson <er...@gmail.com>.
Just got hit with three other things, so maybe it'll be tomorrow before I
can make much progress. It happens for me first time every time so I didn't
pursue the seed etc. I'll try with the single JVM etc.

Looks like I pasted the same thing twice....

It looks like it is one JVM though, here's the log output for the
interesting part. Should have pasted it earlier....

[junit4:junit4] <JUnit4> says hello! Master seed: 2A9347954B3E4F37
[junit4:junit4] Executing 1 suite with 1 JVM.
[junit4:junit4]
[junit4:junit4] Started J0 PID(4174@Ericks-MacBook-Pro.local).
[junit4:junit4] Suite:
org.apache.solr.client.solrj.embedded.TestSolrProperties
[junit4:junit4]   2> -10 T10 oasc.CoreContainer.<init> New CoreContainer
1876577893
[junit4:junit4]   2> 5 T10 oasc.CoreContainer.load Loading CoreContainer
using Solr Home:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared'
[junit4:junit4]   2> 28 T10 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/'
[junit4:junit4]   2> 295 T10 oashc.HttpShardHandlerFactory.getParameter
Setting socketTimeout to: 0
[junit4:junit4]   2> 295 T10 oashc.HttpShardHandlerFactory.getParameter
Setting urlScheme to: http://
[junit4:junit4]   2> 295 T10 oashc.HttpShardHandlerFactory.getParameter
Setting connTimeout to: 0
[junit4:junit4]   2> 296 T10 oashc.HttpShardHandlerFactory.getParameter
Setting maxConnectionsPerHost to: 20
[junit4:junit4]   2> 296 T10 oashc.HttpShardHandlerFactory.getParameter
Setting corePoolSize to: 0
[junit4:junit4]   2> 297 T10 oashc.HttpShardHandlerFactory.getParameter
Setting maximumPoolSize to: 2147483647
[junit4:junit4]   2> 297 T10 oashc.HttpShardHandlerFactory.getParameter
Setting maxThreadIdleTime to: 5
[junit4:junit4]   2> 298 T10 oashc.HttpShardHandlerFactory.getParameter
Setting sizeOfQueue to: -1
[junit4:junit4]   2> 298 T10 oashc.HttpShardHandlerFactory.getParameter
Setting fairnessPolicy to: false
[junit4:junit4]   2> 326 T10 oascsi.HttpClientUtil.createClient Creating
new http client,
config:maxConnectionsPerHost=20&maxConnections=10000&socketTimeout=0&connTimeout=0&retry=false
[junit4:junit4]   2> 569 T10 oasc.CoreContainer.load Registering Log
Listener
[junit4:junit4]   2> 651 T11 oasc.CoreContainer.create Creating SolrCore
'collection1' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 654 T11 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 659 T12 oasc.CoreContainer.create Creating SolrCore
'core0' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 659 T12 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 660 T13 oasc.CoreContainer.create Creating SolrCore
'core1' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 661 T13 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 724 T11 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 728 T13 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 730 T12 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 867 T12 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 867 T11 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 868 T13 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 878 T13 oass.IndexSchema.readSchema Reading Solr Schema
[junit4:junit4]   2> 878 T11 oass.IndexSchema.readSchema Reading Solr Schema
[junit4:junit4]   2> 878 T12 oass.IndexSchema.readSchema Reading Solr Schema
[junit4:junit4]   2> 887 T11 oass.IndexSchema.readSchema Schema
name=example core
[junit4:junit4]   2> 887 T12 oass.IndexSchema.readSchema Schema
name=example core EN
[junit4:junit4]   2> 888 T13 oass.IndexSchema.readSchema Schema
name=example core FR
[junit4:junit4]   2> 1057 T13 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 1057 T11 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 1057 T12 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 1058 T13 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 1058 T11 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 1059 T13 oass.IndexSchema.readSchema unique key field:
id
[junit4:junit4]   2> 1059 T12 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 1060 T11 oass.IndexSchema.readSchema unique key field:
id
[junit4:junit4]   2> 1061 T12 oass.IndexSchema.readSchema unique key field:
id
[junit4:junit4]   2> 1138 T11 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 1138 T13 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 1138 T12 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory



dataDir=/Users/Erick/apache/4.2.0/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363194939293/data/-1.3/
[junit4:junit4]   2> 1151 T13 oasc.SolrCore.<init> [core1] Opening new
SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./,
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/.
/solrtest-TestSolrProperties-1363196171798/data2/
[junit4:junit4]   2> 1151 T12 oasc.SolrCore.<init> [core0] Opening new
SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./,
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/
[junit4:junit4]   2> 1151 T11 oasc.SolrCore.<init> [collection1] Opening
new SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./,
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/
[junit4:junit4]   2> 1152 T13 oasc.SolrCore.<init> JMX monitoring not
detected for core: core1
[junit4:junit4]   2> 1153 T11 oasc.SolrCore.<init> JMX monitoring not
detected for core: collection1
[junit4:junit4]   2> 1152 T12 oasc.SolrCore.<init> JMX monitoring not
detected for core: core0
[junit4:junit4]   2> 1161 T11 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 1161 T13 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 1161 T12 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 1205 T11 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-
forceNew: false
[junit4:junit4]   2> 1205 T13 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2
forceNew: false
[junit4:junit4]   2> 1205 T12 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1
forceNew: false
[junit4:junit4]   2> 1206 T13 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index/
[junit4:junit4]   2> 1206 T11 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/index/
[junit4:junit4]   2> 1206 T12 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/index/
[junit4:junit4]   2> 1207 T13 oasc.SolrCore.initIndex WARNING [core1] Solr
index directory
'/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 914 T11 oasc.SolrCore.initIndex WARNING [collection1]
Solr index directory
'/Users/Erick/apache/4.2.0/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363194939293/data/-1.3/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 1207 T11 oasc.SolrCore.initIndex WARNING [collection1]
Solr index directory '/Users/Erick/apache/4x
 /solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 1207 T12 oasc.SolrCore.initIndex WARNING [core0] Solr
index directory
'/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 1267 T12 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/index
forceNew: false
[junit4:junit4]   2> 1268 T11 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/index
forceNew: false
[junit4:junit4]   2> 1268 T13 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index
forceNew: false
[junit4:junit4]   2> 1505 T11 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056011tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@10ae7918
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2> 1505 T11 oasc.SolrDeletionPolicy.updateCommits newest
commit = 1[segments_1]
[junit4:junit4]   2> 1507 T13 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056010tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@2e901f36
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2> 1508 T13 oasc.SolrDeletionPolicy.updateCommits newest
commit = 1[segments_1]
[junit4:junit4]   2> 1509 T12 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2> 1509 T12 oasc.SolrDeletionPolicy.updateCommits newest
commit = 1[segments_1]
[junit4:junit4]   2> 1917 T13 oasc.RequestHandlers.initHandlersFromConfig
created standard: solr.StandardRequestHandler
[junit4:junit4]   2> 1917 T12 oasc.RequestHandlers.initHandlersFromConfig
created standard: solr.StandardRequestHandler
[junit4:junit4]   2> 1922 T11 oasc.RequestHandlers.initHandlersFromConfig
created standard: solr.StandardRequestHandler
[junit4:junit4]   2> 1942 T13 oasc.RequestHandlers.initHandlersFromConfig
created /update: solr.UpdateRequestHandler
[junit4:junit4]   2> 1945 T11 oasc.RequestHandlers.initHandlersFromConfig
created /update: solr.UpdateRequestHandler
[junit4:junit4]   2> 1946 T12 oasc.RequestHandlers.initHandlersFromConfig
created /update: solr.UpdateRequestHandler
[junit4:junit4]   2> 1947 T13 oasc.RequestHandlers.initHandlersFromConfig
created /admin/: org.apache.solr.handler.admin.AdminHandlers
[junit4:junit4]   2> 1948 T12 oasc.RequestHandlers.initHandlersFromConfig
created /admin/: org.apache.solr.handler.admin.AdminHandlers
[junit4:junit4]   2> 1951 T11 oasc.RequestHandlers.initHandlersFromConfig
created /admin/: org.apache.solr.handler.admin.AdminHandlers
[junit4:junit4]   2> 2019 T12 oashl.XMLLoader.init
xsltCacheLifetimeSeconds=60
[junit4:junit4]   2> 2019 T13 oashl.XMLLoader.init
xsltCacheLifetimeSeconds=60
[junit4:junit4]   2> 2019 T11 oashl.XMLLoader.init
xsltCacheLifetimeSeconds=60
[junit4:junit4]   2> 2080 T12 oass.SolrIndexSearcher.<init> Opening
Searcher@6c5f321f main
[junit4:junit4]   2> 2080 T11 oass.SolrIndexSearcher.<init> Opening
Searcher@255ad032 main
[junit4:junit4]   2> 2080 T13 oass.SolrIndexSearcher.<init> Opening
Searcher@5dd3c8ce main
[junit4:junit4]   2> 2117 T11 oasu.UpdateHandler.clearLog Clearing tlog
files,
tlogDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/tlog
[junit4:junit4]   2> 2117 T13 oasu.UpdateHandler.clearLog Clearing tlog
files,
tlogDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/tlog
[junit4:junit4]   2> 2117 T12 oasu.UpdateHandler.clearLog Clearing tlog
files,
tlogDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/tlog
[junit4:junit4]   2> 2133 T12 oasu.CommitTracker.<init> Hard AutoCommit:
disabled
[junit4:junit4]   2> 2133 T11 oasu.CommitTracker.<init> Hard AutoCommit:
disabled
[junit4:junit4]   2> 2133 T13 oasu.CommitTracker.<init> Hard AutoCommit:
disabled
[junit4:junit4]   2> 2134 T12 oasu.CommitTracker.<init> Soft AutoCommit:
disabled
[junit4:junit4]   2> 2134 T11 oasu.CommitTracker.<init> Soft AutoCommit:
disabled
[junit4:junit4]   2> 2134 T13 oasu.CommitTracker.<init> Soft AutoCommit:
disabled
[junit4:junit4]   2> 2197 T14 oasc.SolrCore.registerSearcher [core0]
Registered new searcher
Searcher@6c5f321fmain{StandardDirectoryReader(segments_1:1)}
[junit4:junit4]   2> 2197 T15 oasc.SolrCore.registerSearcher [collection1]
Registered new searcher
Searcher@255ad032main{StandardDirectoryReader(segments_1:1)}
[junit4:junit4]   2> 2197 T16 oasc.SolrCore.registerSearcher [core1]
Registered new searcher
Searcher@5dd3c8cemain{StandardDirectoryReader(segments_1:1)}
[junit4:junit4]   2> 2199 T13 oasc.CoreContainer.registerCore registering
core: core1
[junit4:junit4]   2> 2199 T12 oasc.CoreContainer.registerCore registering
core: core0
[junit4:junit4]   2> 2199 T11 oasc.CoreContainer.registerCore registering
core: collection1
[junit4:junit4]   2> ASYNC  NEW_CORE C0 name=core0
org.apache.solr.core.SolrCore@646f72d4
[junit4:junit4]   2> 2505 T10 C0 oasc.SolrDeletionPolicy.onInit
SolrDeletionPolicy.onInit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2> 2507 T10 C0 oasc.SolrDeletionPolicy.updateCommits
newest commit = 1[segments_1]
[junit4:junit4]   2> 2540 T10 C0 oass.SolrIndexSearcher.<init> Opening
Searcher@18b0f65d realtime
[junit4:junit4]   2> 2544 T10 C0 oasu.DirectUpdateHandler2.commit start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
[junit4:junit4]   2> 2545 T10 C0 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=2
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b
),segFN=segments_2,generation=2,filenames=[segments_2]
[junit4:junit4]   2> 2546 T10 C0 oasc.SolrDeletionPolicy.updateCommits
newest commit = 2[segments_2]
[junit4:junit4]   2> 2547 T10 C0 oass.SolrIndexSearcher.<init> Opening
Searcher@85ecefb main
[junit4:junit4]   2> 2548 T10 C0 oasu.DirectUpdateHandler2.commit
end_commit_flush
[junit4:junit4]   2> 2551 T14 oasc.SolrCore.registerSearcher [core0]
Registered new searcher
Searcher@85ecefbmain{StandardDirectoryReader(segments_1:1:nrt)}
[junit4:junit4]   2> 2551 T10 C0 UPDATE [core0] webapp=null path=/update
params={commit=true&softCommit=false&waitSearcher=true} {deleteByQuery=*:*
(-1429414791563182080),commit=} 0 302
[junit4:junit4]   2> ASYNC  NEW_CORE C1 name=core1
org.apache.solr.core.SolrCore@7b9c92e2
[junit4:junit4]   2> 2560 T10 C1 oasc.SolrDeletionPolicy.onInit
SolrDeletionPolicy.onInit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056010tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@2e901f36
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2> 2561 T10 C1 oasc.SolrDeletionPolicy.updateCommits
newest commit = 1[segments_1]
[junit4:junit4]   2> 2562 T10 C1 oass.SolrIndexSearcher.<init> Opening
Searcher@3c5be9bc realtime
[junit4:junit4]   2> 2562 T10 C1 oasu.DirectUpdateHandler2.commit start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
[junit4:junit4]   2> 2564 T10 C1 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=2
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056010tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@2e901f36
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056010tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@2e901f36
),segFN=segments_2,generation=2,filenames=[segments_2]
[junit4:junit4]   2> 2564 T10 C1 oasc.SolrDeletionPolicy.updateCommits
newest commit = 2[segments_2]
[junit4:junit4]   2> 2565 T10 C1 oass.SolrIndexSearcher.<init> Opening
Searcher@2ba42e76 main
[junit4:junit4]   2> 2565 T10 C1 oasu.DirectUpdateHandler2.commit
end_commit_flush
[junit4:junit4]   2> 2565 T16 oasc.SolrCore.registerSearcher [core1]
Registered new searcher
Searcher@2ba42e76main{StandardDirectoryReader(segments_1:1:nrt)}
[junit4:junit4]   2> 2566 T10 C1 UPDATE [core1] webapp=null path=/update
params={commit=true&softCommit=false&waitSearcher=true} {deleteByQuery=*:*
(-1429414791780237312),commit=} 0 8
[junit4:junit4]   2> 2658 T10 C0 oasu.DirectUpdateHandler2.commit start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
[junit4:junit4]   2> 2831 T10 C0 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=2
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b
),segFN=segments_2,generation=2,filenames=[segments_2]
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b),segFN=segments_3,generation=3,filenames=[_0_Lucene40_0.tim,
_0.fnm, _0_Lucene40_0.frq, _0_nrm.cfe, _0.fdx, _0_nrm.cfs, _0.si,
_0_Lucene40_0.prx, _0.fdt, segments_3, _0_Lucene40_0.tip]
[junit4:junit4]   2> 2832 T10 C0 oasc.SolrDeletionPolicy.updateCommits
newest commit = 3[_0_Lucene40_0.tim, _0.fnm, _0_Lucene40_0.frq, _0_nrm.cfe,
_0.fdx, _0_nrm.cfs, _0.si, _0_Lucene40_0.prx, _0.fdt, segments_3,
_0_Lucene40_0.tip]
[junit4:junit4]   2> 2891 T10 C0 oass.SolrIndexSearcher.<init> Opening
Searcher@2404cf1a main
[junit4:junit4]   2> 2892 T10 C0 oasu.DirectUpdateHandler2.commit
end_commit_flush
[junit4:junit4]   2> 2892 T14 oasc.SolrCore.registerSearcher [core0]
Registered new searcher
Searcher@2404cf1amain{StandardDirectoryReader(segments_3:3:nrt
_0(4.3):C1)}
[junit4:junit4]   2> 2893 T10 C0 UPDATE [core0] webapp=null path=/update
params={commit=true&softCommit=false&waitSearcher=true} {add=[AAA
(1429414791794917376)],commit=} 0 324
[junit4:junit4]   2> 2895 T10 C1 UPDATE [core1] webapp=null path=/update
params={commit=true&softCommit=false&waitSearcher=true} {} 0 1
[junit4:junit4]   2> 2896 T10 C1 oasc.SolrException.log Ignoring exception
matching unknown field
[junit4:junit4]   2> 2900 T10 C1 oasu.DirectUpdateHandler2.commit start
commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
[junit4:junit4]   2> 2910 T10 C1 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=2
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056010tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@2e901f36
),segFN=segments_2,generation=2,filenames=[segments_2]
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056010tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@2e901f36),segFN=segments_3,generation=3,filenames=[_0_Lucene40_0.tim,
_0.fnm, _0_Lucene40_0.frq, _0_nrm.cfe, _0_1.del, _0.fdx, _0_nrm.cfs, _0.si,
_0_Lucene40_0.prx, _0.fdt, segments_3, _0_Lucene40_0.tip]
[junit4:junit4]   2> 2910 T10 C1 oasc.SolrDeletionPolicy.updateCommits
newest commit = 3[_0_Lucene40_0.tim, _0.fnm, _0_Lucene40_0.frq, _0_nrm.cfe,
_0_1.del, _0.fdx, _0_nrm.cfs, _0.si, _0_Lucene40_0.prx, _0.fdt, segments_3,
_0_Lucene40_0.tip]
[junit4:junit4]   2> 2915 T10 C1 oass.SolrIndexSearcher.<init> Opening
Searcher@26b85a7 main
[junit4:junit4]   2> 2916 T16 oasc.SolrCore.registerSearcher [core1]
Registered new searcher
Searcher@26b85a7main{StandardDirectoryReader(segments_3:3:nrt
_0(4.3):C2/1)}
[junit4:junit4]   2> 2916 T10 C1 oasu.DirectUpdateHandler2.commit
end_commit_flush
[junit4:junit4]   2> 2917 T10 C1 UPDATE [core1] webapp=null path=/update
params={commit=true&softCommit=false&waitSearcher=true} {add=[BBB
(1429414792135704576), BBB (1429414792137801728)],commit=} 0 20
[junit4:junit4]   2> 2918 T10 C0 UPDATE [core0] webapp=null path=/update
params={commit=true&softCommit=false&waitSearcher=true} {} 0 0
[junit4:junit4]   2> 2919 T10 C0 oasc.SolrException.log Ignoring exception
matching unknown field
[junit4:junit4]   2> 3006 T10 C0 REQ [core0] webapp=null path=/select
params={q=id%3AAAA} hits=1 status=0 QTime=79
[junit4:junit4]   2> 3019 T10 C1 REQ [core1] webapp=null path=/select
params={q=id%3AAAA} hits=0 status=0 QTime=1
[junit4:junit4]   2> 3019 T10 C0 REQ [core0] webapp=null path=/select
params={q=id%3AAAA} hits=1 status=0 QTime=0
[junit4:junit4]   2> 3020 T10 C0 REQ [core0] webapp=null path=/select
params={q=id%3ABBB} hits=0 status=0 QTime=0
[junit4:junit4]   2> 3021 T10 C1 REQ [core1] webapp=null path=/select
params={q=id%3AAAA} hits=0 status=0 QTime=0
[junit4:junit4]   2> 3023 T10 C1 REQ [core1] webapp=null path=/select
params={q=id%3ABBB} hits=1 status=0 QTime=2
[junit4:junit4]   2> 3034 T10 C0 REQ [core0] webapp=null path=/admin/cores
params={action=STATUS&core=core0&indexInfo=true} status=0 QTime=6
[junit4:junit4]   2> 3035 T10 C0 oasc.CoreContainer.reload Reloading
SolrCore 'core0' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 3035 T10 C0 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 3065 T10 C0 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 3097 T10 C0 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 3097 T10 C0 oass.IndexSchema.readSchema Reading Solr
Schema
[junit4:junit4]   2> 3103 T10 C0 oass.IndexSchema.readSchema Schema
name=example core EN
[junit4:junit4]   2> 3129 T10 C0 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 3130 T10 C0 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 3131 T10 C0 oass.IndexSchema.readSchema unique key
field: id
[junit4:junit4]   2> 3133 T10 C0 oasc.SolrCore.<init> [core0] Opening new
SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./,
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/
[junit4:junit4]   2> 3134 T10 C0 oasc.SolrCore.<init> JMX monitoring not
detected for core: core0
[junit4:junit4]   2> 3134 T10 C0 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/index/
[junit4:junit4]   2> 3135 T10 C0
oasc.RequestHandlers.initHandlersFromConfig created standard:
solr.StandardRequestHandler
[junit4:junit4]   2> 3135 T10 C0
oasc.RequestHandlers.initHandlersFromConfig created /update:
solr.UpdateRequestHandler
[junit4:junit4]   2> 3136 T10 C0
oasc.RequestHandlers.initHandlersFromConfig created /admin/:
org.apache.solr.handler.admin.AdminHandlers
[junit4:junit4]   2> 3138 T10 C0 oashl.XMLLoader.init
xsltCacheLifetimeSeconds=60
[junit4:junit4]   2> 3143 T10 C0 oass.SolrIndexSearcher.<init> Opening
Searcher@24dcd5e5 main
[junit4:junit4]   2> 3149 T10 C0 oasu.CommitTracker.<init> Hard AutoCommit:
disabled
[junit4:junit4]   2> 3150 T10 C0 oasu.CommitTracker.<init> Soft AutoCommit:
disabled
[junit4:junit4]   2> 3151 T18 oasc.SolrCore.registerSearcher [core0]
Registered new searcher
Searcher@24dcd5e5main{StandardDirectoryReader(segments_3:3:nrt
_0(4.3):C1)}
[junit4:junit4]   2> 3151 T10 C0 oasu.DefaultSolrCoreState.newIndexWriter
Creating new IndexWriter...
[junit4:junit4]   2> 3152 T10 C0 oasu.DefaultSolrCoreState.newIndexWriter
Waiting until IndexWriter is unused... core=core0
[junit4:junit4]   2> 3152 T10 C0 oasu.DefaultSolrCoreState.newIndexWriter
Closing old IndexWriter... core=core0
[junit4:junit4]   2> 3157 T10 C0 oasc.SolrDeletionPolicy.onInit
SolrDeletionPolicy.onInit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.MMapDirectory@/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/index5601056012tmp
lockFactory=org.apache.lucene.store.NativeFSLockFactory@77f12a1b),segFN=segments_3,generation=3,filenames=[_0_Lucene40_0.tim,
_0.fnm, _0_Lucene40_0.frq, _0_nrm.cfe, _0.fdx, _0_nrm.cfs,
_0_Lucene40_0.prx, _0.si, _0.fdt, segments_3, _0_Lucene40_0.tip]
[junit4:junit4]   2> 3157 T10 C0 oasc.SolrDeletionPolicy.updateCommits
newest commit = 3[_0_Lucene40_0.tim, _0.fnm, _0_Lucene40_0.frq, _0_nrm.cfe,
_0.fdx, _0_nrm.cfs, _0_Lucene40_0.prx, _0.si, _0.fdt, segments_3,
_0_Lucene40_0.tip]
[junit4:junit4]   2> 3158 T10 C0 oasu.DefaultSolrCoreState.newIndexWriter
New IndexWriter is ready to be used.
[junit4:junit4]   2> 3160 T10 C0 oass.SolrIndexSearcher.<init> Opening
Searcher@4b6b68fc main
[junit4:junit4]   2> 3161 T18 oasc.SolrCore.registerSearcher [core0]
Registered new searcher
Searcher@4b6b68fcmain{StandardDirectoryReader(segments_3:3:nrt
_0(4.3):C1)}
[junit4:junit4]   2> 3161 T10 C0 oasc.CoreContainer.registerCore replacing
core: core0
[junit4:junit4]   2> 3161 T10 C0 REQ [core0] webapp=null path=/admin/cores
params={action=RELOAD&core=core0&indexInfo=true} status=0 QTime=126
[junit4:junit4]   2> 3162 T10 C0 oasc.SolrCore.close [core0]  CLOSING
SolrCore org.apache.solr.core.SolrCore@646f72d4
[junit4:junit4]   2> 3162 T10 C0 oasu.DirectUpdateHandler2.close closing
DirectUpdateHandler2{commits=2,autocommits=0,soft
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=1,deletesById=0,deletesByQuery=0,errors=1,cumulative_adds=2,cumulative_deletesById=0,cumulative_deletesByQuery=1,cumulative_errors=1}
[junit4:junit4]   2> 3163 T10 C0 oasc.SolrCore.closeSearcher [core0]
Closing main searcher on request.
[junit4:junit4]   2> ASYNC  NEW_CORE C2 name=core0
org.apache.solr.core.SolrCore@78b99f12
[junit4:junit4]   2> 3165 T10 C2 REQ [core0] webapp=null path=/admin/cores
params={action=STATUS&core=core0&indexInfo=true} status=0 QTime=1
[junit4:junit4]   2> 3168 T10 C2 oasc.CoreContainer.persistFile Persisting
cores config to ./solrtest-TestSolrProperties-1363196171798/solr-persist.xml
[junit4:junit4]   2> 3181 T10 C2 oasc.SolrXMLSerializer.persistFile
Persisting cores config to
./solrtest-TestSolrProperties-1363196171798/solr-persist.xml
[junit4:junit4]   2> 3183 T10 C2 REQ [core0] webapp=null path=/admin/cores
params={action=PERSIST&file=solr-persist.xml} status=0 QTime=15
[junit4:junit4]   2> 3193 T10 C2 oasc.CoreContainer.registerCore
registering core: renamed_core
[junit4:junit4]   2> 3193 T10 C2 oasc.CoreContainer.persistFile Persisting
cores config to ./solrtest-TestSolrProperties-1363196171798/solr.xml
[junit4:junit4]   2> 3205 T10 C2 oasc.SolrXMLSerializer.persistFile
Persisting cores config to
./solrtest-TestSolrProperties-1363196171798/solr.xml
[junit4:junit4]   2> 3207 T10 C2 REQ [renamed_core] webapp=null
path=/admin/cores
params={action=RENAME&core=core0&indexInfo=true&other=renamed_core}
status=0 QTime=14
[junit4:junit4]   2> 3207 T10 C2 oasc.CoreContainer.persistFile Persisting
cores config to ./solrtest-TestSolrProperties-1363196171798/solr-persist.xml
[junit4:junit4]   2> 3219 T10 C2 oasc.SolrXMLSerializer.persistFile
Persisting cores config to
./solrtest-TestSolrProperties-1363196171798/solr-persist.xml
[junit4:junit4]   2> 3221 T10 C2 REQ [renamed_core] webapp=null
path=/admin/cores params={action=PERSIST&file=solr-persist.xml} status=0
QTime=14
[junit4:junit4]   2> 3229 T10 C2 oasc.CoreContainer.create Creating
SolrCore 'newCore' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared
[junit4:junit4]   2> 3230 T10 C2 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/'
[junit4:junit4]   2> 3264 T10 C2 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 3302 T10 C2 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 3303 T10 C2 oass.IndexSchema.readSchema Reading Solr
Schema
[junit4:junit4]   2> 3309 T10 C2 oass.IndexSchema.readSchema Schema
name=example core
[junit4:junit4]   2> 3345 T10 C2 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 3346 T10 C2 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 3349 T10 C2 oass.IndexSchema.readSchema unique key
field: id
[junit4:junit4]   2> 3353 T10 C2 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 3354 T10 C2 oasc.SolrCore.<init> [newCore] Opening new
SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/,
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3/
[junit4:junit4]   2> 3354 T10 C2 oasc.SolrCore.<init> JMX monitoring not
detected for core: newCore
[junit4:junit4]   2> 3355 T10 C2 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 3356 T10 C2 oasc.CachingDirectoryFactory.get return
new directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3
forceNew: false
[junit4:junit4]   2> 3357 T10 C2 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3/index/
[junit4:junit4]   2> 3357 T10 C2 oasc.SolrCore.initIndex WARNING [newCore]
Solr index directory
'/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 3358 T10 C2 oasc.CachingDirectoryFactory.get return
new directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3/index
forceNew: false
[junit4:junit4]   2> 3361 T10 C2 oasc.SolrDeletionPolicy.onCommit
SolrDeletionPolicy.onCommit: commits:num=1
[junit4:junit4]   2>
commit{dir=MockDirWrapper(org.apache.lucene.store.RAMDirectory@2cc76789lockFactory=org.apache.lucene.store.NativeFSLockFactory@779760e9
),segFN=segments_1,generation=1,filenames=[segments_1]
[junit4:junit4]   2> 3362 T10 C2 oasc.SolrDeletionPolicy.updateCommits
newest commit = 1[segments_1]
[junit4:junit4]   2> 3364 T10 C2
oasc.RequestHandlers.initHandlersFromConfig created standard:
solr.StandardRequestHandler
[junit4:junit4]   2> 3365 T10 C2
oasc.RequestHandlers.initHandlersFromConfig created /update:
solr.UpdateRequestHandler
[junit4:junit4]   2> 3365 T10 C2
oasc.RequestHandlers.initHandlersFromConfig created /admin/:
org.apache.solr.handler.admin.AdminHandlers
[junit4:junit4]   2> 3369 T10 C2 oashl.XMLLoader.init
xsltCacheLifetimeSeconds=60
[junit4:junit4]   2> 3372 T10 C2 oass.SolrIndexSearcher.<init> Opening
Searcher@5b2d7674 main
[junit4:junit4]   2> 3372 T10 C2 oasu.UpdateHandler.clearLog Clearing tlog
files,
tlogDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/tlog3/tlog
[junit4:junit4]   2> 3373 T10 C2 oasu.CommitTracker.<init> Hard AutoCommit:
disabled
[junit4:junit4]   2> 3373 T10 C2 oasu.CommitTracker.<init> Soft AutoCommit:
disabled
[junit4:junit4]   2> 3375 T19 oasc.SolrCore.registerSearcher [newCore]
Registered new searcher
Searcher@5b2d7674main{StandardDirectoryReader(segments_1:1)}
[junit4:junit4]   2> 3375 T10 C2 oasc.CoreContainer.registerCore
registering core: newCore
[junit4:junit4]   2> 3375 T10 C2 oasc.CoreContainer.persistFile Persisting
cores config to ./solrtest-TestSolrProperties-1363196171798/solr.xml
[junit4:junit4]   2> 3388 T10 C2 oasc.SolrXMLSerializer.persistFile
Persisting cores config to
./solrtest-TestSolrProperties-1363196171798/solr.xml
[junit4:junit4]   2> 3390 T10 C2 REQ [renamed_core] webapp=null
path=/admin/cores
params={action=CREATE&name=newCore&instanceDir=%2FUsers%2FErick%2Fapache%2F4x%2Fsolr%2Fsolrj%2Fsrc%2Ftest-files%2Fsolrj%2Fsolr%2Fshared&dataDir=%2FUsers%2FErick%2Fapache%2F4x%2Fsolr%2Fbuild%2Fsolr-solrj%2Ftest%2FJ0%2F.%2Fsolrtest-TestSolrProperties-1363196171798%2Fdata3&ulogDir=%2FUsers%2FErick%2Fapache%2F4x%2Fsolr%2Fbuild%2Fsolr-solrj%2Ftest%2FJ0%2F.%2Fsolrtest-TestSolrProperties-1363196171798%2Ftlog3}
status=0 QTime=161
[junit4:junit4]   2> 3390 T10 C2 oasc.CoreContainer.persistFile Persisting
cores config to ./solrtest-TestSolrProperties-1363196171798/solr-persist.xml
[junit4:junit4]   2> 3397 T10 C2 oasc.SolrXMLSerializer.persistFile
Persisting cores config to
./solrtest-TestSolrProperties-1363196171798/solr-persist.xml
[junit4:junit4]   2> 3398 T10 C2 REQ [renamed_core] webapp=null
path=/admin/cores params={action=PERSIST&file=solr-persist.xml} status=0
QTime=8
[junit4:junit4]   2> 3402 T10 oasc.CoreContainer.shutdown Shutting down
CoreContainer instance=1876577893
[junit4:junit4]   2> 3403 T10 oasc.SolrCore.close [collection1]  CLOSING
SolrCore org.apache.solr.core.SolrCore@50dbefcf
[junit4:junit4]   2> 3403 T10 oasu.DirectUpdateHandler2.close closing
DirectUpdateHandler2{commits=0,autocommits=0,soft
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
[junit4:junit4]   2> 3404 T10 oasu.SolrCoreState.decrefSolrCoreState
Closing SolrCoreState
[junit4:junit4]   2> 3404 T10 oasu.DefaultSolrCoreState.closeIndexWriter
SolrCoreState ref count has reached 0 - closing IndexWriter
[junit4:junit4]   2> 3404 T10 oasu.DefaultSolrCoreState.closeIndexWriter
closing IndexWriter with IndexWriterCloser
[junit4:junit4]   2> 3405 T10 oasc.SolrCore.closeSearcher [collection1]
Closing main searcher on request.
[junit4:junit4]   2> 3406 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/index
[junit4:junit4]   2> 3406 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/index
[junit4:junit4]   2> 3406 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-
[junit4:junit4]   2> 3407 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-
[junit4:junit4]   2> 3408 T10 oasc.SolrCore.close [core1]  CLOSING SolrCore
org.apache.solr.core.SolrCore@7b9c92e2
[junit4:junit4]   2> 3408 T10 oasu.DirectUpdateHandler2.close closing
DirectUpdateHandler2{commits=2,autocommits=0,soft
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=1,cumulative_adds=3,cumulative_deletesById=0,cumulative_deletesByQuery=1,cumulative_errors=1}
[junit4:junit4]   2> 3408 T10 oasu.SolrCoreState.decrefSolrCoreState
Closing SolrCoreState
[junit4:junit4]   2> 3409 T10 oasu.DefaultSolrCoreState.closeIndexWriter
SolrCoreState ref count has reached 0 - closing IndexWriter
[junit4:junit4]   2> 3409 T10 oasu.DefaultSolrCoreState.closeIndexWriter
closing IndexWriter with IndexWriterCloser
[junit4:junit4]   2> 3410 T10 oasc.SolrCore.closeSearcher [core1] Closing
main searcher on request.
[junit4:junit4]   2> 3411 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2
[junit4:junit4]   2> 3412 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2
[junit4:junit4]   2> 3412 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index
[junit4:junit4]   2> 3413 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index
[junit4:junit4]   2> 3414 T10 oasc.SolrCore.close [renamed_core]  CLOSING
SolrCore org.apache.solr.core.SolrCore@78b99f12
[junit4:junit4]   2> 3415 T10 oasu.DirectUpdateHandler2.close closing
DirectUpdateHandler2{commits=0,autocommits=0,soft
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
[junit4:junit4]   2> 3415 T10 oasu.SolrCoreState.decrefSolrCoreState
Closing SolrCoreState
[junit4:junit4]   2> 3415 T10 oasu.DefaultSolrCoreState.closeIndexWriter
SolrCoreState ref count has reached 0 - closing IndexWriter
[junit4:junit4]   2> 3416 T10 oasu.DefaultSolrCoreState.closeIndexWriter
closing IndexWriter with IndexWriterCloser
[junit4:junit4]   2> 3416 T10 oasc.SolrCore.closeSearcher [renamed_core]
Closing main searcher on request.
[junit4:junit4]   2> 3417 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/index
[junit4:junit4]   2> 3418 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1/index
[junit4:junit4]   2> 3418 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1
[junit4:junit4]   2> 3418 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data1
[junit4:junit4]   2> 3419 T10 oasc.SolrCore.close [newCore]  CLOSING
SolrCore org.apache.solr.core.SolrCore@5bb111eb
[junit4:junit4]   2> 3419 T10 oasu.DirectUpdateHandler2.close closing
DirectUpdateHandler2{commits=0,autocommits=0,soft
autocommits=0,optimizes=0,rollbacks=0,expungeDeletes=0,docsPending=0,adds=0,deletesById=0,deletesByQuery=0,errors=0,cumulative_adds=0,cumulative_deletesById=0,cumulative_deletesByQuery=0,cumulative_errors=0}
[junit4:junit4]   2> 3419 T10 oasu.SolrCoreState.decrefSolrCoreState
Closing SolrCoreState
[junit4:junit4]   2> 3420 T10 oasu.DefaultSolrCoreState.closeIndexWriter
SolrCoreState ref count has reached 0 - closing IndexWriter
[junit4:junit4]   2> 3420 T10 oasu.DefaultSolrCoreState.closeIndexWriter
closing IndexWriter with IndexWriterCloser
[junit4:junit4]   2> 3420 T10 oasc.SolrCore.closeSearcher [newCore] Closing
main searcher on request.
[junit4:junit4]   2> 3421 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3
[junit4:junit4]   2> 3421 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3
[junit4:junit4]   2> 3422 T10 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3/index
[junit4:junit4]   2> 3422 T10 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data3/index
[junit4:junit4]   2> 3422 T10 oasc.CoreContainer.<init> New CoreContainer
326709568
[junit4:junit4]   2> 3423 T10 oasc.CoreContainer.load Loading CoreContainer
using Solr Home:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared'
[junit4:junit4]   2> 3423 T10 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/'
[junit4:junit4]   2> 3445 T10 oashc.HttpShardHandlerFactory.getParameter
Setting socketTimeout to: 0
[junit4:junit4]   2> 3445 T10 oashc.HttpShardHandlerFactory.getParameter
Setting urlScheme to: http://
[junit4:junit4]   2> 3446 T10 oashc.HttpShardHandlerFactory.getParameter
Setting connTimeout to: 0
[junit4:junit4]   2> 3446 T10 oashc.HttpShardHandlerFactory.getParameter
Setting maxConnectionsPerHost to: 20
[junit4:junit4]   2> 3446 T10 oashc.HttpShardHandlerFactory.getParameter
Setting corePoolSize to: 0
[junit4:junit4]   2> 3447 T10 oashc.HttpShardHandlerFactory.getParameter
Setting maximumPoolSize to: 2147483647
[junit4:junit4]   2> 3447 T10 oashc.HttpShardHandlerFactory.getParameter
Setting maxThreadIdleTime to: 5
[junit4:junit4]   2> 3447 T10 oashc.HttpShardHandlerFactory.getParameter
Setting sizeOfQueue to: -1
[junit4:junit4]   2> 3448 T10 oashc.HttpShardHandlerFactory.getParameter
Setting fairnessPolicy to: false
[junit4:junit4]   2> 3448 T10 oascsi.HttpClientUtil.createClient Creating
new http client,
config:maxConnectionsPerHost=20&maxConnections=10000&socketTimeout=0&connTimeout=0&retry=false
[junit4:junit4]   2> 3455 T10 oasc.CoreContainer.load Registering Log
Listener
[junit4:junit4]   2> 3466 T20 oasc.CoreContainer.create Creating SolrCore
'collection1' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 3467 T20 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 3467 T21 oasc.CoreContainer.create Creating SolrCore
'core1' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 3467 T21 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 3468 T22 oasc.CoreContainer.create Creating SolrCore
'renamed_core' using instanceDir:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/.
[junit4:junit4]   2> 3468 T22 oasc.SolrResourceLoader.<init> new
SolrResourceLoader for directory:
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./'
[junit4:junit4]   2> 3488 T20 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 3489 T21 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 3493 T22 oasc.SolrConfig.<init> Using Lucene
MatchVersion: LUCENE_43
[junit4:junit4]   2> 3511 T20 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 3512 T20 oass.IndexSchema.readSchema Reading Solr
Schema
[junit4:junit4]   2> 3513 T21 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 3513 T21 oass.IndexSchema.readSchema Reading Solr
Schema
[junit4:junit4]   2> 3516 T22 oasc.SolrConfig.<init> Loaded SolrConfig:
solrconfig.xml
[junit4:junit4]   2> 3517 T22 oass.IndexSchema.readSchema Reading Solr
Schema
[junit4:junit4]   2> 3517 T20 oass.IndexSchema.readSchema Schema
name=example core
[junit4:junit4]   2> 3520 T21 oass.IndexSchema.readSchema Schema
name=example core FR
[junit4:junit4]   2> 3522 T22 oass.IndexSchema.readSchema Schema
name=example core EN
[junit4:junit4]   2> 3544 T20 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 3545 T20 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 3546 T21 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 3546 T20 oass.IndexSchema.readSchema unique key field:
id
[junit4:junit4]   2> 3547 T21 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 3548 T21 oass.IndexSchema.readSchema unique key field:
id
[junit4:junit4]   2> 3549 T20 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 3549 T21 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 3549 T20 oasc.SolrCore.<init> [collection1] Opening
new SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./,
dataDir=/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/
[junit4:junit4]   2> 3550 T21 oasc.SolrCore.<init> [core1] Opening new
SolrCore at
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./,
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/
[junit4:junit4]   2> 3550 T20 oasc.SolrCore.<init> JMX monitoring not
detected for core: collection1
[junit4:junit4]   2> 3550 T21 oasc.SolrCore.<init> JMX monitoring not
detected for core: core1
[junit4:junit4]   2> 3550 T20 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 3550 T21 oasc.SolrCore.initDirectoryFactory
org.apache.solr.core.MockDirectoryFactory
[junit4:junit4]   2> 3551 T20 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data
forceNew: false
[junit4:junit4]   2> 3551 T21 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2
forceNew: false
[junit4:junit4]   2> 3551 T20 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index/
[junit4:junit4]   2> 3552 T21 oasc.SolrCore.getNewIndexDir New index
directory detected: old=null
new=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index/
[junit4:junit4]   2> 3552 T20 oasc.SolrCore.initIndex WARNING [collection1]
Solr index directory
'/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 3552 T21 oasc.SolrCore.initIndex WARNING [core1] Solr
index directory
'/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index'
doesn't exist. Creating new index...
[junit4:junit4]   2> 3553 T22 oass.IndexSchema.readSchema default search
field in schema is name
[junit4:junit4]   2> 3553 T21 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data2/index
forceNew: false
[junit4:junit4]   2> 3553 T20 oasc.CachingDirectoryFactory.get return new
directory for
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index
forceNew: false
[junit4:junit4]   2> 3554 T22 oass.IndexSchema.readSchema query parser
default operator is OR
[junit4:junit4]   2> 3554 T20 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index
[junit4:junit4]   2> 3555 T20 oasc.SolrCore.close [collection1]  CLOSING
SolrCore org.apache.solr.core.SolrCore@4737c90d
[junit4:junit4]   2> 3555 T20 oasu.SolrCoreState.decrefSolrCoreState
Closing SolrCoreState
[junit4:junit4]   2> 3555 T22 oass.IndexSchema.readSchema unique key field:
id
[junit4:junit4]   2> 3555 T20 oasu.DefaultSolrCoreState.closeIndexWriter
SolrCoreState ref count has reached 0 - closing IndexWriter
[junit4:junit4]   2> 3556 T20 oasc.SolrCore.closeSearcher [collection1]
Closing main searcher on request.
[junit4:junit4]   2> 3556 T20 oasc.CachingDirectoryFactory.close Closing
directory when closing factory:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data
[junit4:junit4]   2> 3556 T20 oasc.CachingDirectoryFactory.closeDirectory
Closing directory:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data
[junit4:junit4]   2> 3556 T20 oasc.CoreContainer.recordAndThrow SEVERE
Unable to create core: collection1 org.apache.solr.common.SolrException:
access denied ("java.io.FilePermission"
"/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index"
"write")
[junit4:junit4]   2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
[junit4:junit4]   2> at
org.apache.solr.core.SolrCore.<init>(SolrCore.java:619)
[junit4:junit4]   2> at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:927)
[junit4:junit4]   2> at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:957)
[junit4:junit4]   2> at
org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:579)
[junit4:junit4]   2> at
org.apache.solr.core.CoreContainer$2.call(CoreContainer.java:574)
[junit4:junit4]   2> at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[junit4:junit4]   2> at
java.util.concurrent.FutureTask.run(FutureTask.java:166)
[junit4:junit4]   2> at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[junit4:junit4]   2> at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[junit4:junit4]   2> at
java.util.concurrent.FutureTask.run(FutureTask.java:166)
[junit4:junit4]   2> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[junit4:junit4]   2> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[junit4:junit4]   2> at java.lang.Thread.run(Thread.java:722)
[junit4:junit4]   2> Caused by: java.security.AccessControlException:
access denied ("java.io.FilePermission"
"/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index"
"write")
[junit4:junit4]   2> at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
[junit4:junit4]   2> at
java.security.AccessController.checkPermission(AccessController.java:560)
[junit4:junit4]   2> at
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
[junit4:junit4]   2> at
java.lang.SecurityManager.checkWrite(SecurityManager.java:979)
[junit4:junit4]   2> at java.io.File.mkdir(File.java:1237)
[junit4:junit4]   2> at java.io.File.mkdirs(File.java:1266)


On Wed, Mar 13, 2013 at 4:53 PM, Dawid Weiss
<da...@cs.put.poznan.pl>wrote:

> > Thanks, we'll see what I can see. The weird bit Is I was looking at the
> > normal output and it's almost like the location of the index changes part
> > way through. The fail is on:
>
> I'd say it's something in the Solr test code (like Uwe mentioned), not
> in the test framework. If you have a repeatable seed it'd help. You
> can also run with one JVM which will make it repeatable for everyone
> (since if there are multiple processors the number of JVMs may vary
> and the order of tests will be different).
>
> So: -Dtests.jvms=1
>
> > but earlier the datadir is set to:
> >
> dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/
> >
> > Whereas in the 4.2 case, it stays something equivalent to:
> >
> dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/
>
> These are bit-to-bit identical? :)
>
> D.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Re: Can't seem to run individual tests

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
> Thanks, we'll see what I can see. The weird bit Is I was looking at the
> normal output and it's almost like the location of the index changes part
> way through. The fail is on:

I'd say it's something in the Solr test code (like Uwe mentioned), not
in the test framework. If you have a repeatable seed it'd help. You
can also run with one JVM which will make it repeatable for everyone
(since if there are multiple processors the number of JVMs may vary
and the order of tests will be different).

So: -Dtests.jvms=1

> but earlier the datadir is set to:
> dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/
>
> Whereas in the 4.2 case, it stays something equivalent to:
> dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/

These are bit-to-bit identical? :)

D.

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


Re: Can't seem to run individual tests

Posted by Steve Rowe <sa...@gmail.com>.
On Mar 13, 2013, at 2:35 PM, Erick Erickson <er...@gmail.com> wrote:
> Steve: 
> 
> That's a relief, I've been worried it's something that I did given I touched the test harness, but apparently not so. Is this a fresh checkout? Some things have changed in the not too distant past.

Just before I ran the test in the three places I mentioned, this is what svn said:

	~/svn/lucene/dev/trunk2/
        sarowe@smb [1089]$ svn up
	Updating '.':
	At revision 1456059.

Steve


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


Re: Can't seem to run individual tests

Posted by Erick Erickson <er...@gmail.com>.
It's also worth noting that this succeeds in 4.2 and fails in 4.x (and
trunk).

Steve:

That's a relief, I've been worried it's something that I did given I
touched the test harness, but apparently not so. Is this a fresh checkout?
Some things have changed in the not too distant past.

Dawid:

Thanks, we'll see what I can see. The weird bit Is I was looking at the
normal output and it's almost like the location of the index changes part
way through. The fail is on:
/Users/Erick/apache/4x/solr/solrj/src/test-files/solrj/solr/shared/./data/index

but earlier the datadir is set to:
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/

Whereas in the 4.2 case, it stays something equivalent to:
dataDir=/Users/Erick/apache/4x/solr/build/solr-solrj/test/J0/./solrtest-TestSolrProperties-1363196171798/data/-/

Uwe:

Thanks, that's something hadn't thought of that. I'll check it out in a
bit...

Anyway, off to run an errand or two, then I'll hit it again.




On Wed, Mar 13, 2013 at 12:08 PM, Erick Erickson <er...@gmail.com>wrote:

> Uwe:
>
> Right, and the whole cloning thing is done in lots of places, I've done it
> myself. But that doesn't explain why this fails:
>
> ant -Dtestcase=TestSolrProperties test
>
> and this succeeds:
>
> ant test
>
> even though the "ant test" runs TestSolrProperties. My _guess_ is that
> somehow specifying -Dtestcase=..... is somehow changing where tempDir is.
>
> Erick
>
>
>
>
> On Wed, Mar 13, 2013 at 11:56 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
>
>> The security manager enforces that no files are created outside of the
>> test’s working directory or System.exit() is called (and some other fancy
>> things, like listening on the internet instead of 127.0.0.1). When your
>> test tries to create a file outside the working directory setup for this
>> test, it fails.****
>>
>> ** **
>>
>> It might be caused by a test directly working on a solr core somewhere in
>> examples directory and of course then starting to write files there. A test
>> must clone the core to its own temp dir and then run the test. Or
>> alternatively it must set the dataDir correctly (using getTempDir()).****
>>
>> ** **
>>
>> Uwe****
>>
>> ** **
>>
>> -----****
>>
>> Uwe Schindler****
>>
>> H.-H.-Meier-Allee 63, D-28213 Bremen****
>>
>> http://www.thetaphi.de****
>>
>> eMail: uwe@thetaphi.de****
>>
>> ** **
>>
>> *From:* Erick Erickson [mailto:erickerickson@gmail.com]
>> *Sent:* Wednesday, March 13, 2013 4:19 PM
>> *To:* dev@lucene.apache.org
>> *Subject:* Re: Can't seem to run individual tests****
>>
>> ** **
>>
>> Dawid:****
>>
>> ** **
>>
>> Thanks, another bit of knowledge to add to my store.****
>>
>> ** **
>>
>> On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss <
>> dawid.weiss@cs.put.poznan.pl> wrote:****
>>
>> > This is a really bogus place to be creating an index, I'm glad it
>> fails...
>> >
>> > Of course it succeeds when running in IntelliJ.****
>>
>> I can explain this bit -- it fails from ant only because only from ant
>> you have Uwe's Evil Security Manager (tm) in place.
>>
>> D.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org****
>>
>> ** **
>>
>
>

Re: Can't seem to run individual tests

Posted by Steve Rowe <sa...@gmail.com>.
Hi Erick,

On OSX, with Ant 1.8.2 and Orace Java 1.7.0_13, 'ant -Dtestcase=TestSolrProperties test' on trunk succeeds for me, from the top-level directory, from solr/, and from solr/solrj/.

Steve

On Mar 13, 2013, at 12:08 PM, Erick Erickson <er...@gmail.com> wrote:

> Uwe:
> 
> Right, and the whole cloning thing is done in lots of places, I've done it myself. But that doesn't explain why this fails:
> 
> ant -Dtestcase=TestSolrProperties test
> 
> and this succeeds:
> 
> ant test
> 
> even though the "ant test" runs TestSolrProperties. My _guess_ is that somehow specifying -Dtestcase=..... is somehow changing where tempDir is.
> 
> Erick
> 
> 
> 
> 
> On Wed, Mar 13, 2013 at 11:56 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> The security manager enforces that no files are created outside of the test’s working directory or System.exit() is called (and some other fancy things, like listening on the internet instead of 127.0.0.1). When your test tries to create a file outside the working directory setup for this test, it fails.
> 
>  
> 
> It might be caused by a test directly working on a solr core somewhere in examples directory and of course then starting to write files there. A test must clone the core to its own temp dir and then run the test. Or alternatively it must set the dataDir correctly (using getTempDir()).
> 
>  
> 
> Uwe
> 
>  
> 
> -----
> 
> Uwe Schindler
> 
> H.-H.-Meier-Allee 63, D-28213 Bremen
> 
> http://www.thetaphi.de
> 
> eMail: uwe@thetaphi.de
> 
>  
> 
> From: Erick Erickson [mailto:erickerickson@gmail.com] 
> Sent: Wednesday, March 13, 2013 4:19 PM
> To: dev@lucene.apache.org
> Subject: Re: Can't seem to run individual tests
> 
>  
> 
> Dawid:
> 
>  
> 
> Thanks, another bit of knowledge to add to my store.
> 
>  
> 
> On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss <da...@cs.put.poznan.pl> wrote:
> 
> > This is a really bogus place to be creating an index, I'm glad it fails...
> >
> > Of course it succeeds when running in IntelliJ.
> 
> I can explain this bit -- it fails from ant only because only from ant
> you have Uwe's Evil Security Manager (tm) in place.
> 
> D.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 
>  
> 
> 


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


Re: Can't seem to run individual tests

Posted by Erick Erickson <er...@gmail.com>.
Uwe:

Right, and the whole cloning thing is done in lots of places, I've done it
myself. But that doesn't explain why this fails:

ant -Dtestcase=TestSolrProperties test

and this succeeds:

ant test

even though the "ant test" runs TestSolrProperties. My _guess_ is that
somehow specifying -Dtestcase=..... is somehow changing where tempDir is.

Erick




On Wed, Mar 13, 2013 at 11:56 AM, Uwe Schindler <uw...@thetaphi.de> wrote:

> The security manager enforces that no files are created outside of the
> test’s working directory or System.exit() is called (and some other fancy
> things, like listening on the internet instead of 127.0.0.1). When your
> test tries to create a file outside the working directory setup for this
> test, it fails.****
>
> ** **
>
> It might be caused by a test directly working on a solr core somewhere in
> examples directory and of course then starting to write files there. A test
> must clone the core to its own temp dir and then run the test. Or
> alternatively it must set the dataDir correctly (using getTempDir()).****
>
> ** **
>
> Uwe****
>
> ** **
>
> -----****
>
> Uwe Schindler****
>
> H.-H.-Meier-Allee 63, D-28213 Bremen****
>
> http://www.thetaphi.de****
>
> eMail: uwe@thetaphi.de****
>
> ** **
>
> *From:* Erick Erickson [mailto:erickerickson@gmail.com]
> *Sent:* Wednesday, March 13, 2013 4:19 PM
> *To:* dev@lucene.apache.org
> *Subject:* Re: Can't seem to run individual tests****
>
> ** **
>
> Dawid:****
>
> ** **
>
> Thanks, another bit of knowledge to add to my store.****
>
> ** **
>
> On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss <
> dawid.weiss@cs.put.poznan.pl> wrote:****
>
> > This is a really bogus place to be creating an index, I'm glad it
> fails...
> >
> > Of course it succeeds when running in IntelliJ.****
>
> I can explain this bit -- it fails from ant only because only from ant
> you have Uwe's Evil Security Manager (tm) in place.
>
> D.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org****
>
> ** **
>

RE: Can't seem to run individual tests

Posted by Uwe Schindler <uw...@thetaphi.de>.
The security manager enforces that no files are created outside of the test’s working directory or System.exit() is called (and some other fancy things, like listening on the internet instead of 127.0.0.1). When your test tries to create a file outside the working directory setup for this test, it fails.

 

It might be caused by a test directly working on a solr core somewhere in examples directory and of course then starting to write files there. A test must clone the core to its own temp dir and then run the test. Or alternatively it must set the dataDir correctly (using getTempDir()).

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: Wednesday, March 13, 2013 4:19 PM
To: dev@lucene.apache.org
Subject: Re: Can't seem to run individual tests

 

Dawid:

 

Thanks, another bit of knowledge to add to my store.

 

On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss <da...@cs.put.poznan.pl> wrote:

> This is a really bogus place to be creating an index, I'm glad it fails...
>
> Of course it succeeds when running in IntelliJ.

I can explain this bit -- it fails from ant only because only from ant
you have Uwe's Evil Security Manager (tm) in place.

D.

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

 


Re: Can't seem to run individual tests

Posted by Erick Erickson <er...@gmail.com>.
Dawid:

Thanks, another bit of knowledge to add to my store.


On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss
<da...@cs.put.poznan.pl>wrote:

> > This is a really bogus place to be creating an index, I'm glad it
> fails...
> >
> > Of course it succeeds when running in IntelliJ.
>
> I can explain this bit -- it fails from ant only because only from ant
> you have Uwe's Evil Security Manager (tm) in place.
>
> D.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Re: Can't seem to run individual tests

Posted by Dawid Weiss <da...@cs.put.poznan.pl>.
> This is a really bogus place to be creating an index, I'm glad it fails...
>
> Of course it succeeds when running in IntelliJ.

I can explain this bit -- it fails from ant only because only from ant
you have Uwe's Evil Security Manager (tm) in place.

D.

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