Michael Shuler created CASSANDRA-7013:
-----------------------------------------

             Summary: sstable_generation_loading_test 
sstableloader_compression_* dtests fail in 1.2, 2.0, and 2.1
                 Key: CASSANDRA-7013
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7013
             Project: Cassandra
          Issue Type: Test
          Components: Tests
            Reporter: Michael Shuler


This looks like something fundamentally wrong with the 
sstable_generation_loading_test.py dtest
{noformat}
$ export MAX_HEAP_SIZE="1G"; export HEAP_NEWSIZE="256M"; PRINT_DEBUG=true 
nosetests --nocapture --nologcapture --verbosity=3 
sstable_generation_loading_test.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
incompressible_data_in_compressed_table_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-sJDYKB
ok
remove_index_file_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-gRTcgb
Created keyspaces. Sleeping 1s for propagation.
total,interval_op_rate,interval_key_rate,latency/95th/99.9th,elapsed_time
10000,1000,1000,11.5,80.3,280.6,5
END
ok
sstableloader_compression_deflate_to_deflate_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-xneocV
Testing sstableloader with pre_compression=Deflate and post_compression=Deflate
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_deflate_to_none_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-_iJ1tD
Testing sstableloader with pre_compression=Deflate and post_compression=None
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_deflate_to_snappy_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-FZAci9
Testing sstableloader with pre_compression=Deflate and post_compression=Snappy
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_none_to_deflate_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-AsoepN
Testing sstableloader with pre_compression=None and post_compression=Deflate
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_none_to_none_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-Cfiwh8
Testing sstableloader with pre_compression=None and post_compression=None
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_none_to_snappy_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-tTuQQg
Testing sstableloader with pre_compression=None and post_compression=Snappy
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_snappy_to_deflate_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-lA0rXi
Testing sstableloader with pre_compression=Snappy and post_compression=Deflate
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_snappy_to_none_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-jJ5iub
Testing sstableloader with pre_compression=Snappy and post_compression=None
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL
sstableloader_compression_snappy_to_snappy_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading) ... cluster 
ccm directory: /tmp/dtest-JTMBKg
Testing sstableloader with pre_compression=Snappy and post_compression=Snappy
creating keyspace and inserting
Making a copy of the sstables
Wiping out the data and restarting cluster
re-creating the keyspace and column families.
Calling sstableloader
No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]No sstables to stream

progress: [total: 100 - 0MB/s (avg: 0MB/s)]Reading data back
FAIL

======================================================================
FAIL: sstableloader_compression_deflate_to_deflate_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 108, in sstableloader_compression_deflate_to_deflate_test
    self.load_sstable_with_configuration('Deflate', 'Deflate')
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_deflate_to_none_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 102, in sstableloader_compression_deflate_to_none_test
    self.load_sstable_with_configuration('Deflate', None)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_deflate_to_snappy_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 105, in sstableloader_compression_deflate_to_snappy_test
    self.load_sstable_with_configuration('Deflate', 'Snappy')
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_none_to_deflate_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 90, in sstableloader_compression_none_to_deflate_test
    self.load_sstable_with_configuration(None, 'Deflate')
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_none_to_none_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 84, in sstableloader_compression_none_to_none_test
    self.load_sstable_with_configuration(None, None)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_none_to_snappy_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 87, in sstableloader_compression_none_to_snappy_test
    self.load_sstable_with_configuration(None, 'Snappy')
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_snappy_to_deflate_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 99, in sstableloader_compression_snappy_to_deflate_test
    self.load_sstable_with_configuration('Snappy', 'Deflate')
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_snappy_to_none_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 93, in sstableloader_compression_snappy_to_none_test
    self.load_sstable_with_configuration('Snappy', None)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

======================================================================
FAIL: sstableloader_compression_snappy_to_snappy_test 
(sstable_generation_loading_test.TestSSTableGenerationAndLoading)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 96, in sstableloader_compression_snappy_to_snappy_test
    self.load_sstable_with_configuration('Snappy', 'Snappy')
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 197, in load_sstable_with_configuration
    read_and_validate_data(cursor)
  File "/home/mshuler/git/cassandra-dtest/sstable_generation_loading_test.py", 
line 190, in read_and_validate_data
    self.assertEquals([str(i), 'col', str(i)], cursor.fetchone())
AssertionError: ['0', 'col', '0'] != None

----------------------------------------------------------------------
Ran 11 tests in 336.704s

FAILED (failures=9)
{noformat}



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

Reply via email to