This is an automated email from the ASF dual-hosted git repository. djwang pushed a commit to branch merge-with-upstream in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git
commit f923ce564f8c92647b9761d1b9abc843cf5cafbb Author: Nikolay Antonov <[email protected]> AuthorDate: Sun Dec 21 23:28:04 2025 +0500 Automation: save automation logs --- concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh b/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh index 1741540d..5d5903d7 100755 --- a/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh +++ b/concourse/docker/pxf-cbdb-dev/ubuntu/script/run_tests.sh @@ -555,6 +555,7 @@ gpdb_test() { save_test_reports() { local group="$1" local surefire_dir="${REPO_ROOT}/automation/target/surefire-reports" + local logs_dir="${REPO_ROOT}/automation/automation_logs" local artifacts_dir="${REPO_ROOT}/automation/test_artifacts" local group_dir="${artifacts_dir}/${group}" @@ -566,6 +567,13 @@ save_test_reports() { else echo "[run_tests] No surefire reports found for $group" fi + + if [ -d "$logs_dir" ] && [ "$(ls -A "$logs_dir" 2>/dev/null)" ]; then + echo "[run_tests] Saving $group test logs to $group_dir" + cp -r "$logs_dir" "$group_dir/" 2>/dev/null || true + else + echo "[run_tests] No automation logs found for $group" + fi } # Generate test summary from surefire reports --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
