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

dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_bulk_round_trip_default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None

    Description

      example failure:

      http://cassci.datastax.com/job/cassandra-2.1_offheap_dtest/327/testReport/cqlsh_tests.cqlsh_copy_tests/CqlshCopyTest/test_bulk_round_trip_default

      Failed on CassCI build cassandra-2.1_offheap_dtest #327

      Looks like a test error in dtest.py FlakyRetryPolicy() getting in an odd state. This test runs OK for me locally.

      Error Message
      
      'int' object has no attribute 'on_read_timeout'
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-SrTCbF
      dtest: DEBUG: Custom init_config not found. Setting defaults.
      dtest: DEBUG: Done setting configuration options:
      {   'initial_token': None,
          'memtable_allocation_type': 'offheap_objects',
          'num_tokens': '32',
          '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: removing ccm cluster test at: /mnt/tmp/dtest-SrTCbF
      dtest: DEBUG: clearing ssl stores from [/mnt/tmp/dtest-SrTCbF] directory
      dtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-smdNhH
      dtest: DEBUG: Custom init_config not found. Setting defaults.
      dtest: DEBUG: Done setting configuration options:
      {   'initial_token': None,
          'memtable_allocation_type': 'offheap_objects',
          'num_tokens': '32',
          '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: Running stress without any user profile
      --------------------- >> end captured logging << ---------------------
      Stacktrace
      
        File "/usr/lib/python2.7/unittest/case.py", line 329, in run
          testMethod()
        File "/home/automaton/cassandra-dtest/dtest.py", line 829, in wrapped
          f(obj)
        File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2306, in test_bulk_round_trip_default
          self._test_bulk_round_trip(nodes=3, partitioner="murmur3", num_operations=100000)
        File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2277, in _test_bulk_round_trip
          num_records = create_records()
        File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2252, in create_records
          ret = rows_to_list(self.session.execute(count_statement))[0][0]
        File "cassandra/cluster.py", line 1581, in cassandra.cluster.Session.execute (cassandra/cluster.c:27107)
          return self.execute_async(query, parameters, trace, custom_payload, timeout).result()
        File "cassandra/cluster.py", line 3145, in cassandra.cluster.ResponseFuture.result (cassandra/cluster.c:60227)
          raise self._final_exception
      "'int' object has no attribute 'on_read_timeout'\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-SrTCbF\ndtest: DEBUG: Custom init_config not found. Setting defaults.\ndtest: DEBUG: Done setting configuration options:\n{   'initial_token': None,\n    'memtable_allocation_type': 'offheap_objects',\n    'num_tokens': '32',\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: removing ccm cluster test at: /mnt/tmp/dtest-SrTCbF\ndtest: DEBUG: clearing ssl stores from [/mnt/tmp/dtest-SrTCbF] directory\ndtest: DEBUG: cluster ccm directory: /mnt/tmp/dtest-smdNhH\ndtest: DEBUG: Custom init_config not found. Setting defaults.\ndtest: DEBUG: Done setting configuration options:\n{   'initial_token': None,\n    'memtable_allocation_type': 'offheap_objects',\n    'num_tokens': '32',\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: Running stress without any user profile\n--------------------- >> end captured logging << ---------------------"
      

      Attachments

        Issue Links

          Activity

            People

              philipthompson Philip Thompson
              mshuler Michael Shuler
              Philip Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: