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/23 14:10:19 UTC

[jira] Created: (LUCENE-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
---------------------------------------------------------------

                 Key: LUCENE-2721
                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
             Project: Lucene - Java
          Issue Type: Test
          Components: Index
    Affects Versions: CSF branch, 4.0
            Reporter: Simon Willnauer


I am seeing this on trunk  

{noformat}

[junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
    [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
    [junit] expected:<2> but was:<1>
    [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
    [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
    [junit] 
    [junit] 
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
    [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestSizeBoundedOptimize]
    [junit] ------------- ---------------- ---------------
    [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
{noformat}

when running with this seed
ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924213#action_12924213 ] 

Robert Muir commented on LUCENE-2721:
-------------------------------------

I don't think my comment was ambiguous.

most tests don't care about this stuff

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Shai Erera
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924184#action_12924184 ] 

Shai Erera commented on LUCENE-2721:
------------------------------------

I'm checking it

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924196#action_12924196 ] 

Shai Erera commented on LUCENE-2721:
------------------------------------

What do you mean? If maxBufDocs is set low enough (as in this case), the tests that rely on the segments size as committed by them would fail. In fact, all tests care - if I rely on a segment size to be 3, and set maxMergeDocs to 2, but because of randomness there were 2 segments of size 2 + 1, then the test would fail.

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera resolved LUCENE-2721.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.1
         Assignee: Shai Erera  (was: Simon Willnauer)
    Lucene Fields: [New, Patch Available]  (was: [New])

Committed revision 1026614 (3x).
Committed revision 1026615 (trunk).

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Shai Erera
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924186#action_12924186 ] 

Shai Erera commented on LUCENE-2721:
------------------------------------

Found it - the randomness set maxBufferedDocs too small, so smaller segments were created than the test anticipated. I'll post an update soon.

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924214#action_12924214 ] 

Shai Erera commented on LUCENE-2721:
------------------------------------

What do you mean by 'most test'? Most test classes in Lucene, or most test cases in TestSizeBoundedOptimize? The test cases in the latter (where this 'wiring' was done) do care.

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Shai Erera
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924194#action_12924194 ] 

Simon Willnauer commented on LUCENE-2721:
-----------------------------------------

LGTM :) thx

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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] Updated: (LUCENE-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-2721:
------------------------------------

    Attachment: LUCENE-2721.patch

here is a patch

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer reassigned LUCENE-2721:
---------------------------------------

    Assignee: Simon Willnauer

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924195#action_12924195 ] 

Robert Muir commented on LUCENE-2721:
-------------------------------------

I don't like wiring this stuff for all tests.

most tests don't care

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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] Updated: (LUCENE-2721) Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge

Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera updated LUCENE-2721:
-------------------------------

    Attachment: LUCENE-2721.patch

Simon, looks like we were working on it in parallel :).

The patch you added only takes care of that particular test case. This patch ensures all test cases won't be hit by this randomness problem, by ensuring IWC is not configured to flush by num docs or small RAM buffer size.

Patch is against 3x, I'll port to trunk after I commit.

> Random Failure TestSizeBoundedOptimize#testFirstSegmentTooLarge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2721
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Index
>    Affects Versions: CSF branch, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>         Attachments: LUCENE-2721.patch, LUCENE-2721.patch
>
>
> I am seeing this on trunk  
> {noformat}
> [junit] Testsuite: org.apache.lucene.index.TestSizeBoundedOptimize
>     [junit] Testcase: testFirstSegmentTooLarge(org.apache.lucene.index.TestSizeBoundedOptimize):	FAILED
>     [junit] expected:<2> but was:<1>
>     [junit] junit.framework.AssertionFailedError: expected:<2> but was:<1>
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:882)
>     [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:848)
>     [junit] 	at org.apache.lucene.index.TestSizeBoundedOptimize.testFirstSegmentTooLarge(TestSizeBoundedOptimize.java:160)
>     [junit] 
>     [junit] 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.658 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] NOTE: reproduce with: ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3
>     [junit] NOTE: test params are: codec=Standard, locale=sv_SE, timezone=Mexico/BajaNorte
>     [junit] ------------- ---------------- ---------------
>     [junit] ------------- Standard Error -----------------
>     [junit] NOTE: all tests run in this JVM:
>     [junit] [TestSizeBoundedOptimize]
>     [junit] ------------- ---------------- ---------------
>     [junit] Test org.apache.lucene.index.TestSizeBoundedOptimize FAILED
> {noformat}
> when running with this seed
> ant test -Dtestcase=TestSizeBoundedOptimize -Dtestmethod=testFirstSegmentTooLarge -Dtests.seed=7354441978302993522:-457602792543755447 -Dtests.multiplier=3

-- 
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