Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add retries when fetching DRA artifacts #2980

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

jedrazb
Copy link
Member

@jedrazb jedrazb commented Nov 19, 2024

Followup on #2979

I noticed in buildkite some sporadic errors when downloading the image tarball, let's add retries to make our pipeline stable:

Exampel of error (buildkite retried and it passed)


+ TAR_FILE=elasticsearch-9.0.0-SNAPSHOT-docker-image.tar.gz
--
  | + echo 'Downloading Docker image tarball from https://artifacts-snapshot.elastic.co/elasticsearch/9.0.0-925206fd/downloads/elasticsearch/elasticsearch-9.0.0-SNAPSHOT-docker-image.tar.gz...'
  | Downloading Docker image tarball from https://artifacts-snapshot.elastic.co/elasticsearch/9.0.0-925206fd/downloads/elasticsearch/elasticsearch-9.0.0-SNAPSHOT-docker-image.tar.gz...
  | + curl -O https://artifacts-snapshot.elastic.co/elasticsearch/9.0.0-925206fd/downloads/elasticsearch/elasticsearch-9.0.0-SNAPSHOT-docker-image.tar.gz
  | % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  | Dload  Upload   Total   Spent    Left  Speed
  | 25  638M   25  162M    0     0  35.2M      0  0:00:18  0:00:04  0:00:14 35.2M
  | curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
  | make: *** [Makefile:77: ftest] Error 92
  | 🚨 Error: The command exited with status 2
  | user command error: exit status 2


@jedrazb jedrazb requested a review from a team as a code owner November 19, 2024 15:44
@jedrazb jedrazb enabled auto-merge (squash) November 19, 2024 15:51
@jedrazb jedrazb changed the title [Tests] Add retries when fetching DRA artifacts [CI] Add retries when fetching DRA artifacts Nov 19, 2024
@jedrazb jedrazb merged commit 47c8776 into main Nov 20, 2024
5 checks passed
@jedrazb jedrazb deleted the jedrazb-add-retries-for-fetching-docker-tarballs branch November 20, 2024 08:41
Copy link

💚 Backport PR(s) successfully created

Status Branch Result
8.x #2985

This backport PR will be merged automatically after passing CI.

jedrazb added a commit that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants