You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2010/10/01 15:41:33 UTC
[jira] Created: (LUCENE-2678) TestCachingSpanFilter sometimes fails
TestCachingSpanFilter sometimes fails
-------------------------------------
Key: LUCENE-2678
URL: https://issues.apache.org/jira/browse/LUCENE-2678
Project: Lucene - Java
Issue Type: Test
Components: Search
Reporter: Simon Willnauer
Priority: Minor
Fix For: 4.0
if I run
{noformat}
ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146 -Dtests.iter=100
{noformat}
I get two failures on my machine against current trunk
{noformat}
junit-sequential:
[junit] Testsuite: org.apache.lucene.search.TestCachingSpanFilter
[junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
[junit] expected:<2> but was:<3>
[junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
[junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
[junit]
[junit]
[junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
[junit] expected:<2> but was:<3>
[junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
[junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
[junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
[junit]
[junit]
[junit] Tests run: 100, Failures: 2, Errors: 0, Time elapsed: 2.297 sec
[junit]
[junit] ------------- Standard Output ---------------
[junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
[junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
[junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=43), locale=fr, timezone=Africa/Bangui
[junit] ------------- ---------------- ---------------
[junit] Test org.apache.lucene.search.TestCachingSpanFilter FAILED
{noformat}
not sure what it is but it seems likely to be a WeakRef / GC issue in the cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2678) TestCachingSpanFilter sometimes
fails
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917019#action_12917019 ]
Michael McCandless commented on LUCENE-2678:
--------------------------------------------
We hit this same issue in TestCachingWrapperFilter... I forgot to fix TestCachingSpanFilter too. Will fix shortly.
> TestCachingSpanFilter sometimes fails
> -------------------------------------
>
> Key: LUCENE-2678
> URL: https://issues.apache.org/jira/browse/LUCENE-2678
> Project: Lucene - Java
> Issue Type: Test
> Components: Search
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
>
> if I run
> {noformat}
> ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146 -Dtests.iter=100
> {noformat}
> I get two failures on my machine against current trunk
> {noformat}
> junit-sequential:
> [junit] Testsuite: org.apache.lucene.search.TestCachingSpanFilter
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Tests run: 100, Failures: 2, Errors: 0, Time elapsed: 2.297 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=43), locale=fr, timezone=Africa/Bangui
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.search.TestCachingSpanFilter FAILED
> {noformat}
> not sure what it is but it seems likely to be a WeakRef / GC issue in the cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-2678) TestCachingSpanFilter sometimes
fails
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-2678:
------------------------------------------
Assignee: Michael McCandless
> TestCachingSpanFilter sometimes fails
> -------------------------------------
>
> Key: LUCENE-2678
> URL: https://issues.apache.org/jira/browse/LUCENE-2678
> Project: Lucene - Java
> Issue Type: Test
> Components: Search
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 4.0
>
>
> if I run
> {noformat}
> ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146 -Dtests.iter=100
> {noformat}
> I get two failures on my machine against current trunk
> {noformat}
> junit-sequential:
> [junit] Testsuite: org.apache.lucene.search.TestCachingSpanFilter
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Tests run: 100, Failures: 2, Errors: 0, Time elapsed: 2.297 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=43), locale=fr, timezone=Africa/Bangui
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.search.TestCachingSpanFilter FAILED
> {noformat}
> not sure what it is but it seems likely to be a WeakRef / GC issue in the cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-2678) TestCachingSpanFilter sometimes
fails
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2678.
----------------------------------------
Fix Version/s: 3.1
Resolution: Fixed
> TestCachingSpanFilter sometimes fails
> -------------------------------------
>
> Key: LUCENE-2678
> URL: https://issues.apache.org/jira/browse/LUCENE-2678
> Project: Lucene - Java
> Issue Type: Test
> Components: Search
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
>
> if I run
> {noformat}
> ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146 -Dtests.iter=100
> {noformat}
> I get two failures on my machine against current trunk
> {noformat}
> junit-sequential:
> [junit] Testsuite: org.apache.lucene.search.TestCachingSpanFilter
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Tests run: 100, Failures: 2, Errors: 0, Time elapsed: 2.297 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=43), locale=fr, timezone=Africa/Bangui
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.search.TestCachingSpanFilter FAILED
> {noformat}
> not sure what it is but it seems likely to be a WeakRef / GC issue in the cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2678) TestCachingSpanFilter sometimes
fails
Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917160#action_12917160 ]
Simon Willnauer commented on LUCENE-2678:
-----------------------------------------
awesome - thanks mike
> TestCachingSpanFilter sometimes fails
> -------------------------------------
>
> Key: LUCENE-2678
> URL: https://issues.apache.org/jira/browse/LUCENE-2678
> Project: Lucene - Java
> Issue Type: Test
> Components: Search
> Reporter: Simon Willnauer
> Assignee: Michael McCandless
> Priority: Minor
> Fix For: 3.1, 4.0
>
>
> if I run
> {noformat}
> ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146 -Dtests.iter=100
> {noformat}
> I get two failures on my machine against current trunk
> {noformat}
> junit-sequential:
> [junit] Testsuite: org.apache.lucene.search.TestCachingSpanFilter
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Testcase: testEnforceDeletions(org.apache.lucene.search.TestCachingSpanFilter): FAILED
> [junit] expected:<2> but was:<3>
> [junit] junit.framework.AssertionFailedError: expected:<2> but was:<3>
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.search.TestCachingSpanFilter.testEnforceDeletions(TestCachingSpanFilter.java:101)
> [junit]
> [junit]
> [junit] Tests run: 100, Failures: 2, Errors: 0, Time elapsed: 2.297 sec
> [junit]
> [junit] ------------- Standard Output ---------------
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: reproduce with: ant test -Dtestcase=TestCachingSpanFilter -Dtestmethod=testEnforceDeletions -Dtests.seed=5015158121350221714:-3342860915127740146
> [junit] NOTE: test params are: codec=MockVariableIntBlock(baseBlockSize=43), locale=fr, timezone=Africa/Bangui
> [junit] ------------- ---------------- ---------------
> [junit] Test org.apache.lucene.search.TestCachingSpanFilter FAILED
> {noformat}
> not sure what it is but it seems likely to be a WeakRef / GC issue in the cache.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org