[ 
https://issues.apache.org/jira/browse/CASSANDRA-17901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17607392#comment-17607392
 ] 

Brandon Williams commented on CASSANDRA-17901:
----------------------------------------------

This is only an issue when the failure is due to errors found in the logs since 
that failure exists outside of the normal failure path.  I have a 
[branch|https://github.com/driftx/cassandra-dtest/tree/CASSANDRA-17901] that 
adds a direct 'failure' boolean to cleanup_cluster that is passed to consider 
the test failed, and ultimately preserves the test directory when 
--keep-failed-test-dir is being passed.

||Branch||CI||
|[3.0|https://github.com/driftx/cassandra/tree/CASSANDRA-17901-3.0]|[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/647/workflows/a8a333ff-bec7-4d99-a893-c08b22a84552]|
|[3.11|https://github.com/driftx/cassandra/tree/CASSANDRA-17901-3.11]|[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/648/workflows/dadef426-9be8-40aa-920d-ffaa1f680222]|
|[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-17901-4.0]|[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/650/workflows/d8ab7bee-f5d2-4710-a239-47f89854bf01]|
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-17901-4.1]|[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/649/workflows/a909f314-258f-41a8-9e34-3df30c97342f]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-17901-trunk]|[circle|https://app.circleci.com/pipelines/github/driftx/cassandra/646/workflows/c8efcf42-3524-4451-91c0-86ecb0620527]|



> ccm logs not being collected to nightlies
> -----------------------------------------
>
>                 Key: CASSANDRA-17901
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17901
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x
>
>
> At least some of the time, Jenkins is failing to collect ccm logs and is 
> uploading a zero byte tar archive to nightlies, for example: 
> https://nightlies.apache.org/cassandra/trunk/Cassandra-trunk-dtest/1100/Cassandra-trunk-dtest/label=cassandra-dtest,split=5/
> {quote}
> 09:25:06  + tar -cJf ccm_logs.tar.xz './tmp/*/test/*/logs/*'
> 09:25:06  tar: ./tmp/*/test/*/logs/*: Cannot stat: No such file or directory
> 09:25:06  tar: Exiting with failure status due to previous errors
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to