Skip to content

[v3-2-test] Fix flaky e2e remote-logging tests: create LocalStack buckets via loopback (#67976)#67981

Merged
bugraoz93 merged 1 commit into
v3-2-testfrom
backport-23adbde-v3-2-test
Jun 3, 2026
Merged

[v3-2-test] Fix flaky e2e remote-logging tests: create LocalStack buckets via loopback (#67976)#67981
bugraoz93 merged 1 commit into
v3-2-testfrom
backport-23adbde-v3-2-test

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 3, 2026

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.
(cherry picked from commit 23adbde)

Co-authored-by: Jarek Potiuk jarek@potiuk.com

…kets 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.
(cherry picked from commit 23adbde)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@bugraoz93 bugraoz93 marked this pull request as ready for review June 3, 2026 22:55
@bugraoz93 bugraoz93 merged commit fe01a1e into v3-2-test Jun 3, 2026
29 checks passed
@bugraoz93 bugraoz93 deleted the backport-23adbde-v3-2-test branch June 3, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants