Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB75F10604 for ; Sun, 3 May 2015 16:15:06 +0000 (UTC) Received: (qmail 88197 invoked by uid 500); 3 May 2015 16:15:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 88149 invoked by uid 500); 3 May 2015 16:15:06 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 88137 invoked by uid 99); 3 May 2015 16:15:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2015 16:15:06 +0000 Date: Sun, 3 May 2015 16:15:06 +0000 (UTC) From: "Alan Boudreault (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9171) Add deletions to paging dtests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525891#comment-14525891 ] Alan Boudreault commented on CASSANDRA-9171: -------------------------------------------- Tentative PR for these new tests: https://github.com/riptano/cassandra-dtest/pull/253 I have an issue with the last test (test_failure_threshold_deletions), not sure why yet... will investigate more tomorrow. Here's the traceback: {code} aboudreault@kovarro:~/git/cstar/cassandra-dtest$ nosetests paging_test.py:TestPagingWithDeletions.test_failure_threshold_deletions E ====================================================================== ERROR: test_failure_threshold_deletions (paging_test.TestPagingWithDeletions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 1255, in test_failure_threshold_deletions NoHostAvailable, self.check_all_paging_results, [], 0, [] File "/usr/lib/python2.7/unittest/case.py", line 475, in assertRaises callableObj(*args, **kwargs) File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 998, in check_all_paging_results pf = self.get_page_fetcher() File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 989, in get_page_fetcher return PageFetcher(future) File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 57, in __init__ self.wait(seconds=30) File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 117, in wait raise RuntimeError("Requested pages were not delivered before timeout.") RuntimeError: Requested pages were not delivered before timeout. -------------------- >> begin captured logging << -------------------- dtest: DEBUG: cluster ccm directory: /tmp/dtest-QEhCUV cassandra.cluster: ERROR: Unexpected exception while handling result in ResponseFuture: Traceback (most recent call last): File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2807, in _set_result self._set_final_exception(response.to_exception()) File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2901, in _set_final_exception fn(response, *args, **kwargs) File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 75, in handle_error raise exc ReadTimeout: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0 responses." info={'received_responses': 0, 'required_responses': 2, 'consistency': 'ALL'} cassandra.connection: ERROR: Callback handler errored, ignoring: Traceback (most recent call last): File "/home/aboudreault/git/cstar/python-driver/cassandra/connection.py", line 446, in process_msg callback(response) File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2832, in _set_result self._set_final_exception(exc) File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2901, in _set_final_exception fn(response, *args, **kwargs) File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 75, in handle_error raise exc ReadTimeout: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0 responses." info={'received_responses': 0, 'required_responses': 2, 'consistency': 'ALL'} --------------------- >> end captured logging << --------------------- {/code} The code fails even with a higher timeout (tried 90,200...). at this line: self.wait(seconds=30) > Add deletions to paging dtests > ------------------------------ > > Key: CASSANDRA-9171 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9171 > Project: Cassandra > Issue Type: Test > Components: Tests > Reporter: Tyler Hobbs > Assignee: Alan Boudreault > Labels: retrospective_generated > > Deletions can easily impact paging (see CASSANDRA-8490 for an example). We should improve the paging dtests to include various kinds of deletions: partition-level, row-level, and cell-level. The tests should also exercise deleting enough contiguous partitions/rows/levels to fill an entire page. > Assigning to [~rhatch] for now since he created the original paging tests, but I can reassign this if needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)