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/08 15:38:20 UTC

[jira] [Updated] (CASSANDRA-12408) dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_2_1_x.select_with_alias_test

     [ https://issues.apache.org/jira/browse/CASSANDRA-12408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Thompson updated CASSANDRA-12408:
----------------------------------------
    Reviewer: Sean McCarthy
      Status: Patch Available  (was: In Progress)

https://github.com/riptano/cassandra-dtest/pull/1188

> dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_2_1_x.select_with_alias_test
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12408
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12408
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: Philip Thompson
>              Labels: dtest
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.1_dtest_upgrade/6/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_2_1_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 3187, in select_with_alias_test
>     assert_invalid(cursor, 'SELECT id AS user_id, name AS user_name FROM users WHERE id IN (0) ORDER BY user_name', 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="Aliases are not allowed in order by clause (\\\'user_name\\\')"\'
> {code}
> Related failures:
> http://cassci.datastax.com/job/cassandra-2.1_dtest_upgrade/6/testReport/upgrade_tests.cql_tests/TestCQLNodes3RF3_Upgrade_current_2_0_x_To_indev_2_1_x/select_with_alias_test/
> http://cassci.datastax.com/job/cassandra-2.1_dtest_upgrade/6/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_2_0_x_To_indev_2_1_x/select_with_alias_test/
> http://cassci.datastax.com/job/cassandra-2.1_dtest_upgrade/6/testReport/upgrade_tests.cql_tests/TestCQLNodes3RF3_Upgrade_current_2_1_x_To_indev_2_1_x/select_with_alias_test/



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