🤖 Generated by the Daily AI Engineer
Evidence
PR #6195's 🧪 Test run (job 87790241779) failed in TestEKSSmokeConfigBoundaryRejectsInvalidIdentity/foreign_ARN_partition with:
bash: /tmp/TestEKSSmoke.../aws: /usr/bin/env: bad interpreter: Text file busy
The harness (internal/ciharness/system_test_harness_test.go:362 area) writes a fake aws script and executes it; when another goroutine/subprocess forks while the script's write FD is still open, Linux exec fails with ETXTBSY — the classic write-then-exec race. It is timing-dependent (parallel test load) and will recur as a flaky required check.
Expected behaviour
The fake-binary writer closes the file (and syncs) before any exec can happen — e.g. write via a closed os.WriteFile call rather than an held-open handle, or retry exec on ETXTBSY.
Acceptance criteria
Rough size: XS.
Evidence
PR #6195's
🧪 Testrun (job 87790241779) failed inTestEKSSmokeConfigBoundaryRejectsInvalidIdentity/foreign_ARN_partitionwith:The harness (
internal/ciharness/system_test_harness_test.go:362area) writes a fakeawsscript and executes it; when another goroutine/subprocess forks while the script's write FD is still open, Linux exec fails with ETXTBSY — the classic write-then-exec race. It is timing-dependent (parallel test load) and will recur as a flaky required check.Expected behaviour
The fake-binary writer closes the file (and syncs) before any exec can happen — e.g. write via a closed
os.WriteFilecall rather than an held-open handle, or retry exec on ETXTBSY.Acceptance criteria
go test ./...parallel load.Rough size: XS.