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 480787b echo logfile
480787b is described below
commit 480787b8bcd9d1fd5a9e222ea0f4b8388c3a9ec4
Author: Ed Espino <[email protected]>
AuthorDate: Thu Dec 12 18:44:07 2024 -0800
echo logfile
---
build_automation/cloudberry/scripts/analyze_core_dumps.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build_automation/cloudberry/scripts/analyze_core_dumps.sh
b/build_automation/cloudberry/scripts/analyze_core_dumps.sh
index a88d23f..e3e5ad0 100755
--- a/build_automation/cloudberry/scripts/analyze_core_dumps.sh
+++ b/build_automation/cloudberry/scripts/analyze_core_dumps.sh
@@ -71,6 +71,7 @@ if [ $# -ge 1 ]; then
else
log_file="${LOG_DIR}/core_analysis_$(date +%Y%m%d_%H%M%S).log"
fi
+echo "log_file: ${log_file}"
# Directory where core dumps are located
core_dir="/tmp/cloudberry-cores/"
@@ -198,7 +199,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}
+ rm -fv "${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]