You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2016/05/03 04:00:17 UTC

[jira] [Comment Edited] (CASSANDRA-11701) [windows] dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_reading_with_skip_and_max_rows

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

Stefania edited comment on CASSANDRA-11701 at 5/3/16 2:00 AM:
--------------------------------------------------------------

It seems there was an exception in {{write_rows_to_csv}} that caused {{init_feeding_thread}} to be called simultaneously by 2 threads. This method should be protected by a lock, here is the patch:

||2.1||2.2||3.0||trunk||
|[patch|https://github.com/stef1927/cassandra/commits/11701-2.1]|[patch|https://github.com/stef1927/cassandra/commits/11701-2.2]|[patch|https://github.com/stef1927/cassandra/commits/11701-3.0]|[patch|https://github.com/stef1927/cassandra/commits/11701]|
|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-2.1-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-2.2-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-3.0-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-dtest/]|

The 2.1 patch merges upwards without conflicts.

After protecting this method, we should be able to see what the initial exception was, [~rhatch] are you able to run this test a few times on Windows with the trunk patch applied?


was (Author: stefania):
It seems there was an exception in {{write_rows_to_csv}} that caused {{init_feeding_thread}} to be called simultaneously by 2 threads. This method should be protected by a lock, here is the patch:

||2.1||2.2||3.0||trunk||
|[patch|https://github.com/stef1927/cassandra/commits/11701-2.1]|[patch|https://github.com/stef1927/cassandra/commits/11701-2.2]|[patch|https://github.com/stef1927/cassandra/commits/11701-3.0]|[patch|https://github.com/stef1927/cassandra/commits/11701]|
|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-2.1-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-2.2-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-3.0-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-11701-dtest/]|

The 2.1 patch merges upwards without conflicts.

After protecting this method, we should be able to see what the initial exception was, [~rhatch] are you able to run this test a few times on Windows with the patch applied?

> [windows] dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_reading_with_skip_and_max_rows
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11701
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11701
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Russ Hatch
>            Assignee: Stefania
>              Labels: dtest, windows
>
> looks to be an assertion problem, so could be test or cassandra related:
> e.g.:
> {noformat}
> 10000 != 331
> {noformat}
> http://cassci.datastax.com/job/trunk_dtest_win32/404/testReport/cqlsh_tests.cqlsh_copy_tests/CqlshCopyTest/test_reading_with_skip_and_max_rows
> Failed on CassCI build trunk_dtest_win32 #404



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