[ https://issues.apache.org/jira/browse/CASSANDRA-12176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375407#comment-15375407 ]
Jim Witschey commented on CASSANDRA-12176: ------------------------------------------ I see no reason for this to fail: https://github.com/riptano/cassandra-dtest/blob/e29fc2e6759b90324a701f88e1ba045926536ef6/materialized_views_test.py#L962-L963 All that happens in the test is: * call {{prepare}} ** create the cluster ** create a keyspace with {{create_ks}} *** {{USE}} that keyspace * create a table That last {{CREATE}} failed here because the keyspace didn't exist. I don't think that should be possible, since the same {{session}} running that {{CREATE}} successfully ran a {{CREATE KEYSPACE}} and a {{USE}} on that keyspace. So, I think this is either an environmental flake of some sort, or a pretty worrisome bug. Running this test 300 times here to see if this repros: http://cassci.datastax.com/view/Parameterized/job/parameterized_dtest_multiplexer/169/ Adding this to the developer review queue -- I'm not sure what to do beyond trying to run until it reproduces. > dtest failure in > materialized_views_test.TestMaterializedViews.complex_repair_test > ---------------------------------------------------------------------------------- > > Key: CASSANDRA-12176 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12176 > Project: Cassandra > Issue Type: Test > Reporter: Sean McCarthy > Assignee: DS Test Eng > Labels: dtest > Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log, > node2_debug.log, node2_gc.log, node3.log, node3_debug.log, node3_gc.log, > node4.log, node4_debug.log, node4_gc.log, node5.log, node5_debug.log, > node5_gc.log > > > example failure: > http://cassci.datastax.com/job/cassandra-3.9_novnode_dtest/8/testReport/materialized_views_test/TestMaterializedViews/complex_repair_test > Failed on CassCI build cassandra-3.9_novnode_dtest #8 > {code} > Stacktrace > File "/usr/lib/python2.7/unittest/case.py", line 329, in run > testMethod() > File "/home/automaton/cassandra-dtest/materialized_views_test.py", line > 956, in complex_repair_test > session.execute("CREATE TABLE ks.t (id int PRIMARY KEY, v int, v2 text, > v3 decimal)" > File "cassandra/cluster.py", line 1941, in > cassandra.cluster.Session.execute (cassandra/cluster.c:33642) > return self.execute_async(query, parameters, trace, custom_payload, > timeout, execution_profile).result() > File "cassandra/cluster.py", line 3629, in > cassandra.cluster.ResponseFuture.result (cassandra/cluster.c:69369) > raise self._final_exception > '<Error from server: code=2300 [Query invalid because of configuration issue] > message="Keyspace ks doesn\'t exist"> > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)