From 1f69a27e3b179dc3eef642f4482692387e49179d Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sun, 19 Apr 2026 19:35:02 +0000 Subject: [PATCH] fix: replace mktemp with PID-based temp path for BusyBox compat BusyBox mktemp in alpine/k8s doesn't support .json suffix in template. The mktemp failure triggered set -e, causing pipeline to report failure despite all 93 tests passing. --- infra/inttest/run_pipeline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"