potiuk opened a new pull request, #67976: URL: https://github.com/apache/airflow/pull/67976
The remote-logging and XCom object-storage e2e tests (Additional PROD image tests) intermittently fail with `NoSuchBucket` because the LocalStack init hook never creates the buckets. `airflow-e2e-tests/scripts/init-aws.sh` runs as a LocalStack READY init hook *inside* the localstack container, but it connected to the docker-compose service name `http://localstack:4566`. That endpoint is not reliably connectable from within the container at the READY stage, so both `aws s3 mb` calls failed (`Could not connect to the endpoint URL`, script exit 255), the `test-airflow-logs` / `test-xcom-objectstorage-backend` buckets were never created, and worker `PutObject` calls returned `NoSuchBucket`. Fix: connect over loopback (`http://localhost:4566`) from inside the container, add a short readiness wait, and `set -euo pipefail` so a transient gateway delay cannot silently leave the buckets uncreated. Observed on the v3-2-test branch: https://github.com/apache/airflow/actions/runs/26889226071/job/79325331114 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
