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

Many cqlsh_copy_tests are busted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha4, 4.0
    • Legacy/Testing
    • None
    • Normal
    • 5.0
    • Hide

      https://github.com/apache/cassandra-dtest/pull/62

      The dependency of the dtests to cqlshlib formatting.py has been removed by running SELECT * queries with cqlsh rather than the driver. This avoids applying the formatting manually. In some cases, where formatting was trivial and the number of rows was significant, the driver is still used and the formatting is done manually (normally a conversion to a string was sufficient). This was done to overcome cqlsh paging. Although we can disable paging, parsing a large number of rows could cause memory or speed problems.

      Show
      https://github.com/apache/cassandra-dtest/pull/62 The dependency of the dtests to cqlshlib formatting.py has been removed by running SELECT * queries with cqlsh rather than the driver. This avoids applying the formatting manually. In some cases, where formatting was trivial and the number of rows was significant, the driver is still used and the formatting is done manually (normally a conversion to a string was sufficient). This was done to overcome cqlsh paging. Although we can disable paging, parsing a large number of rows could cause memory or speed problems.

    Description

      Many cqlsh_copy_tests are busted. We should disable the entire suite until this is resolved as these tests are currently nothing but a waste of time.

      test_bulk_round_trip_blogposts - cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest
      test_bulk_round_trip_blogposts_with_max_connections - cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest
      test_bulk_round_trip_default - cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest

      Error starting node3.
      -------------------- >> begin captured logging << --------------------
      dtest: DEBUG: cluster ccm directory: /tmp/dtest-S9NfIH
      dtest: DEBUG: Done setting configuration options:

      { 'initial_token': None, 'memtable_allocation_type': 'offheap_objects', 'num_tokens': '256', '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}

      --------------------- >> end captured logging << ---------------------
      File "/usr/lib/python2.7/unittest/case.py", line 329, in run
      testMethod()
      File "/home/cassandra/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2546, in test_bulk_round_trip_blogposts
      stress_table='stresscql.blogposts')
      File "/home/cassandra/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2451, in _test_bulk_round_trip
      self.prepare(nodes=nodes, partitioner=partitioner, configuration_options=configuration_options)
      File "/home/cassandra/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 115, in prepare
      self.cluster.populate(nodes, tokens=tokens).start(wait_for_binary_proto=True)
      File "/home/cassandra/env/local/lib/python2.7/site-packages/ccmlib/cluster.py", line 423, in start
      raise NodeError("Error starting

      {0}

      .".format(node.name), p)
      "Error starting node3.\n-------------------- >> begin captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: /tmp/dtest-S9NfIH\ndtest: DEBUG: Done setting configuration options:\n

      { 'initial_token': None,\n 'memtable_allocation_type': 'offheap_objects',\n 'num_tokens': '256',\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}

      \n--------------------- >> end captured logging << ---------------------"

      Attachments

        Activity

          People

            stefania Stefania Alborghetti
            mkjellman Michael Kjellman
            Stefania Alborghetti
            Alex Sorokoumov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: