scylladb / scylla-ccm

Cassandra Cluster Manager, modified for Scylla
Apache License 2.0
20 stars 64 forks source link

node: run_cqlsh: add timeout parameter #452

Closed bhalevy closed 1 year ago

bhalevy commented 1 year ago

Set by default to 10 minutes to prevent blocking in communicate forever.

Blocked run_cqlsh was seen in https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-daily-release/244/testReport/cqlsh_tests.cqlsh_copy_tests/TestCqlshCopy/Run_Dtest_Parallel_Cloud_Machines___FullDtest___full_split000___test_copy_to_with_child_process_crashing/

https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-daily-release/244/artifact/logs-full.release.000/dtest-gw3.log

13:13:59,598 751     cqlsh_tests.cqlsh_copy_tests   DEBUG    cqlsh_copy_tests.py :1525 | test_copy_to_with_child_process_crashing: Exporting to csv file: /tmp/tmpqskw5279 with {"exit_range": {"start": 0, "end": 5000000000000000000}}
...
13:58:50,244 751     errors                         ERROR    conftest.py         :203  | test_copy_to_with_child_process_crashing: test failed: 
fruch commented 1 year ago

Damn seems like there's an issue with the ccm dependencies I'll need to look into

bhalevy commented 1 year ago

It worked :) https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-daily-release/249/testReport/cqlsh_tests.cqlsh_copy_tests/TestCqlshCopy/Run_Dtest_Parallel_Cloud_Machines___FullDtest___full_split000___test_copy_to_with_child_process_crashing/

Not that it helps in finding out why cqlsh timed out, but at least the command timed out and not the whole test. Further investigation in https://github.com/scylladb/scylla-cqlsh/issues/37