You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2020/08/31 09:12:00 UTC
[jira] [Comment Edited] (CASSANDRA-16070) Add dtest option to keep
ccm test directories for just failed tests
[ https://issues.apache.org/jira/browse/CASSANDRA-16070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187588#comment-17187588 ]
Michael Semb Wever edited comment on CASSANDRA-16070 at 8/31/20, 9:11 AM:
--------------------------------------------------------------------------
bq. I agree with Brandon having only zipped logs should suffice.
Agreed, let's wait and see what the size breakdown is, and if use-cases for more than logs arise.
was (Author: michaelsembwever):
bq. I agree with Brandon having only zipped logs should suffice.
Agreed, let's wait and see what the usage breakdown is, and if use-cases for more than logs arise.
> Add dtest option to keep ccm test directories for just failed tests
> -------------------------------------------------------------------
>
> Key: CASSANDRA-16070
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16070
> Project: Cassandra
> Issue Type: Improvement
> Components: Test/dtest/python
> Reporter: Michael Semb Wever
> Assignee: Michael Semb Wever
> Priority: Normal
> Fix For: 4.0-beta2
>
>
> DTests already have an option {{`--keep-test-dir`}} that keeps the ccm test directories. This is useful for debugging failures, especially those that can't be reproduced locally.
> [Introducing|https://github.com/apache/cassandra-builds/commit/51eb85b57b62a542ca456e52a20bee06955f6ec1#diff-a885314255cf7d5c7c04889bf01aa2ab] this option to ci-cassandra.a.o [failed|https://github.com/apache/cassandra-builds/commit/d1600acde19cdbd906b0ff89318d3e8a3f400a70#diff-a885314255cf7d5c7c04889bf01aa2ab] due to lack of disk space.
> This [patch|https://github.com/apache/cassandra-dtest/compare/master...thelastpickle:mck/keep_failed_test_dir] introduces a new option {{`--keep-failed-test-dir`}} that keeps the ccm test directory only for dtests that fail.
> This should suffice, if disk space is still a problem, a further option of {{`--keep-failed-test-log-dir`}} can be added that only keeps the logs inside the ccm test directory, as the majority of space taken up by these directories are the cassandra data directories.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org