[jira] [Commented] (CASSANDRA-11711) testJsonThreadSafety is failing / flapping

2016-05-28 Thread Alex Petrov (JIRA)

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

Alex Petrov commented on CASSANDRA-11711:
-

I agree that it looks rather like the test and code underneath is correct and 
the error (in my experience occurs more when there're many concurrent jobs 
running, which results into timeouts). I also couldn't reproduce it locally no 
matter how many times I ran it, increasing number of iterations and so didn't 
break it, too. 

I've triggered a job which ran a build several times and all runs of this test 
were clean.

+1

> testJsonThreadSafety is failing / flapping
> --
>
> Key: CASSANDRA-11711
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11711
> Project: Cassandra
>  Issue Type: Bug
>  Components: Testing
>Reporter: Alex Petrov
>Assignee: Tyler Hobbs
>Priority: Minor
> Fix For: 2.2.x, 3.0.x, 3.x
>
>
> {{JsonTest::testJsonThreadSafety}} is failing quite often recently: 
> https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11540-2.2-testall/lastCompletedBuild/testReport/org.apache.cassandra.cql3.validation.entities/JsonTest/testJsonThreadSafety/
> Output looks like 
> {code}
> Stacktrace
> java.util.concurrent.TimeoutException
>   at java.util.concurrent.FutureTask.get(FutureTask.java:201)
>   at 
> org.apache.cassandra.cql3.validation.entities.JsonTest.testJsonThreadSafety(JsonTest.java:1028)
> WARN  12:19:23 Small commitlog volume detected at 
> build/test/cassandra/commitlog:30; setting commitlog_total_space_in_mb to 
> 1982.  You can override this in cassandra.yaml
> WARN  12:19:23 Small commitlog volume detected at 
> build/test/cassandra/commitlog:30; setting commitlog_total_space_in_mb to 
> 1982.  You can override this in cassandra.yaml
> WARN  12:19:23 Only 5581 MB free across all data volumes. Consider adding 
> more capacity to your cluster or removing obsolete snapshots
> WARN  12:19:23 Only 5581 MB free across all data volumes. Consider adding 
> more capacity to your cluster or removing obsolete snapshots
> WARN  12:19:26 Aggregation query used without partition key
> WARN  12:19:26 Aggregation query used without partition key
> WARN  12:19:26 Aggregation query used without partition key
> WARN  12:19:26 Aggregation query used without partition key
> Seed 889742091470
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11711) testJsonThreadSafety is failing / flapping

2016-05-26 Thread Tyler Hobbs (JIRA)

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

Tyler Hobbs commented on CASSANDRA-11711:
-

I think reducing the number of rows and increasing the timeouts should be 
sufficient.  I'm only posting a 2.2 patch and testall run here since this only 
affects the test, and merges upward should be trivial:

||branch||testall||
|[CASSANDRA-11711|https://github.com/thobbs/cassandra/tree/CASSANDRA-11711]|[testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11711-testall]|

[~ifesdjeen] do you mind reviewing?

> testJsonThreadSafety is failing / flapping
> --
>
> Key: CASSANDRA-11711
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11711
> Project: Cassandra
>  Issue Type: Bug
>  Components: Testing
>Reporter: Alex Petrov
>Assignee: Tyler Hobbs
>Priority: Minor
> Fix For: 2.2.x, 3.0.x, 3.x
>
>
> {{JsonTest::testJsonThreadSafety}} is failing quite often recently: 
> https://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-11540-2.2-testall/lastCompletedBuild/testReport/org.apache.cassandra.cql3.validation.entities/JsonTest/testJsonThreadSafety/
> Output looks like 
> {code}
> Stacktrace
> java.util.concurrent.TimeoutException
>   at java.util.concurrent.FutureTask.get(FutureTask.java:201)
>   at 
> org.apache.cassandra.cql3.validation.entities.JsonTest.testJsonThreadSafety(JsonTest.java:1028)
> WARN  12:19:23 Small commitlog volume detected at 
> build/test/cassandra/commitlog:30; setting commitlog_total_space_in_mb to 
> 1982.  You can override this in cassandra.yaml
> WARN  12:19:23 Small commitlog volume detected at 
> build/test/cassandra/commitlog:30; setting commitlog_total_space_in_mb to 
> 1982.  You can override this in cassandra.yaml
> WARN  12:19:23 Only 5581 MB free across all data volumes. Consider adding 
> more capacity to your cluster or removing obsolete snapshots
> WARN  12:19:23 Only 5581 MB free across all data volumes. Consider adding 
> more capacity to your cluster or removing obsolete snapshots
> WARN  12:19:26 Aggregation query used without partition key
> WARN  12:19:26 Aggregation query used without partition key
> WARN  12:19:26 Aggregation query used without partition key
> WARN  12:19:26 Aggregation query used without partition key
> Seed 889742091470
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)