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

MartijnVisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new dc5d112ba5d [FLINK-40834][ci] Keep rolled YARN container logs in CI 
artifacts
dc5d112ba5d is described below

commit dc5d112ba5dbeb7d543f6e9318676c40750209b4
Author: Martijn Visser <[email protected]>
AuthorDate: Mon Sep 28 14:46:11 2026 +0200

    [FLINK-40834][ci] Keep rolled YARN container logs in CI artifacts
    
    The grep that derives the artifact path mapped jobmanager.log.1 onto 
jobmanager.log, so the files of a rolled container log overwrote each other and 
only one reached the artifact.
    
    Generated-by: Claude Code (Claude Opus 5.5)
---
 tools/ci/controller_utils.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ci/controller_utils.sh b/tools/ci/controller_utils.sh
index 810be4d77b9..b1d5ce2cfdf 100644
--- a/tools/ci/controller_utils.sh
+++ b/tools/ci/controller_utils.sh
@@ -34,7 +34,7 @@ print_system_info() {
 # locate YARN logs and put them into artifacts directory
 put_yarn_logs_to_artifacts() {
        for file in `find ./flink-yarn-tests/target -type f -name '*.log*' -or 
-name '*.out'`; do
-               TARGET_FILE=`echo "$file" | grep -Eo 
"container_[0-9_]+/(.*).[a-z]{3}"`
+               TARGET_FILE=`echo "$file" | grep -Eo "container_[0-9_]+/.*"`
                TARGET_DIR=`dirname      "$TARGET_FILE"`
                mkdir -p "$DEBUG_FILES_OUTPUT_DIR/yarn-tests/$TARGET_DIR"
                cp $file "$DEBUG_FILES_OUTPUT_DIR/yarn-tests/$TARGET_FILE"

Reply via email to