This is an automated email from the ASF dual-hosted git repository.

espino pushed a commit to branch group-ic-test-support
in repository https://gitbox.apache.org/repos/asf/cloudberry-devops-release.git


The following commit(s) were added to refs/heads/group-ic-test-support by this 
push:
     new 2ec9e53  Delete core analysis file is no cores are found.
2ec9e53 is described below

commit 2ec9e532c2307f240a4b82bb3788edb4c51b5e51
Author: Ed Espino <[email protected]>
AuthorDate: Thu Dec 12 18:21:50 2024 -0800

    Delete core analysis file is no cores are found.
---
 build_automation/cloudberry/scripts/analyze_core_dumps.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build_automation/cloudberry/scripts/analyze_core_dumps.sh 
b/build_automation/cloudberry/scripts/analyze_core_dumps.sh
index 5c8d64c..a88d23f 100755
--- a/build_automation/cloudberry/scripts/analyze_core_dumps.sh
+++ b/build_automation/cloudberry/scripts/analyze_core_dumps.sh
@@ -198,6 +198,7 @@ main() {
     # Determine return code based on results
     if ((core_count == 0)); then
         log_message "No core files found matching pattern $core_pattern in 
$core_dir"
+        rm ${log_file}
         return_code=0  # No cores found
     elif ((analyzed_count == core_count)); then
         log_message "Analysis complete. Successfully processed all 
$analyzed_count core files"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to