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/08/17 19:41:20 UTC
[jira] [Commented] (CASSANDRA-12482) dtest failure in
upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x.select_with_alias_test
[ https://issues.apache.org/jira/browse/CASSANDRA-12482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425220#comment-15425220 ]
Philip Thompson commented on CASSANDRA-12482:
---------------------------------------------
So the problem here is that we have a 3.7 node and a 3.10 node. When we query the 3.7 node, sometimes we get the 3.10 error? This is confusing, as Tyler says we should always get the error from the coordinator.
> dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x.select_with_alias_test
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12482
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12482
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: Philip Thompson
> Labels: dtest
> Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log, node2_debug.log, node2_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_dtest_upgrade/29/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x/select_with_alias_test
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/upgrade_tests/cql_tests.py", line 3184, in select_with_alias_test
> assert_invalid(cursor, 'SELECT id AS user_id, name AS user_name FROM users WHERE user_id = 0', matching=error_msg)
> File "/home/automaton/cassandra-dtest/assertions.py", line 92, in assert_invalid
> assert_exception(session, query, matching=matching, expected=expected)
> File "/home/automaton/cassandra-dtest/assertions.py", line 65, in assert_exception
> _assert_exception(session.execute, query, matching=matching, expected=expected)
> File "/home/automaton/cassandra-dtest/assertions.py", line 54, in _assert_exception
> assert_regexp_matches(str(e), matching)
> File "/usr/lib/python2.7/unittest/case.py", line 1002, in assertRegexpMatches
> raise self.failureException(msg)
> 'Regexp didn\'t match: "Aliases aren\'t allowed in the where clause" not found in \'Error from server: code=2200 [Invalid query] message="Undefined column name user_id"
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)