You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Allen (Created) (JIRA)" <ji...@apache.org> on 2012/02/02 19:06:54 UTC

[jira] [Created] (CASSANDRA-3841) long-test timing out

long-test timing out
--------------------

                 Key: CASSANDRA-3841
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
             Project: Cassandra
          Issue Type: Bug
          Components: Tests
    Affects Versions: 1.1
            Reporter: Michael Allen
            Priority: Minor
             Fix For: 1.1


    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
    [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] 
    [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	Caused an ERROR
    [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
    [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
    [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
    [junit] 

BUILD FAILED
/Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
/Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.

Total time: 63 minutes 9 seconds


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CASSANDRA-3841) long-test timing out

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

Jonathan Ellis reassigned CASSANDRA-3841:
-----------------------------------------

    Assignee: Jason Brown  (was: David Alves)
    
> long-test timing out
> --------------------
>
>                 Key: CASSANDRA-3841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Michael Allen
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 1.1.5
>
>
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	Caused an ERROR
>     [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
>     [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
>     [junit] 
>     [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
>     [junit] 
> BUILD FAILED
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.
> Total time: 63 minutes 9 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CASSANDRA-3841) long-test timing out

Posted by "Jason Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457607#comment-13457607 ] 

Jason Brown edited comment on CASSANDRA-3841 at 9/18/12 4:18 PM:
-----------------------------------------------------------------

I was able to reproduce the originally reported error - it was just the junit test timing out. The previous time limit was 300000 ms (5 minutes), and I increased it to 600000 ms (10 minutes).

However, I was not able to reproduce Jonathan's reported problems, even after executing a run of all the individual tests:

{code}for i in LongTableTest MeteredFlusherTest LongCompactionSpeedTest LongBloomFilterTest LongLegacyBloomFilterTest; \
do ant clean long-test -Dtest.name=$i; done{code}
                
      was (Author: jasobrown):
    I was able to reproduce the originally reported error - it was just the junit test timing out. The previous time limit was 300000 ms (5 minutes), and I increased it to 600000 ms (10 minutes).

However, I was not able to reproduce Jonathan's reported problems, even after executing a run of all the individual tests:

for i in LongTableTest MeteredFlusherTest LongCompactionSpeedTest LongBloomFilterTest LongLegacyBloomFilterTest; do ant clean long-test -Dtest.name=$i; done
                  
> long-test timing out
> --------------------
>
>                 Key: CASSANDRA-3841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Michael Allen
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 1.1.6
>
>         Attachments: 0001-CASSANDRA-3841-long-test-timing-out.patch
>
>
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	Caused an ERROR
>     [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
>     [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
>     [junit] 
>     [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
>     [junit] 
> BUILD FAILED
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.
> Total time: 63 minutes 9 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-3841) long-test timing out

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

Jason Brown updated CASSANDRA-3841:
-----------------------------------

    Attachment: 0001-CASSANDRA-3841-long-test-timing-out.patch

I was able to reproduce the originally reported error - it was just the junit test timing out. The previous time limit was 300000 ms (5 minutes), and I increased it to 600000 ms (10 minutes).

However, I was not able to reproduce Jonathan's reported problems, even after executing a run of all the individual tests:

for i in LongTableTest MeteredFlusherTest LongCompactionSpeedTest LongBloomFilterTest LongLegacyBloomFilterTest; do ant clean long-test -Dtest.name=$i; done
                
> long-test timing out
> --------------------
>
>                 Key: CASSANDRA-3841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Michael Allen
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 1.1.6
>
>         Attachments: 0001-CASSANDRA-3841-long-test-timing-out.patch
>
>
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	Caused an ERROR
>     [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
>     [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
>     [junit] 
>     [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
>     [junit] 
> BUILD FAILED
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.
> Total time: 63 minutes 9 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-3841) long-test timing out

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

Jonathan Ellis updated CASSANDRA-3841:
--------------------------------------

    Fix Version/s:     (was: 1.1.3)
                   1.1.4
         Assignee: David Alves
    
> long-test timing out
> --------------------
>
>                 Key: CASSANDRA-3841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Michael Allen
>            Assignee: David Alves
>            Priority: Minor
>             Fix For: 1.1.4
>
>
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	Caused an ERROR
>     [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
>     [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
>     [junit] 
>     [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
>     [junit] 
> BUILD FAILED
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.
> Total time: 63 minutes 9 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3841) long-test timing out

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199389#comment-13199389 ] 

Jonathan Ellis commented on CASSANDRA-3841:
-------------------------------------------

I see LCST fail as well when run as part of the full long-test suite.  When I run just LCST I get this:

{noformat}
$ ant clean long-test -Dtest.name=LongCompactionSpeedTest
...
    [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 20.981 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] org.apache.cassandra.db.compaction.LongCompactionSpeedTest: sstables=2 rowsper=1 colsper=200000: 992 ms
    [junit] org.apache.cassandra.db.compaction.LongCompactionSpeedTest: sstables=2 rowsper=200000 colsper=1: 4383 ms
    [junit] org.apache.cassandra.db.compaction.LongCompactionSpeedTest: sstables=100 rowsper=800 colsper=5: 807 ms
    [junit] ------------- ---------------- ---------------

BUILD FAILED
/home/notroot/cassandra/build.xml:1075: Problem: failed to create task or type jvmarg
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
{noformat}

I think this means that
* LCST passes in isolation, but something isn't getting cleaned up from the prior test (MeteredFlusherTest) that causes it to timeout in the full suite
* There is some ant problem with -Dtest.name in conjunction with long-test
                
> long-test timing out
> --------------------
>
>                 Key: CASSANDRA-3841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1
>            Reporter: Michael Allen
>            Priority: Minor
>             Fix For: 1.1
>
>
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	Caused an ERROR
>     [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
>     [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
>     [junit] 
>     [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
>     [junit] 
> BUILD FAILED
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.
> Total time: 63 minutes 9 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira