cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7703) Fix failing cqlsh tests
Date Tue, 05 Aug 2014 21:49:12 GMT
Tyler Hobbs created CASSANDRA-7703:
--------------------------------------

             Summary: Fix failing cqlsh tests
                 Key: CASSANDRA-7703
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7703
             Project: Cassandra
          Issue Type: Task
          Components: Tests
            Reporter: Tyler Hobbs
            Assignee: Tyler Hobbs
             Fix For: 2.0.10, 2.1.1


When running {{nosetests}}, I get the following failures in 2.1:

{noformat}
======================================================================
FAIL: test_colval_decoding_errors (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 557, in test_colval_decoding_errors
    ), cqlver=cqlsh.DEFAULT_CQLVER)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Traceback (most recent call last):' != ' pkey | utf8col'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('127.0.0.1', '9042', '--cqlversion', '3.2.0', '--keyspace', 'CqlshTests_GLzK7I') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at 127.0.0.1:9042.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 5.0.1 | Cassandra 2.1.0-rc5-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from has_value_encoding_errors;'
test_cqlsh: DEBUG: read 's' from subproc
test_cqlsh: DEBUG: read 'elect * fr' from subproc
test_cqlsh: DEBUG: read 'om has_va' from subproc
test_cqlsh: DEBUG: read 'lue_enco' from subproc
test_cqlsh: DEBUG: read 'ding_err' from subproc
test_cqlsh: DEBUG: read 'ors;\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mTraceback (most recent call last):\r\n  File "/home/thobbs/cassandra/bin/cqlsh", line 912, in perform_simple_statement' from subproc
test_cqlsh: DEBUG: read '\r\n    rows = self.session.execute(statement, trace=self.tracing_enabled)\r\n  File "/home/thobbs/cassandra/bin/../lib/cassandra-driver-internal-only-2.1.0c1.post.zip/cassandra-driver-2.1.0c1.post/cassandra/cluster.py", line 1281, in execute\r\n    result = future.result(timeout)\r\n  File "/home/thobbs/cassandra/bin/../lib/cassandra-driver-internal-only-2.1.0c1.post.zip/cassandra-driver-2.1.0c1.post/cassandra/cluster.py", line 2744, in result\r\n    raise self._final_exception\r\nUnicodeDecodeError: \'utf8\' codec can\'t decode byte 0xff in position 1: invalid start byte\r\n\x1b[0m\r\ncqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_key_decoding_errors (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 577, in test_key_decoding_errors
    ), cqlver=cqlsh.DEFAULT_CQLVER)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: ' pkey       | col' != ' pkey               | col'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('127.0.0.1', '9042', '--cqlversion', '3.2.0', '--keyspace', 'CqlshTests_GLzK7I') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at 127.0.0.1:9042.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 5.0.1 | Cassandra 2.1.0-rc5-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from has_key_encoding_errors;'
test_cqlsh: DEBUG: read 's' from subproc
test_cqlsh: DEBUG: read 'elect * ' from subproc
test_cqlsh: DEBUG: read 'from ha' from subproc
test_cqlsh: DEBUG: read 's_key_' from subproc
test_cqlsh: DEBUG: read 'encodi' from subproc
test_cqlsh: DEBUG: read 'ng_err' from subproc
test_cqlsh: DEBUG: read 'ors;\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read ' \x1b[0;1;31mpkey\x1b[0m       | \x1b[0;1;35mcol\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read '------------+----------\r\n \x1b[0;35m0x00ff028f\x1b[0m | \x1b[0;1;33mwhatever\x1b[0m\r\n\r\n(1 rows)\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_no_prompt_or_colors_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 117, in test_no_prompt_or_colors_output
    msg='output: %r' % '\n'.join(output))
AssertionError: 9 != 8 : output: '<stdin>:2:Traceback (most recent call last):\n  File "/home/thobbs/cassandra/bin/cqlsh", line 912, in perform_simple_statement\n    rows = self.session.execute(statement, trace=self.tracing_enabled)\n  File "/home/thobbs/cassandra/bin/../lib/cassandra-driver-internal-only-2.1.0c1.post.zip/cassandra-driver-2.1.0c1.post/cassandra/cluster.py", line 1281, in execute\n    result = future.result(timeout)\n  File "/home/thobbs/cassandra/bin/../lib/cassandra-driver-internal-only-2.1.0c1.post.zip/cassandra-driver-2.1.0c1.post/cassandra/cluster.py", line 2744, in result\n    raise self._final_exception\nUnicodeDecodeError: \'utf8\' codec can\'t decode byte 0xff in position 1: invalid start byte\n'
-------------------- >> begin captured logging << --------------------
test_cqlsh: DEBUG: TERM=''
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('127.0.0.1', '9042', '--keyspace', 'CqlshTests_GLzK7I') and env: {'PYTHONPATH': '', 'TERM': '', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('127.0.0.1', '9042', '--keyspace', 'CqlshTests_GLzK7I') and env: {'PYTHONPATH': '', 'TERM': '', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_string_output_ascii (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 472, in test_string_output_ascii
    ), cqlver=cqlsh.DEFAULT_CQLVER)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: " 3 |                     '\\xfe\\xffbyte order mark'" != ' 3 |                       \\xfe\\xffbyte order mark'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('127.0.0.1', '9042', '--cqlversion', '3.2.0', '--keyspace', 'CqlshTests_GLzK7I') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at 127.0.0.1:9042.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 5.0.1 | Cassandra 2.1.0-rc5-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from ascii_with_invalid_and_special_chars where k in (0, 1, 2, 3, 4);'
test_cqlsh: DEBUG: read 's' from subproc
test_cqlsh: DEBUG: read 'elect * fr' from subproc
test_cqlsh: DEBUG: read 'om ascii_' from subproc
test_cqlsh: DEBUG: read 'with_inv' from subproc
test_cqlsh: DEBUG: read 'alid_and' from subproc
test_cqlsh: DEBUG: read '_specia' from subproc
test_cqlsh: DEBUG: read 'l_chars' from subproc
test_cqlsh: DEBUG: read ' wher \re' from subproc
test_cqlsh: DEBUG: read ' k in (' from subproc
test_cqlsh: DEBUG: read '0, 1,' from subproc
test_cqlsh: DEBUG: read ' 2, 3, ' from subproc
test_cqlsh: DEBUG: read '4);\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read ' \x1b[0;1;31mk\x1b[0m | \x1b[0;1;35mval\x1b[0m' from subproc
test_cqlsh: DEBUG: read '\r\n---+-----------------------------------------------\r\n \x1b[0;1;32m0\x1b[0m |                                    \x1b[0;1;33mnewline:\x1b[0;35m\\n\x1b[0;1;33m\x1b[0m\r\n \x1b[0;1;32m1\x1b[0m |                         \x1b[0;1;33mreturn\x1b[0;35m\\r\x1b[0;1;33mand null\x1b[0;35m\\x00\x1b[0;1;33m!\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read " \x1b[0;1;32m2\x1b[0m | \x1b[0;1;33m\x1b[0;35m\\x00\x1b[0;1;33m\x1b[0;35m\\x01\x1b[0;1;33m\x1b[0;35m\\x02\x1b[0;1;33m\x1b[0;35m\\x03\x1b[0;1;33m\x1b[0;35m\\x04\x1b[0;1;33m\x1b[0;35m\\x05\x1b[0;1;33mcontrol chars\x1b[0;35m\\x06\x1b[0;1;33m\x1b[0;35m\\x07\x1b[0;1;33m\x1b[0m\r\n \x1b[0;1;32m3\x1b[0m |                     \x1b[0;1;31m'\\xfe\\xffbyte order mark'\x1b[0m\r\n \x1b[0;1;32m4\x1b[0m |                      \x1b[0;1;33mfake special chars\\x00\\n\x1b[0m\r\n" from subproc
test_cqlsh: DEBUG: read "\r\n(5 rows)\r\n\x1b[0;1;31mFailed to format value '\\xfe\\xffbyte order mark' : 'ascii' codec can't decode byte 0xfe in position 0: ordinal not in range(128)\x1b[0m\r\n" from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_user_types_with_collections (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 885, in test_user_types_with_collections
    ), cqlver=cqlsh.DEFAULT_CQLVER)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: " {founded: '1970-01-02 22:24:54-0600', members: {'Adrian Smith', 'Bruce Dickinson', 'Dave Murray', 'Janick Gers', 'Nicko McBrain', 'Steve Harris'}, description: 'Pure evil metal'}" != " {founded: '1970-01-02 20:24:54-0800', members: {'Adrian Smith', 'Bruce Dickinson', 'Dave Murray', 'Janick Gers', 'Nicko McBrain', 'Steve Harris'}, description: 'Pure evil metal'}"
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('127.0.0.1', '9042', '--cqlversion', '3.2.0', '--keyspace', 'CqlshTests_GLzK7I') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at 127.0.0.1:9042.\r\n[cqlsh 5.0.1 | Cassandra 2.1.0-rc5-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3]\r\n' from subproc
test_cqlsh: DEBUG: read 'Use HELP for help.\r\ncqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: DEBUG: Testing 'select info from songs;'
test_cqlsh: DEBUG: read 's' from subproc
test_cqlsh: DEBUG: read 'elect inf' from subproc
test_cqlsh: DEBUG: read 'o from so' from subproc
test_cqlsh: DEBUG: read 'ngs;\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read ' \x1b[0;1;35minfo\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n \x1b[0;1;34m{\x1b[0m\x1b[0;1;33mfounded\x1b[0m\x1b[0;1;34m: \x1b[0m\x1b[0;1;32m'1970-01-02 22:24:54-0600'\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33mmembers\x1b[0m\x1b[0;1;34m: \x1b[0m\x1b[0;1;34m{\x1b[0m\x1b[0;1;33m'Adrian Smith'\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33m'Bruce Dickinson'\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33m'Dave Murray'\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33m'Janick Gers'\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33m'Nicko McBrain'\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33m'Steve Harris'\x1b[0m\x1b[0;1;34m}\x1b[0m\x1b[0;1;34m, \x1b[0m\x1b[0;1;33mdescription\x1b[0m\x1b[0;1;34m: \x1b[0m\x1b[0;1;33m'Pure evil metal'\x1b[0m\x1b[0;1;34m}\x1b[0m\r\n\r\n(1 rows)\r\n" from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_GLzK7I> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 104 tests in 55.839s

FAILED (failures=5)
{noformat}

In 2.0 there are a different set of failures:

{noformat}
======================================================================
ERROR: test suite for <module 'cqlshlib.test' from '/home/thobbs/cassandra/pylib/cqlshlib/test/__init__.py'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in try_run
    return func()
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 78, in create_test_db
    execute_cql_file(c, test_keyspace_init)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 73, in execute_cql_file
    return execute_cql_commands(cursor, f.read())
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 69, in execute_cql_commands
    cursor.execute(cql)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/cursor.py", line 80, in execute
    response = self.get_response(prepared_q, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 77, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 98, in handle_cql_execution_errors
    raise cql.ProgrammingError("Bad Request: %s" % ire.why)
ProgrammingError: Bad Request: Cannot change utf8col from type blob to type text: types are incompatible.
-------------------- >> begin captured logging << --------------------
test_cqlsh: DEBUG: INIT: CREATE TABLE has_all_types (
    num int PRIMARY KEY,
    intcol int,
    asciicol ascii,
    bigintcol bigint,
    blobcol blob,
    booleancol boolean,
    decimalcol decimal,
    doublecol double,
    floatcol float,
    textcol text,
    timestampcol timestamp,
    uuidcol uuid,
    varcharcol varchar,
    varintcol varint
) WITH compression = {'sstable_compression':'LZ4Compressor'};
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (0, -12, 'abcdefg', 1234567890123456789, 0x000102030405fffefd, true,
        19952.11882, 1.0, -2.1, 'Voilá!', '2012-05-14 12:53:20+0000',
        bd1924e1-6af8-44ae-b5e1-f24131dbd460, '"', 10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (1, 2147483647, '__!''$#@!~"', 9223372036854775807, 0xffffffffffffffffff, true,
        0.00000000000001, 9999999.999, 99999.99, '∭Ƕ⑮ฑ➳❏''', '1900-01-01+0000',
        ffffffff-ffff-ffff-ffff-ffffffffffff, 'newline->
<-', 9);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (2, 0, '', 0, 0x, false,
        0.0, 0.0, 0.0, '', 0,
        00000000-0000-0000-0000-000000000000, '', 0);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (3, -2147483648, '''''''', -9223372036854775808, 0x80, false,
        10.0000000000000, -1004.10, 100000000.9, '龍馭鬱', '2038-01-19T03:14-1200',
        ffffffff-ffff-1fff-8fff-ffffffffffff, '''', -10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (4, blobAsInt(0x), '', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),
        blobAsDouble(0x), blobAsFloat(0x), '', blobAsTimestamp(0x), blobAsUuid(0x), '',
        blobAsVarint(0x));
test_cqlsh: DEBUG: INIT: CREATE TABLE has_value_encoding_errors (
    pkey ascii PRIMARY KEY,
    utf8col blob
);
test_cqlsh: DEBUG: INIT: INSERT INTO has_value_encoding_errors (pkey, utf8col) VALUES ('A', 0x00ff00ff);
test_cqlsh: DEBUG: INIT: ALTER TABLE has_value_encoding_errors ALTER utf8col TYPE text;
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: cqlshlib.test.cassconnect.create_test_keyspace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
TypeError: create_test_keyspace() takes exactly 1 argument (0 given)

======================================================================
ERROR: cqlshlib.test.cassconnect.create_test_db
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 78, in create_test_db
    execute_cql_file(c, test_keyspace_init)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 73, in execute_cql_file
    return execute_cql_commands(cursor, f.read())
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 69, in execute_cql_commands
    cursor.execute(cql)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/cursor.py", line 80, in execute
    response = self.get_response(prepared_q, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 77, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 98, in handle_cql_execution_errors
    raise cql.ProgrammingError("Bad Request: %s" % ire.why)
ProgrammingError: Bad Request: Cannot change utf8col from type blob to type text: types are incompatible.
-------------------- >> begin captured logging << --------------------
test_cqlsh: DEBUG: INIT: CREATE TABLE has_all_types (
    num int PRIMARY KEY,
    intcol int,
    asciicol ascii,
    bigintcol bigint,
    blobcol blob,
    booleancol boolean,
    decimalcol decimal,
    doublecol double,
    floatcol float,
    textcol text,
    timestampcol timestamp,
    uuidcol uuid,
    varcharcol varchar,
    varintcol varint
) WITH compression = {'sstable_compression':'LZ4Compressor'};
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (0, -12, 'abcdefg', 1234567890123456789, 0x000102030405fffefd, true,
        19952.11882, 1.0, -2.1, 'Voilá!', '2012-05-14 12:53:20+0000',
        bd1924e1-6af8-44ae-b5e1-f24131dbd460, '"', 10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (1, 2147483647, '__!''$#@!~"', 9223372036854775807, 0xffffffffffffffffff, true,
        0.00000000000001, 9999999.999, 99999.99, '∭Ƕ⑮ฑ➳❏''', '1900-01-01+0000',
        ffffffff-ffff-ffff-ffff-ffffffffffff, 'newline->
<-', 9);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (2, 0, '', 0, 0x, false,
        0.0, 0.0, 0.0, '', 0,
        00000000-0000-0000-0000-000000000000, '', 0);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (3, -2147483648, '''''''', -9223372036854775808, 0x80, false,
        10.0000000000000, -1004.10, 100000000.9, '龍馭鬱', '2038-01-19T03:14-1200',
        ffffffff-ffff-1fff-8fff-ffffffffffff, '''', -10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (4, blobAsInt(0x), '', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),
        blobAsDouble(0x), blobAsFloat(0x), '', blobAsTimestamp(0x), blobAsUuid(0x), '',
        blobAsVarint(0x));
test_cqlsh: DEBUG: INIT: CREATE TABLE has_value_encoding_errors (
    pkey ascii PRIMARY KEY,
    utf8col blob
);
test_cqlsh: DEBUG: INIT: INSERT INTO has_value_encoding_errors (pkey, utf8col) VALUES ('A', 0x00ff00ff);
test_cqlsh: DEBUG: INIT: ALTER TABLE has_value_encoding_errors ALTER utf8col TYPE text;
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: cqlshlib.test.create_test_db
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 619, in newfunc
    return func(*arg, **kw)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 78, in create_test_db
    execute_cql_file(c, test_keyspace_init)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 73, in execute_cql_file
    return execute_cql_commands(cursor, f.read())
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 69, in execute_cql_commands
    cursor.execute(cql)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/cursor.py", line 80, in execute
    response = self.get_response(prepared_q, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 77, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 98, in handle_cql_execution_errors
    raise cql.ProgrammingError("Bad Request: %s" % ire.why)
ProgrammingError: Bad Request: Cannot change utf8col from type blob to type text: types are incompatible.
-------------------- >> begin captured logging << --------------------
test_cqlsh: DEBUG: INIT: CREATE TABLE has_all_types (
    num int PRIMARY KEY,
    intcol int,
    asciicol ascii,
    bigintcol bigint,
    blobcol blob,
    booleancol boolean,
    decimalcol decimal,
    doublecol double,
    floatcol float,
    textcol text,
    timestampcol timestamp,
    uuidcol uuid,
    varcharcol varchar,
    varintcol varint
) WITH compression = {'sstable_compression':'LZ4Compressor'};
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (0, -12, 'abcdefg', 1234567890123456789, 0x000102030405fffefd, true,
        19952.11882, 1.0, -2.1, 'Voilá!', '2012-05-14 12:53:20+0000',
        bd1924e1-6af8-44ae-b5e1-f24131dbd460, '"', 10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (1, 2147483647, '__!''$#@!~"', 9223372036854775807, 0xffffffffffffffffff, true,
        0.00000000000001, 9999999.999, 99999.99, '∭Ƕ⑮ฑ➳❏''', '1900-01-01+0000',
        ffffffff-ffff-ffff-ffff-ffffffffffff, 'newline->
<-', 9);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (2, 0, '', 0, 0x, false,
        0.0, 0.0, 0.0, '', 0,
        00000000-0000-0000-0000-000000000000, '', 0);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (3, -2147483648, '''''''', -9223372036854775808, 0x80, false,
        10.0000000000000, -1004.10, 100000000.9, '龍馭鬱', '2038-01-19T03:14-1200',
        ffffffff-ffff-1fff-8fff-ffffffffffff, '''', -10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (4, blobAsInt(0x), '', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),
        blobAsDouble(0x), blobAsFloat(0x), '', blobAsTimestamp(0x), blobAsUuid(0x), '',
        blobAsVarint(0x));
test_cqlsh: DEBUG: INIT: CREATE TABLE has_value_encoding_errors (
    pkey ascii PRIMARY KEY,
    utf8col blob
);
test_cqlsh: DEBUG: INIT: INSERT INTO has_value_encoding_errors (pkey, utf8col) VALUES ('A', 0x00ff00ff);
test_cqlsh: DEBUG: INIT: ALTER TABLE has_value_encoding_errors ALTER utf8col TYPE text;
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: cqlshlib.test.create_test_db
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 619, in newfunc
    return func(*arg, **kw)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 78, in create_test_db
    execute_cql_file(c, test_keyspace_init)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 73, in execute_cql_file
    return execute_cql_commands(cursor, f.read())
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/cassconnect.py", line 69, in execute_cql_commands
    cursor.execute(cql)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/cursor.py", line 80, in execute
    response = self.get_response(prepared_q, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 77, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress, cl)
  File "/home/thobbs/cassandra/bin/../lib/cql-internal-only-1.4.1.zip/cql-1.4.1/cql/thrifteries.py", line 98, in handle_cql_execution_errors
    raise cql.ProgrammingError("Bad Request: %s" % ire.why)
ProgrammingError: Bad Request: Cannot change utf8col from type blob to type text: types are incompatible.
-------------------- >> begin captured logging << --------------------
test_cqlsh: DEBUG: INIT: CREATE TABLE has_all_types (
    num int PRIMARY KEY,
    intcol int,
    asciicol ascii,
    bigintcol bigint,
    blobcol blob,
    booleancol boolean,
    decimalcol decimal,
    doublecol double,
    floatcol float,
    textcol text,
    timestampcol timestamp,
    uuidcol uuid,
    varcharcol varchar,
    varintcol varint
) WITH compression = {'sstable_compression':'LZ4Compressor'};
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (0, -12, 'abcdefg', 1234567890123456789, 0x000102030405fffefd, true,
        19952.11882, 1.0, -2.1, 'Voilá!', '2012-05-14 12:53:20+0000',
        bd1924e1-6af8-44ae-b5e1-f24131dbd460, '"', 10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (1, 2147483647, '__!''$#@!~"', 9223372036854775807, 0xffffffffffffffffff, true,
        0.00000000000001, 9999999.999, 99999.99, '∭Ƕ⑮ฑ➳❏''', '1900-01-01+0000',
        ffffffff-ffff-ffff-ffff-ffffffffffff, 'newline->
<-', 9);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (2, 0, '', 0, 0x, false,
        0.0, 0.0, 0.0, '', 0,
        00000000-0000-0000-0000-000000000000, '', 0);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (3, -2147483648, '''''''', -9223372036854775808, 0x80, false,
        10.0000000000000, -1004.10, 100000000.9, '龍馭鬱', '2038-01-19T03:14-1200',
        ffffffff-ffff-1fff-8fff-ffffffffffff, '''', -10000000000000000000000000);
test_cqlsh: DEBUG: INIT: INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
                           decimalcol, doublecol, floatcol, textcol,
                           timestampcol, uuidcol, varcharcol, varintcol)
VALUES (4, blobAsInt(0x), '', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),
        blobAsDouble(0x), blobAsFloat(0x), '', blobAsTimestamp(0x), blobAsUuid(0x), '',
        blobAsVarint(0x));
test_cqlsh: DEBUG: INIT: CREATE TABLE has_value_encoding_errors (
    pkey ascii PRIMARY KEY,
    utf8col blob
);
test_cqlsh: DEBUG: INIT: INSERT INTO has_value_encoding_errors (pkey, utf8col) VALUES ('A', 0x00ff00ff);
test_cqlsh: DEBUG: INIT: ALTER TABLE has_value_encoding_errors ALTER utf8col TYPE text;
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: Failure: ValueError (Unable to load tests from file /home/thobbs/cassandra/pylib/cqlshlib/test/test_keyspace_init.cql)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/loader.py", line 233, in loadTestsFromFile
    % filename)
ValueError: Unable to load tests from file /home/thobbs/cassandra/pylib/cqlshlib/test/test_keyspace_init.cql

======================================================================
FAIL: test_columnless_key_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 298, in test_columnless_key_output
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily twenty_rows_table' != ' a'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing "select a from twenty_rows_table where a in ('1', '2', '-9192');"
test_cqlsh: DEBUG: read 'se' from subproc
test_cqlsh: DEBUG: read 'lect a f' from subproc
test_cqlsh: DEBUG: read 'rom twe' from subproc
test_cqlsh: DEBUG: read 'nty_row' from subproc
test_cqlsh: DEBUG: read 's_table' from subproc
test_cqlsh: DEBUG: read ' where ' from subproc
test_cqlsh: DEBUG: read "a in ('" from subproc
test_cqlsh: DEBUG: read "1', '2" from subproc
test_cqlsh: DEBUG: read "', ' \r-" from subproc
test_cqlsh: DEBUG: read "9192')" from subproc
test_cqlsh: DEBUG: read ';\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily twenty_rows_table\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_colval_decoding_errors (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 546, in test_colval_decoding_errors
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: '------+------------' != '------+--------------------'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from has_value_encoding_errors;'
test_cqlsh: DEBUG: read 'sel' from subproc
test_cqlsh: DEBUG: read 'ect * from has' from subproc
test_cqlsh: DEBUG: read '_value_e' from subproc
test_cqlsh: DEBUG: read 'ncoding' from subproc
test_cqlsh: DEBUG: read '_error' from subproc
test_cqlsh: DEBUG: read 's;\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read ' \x1b[0;1;35mpkey\x1b[0m | \x1b[0;1;35mutf8col\x1b[0m\r\n------+------------\r\n    \x1b[0;1;33mA\x1b[0m | \x1b[0;35m0x00ff00ff\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n(1 rows)\r\n\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_count_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 203, in test_count_output
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily empty_table' != ' count'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select count(*) from has_all_types;'
test_cqlsh: DEBUG: read 'selec' from subproc
test_cqlsh: DEBUG: read 't count(*) from' from subproc
test_cqlsh: DEBUG: read ' has_all_' from subproc
test_cqlsh: DEBUG: read 'types;\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n \x1b[0;1;35mcount\x1b[0m\r\n-------\r\n     \x1b[0;1;32m5\x1b[0m\r\n\r\n(1 rows)\r\n\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select COUNT(*) FROM empty_table;'
test_cqlsh: DEBUG: read 'select COUNT(*) FROM empty_table;\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily empty_table\x1b[0m\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_describe_columnfamilies_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 725, in test_describe_columnfamilies_output
    self.assertIn('undefined_values_table', output)
AssertionError: 'undefined_values_table' not found in '\nhas_all_types  has_value_encoding_errors\n\n'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\n' from subproc
test_cqlsh: DEBUG: read 'Use HELP for help.\r\ncqlsh> ' from subproc
test_cqlsh: DEBUG: read 'DESC' from subproc
test_cqlsh: DEBUG: read 'RIBE COLUMNFAM' from subproc
test_cqlsh: DEBUG: read 'ILIES;\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace "CqlshTests_uSS7Eo"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace system\r\n---------------\r\n' from subproc
test_cqlsh: DEBUG: read 'IndexInfo                hints        range_xfers            sstable_activity\r\nNodeIdInfo               local        schema_columnfamilies\r\nbatchlog                 paxos        schema_columns       \r\n' from subproc
test_cqlsh: DEBUG: read 'compaction_history       peer_events  schema_keyspaces     \r\ncompactions_in_progress  peers        schema_triggers      \r\n\r\nKeyspace "CqlshTests_gP_QSy"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace system_traces\r\n----------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'events  sessions\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh> ' from subproc
test_cqlsh: DEBUG: read 'DES' from subproc
test_cqlsh: DEBUG: read 'CRIBE COLUMNFA' from subproc
test_cqlsh: DEBUG: read 'MILIES\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace "CqlshTests_uSS7Eo"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace system\r\n---------------\r\n' from subproc
test_cqlsh: DEBUG: read 'IndexInfo                hints        range_xfers            sstable_activity\r\nNodeIdInfo               local        schema_columnfamilies\r\nbatchlog                 paxos        schema_columns       \r\ncompaction_history       peer_events  schema_keyspaces     \r\ncompactions_in_progress  peers        schema_triggers      \r\n\r\nKeyspace "CqlshTests_gP_QSy"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\nKeyspace system_traces\r\n----------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'events  sessions\r\n\r\ncqlsh> ' from subproc
test_cqlsh: DEBUG: read 'desc tables;\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace "CqlshTests_uSS7Eo"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\nKeyspace system\r\n---------------\r\n' from subproc
test_cqlsh: DEBUG: read 'IndexInfo                hints        range_xfers            sstable_activity\r\nNodeIdInfo               local        schema_columnfamilies\r\nbatchlog                 paxos        schema_columns       \r\ncompaction_history       peer_events  schema_keyspaces     \r\ncompactions_in_progress  peers        schema_triggers      \r\n\r\nKeyspace "CqlshTests_gP_QSy"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\nKeyspace system_traces\r\n----------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'events  sessions\r\n\r\ncqlsh> ' from subproc
test_cqlsh: DEBUG: read 'desc tables\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'Keyspace "CqlshTests_uSS7Eo"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n' from subproc
test_cqlsh: DEBUG: read '\r\nKeyspace system\r\n---------------\r\n' from subproc
test_cqlsh: DEBUG: read 'IndexInfo                hints        range_xfers            sstable_activity\r\n' from subproc
test_cqlsh: DEBUG: read 'NodeIdInfo               local        schema_columnfamilies\r\nbatchlog                 paxos        schema_columns       \r\ncompaction_history       peer_events  schema_keyspaces     \r\ncompactions_in_progress  peers        schema_triggers      \r\n\r\nKeyspace "CqlshTests_gP_QSy"\r\n----------------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n' from subproc
test_cqlsh: DEBUG: read '\r\nKeyspace system_traces\r\n----------------------\r\n' from subproc
test_cqlsh: DEBUG: read 'events  sessions\r\n\r\ncqlsh> ' from subproc
test_cqlsh: DEBUG: read 'USE "CqlshTests_uSS7Eo";\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: read 'DESCRIBE COLUMNFAMILIES;\r\n\r\n' from subproc
test_cqlsh: DEBUG: read 'has_all_types  has_value_encoding_errors\r\n\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_describe_columnfamily_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 679, in test_describe_columnfamily_output
    self.assertEqual(output, table_desc3)
AssertionError: "\nCREATE TABLE has_all_types (\n  num int,\n  asciicol ascii,\n  bigintcol bigint,\n  blobcol blob,\n  booleancol boolean,\n  decimalcol decimal,\n  doublecol double,\n  floatcol float,\n  intcol int,\n  textcol text,\n  timestampcol timestamp,\n  uuidcol uuid,\n  varcharcol text,\n  varintcol varint,\n  PRIMARY KEY ((num))\n) WITH\n  bloom_filter_fp_chance=0.010000 AND\n  caching='KEYS_ONLY' AND\n  comment='' AND\n  dclocal_read_repair_chance=0.100000 AND\n  gc_grace_seconds=864000 AND\n  index_interval=128 AND\n  read_repair_chance=0.000000 AND\n  replicate_on_write='true' AND\n  populate_io_cache_on_flush='false' AND\n  default_time_to_live=0 AND\n  speculative_retry='99.0PERCENTILE' AND\n  memtable_flush_period_in_ms=0 AND\n  compaction={'class': 'SizeTieredCompactionStrategy'} AND\n  compression={'sstable_compression': 'LZ4Compressor'};\n\n" != "\nCREATE TABLE has_all_types (\n  num int,\n  asciicol ascii,\n  bigintcol bigint,\n  blobcol blob,\n  booleancol boolean,\n  decimalcol decimal,\n  doublecol double,\n  floatcol float,\n  intcol int,\n  textcol text,\n  timestampcol timestamp,\n  uuidcol uuid,\n  varcharcol text,\n  varintcol varint,\n  PRIMARY KEY (num)\n) WITH\n  bloom_filter_fp_chance=0.010000 AND\n  caching='KEYS_ONLY' AND\n  comment='' AND\n  dclocal_read_repair_chance=0.000000 AND\n  gc_grace_seconds=864000 AND\n  index_interval=128 AND\n  read_repair_chance=0.100000 AND\n  replicate_on_write='true' AND\n  populate_io_cache_on_flush='false' AND\n  default_time_to_live=0 AND\n  speculative_retry='NONE' AND\n  memtable_flush_period_in_ms=0 AND\n  compaction={'class': 'SizeTieredCompactionStrategy'} AND\n  compression={'sstable_compression': 'LZ4Compressor'};\n\n"
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3.0.0', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: read 'describ' from subproc
test_cqlsh: DEBUG: read 'e table has_al' from subproc
test_cqlsh: DEBUG: read 'l_types;\r\n' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read 'CREATE TABLE has_all_types (\r\n' from subproc
test_cqlsh: DEBUG: read '  num int,\r\n  asciicol ascii,\r\n  bigintcol bigint,\r\n  blobcol blob,\r\n  booleancol boolean,\r\n  decimalcol decimal,\r\n  doublecol double,\r\n  floatcol float,\r\n  intcol int,\r\n  textcol text,\r\n' from subproc
test_cqlsh: DEBUG: read '  timestampcol timestamp,\r\n  uuidcol uuid,\r\n  varcharcol text,\r\n  varintcol varint,\r\n' from subproc
test_cqlsh: DEBUG: read '  PRIMARY KEY ((num))\r\n' from subproc
test_cqlsh: DEBUG: read ') WITH\r\n' from subproc
test_cqlsh: DEBUG: read "  bloom_filter_fp_chance=0.010000 AND\r\n  caching='KEYS_ONLY' AND\r\n  comment='' AND\r\n  dclocal_read_repair_chance=0.100000 AND\r\n  gc_grace_seconds=864000 AND\r\n" from subproc
test_cqlsh: DEBUG: read "  index_interval=128 AND\r\n  read_repair_chance=0.000000 AND\r\n  replicate_on_write='true' AND\r\n  populate_io_cache_on_flush='false' AND\r\n  default_time_to_live=0 AND\r\n  speculative_retry='99.0PERCENTILE' AND\r\n" from subproc
test_cqlsh: DEBUG: read "  memtable_flush_period_in_ms=0 AND\r\n  compaction={'class': 'SizeTieredCompactionStrategy'} AND\r\n  compression={'sstable_compression': 'LZ4Compressor'};\r\n" from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_empty_cf_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 269, in test_empty_cf_output
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily empty_table' != '(0 rows)'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from empty_table;'
test_cqlsh: DEBUG: read 'se' from subproc
test_cqlsh: DEBUG: read 'lect * fro' from subproc
test_cqlsh: DEBUG: read 'm empty' from subproc
test_cqlsh: DEBUG: read '_table;\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily empty_table\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_key_decoding_errors (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 566, in test_key_decoding_errors
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily has_key_encoding_errors' != ' pkey               | col'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from has_key_encoding_errors;'
test_cqlsh: DEBUG: read 'se' from subproc
test_cqlsh: DEBUG: read 'lect * ' from subproc
test_cqlsh: DEBUG: read 'from' from subproc
test_cqlsh: DEBUG: read ' has' from subproc
test_cqlsh: DEBUG: read '_key' from subproc
test_cqlsh: DEBUG: read '_enc' from subproc
test_cqlsh: DEBUG: read 'odin' from subproc
test_cqlsh: DEBUG: read 'g_er' from subproc
test_cqlsh: DEBUG: read 'rors' from subproc
test_cqlsh: DEBUG: read ';\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily has_key_encoding_errors\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_no_prompt_or_colors_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 117, in test_no_prompt_or_colors_output
    msg='output: %r' % '\n'.join(output))
AssertionError: 8 != 7 : output: '\n num | asciicol   | bigintcol           | blobcol              | booleancol | decimalcol | doublecol | floatcol | intcol     | textcol                               | timestampcol  | uuidcol                              | varcharcol    | varintcol\n-----+------------+---------------------+----------------------+------------+------------+-----------+----------+------------+---------------------------------------+---------------+--------------------------------------+---------------+-----------\n   1 | __!\'$#@!~" | 9223372036854775807 | 0xffffffffffffffffff |       True |      1E-14 |     1e+07 |    1e+05 | 2147483647 | \\u222d\\u01f6\\u246e\\u0e11\\u27b3\\u274f\' | -2208988800.0 | ffffffff-ffff-ffff-ffff-ffffffffffff | newline->\\n<- |         9\n\n(1 rows)\n\nFailed to format value -2208988800.0 as timestamp: year out of range'
-------------------- >> begin captured logging << --------------------
test_cqlsh: DEBUG: TERM=''
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': '', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_null_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 419, in test_null_output
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily undefined_values_table' != ' k  | c  | notthere'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\n' from subproc
test_cqlsh: DEBUG: read 'Use HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing "select k, c, notthere from undefined_values_table where k in ('k1', 'k2');"
test_cqlsh: DEBUG: read 's' from subproc
test_cqlsh: DEBUG: read 'elect k' from subproc
test_cqlsh: DEBUG: read ', c, no' from subproc
test_cqlsh: DEBUG: read 'tthere' from subproc
test_cqlsh: DEBUG: read ' from u' from subproc
test_cqlsh: DEBUG: read 'ndefin' from subproc
test_cqlsh: DEBUG: read 'ed_val' from subproc
test_cqlsh: DEBUG: read 'ues_ta' from subproc
test_cqlsh: DEBUG: read 'ble wh' from subproc
test_cqlsh: DEBUG: read 'ere \r k ' from subproc
test_cqlsh: DEBUG: read "in ('" from subproc
test_cqlsh: DEBUG: read "k1', '" from subproc
test_cqlsh: DEBUG: read "k2');\r\n" from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily undefined_values_table\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_static_cf_output (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 239, in test_static_cf_output
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily twenty_rows_table' != ' a  | b'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing "select a, b from twenty_rows_table where a in ('1', '13', '2');"
test_cqlsh: DEBUG: read "select a, b from twenty_rows_table where a in ('1', '13 \r', '2');\r\n" from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily twenty_rows_table\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_string_output_ascii (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 461, in test_string_output_ascii
    ), cqlver=3)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily ascii_with_invalid_and_special_chars' != ' k | val'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from ascii_with_invalid_and_special_chars where k in (0, 1, 2, 3, 4);'
test_cqlsh: DEBUG: read 'sel' from subproc
test_cqlsh: DEBUG: read 'ect * ' from subproc
test_cqlsh: DEBUG: read 'from ' from subproc
test_cqlsh: DEBUG: read 'asci' from subproc
test_cqlsh: DEBUG: read 'i_wi' from subproc
test_cqlsh: DEBUG: read 'th_in' from subproc
test_cqlsh: DEBUG: read 'valid_' from subproc
test_cqlsh: DEBUG: read 'and_' from subproc
test_cqlsh: DEBUG: read 'spec' from subproc
test_cqlsh: DEBUG: read 'ial_' from subproc
test_cqlsh: DEBUG: read 'cha' from subproc
test_cqlsh: DEBUG: read 'rs wh' from subproc
test_cqlsh: DEBUG: read 'er \re k' from subproc
test_cqlsh: DEBUG: read ' in ' from subproc
test_cqlsh: DEBUG: read '(0, ' from subproc
test_cqlsh: DEBUG: read '1, 2' from subproc
test_cqlsh: DEBUG: read ', 3,' from subproc
test_cqlsh: DEBUG: read ' 4);' from subproc
test_cqlsh: DEBUG: read '\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily ascii_with_invalid_and_special_chars\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_string_output_utf8 (cqlshlib.test.test_cqlsh_output.TestCqlshOutput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 495, in test_string_output_utf8
    ), cqlver=3, env={'LANG': 'en_US.UTF-8'})
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 72, in assertCqlverQueriesGiveColoredOutput
    self.assertQueriesGiveColoredOutput(queries_and_expected_outputs, cqlver=ver, **kwargs)
  File "/home/thobbs/cassandra/pylib/cqlshlib/test/test_cqlsh_output.py", line 87, in assertQueriesGiveColoredOutput
    self.assertEqual(outputline.plain().rstrip(), plain)
AssertionError: 'Bad Request: unconfigured columnfamily utf8_with_special_chars' != ' k | val'
-------------------- >> begin captured logging << --------------------
test_cqlsh: INFO: Spawning '/home/thobbs/cassandra/bin/cqlsh' subprocess with args: ('localhost', '9160', '--cqlversion', '3', '--keyspace', 'CqlshTests_uSS7Eo') and env: {'LANG': 'en_US.UTF-8', 'PYTHONPATH': '', 'TERM': 'xterm', 'CQLSH_NO_BUNDLED': ''}
test_cqlsh: DEBUG: read 'Connected to \x1b[0;1;34mTest Cluster\x1b[0m at localhost:9160.\r\n' from subproc
test_cqlsh: DEBUG: read '[cqlsh 4.1.1 | Cassandra 2.0.9-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.39.0]\r\nUse HELP for help.\r\ncqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: DEBUG: Testing 'select * from utf8_with_special_chars where k in (0, 1, 2, 3, 4, 5, 6);'
test_cqlsh: DEBUG: read 'se' from subproc
test_cqlsh: DEBUG: read 'lect' from subproc
test_cqlsh: DEBUG: read ' *' from subproc
test_cqlsh: DEBUG: read ' f' from subproc
test_cqlsh: DEBUG: read 'r' from subproc
test_cqlsh: DEBUG: read 'om' from subproc
test_cqlsh: DEBUG: read ' u' from subproc
test_cqlsh: DEBUG: read 't' from subproc
test_cqlsh: DEBUG: read 'f' from subproc
test_cqlsh: DEBUG: read '8_' from subproc
test_cqlsh: DEBUG: read 'w' from subproc
test_cqlsh: DEBUG: read 'i' from subproc
test_cqlsh: DEBUG: read 'th' from subproc
test_cqlsh: DEBUG: read '_' from subproc
test_cqlsh: DEBUG: read 's' from subproc
test_cqlsh: DEBUG: read 'p' from subproc
test_cqlsh: DEBUG: read 'ec' from subproc
test_cqlsh: DEBUG: read 'i' from subproc
test_cqlsh: DEBUG: read 'a' from subproc
test_cqlsh: DEBUG: read 'l' from subproc
test_cqlsh: DEBUG: read '_' from subproc
test_cqlsh: DEBUG: read 'c' from subproc
test_cqlsh: DEBUG: read 'h' from subproc
test_cqlsh: DEBUG: read 'a' from subproc
test_cqlsh: DEBUG: read 'r' from subproc
test_cqlsh: DEBUG: read 's ' from subproc
test_cqlsh: DEBUG: read 'w' from subproc
test_cqlsh: DEBUG: read 'h' from subproc
test_cqlsh: DEBUG: read 'e' from subproc
test_cqlsh: DEBUG: read 'r' from subproc
test_cqlsh: DEBUG: read 'e' from subproc
test_cqlsh: DEBUG: read ' ' from subproc
test_cqlsh: DEBUG: read 'k' from subproc
test_cqlsh: DEBUG: read ' ' from subproc
test_cqlsh: DEBUG: read 'i' from subproc
test_cqlsh: DEBUG: read 'n' from subproc
test_cqlsh: DEBUG: read ' ' from subproc
test_cqlsh: DEBUG: read '(' from subproc
test_cqlsh: DEBUG: read '0' from subproc
test_cqlsh: DEBUG: read ',' from subproc
test_cqlsh: DEBUG: read ' ' from subproc
test_cqlsh: DEBUG: read '1' from subproc
test_cqlsh: DEBUG: read ', \r' from subproc
test_cqlsh: DEBUG: read ' 2,' from subproc
test_cqlsh: DEBUG: read ' 3' from subproc
test_cqlsh: DEBUG: read ', ' from subproc
test_cqlsh: DEBUG: read '4' from subproc
test_cqlsh: DEBUG: read ', ' from subproc
test_cqlsh: DEBUG: read '5,' from subproc
test_cqlsh: DEBUG: read ' ' from subproc
test_cqlsh: DEBUG: read '6)' from subproc
test_cqlsh: DEBUG: read ';\r\n' from subproc
test_cqlsh: DEBUG: read '\x1b[0;1;31mBad Request: unconfigured columnfamily utf8_with_special_chars\x1b[0m\r\n' from subproc
test_cqlsh: DEBUG: read 'cqlsh:CqlshTests_uSS7Eo> ' from subproc
test_cqlsh: INFO: Closing '/home/thobbs/cassandra/bin/cqlsh' subprocess.
test_cqlsh: DEBUG: Waiting for exit
--------------------- >> end captured logging << ---------------------

{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message