cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13576) test failure in bootstrap_test.TestBootstrap.consistent_range_movement_false_with_rf1_should_succeed_test
Date Fri, 07 Jul 2017 14:50:00 GMT

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

Alex Petrov commented on CASSANDRA-13576:
-----------------------------------------

Was looking through the failing tests, only now found there's an issue open for this one.


It seems that it might be enough to just disable the optimisation for the cases when {{rf=1}}
(to basically fall back to previous behaviour, as the patch was changing only [rangeFetchMap|https://github.com/apache/cassandra/commit/bf911cc6a852f9ef068318a3545611d9daa5112c#diff-fad052638059f53b1a6d479dbd05f2f2L180]).
I've checked [CASSANDRA-4650] and it looks like it is useful for cases when N >= 3 anyways.

CI results look good (with an exception of an unrelated issue that is also failing on trunk):


|[trunk|https://github.com/apache/cassandra/compare/trunk...ifesdjeen:13576-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-13576-trunk-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/ifesdjeen/job/ifesdjeen-13576-trunk-dtest/]|

[~krummas] would you be able to take a look at the patch given you've been also working on
#4650 and know the context very good?

> test failure in bootstrap_test.TestBootstrap.consistent_range_movement_false_with_rf1_should_succeed_test
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13576
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13576
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Michael Hamm
>            Assignee: ZhaoYang
>              Labels: dtest, test-failure
>         Attachments: node1_debug.log, node1_gc.log, node1.log, node2_debug.log, node2_gc.log,
node2.log, node3_debug.log, node3_gc.log, node3.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_offheap_dtest/445/testReport/bootstrap_test/TestBootstrap/consistent_range_movement_false_with_rf1_should_succeed_test
> {noformat}
> Error Message
> 31 May 2017 04:28:09 [node3] Missing: ['Starting listening for CQL clients']:
> INFO  [main] 2017-05-31 04:18:01,615 YamlConfigura.....
> See system.log for remainder
> {noformat}
> {noformat}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/bootstrap_test.py", line 236, in consistent_range_movement_false_with_rf1_should_succeed_test
>     self._bootstrap_test_with_replica_down(False, rf=1)
>   File "/home/automaton/cassandra-dtest/bootstrap_test.py", line 278, in _bootstrap_test_with_replica_down
>     jvm_args=["-Dcassandra.consistent.rangemovement={}".format(consistent_range_movement)])
>   File "/home/automaton/venv/local/lib/python2.7/site-packages/ccmlib/node.py", line
696, in start
>     self.wait_for_binary_interface(from_mark=self.mark)
>   File "/home/automaton/venv/local/lib/python2.7/site-packages/ccmlib/node.py", line
514, in wait_for_binary_interface
>     self.watch_log_for("Starting listening for CQL clients", **kwargs)
>   File "/home/automaton/venv/local/lib/python2.7/site-packages/ccmlib/node.py", line
471, in watch_log_for
>     raise TimeoutError(time.strftime("%d %b %Y %H:%M:%S", time.gmtime()) + " [" + self.name
+ "] Missing: " + str([e.pattern for e in tofind]) + ":\n" + reads[:50] + ".....\nSee {} for
remainder".format(filename))
> "31 May 2017 04:28:09 [node3] Missing: ['Starting listening for CQL clients']:\nINFO
 [main] 2017-05-31 04:18:01,615 YamlConfigura.....\n
> {noformat}
> {noformat}
> -------------------- >> begin captured logging << --------------------\ndtest:
DEBUG: cluster ccm directory: /tmp/dtest-PKphwD\ndtest: DEBUG: Done setting configuration
options:\n{   'initial_token': None,\n    'memtable_allocation_type': 'offheap_objects',\n
   'num_tokens': '32',\n    'phi_convict_threshold': 5,\n    'range_request_timeout_in_ms':
10000,\n    'read_request_timeout_in_ms': 10000,\n    'request_timeout_in_ms': 10000,\n  
 'truncate_request_timeout_in_ms': 10000,\n    'write_request_timeout_in_ms': 10000}\ncassandra.policies:
INFO: Using datacenter 'datacenter1' for DCAwareRoundRobinPolicy (via host '127.0.0.1'); if
incorrect, please specify a local_dc to the constructor, or limit contact points to local
cluster nodes\ncassandra.cluster: INFO: New Cassandra host <Host: 127.0.0.2 datacenter1>
discovered\ncassandra.protocol: WARNING: Server warning: When increasing replication factor
you need to run a full (-full) repair to distribute the data.\ncassandra.connection: WARNING:
Heartbeat failed for connection (139927174110160) to 127.0.0.2\ncassandra.cluster: WARNING:
Host 127.0.0.2 has been marked down\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 2.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 4.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 8.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 16.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 32.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 64.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 128.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 256.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\ncassandra.pool: WARNING: Error attempting to reconnect
to 127.0.0.2, scheduling retry in 512.0 seconds: [Errno 111] Tried connecting to [('127.0.0.2',
9042)]. Last error: Connection refused\n--------------------- >> end captured logging
<< ---------------------"
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message