[
https://issues.apache.org/jira/browse/CASSANDRA-12616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15470991#comment-15470991
]
Sean McCarthy edited comment on CASSANDRA-12616 at 9/7/16 5:14 PM:
-------------------------------------------------------------------
Tangentially, I came across this error. It seems to be caused by:
https://github.com/riptano/cassandra-dtest/blob/master/upgrade_supercolumns_test.py#L57
I've followed it to
here:https://github.com/datastax/python-driver/blob/master/cassandra/cluster.py#L1119
Still unsure whats causing this.
was (Author: sean.mccarthy):
Tangentially, I came across this error. It seems to be caused by:
https://github.com/riptano/cassandra-dtest/blob/master/upgrade_supercolumns_test.py#L57
Digging deeper I've found the error is being raised when dtest tries to connect
to the cluster, here:
https://github.com/riptano/cassandra-dtest/blob/master/dtest.py#L485
I've follow it to
here:https://github.com/datastax/python-driver/blob/master/cassandra/cluster.py#L1119
Still unsure whats causing this.
> dtest failure in
> upgrade_supercolumns_test.TestSCUpgrade.upgrade_with_index_creation_test
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12616
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12616
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: DS Test Eng
> Labels: dtest
> Attachments: node1.log, node2.log
>
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.1_dtest/506/testReport/upgrade_supercolumns_test/TestSCUpgrade/upgrade_with_index_creation_test
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/upgrade_supercolumns_test.py", line
> 54, in upgrade_with_index_creation_test
> session = self.patient_exclusive_cql_connection(node1)
> File "/home/automaton/cassandra-dtest/dtest.py", line 551, in
> patient_exclusive_cql_connection
> bypassed_exception=NoHostAvailable
> File "/home/automaton/cassandra-dtest/dtest.py", line 198, in
> retry_till_success
> return fun(*args, **kwargs)
> File "/home/automaton/cassandra-dtest/dtest.py", line 466, in
> exclusive_cql_connection
> protocol_version, wlrr, port=port, ssl_opts=ssl_opts)
> File "/home/automaton/cassandra-dtest/dtest.py", line 485, in
> _create_session
> session = cluster.connect(wait_for_all_pools=True)
> File "cassandra/cluster.py", line 1156, in
> cassandra.cluster.Cluster.connect (cassandra/cluster.c:17387)
> with self._lock:
> File "cassandra/cluster.py", line 1189, in
> cassandra.cluster.Cluster.connect (cassandra/cluster.c:17208)
> raise
> File "cassandra/cluster.py", line 1176, in
> cassandra.cluster.Cluster.connect (cassandra/cluster.c:16911)
> self.control_connection.connect()
> File "cassandra/cluster.py", line 2521, in
> cassandra.cluster.ControlConnection.connect (cassandra/cluster.c:45182)
> self._set_new_connection(self._reconnect_internal())
> File "cassandra/cluster.py", line 2558, in
> cassandra.cluster.ControlConnection._reconnect_internal
> (cassandra/cluster.c:46079)
> raise NoHostAvailable("Unable to connect to any servers", errors)
> '(\'Unable to connect to any servers\', {\'127.0.0.1\':
> ConnectionException(\'Failed to initialize new connection to 127.0.0.1: Error
> from server: code=0000 [Server error]
> message="java.lang.ArrayIndexOutOfBoundsException: 4"\',)})
> {code}
> Related failure:
> http://cassci.datastax.com/job/cassandra-2.1_dtest/506/testReport/upgrade_supercolumns_test/TestSCUpgrade/upgrade_with_counters_test/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)