diff --git a/infra/inttest/run_pipeline.sh b/infra/inttest/run_pipeline.sh index cb4aab0..690df8f 100755 --- a/infra/inttest/run_pipeline.sh +++ b/infra/inttest/run_pipeline.sh @@ -456,7 +456,7 @@ if [ -n "$RUNNER_POD" ]; then kubectl logs "$RUNNER_POD" -n "$NAMESPACE" 2>/dev/null || true # Try to copy profiling report - PROFILING_TMP=$(mktemp /tmp/profiling-report-XXXXXX.json) + PROFILING_TMP="/tmp/profiling-report-$$.json" if kubectl cp "$NAMESPACE/$RUNNER_POD:/tmp/profiling-report.json" "$PROFILING_TMP" 2>/dev/null; then log "Profiling report collected" PROFILING_JSON="$PROFILING_TMP"