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

mzcompose: Retry all docker compose up failures twice #21830

Merged

Conversation

philip-stoev
Copy link
Contributor

In order to paper over transient DockerHub and container startup issues, retry docker compose up up to two times in case of an error.

Motivation

We are experiencing transient failures in DockerHub and when starting certain third-party dependencies.

Tips for reviewer

Since we are not capturing stdout/stderr, it is not possible to have a list of more specific retriable errors. We can not capture stdout/stderr easily because the docker progress animations are also sent to stderr, so they will no longer be displayed without additional hacking.

@philip-stoev philip-stoev marked this pull request as ready for review September 20, 2023 13:24
In order to paper over transient DockerHub and container startup
issues, retry `docker compose up` up to two times in case of an error.
@philip-stoev philip-stoev merged commit e8ba8e3 into MaterializeInc:main Sep 20, 2023
def- added a commit to def-/materialize that referenced this pull request Sep 25, 2023
Follow-up to MaterializeInc#21830

In command line usage of mzcompose docker gateway timeouts can still
happen, see for example https://buildkite.com/materialize/tests/builds/64336#018ac073-cc71-4247-bcff-b11dfe199f14
@def- def- mentioned this pull request Sep 25, 2023
5 tasks
def- added a commit to def-/materialize that referenced this pull request Sep 25, 2023
Follow-up to MaterializeInc#21830

In command line usage of mzcompose docker gateway timeouts can still
happen, see for example https://buildkite.com/materialize/tests/builds/64336#018ac073-cc71-4247-bcff-b11dfe199f14
def- added a commit to def-/materialize that referenced this pull request Sep 25, 2023
Follow-up to MaterializeInc#21830

In command line usage of mzcompose docker gateway timeouts can still
happen, see for example https://buildkite.com/materialize/tests/builds/64336#018ac073-cc71-4247-bcff-b11dfe199f14
def- added a commit to def-/materialize that referenced this pull request Sep 26, 2023
Follow-up to MaterializeInc#21830

In command line usage of mzcompose docker gateway timeouts can still
happen, see for example https://buildkite.com/materialize/tests/builds/64336#018ac073-cc71-4247-bcff-b11dfe199f14
def- added a commit to def-/materialize that referenced this pull request Sep 29, 2023
Follow-up to MaterializeInc#21830

In command line usage of mzcompose docker gateway timeouts can still
happen, see for example https://buildkite.com/materialize/tests/builds/64336#018ac073-cc71-4247-bcff-b11dfe199f14
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