[
https://issues.apache.org/jira/browse/LUCENE-6478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976162#comment-14976162
]
Dawid Weiss edited comment on LUCENE-6478 at 10/27/15 10:21 AM:
----------------------------------------------------------------
Good news, Robert ([~rcmuir]). I think I fixed it in the RR -- I was
successfull at running tests with full security policy dump.
{code}
cd lucene
ant test-core -Dtests.useSecurityManager=true
"-Dtests.class=*FuzzyTermOnShortTermsTest*" -Dtests.seed=deadbeef
-Dtests.jvms=1 -Dtests.verbose=true -Dargs="-Djava.security.debug=all"
{code}
You need {{-Dtests.verbose}} -- there's tons of output from policy debug and it
max sysout limit rule complains otherwise. I attach a patch that I used against
trunk. Note *it uses a snapshot version of RR*, you need to fetch it from
sonatype snapshots repo (or install it manually in your {{.m2}}).
{code}
Index: ivy-settings.xml
===================================================================
--- ivy-settings.xml (revision 1710751)
+++ ivy-settings.xml (working copy)
@@ -50,7 +50,7 @@
<chain name="default" returnFirst="true" checkmodified="true"
changingPattern=".*SNAPSHOT">
<resolver ref="local"/>
- <!-- <resolver ref="local-maven-2" /> -->
+ <resolver ref="local-maven-2" />
<resolver ref="main"/>
<resolver ref="maven.restlet.org" />
<resolver ref="sonatype-releases" />
Index: ivy-versions.properties
===================================================================
--- ivy-versions.properties (revision 1710751)
+++ ivy-versions.properties (working copy)
@@ -7,7 +7,7 @@
/cglib/cglib-nodep = 2.2
/com.adobe.xmp/xmpcore = 5.1.2
-com.carrotsearch.randomizedtesting.version = 2.1.17
+com.carrotsearch.randomizedtesting.version = 2.2.0-SNAPSHOT
/com.carrotsearch.randomizedtesting/junit4-ant =
${com.carrotsearch.randomizedtesting.version}
/com.carrotsearch.randomizedtesting/randomizedtesting-runner =
${com.carrotsearch.randomizedtesting.version}
{code}
was (Author: dweiss):
Good news, Robert ([~rcmuir]). I think I fixed it in the RR -- I was
successfull at running tests with full security policy dump.
{code}
cd lucene
ant test-core -Dtests.useSecurityManager=true
"-Dtests.class=*FuzzyTermOnShortTermsTest*" -Dtests.seed=deadbeef
-Dtests.jvms=1 -Dtests.verbose=true -Dargs="-Djava.security.debug=all"
{code}
You need {{-Dtests.verbose}} -- there's tons of output from policy debug and it
max sysout limit rule complains otherwise. I attach a patch that I used against
trunk. Note *it uses a snapshot version of RR*, you need to fetch it from
sonatype snapshots repo (or install it manually in your {{.m2}}).
> Test execution can hang with java.security.debug
> ------------------------------------------------
>
> Key: LUCENE-6478
> URL: https://issues.apache.org/jira/browse/LUCENE-6478
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
>
> As reported by Robert:
> {code}
> # clone trunk
> cd lucene/core/
> ant test -Dargs="-Djava.security.debug=access:failure" -Dtestcase=TestDemo
> {code}
> Hangs the test runner. The same problem appears to be present in ES builds
> too. It seems like some kind of weird stream buffer problem, the security
> framework seems to be writing to the native descriptors directly. Will have
> to dig (deep...).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]