Files
Jarek Potiuk 23adbdeae3 Fix flaky e2e remote-logging tests: create LocalStack buckets via loopback (#67976)
The remote-logging and XCom object-storage e2e tests intermittently failed
with NoSuchBucket because the LocalStack init hook never created the buckets.

init-aws.sh runs inside the localstack container, but connected to the docker
compose service name (http://localstack:4566), which is not reliably
connectable from within the container at the READY-hook stage. When it failed,
'aws s3 mb' exited non-zero and the buckets were never created, so worker
PutObject calls returned NoSuchBucket.

Connect over loopback (http://localhost:4566) instead, and add a short
readiness wait with 'set -euo pipefail' so a transient gateway delay cannot
silently leave the buckets uncreated.
2026-06-04 00:52:20 +02:00
..