cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13414) circle.yml: parallelize tests and install word list
Date Wed, 05 Apr 2017 16:05:41 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957110#comment-15957110
] 

Michael Shuler commented on CASSANDRA-13414:
--------------------------------------------

My trunk test failed with 2 runners:
{noformat}
Failing command: ant test -Dtest.runners=2
Exit code: -1
Output:

   [junit] 
    [junit] Testsuite: org.apache.cassandra.dht.RangeTest
    [junit] Testsuite: org.apache.cassandra.dht.SplitterTest
    [junit] Testsuite: org.apache.cassandra.dht.RangeTest Tests run: 28, Failures: 0, Errors:
0, Skipped: 0, Time elapsed: 24.559 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.dht.StreamStateStoreTest
    [junit] Testsuite: org.apache.cassandra.dht.StreamStateStoreTest Tests run: 1, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 5.841 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:210
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:210
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:210
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:210
    [junit] Testsuite: org.apache.cassandra.gms.ArrayBackedBoundedStatsTest
    [junit] Testsuite: org.apache.cassandra.gms.ArrayBackedBoundedStatsTest Tests run: 2,
Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.dht.SplitterTest Tests run: 4, Failures: 0, Errors:
0, Skipped: 0, Time elapsed: 33.766 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.gms.ArrivalWindowTest
    [junit] Testsuite: org.apache.cassandra.gms.ArrivalWindowTest Tests run: 1, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 0.939 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.gms.EndpointStateTest
    [junit] Testsuite: org.apache.cassandra.gms.FailureDetectorTest
    [junit] Testsuite: org.apache.cassandra.gms.FailureDetectorTest Tests run: 1, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 6.804 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:214
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:214
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:214
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:214
    [junit] Testsuite: org.apache.cassandra.gms.EndpointStateTest Tests run: 2, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 7.87 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.gms.GossipDigestTest
    [junit] Testsuite: org.apache.cassandra.gms.GossipDigestTest Tests run: 1, Failures: 0,
Errors: 0, Skipped: 0, Time elapsed: 0.378 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.gms.PendingRangeCalculatorServiceTest
    [junit] Testsuite: org.apache.cassandra.gms.GossiperTest
    [junit] Testsuite: org.apache.cassandra.gms.GossiperTest Tests run: 1, Failures: 0, Errors:
0, Skipped: 0, Time elapsed: 4.59 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:216
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:216
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:216
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:216
    [junit] Testsuite: org.apache.cassandra.gms.SerializationsTest
    [junit] Testsuite: org.apache.cassandra.gms.SerializationsTest Tests run: 2, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 4.865 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.gms.PendingRangeCalculatorServiceTest Tests run:
1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.558 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.gms.ShadowRoundTest
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:217
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:217
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:217
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:217
    [junit] Testsuite: org.apache.cassandra.hints.ChecksummedDataInputTest
    [junit] Testsuite: org.apache.cassandra.hints.ChecksummedDataInputTest Tests run: 3, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 5.175 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.hints.HintMessageTest
    [junit] Testsuite: org.apache.cassandra.gms.ShadowRoundTest Tests run: 1, Failures: 0,
Errors: 0, Skipped: 0, Time elapsed: 12.446 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:219
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:219
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:219
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:219
    [junit] Testsuite: org.apache.cassandra.hints.HintTest
    [junit] Testsuite: org.apache.cassandra.hints.HintMessageTest Tests run: 1, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 7.592 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:221
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:221
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:221
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:221
    [junit] Testsuite: org.apache.cassandra.hints.HintsBufferPoolTest
    [junit] Testsuite: org.apache.cassandra.hints.HintTest Tests run: 7, Failures: 0, Errors:
0, Skipped: 0, Time elapsed: 18.499 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:222
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:222
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:222
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:222
    [junit] Testsuite: org.apache.cassandra.hints.HintsBufferPoolTest Tests run: 1, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 15.46 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.hints.HintsBufferTest
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:223
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:223
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:223
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:223
    [junit] Testsuite: org.apache.cassandra.hints.HintsCatalogTest
    [junit] Testsuite: org.apache.cassandra.hints.HintsCatalogTest Tests run: 2, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 2.109 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.hints.HintsCompressionTest
    [junit] Testsuite: org.apache.cassandra.hints.HintsBufferTest Tests run: 2, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 28.429 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:224
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:224
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:224
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:224
    [junit] Testsuite: org.apache.cassandra.hints.HintsDescriptorTest
    [junit] Testsuite: org.apache.cassandra.hints.HintsDescriptorTest Tests run: 4, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 2.768 sec
    [junit] 
    [junit] Testsuite: org.apache.cassandra.hints.HintsEncryptionTest
    [junit] Testsuite: org.apache.cassandra.hints.HintsCompressionTest Tests run: 3, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 33.047 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:226
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:226
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:226
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:226
    [junit] Testsuite: org.apache.cassandra.hints.HintsServiceTest
    [junit] Testsuite: org.apache.cassandra.hints.HintsEncryptionTest Tests run: 1, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 19.316 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:228
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:228
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:228
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:228
    [junit] Testsuite: org.apache.cassandra.index.CustomIndexTest
    [junit] Testsuite: org.apache.cassandra.index.CustomIndexTest Tests run: 28, Failures:
0, Errors: 0, Skipped: 0, Time elapsed: 47.415 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:230
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:230
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:230
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:230
    [junit] Testsuite: org.apache.cassandra.index.internal.CassandraIndexTest
    [junit] Testsuite: org.apache.cassandra.index.internal.CassandraIndexTest Tests run: 27,
Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.108 sec
    [junit] 
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/commitlog:231
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/data:231
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/saved_caches:231
   [delete] Deleting directory /home/ubuntu/cassandra/build/test/cassandra/hints:231
    [junit] Testsuite: org.apache.cassandra.index.sasi.SASIIndexTest

ant test -Dtest.runners=2 died unexpectedly
{noformat}

> circle.yml: parallelize tests and install word list
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13414
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13414
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Michael Shuler
>            Assignee: Michael Shuler
>            Priority: Minor
>             Fix For: 4.0, 2.1.x, 2.2.x, 3.0.x, 3.11.x
>
>         Attachments: 0001-Parallelize-tests-and-install-word-list-in-circleci.patch
>
>
> - Run 2 test runners, since circleci container has 2 vCPUs.
> - o.a.c.utils.BitSetTest.compareBitSets fails in 2.1 and is skipped in later branches
when test word list is unavailable.
> I verified that compareBitSets passes again in a 2.1 run, and I have a trunk test with
2 runners in progress. Will check run time, when that has completed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message