diff .temporary/actions/test-15.sh.orig .temporary/actions/test-15.sh --- .temporary/actions/test-15.sh.orig +++ .temporary/actions/test-15.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash echo "::group::clean-up" -find /coredumps -maxdepth 1 -type f -uid "$(id -u)" -delete 2>/dev/null || true +find /coredumps -maxdepth 1 -type f -uid "$(id -u)" -delete 2> /dev/null || true rm -rf $TMP_DIR $SUMMARY_LINKS $BAZEL_REMOTE_PASSWORD_FILE \ $SUMMARY_OUT_ENV_PATH $SUMMARY_LINKS $GITHUB_TOKEN_FILE echo "::endgroup::" diff .temporary/actions/test-5.sh.orig .temporary/actions/test-5.sh --- .temporary/actions/test-5.sh.orig +++ .temporary/actions/test-5.sh @@ -113,7 +113,7 @@ # Bash expresses RLIMIT_CORE in KiB. Keep the runner's 8 GiB hard # ceiling, but opt this job into a smaller per-process limit. CORE_DUMP_LIMIT_KIB=$((2 * 1024 * 1024)) - find /coredumps -maxdepth 1 -type f -uid "$(id -u)" -delete 2>/dev/null || true + find /coredumps -maxdepth 1 -type f -uid "$(id -u)" -delete 2> /dev/null || true ulimit -S -c "$CORE_DUMP_LIMIT_KIB" fi @@ -179,10 +179,10 @@ { echo "Core files remaining after YA post-processing:" find /coredumps -maxdepth 1 -type f -uid "$(id -u)" \ - -printf '%p size=%s bytes blocks=%b\n' 2>/dev/null || true + -printf '%p size=%s bytes blocks=%b\n' 2> /dev/null || true } | tee -a "$RETRY_LOG_DIR/core_dump_config.txt" # YA has already generated .backtrace and .backtrace.html. - find /coredumps -maxdepth 1 -type f -uid "$(id -u)" -delete 2>/dev/null || true + find /coredumps -maxdepth 1 -type f -uid "$(id -u)" -delete 2> /dev/null || true fi echo "$YA_MAKE_RC" > "$EXIT_CODE_FILE" } |& tee "$RETRY_LOG_DIR/ya_make_output.txt"