[ 
https://issues.apache.org/jira/browse/CASSANDRA-14050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefania Alborghetti updated CASSANDRA-14050:
---------------------------------------------
    Test and Documentation Plan: 
[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.
                         Status: Patch Available  (was: In Progress)

I've submitted a [patch|https://github.com/apache/cassandra-dtest/pull/62] 
based on the third approach, see documentation plan.

CI runs:

* [2.1|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest/25]
* [2.2|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest/26]
* [3.0|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest/27]
* [3.11|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest/23]
* [4.0|https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest/24]



> Many cqlsh_copy_tests are busted
> --------------------------------
>
>                 Key: CASSANDRA-14050
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14050
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Testing
>            Reporter: Michael Kjellman
>            Assignee: Stefania Alborghetti
>            Priority: Normal
>
> 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 << 
> ---------------------"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to