mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
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.