You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sean McCarthy (JIRA)" <ji...@apache.org> on 2017/02/22 16:08:44 UTC

[jira] [Created] (CASSANDRA-13250) dtest failure in cqlsh_tests.cqlsh_tests.TestCqlsh.test_describe

Sean McCarthy created CASSANDRA-13250:
-----------------------------------------

             Summary: dtest failure in cqlsh_tests.cqlsh_tests.TestCqlsh.test_describe
                 Key: CASSANDRA-13250
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13250
             Project: Cassandra
          Issue Type: Bug
          Components: Testing
            Reporter: Sean McCarthy
         Attachments: node1_debug.log, node1_gc.log, node1.log

example failure:

http://cassci.datastax.com/job/trunk_offheap_dtest/430/testReport/cqlsh_tests.cqlsh_tests/TestCqlsh/test_describe

{code}
Error Message

Lists differ: ["CREATE KEYSPACE test WITH re... != ["CREATE KEYSPACE test WITH re...

First differing element 11:
"AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}"
"AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor', 'min_compress_ratio': '1.1'}"

  ["CREATE KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}  AND durable_writes = true;",
   'CREATE TABLE test.test (',
   'id int,',
   'col int,',
   'val text,',
   'PRIMARY KEY (id, col)',
   ') WITH CLUSTERING ORDER BY (col ASC)',
   'AND bloom_filter_fp_chance = 0.01',
   "AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}",
   "AND comment = ''",
   "AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}",
-  "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}",
+  "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor', 'min_compress_ratio': '1.1'}",
?                                                                                                           +++++++++++++++++++++++++++++

   'AND crc_check_chance = 1.0',
   'AND dclocal_read_repair_chance = 0.1',
   'AND default_time_to_live = 0',
   'AND gc_grace_seconds = 864000',
   'AND max_index_interval = 2048',
   'AND memtable_flush_period_in_ms = 0',
   'AND min_index_interval = 128',
   'AND read_repair_chance = 0.0',
   "AND speculative_retry = '99PERCENTILE';",
   'CREATE INDEX test_val_idx ON test.test (val);',
   'CREATE INDEX test_col_idx ON test.test (col);',
   'CREATE TABLE test.users (',
   'userid text PRIMARY KEY,',
   'age int,',
   'firstname text,',
   'lastname text',
   ') WITH bloom_filter_fp_chance = 0.01',
   "AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}",
   "AND comment = ''",
   "AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}",
-  "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}",
+  "AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor', 'min_compress_ratio': '1.1'}",
?                                                                                                           +++++++++++++++++++++++++++++

   'AND crc_check_chance = 1.0',
   'AND dclocal_read_repair_chance = 0.1',
   'AND default_time_to_live = 0',
   'AND gc_grace_seconds = 864000',
   'AND max_index_interval = 2048',
   'AND memtable_flush_period_in_ms = 0',
   'AND min_index_interval = 128',
   'AND read_repair_chance = 0.0',
   "AND speculative_retry = '99PERCENTILE';",
   'CREATE INDEX myindex ON test.users (age);']
{code}{code}
Stacktrace

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 702, in test_describe
    self.execute(cql="DESCRIBE KEYSPACE test", expected_output=self.get_keyspace_output())
  File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 1042, in execute
    self.check_response(output, expected_output)
  File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_tests.py", line 1049, in check_response
    self.assertEqual(expected_lines, lines)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 742, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual
    self.fail(msg)
  File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)