Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11505

dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_reading_max_parse_errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.14, 2.2.7
    • Legacy/Tools

    Description

      example failure:

      http://cassci.datastax.com/job/cassandra-3.0_novnode_dtest/197/testReport/cqlsh_tests.cqlsh_copy_tests/CqlshCopyTest/test_reading_max_parse_errors

      Failed on CassCI build cassandra-3.0_novnode_dtest #197

      Error Message
      
      False is not true
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-c2AJlu
      dtest: DEBUG: Custom init_config not found. Setting defaults.
      dtest: DEBUG: Done setting configuration options:
      {   'num_tokens': None,
          'phi_convict_threshold': 5,
          'range_request_timeout_in_ms': 10000,
          'read_request_timeout_in_ms': 10000,
          'request_timeout_in_ms': 10000,
          'truncate_request_timeout_in_ms': 10000,
          'write_request_timeout_in_ms': 10000}
      dtest: DEBUG: Importing csv file /mnt/tmp/tmp2O43PH with 10 max parse errors
      --------------------- >> end captured logging << ---------------------
      Stacktrace
      
        File "/usr/lib/python2.7/unittest/case.py", line 329, in run
          testMethod()
        File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 943, in test_reading_max_parse_errors
          self.assertTrue(num_rows_imported < (num_rows / 2))  # less than the maximum number of valid rows in the csv
        File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
          raise self.failureException(msg)
      "False is not true\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-c2AJlu\ndtest: DEBUG: Custom init_config not found. Setting defaults.\ndtest: DEBUG: Done setting configuration options:\n{   'num_tokens': None,\n    'phi_convict_threshold': 5,\n    'range_request_timeout_in_ms': 10000,\n    'read_request_timeout_in_ms': 10000,\n    'request_timeout_in_ms': 10000,\n    'truncate_request_timeout_in_ms': 10000,\n    'write_request_timeout_in_ms': 10000}\ndtest: DEBUG: Importing csv file /mnt/tmp/tmp2O43PH with 10 max parse errors\n--------------------- >> end captured logging << ---------------------"
      Standard Output
      
      (EE)  Using CQL driver: <module 'cassandra' from '/home/automaton/cassandra/bin/../lib/cassandra-driver-internal-only-3.0.0-6af642d.zip/cassandra-driver-3.0.0-6af642d/cassandra/__init__.py'>(EE)  Using connect timeout: 5 seconds(EE)  Using 'utf-8' encoding(EE)  <stdin>:2:Failed to import 2500 rows: ParseError - could not convert string to float: abc,  given up without retries(EE)  <stdin>:2:Exceeded maximum number of parse errors 10(EE)  <stdin>:2:Failed to process 2500 rows; failed rows written to import_ks_testmaxparseerrors.err(EE)  <stdin>:2:Exceeded maximum number of parse errors 10(EE)  
      

      Attachments

        Activity

          People

            stefania Stefania Alborghetti
            mshuler Michael Shuler
            Stefania Alborghetti
            Tom Hobbs
            Michael Shuler Michael Shuler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: