You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Philip Thompson (JIRA)" <ji...@apache.org> on 2016/07/05 20:13:11 UTC

[jira] [Commented] (CASSANDRA-11951) dtest failure in user_functions_test.TestUserFunctions.test_migration

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

Philip Thompson commented on CASSANDRA-11951:
---------------------------------------------

[~aholmber], If we create two sessions, issue a {{CREATE KEYSPACE ks}} on one, and then serially a {{USE ks}} in the second session, in a single-threaded environment, should we expect to always find {{ks}} in session2? They are exclusively connected to separate nodes in the cluster, using a whitelist policy.

> dtest failure in user_functions_test.TestUserFunctions.test_migration
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-11951
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11951
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: DS Test Eng
>              Labels: dtest
>         Attachments: node1.log, node1_debug.log, node2.log, node2_debug.log, node3.log, node3_debug.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_offheap_dtest/234/testReport/user_functions_test/TestUserFunctions/test_migration
> Failed on CassCI build trunk_offheap_dtest #234
> Logs are attached.
> {code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/user_functions_test.py", line 50, in test_migration
>     session2.execute("use ks")
>   File "cassandra/cluster.py", line 1706, in cassandra.cluster.Session.execute (cassandra/cluster.c:28532)
>     return self.execute_async(query, parameters, trace, custom_payload, timeout).result()
>   File "cassandra/cluster.py", line 3339, in cassandra.cluster.ResponseFuture.result (cassandra/cluster.c:62978)
>     raise self._final_exception
> 'Error from server: code=2200 [Invalid query] message="Keyspace \'ks\' does not exist"\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-1nvamN\ndtest: DEBUG: Custom init_config not found. Setting defaults.\ndtest: DEBUG: Done setting configuration options:\n{   \'enable_scripted_user_defined_functions\': \'true\',\n    \'enable_user_defined_functions\': \'true\',\n    \'initial_token\': None,\n    \'memtable_allocation_type\': \'offheap_objects\',\n    \'num_tokens\': \'32\',\n    \'phi_convict_threshold\': 5}\n--------------------- >> end captured logging << ---------------------'
> {code}



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